Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-15 23:59:03.244332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-15 23:59:22.156544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/52/image_06112025_13_52_55_2903.jpg', '/home/pi/Desktop/images/06112025/13/52/image_06112025_13_52_58_2761.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_07_2588.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_13_2632.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_16_2863.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_19_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/52/image_06112025_13_52_55_2903.jpg
/home/pi/Desktop/images/06112025/13/52/image_06112025_13_52_58_2761.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_07_2588.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_13_2632.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_16_2863.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_19_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394700480","1394700324","1394700405","1394700443","1394700518","1394700364"],"photo_ids_order":["1394700324","1394700364","1394700405","1394700443","1394700480","1394700518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad5cae474aa5bf3ee6b89e7a6567d3b4.jpg","text":"TemporaryFile(/tmp/multipartBody8474258795762406036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247623029,"filename":"image_06112025_13_53_16_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1defb66aa6bdf2c48f1507bed7a87d51.jpg","text":"TemporaryFile(/tmp/multipartBody1933629788803257632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247623029,"filename":"image_06112025_13_52_55_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7eccd9820d42c7e1636e9fcc65fb58de.jpg","text":"TemporaryFile(/tmp/multipartBody2884180727954033679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247623029,"filename":"image_06112025_13_53_07_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa8523b67fb78b378d09f68aa4145b72.jpg","text":"TemporaryFile(/tmp/multipartBody6688984982066299358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247623029,"filename":"image_06112025_13_53_13_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5240bedac14fec55613bf94d35d61fa5.jpg","text":"TemporaryFile(/tmp/multipartBody580003686138680693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247623029,"filename":"image_06112025_13_53_19_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4fb9c28f7b88fc733213679c36cbe3e.jpg","text":"TemporaryFile(/tmp/multipartBody560675587985139221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247623029,"filename":"image_06112025_13_52_58_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394700405","file1":"1394700364","file0":"1394700324","file4":"1394700480","file5":"1394700518","file3":"1394700443"},"map_files_photo_id_array":[{"photo_id":"1394700518","filename":"file5"},{"photo_id":"1394700405","filename":"file2"},{"photo_id":"1394700480","filename":"file4"},{"photo_id":"1394700364","filename":"file1"},{"photo_id":"1394700324","filename":"file0"},{"photo_id":"1394700443","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394700480":["hashtag1","hashtag2"]},{"1394700324":["hashtag1","hashtag2"]},{"1394700405":["hashtag1","hashtag2"]},{"1394700443":["hashtag1","hashtag2"]},{"1394700518":["hashtag1","hashtag2"]},{"1394700364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394700480, 1394700324, 1394700405, 1394700443, 1394700518, 1394700364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.356735944747925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:00:02.452300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_29_1682.jpg', '/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_33_4723.jpg', '/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_39_4402.jpg', '/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_41_1730.jpg', '/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_45_1690.jpg', '/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_52_5207.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_29_1682.jpg
/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_33_4723.jpg
/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_39_4402.jpg
/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_41_1730.jpg
/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_45_1690.jpg
/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_52_5207.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":["1394700783","1394700736","1394701002","1394700915","1394701064","1394700823"],"photo_ids_order":["1394700736","1394700783","1394700823","1394700915","1394701002","1394701064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/365607755c1b29786813d5825844edcd.jpg","text":"TemporaryFile(/tmp/multipartBody3507738555324105683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247663792,"filename":"image_11112025_23_49_33_4723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb1b93fabde1f195ea5002dbdc1b43d6.jpg","text":"TemporaryFile(/tmp/multipartBody382449092270901999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247663792,"filename":"image_11112025_23_49_29_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/caaf8b060800b8380d8ae68c4aeb8c3a.jpg","text":"TemporaryFile(/tmp/multipartBody3031081542268706671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247663792,"filename":"image_11112025_23_49_45_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/678d4490361495a185b9c95381039765.jpg","text":"TemporaryFile(/tmp/multipartBody2902100513074636724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247663792,"filename":"image_11112025_23_49_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/11/16/33a02665c27943fb043a2d5978915560.jpg","text":"TemporaryFile(/tmp/multipartBody465290482642038495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247663792,"filename":"image_11112025_23_49_52_5207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/620fe2c0940256c1c39628898613c3d3.jpg","text":"TemporaryFile(/tmp/multipartBody996759876468039707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247663792,"filename":"image_11112025_23_49_39_4402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394700823","file1":"1394700783","file0":"1394700736","file4":"1394701002","file5":"1394701064","file3":"1394700915"},"map_files_photo_id_array":[{"photo_id":"1394701064","filename":"file5"},{"photo_id":"1394700823","filename":"file2"},{"photo_id":"1394701002","filename":"file4"},{"photo_id":"1394700783","filename":"file1"},{"photo_id":"1394700736","filename":"file0"},{"photo_id":"1394700915","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394700783":["hashtag1","hashtag2"]},{"1394700736":["hashtag1","hashtag2"]},{"1394701002":["hashtag1","hashtag2"]},{"1394700915":["hashtag1","hashtag2"]},{"1394701064":["hashtag1","hashtag2"]},{"1394700823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394700783, 1394700736, 1394701002, 1394700915, 1394701064, 1394700823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25861215591431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:01:02.821192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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_16112025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 28581098, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1763247723000}
4219
4055107
4219
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15112025/23/59/image_16112025_00_00_01_2677.jpg', '/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_14_10444.jpg', '/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_17_1650.jpg', '/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_19_1593.jpg', '/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_21_1685.jpg', '/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_30_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/15112025/23/59/image_16112025_00_00_01_2677.jpg
/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_14_10444.jpg
/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_17_1650.jpg
/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_19_1593.jpg
/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_21_1685.jpg
/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_30_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394701499","1394701465","1394701534","1394701609","1394701423","1394701572"],"photo_ids_order":["1394701423","1394701465","1394701499","1394701534","1394701572","1394701609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aeb1c658df05639024f56c130eeb807f.jpg","text":"TemporaryFile(/tmp/multipartBody5272136307147349938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247724432,"filename":"image_16112025_00_00_17_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/518f480f09316e3a4b3dec6f58cf28ac.jpg","text":"TemporaryFile(/tmp/multipartBody6911775373067273776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247724432,"filename":"image_16112025_00_00_14_10444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ff81e18edb566d09039850a35ee48b6.jpg","text":"TemporaryFile(/tmp/multipartBody9049287649235982303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247724432,"filename":"image_16112025_00_00_19_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28b4f8edfcedd423096fc32ec31df36b.jpg","text":"TemporaryFile(/tmp/multipartBody5979336639290296479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247724432,"filename":"image_16112025_00_00_30_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db8522e7864f3fad3fdf9dd37f859dea.jpg","text":"TemporaryFile(/tmp/multipartBody8750598810265287093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247724432,"filename":"image_16112025_00_00_01_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe6b417022dcfd99a6d24077888692df.jpg","text":"TemporaryFile(/tmp/multipartBody4810857102041530251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247724432,"filename":"image_16112025_00_00_21_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394701499","file1":"1394701465","file0":"1394701423","file4":"1394701572","file5":"1394701609","file3":"1394701534"},"map_files_photo_id_array":[{"photo_id":"1394701609","filename":"file5"},{"photo_id":"1394701499","filename":"file2"},{"photo_id":"1394701572","filename":"file4"},{"photo_id":"1394701465","filename":"file1"},{"photo_id":"1394701423","filename":"file0"},{"photo_id":"1394701534","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394701499":["hashtag1","hashtag2"]},{"1394701465":["hashtag1","hashtag2"]},{"1394701534":["hashtag1","hashtag2"]},{"1394701609":["hashtag1","hashtag2"]},{"1394701423":["hashtag1","hashtag2"]},{"1394701572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394701499, 1394701465, 1394701534, 1394701609, 1394701423, 1394701572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54530048370361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:01:42.293989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_40_3005.jpg', '/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_49_2890.jpg', '/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_52_2767.jpg', '/home/pi/Desktop/images/16112025/00/01/image_16112025_00_01_13_2845.jpg', '/home/pi/Desktop/images/16112025/00/01/image_16112025_00_01_16_2784.jpg', '/home/pi/Desktop/images/16112025/00/01/image_16112025_00_01_22_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_40_3005.jpg
/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_49_2890.jpg
/home/pi/Desktop/images/16112025/00/00/image_16112025_00_00_52_2767.jpg
/home/pi/Desktop/images/16112025/00/01/image_16112025_00_01_13_2845.jpg
/home/pi/Desktop/images/16112025/00/01/image_16112025_00_01_16_2784.jpg
/home/pi/Desktop/images/16112025/00/01/image_16112025_00_01_22_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394701815","1394701868","1394701781","1394701742","1394701850","1394701867"],"photo_ids_order":["1394701742","1394701781","1394701815","1394701850","1394701867","1394701868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80013b4b359fe54e5feda72581f08e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7358367828136356070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247762982,"filename":"image_16112025_00_00_52_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9335ba80ced9aee6fd4a399e5960980.jpg","text":"TemporaryFile(/tmp/multipartBody5103979802069946833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247762982,"filename":"image_16112025_00_01_22_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbc9a24e19125291fc648de8124e8a0d.jpg","text":"TemporaryFile(/tmp/multipartBody3539495218314772576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247762982,"filename":"image_16112025_00_00_49_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b31d1d90fda32b060d0c78a82c95f12d.jpg","text":"TemporaryFile(/tmp/multipartBody4335791998768036951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247762982,"filename":"image_16112025_00_00_40_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7db52fe03bcb8303a1cd4afbdc5be944.jpg","text":"TemporaryFile(/tmp/multipartBody7473768603199322032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247762982,"filename":"image_16112025_00_01_13_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62ff8bd2b0e082bcd28c80e28562db19.jpg","text":"TemporaryFile(/tmp/multipartBody3648265933099814150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247762982,"filename":"image_16112025_00_01_16_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394701815","file1":"1394701781","file0":"1394701742","file4":"1394701867","file5":"1394701868","file3":"1394701850"},"map_files_photo_id_array":[{"photo_id":"1394701868","filename":"file5"},{"photo_id":"1394701815","filename":"file2"},{"photo_id":"1394701867","filename":"file4"},{"photo_id":"1394701781","filename":"file1"},{"photo_id":"1394701742","filename":"file0"},{"photo_id":"1394701850","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394701815":["hashtag1","hashtag2"]},{"1394701868":["hashtag1","hashtag2"]},{"1394701781":["hashtag1","hashtag2"]},{"1394701742":["hashtag1","hashtag2"]},{"1394701850":["hashtag1","hashtag2"]},{"1394701867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394701815, 1394701868, 1394701781, 1394701742, 1394701850, 1394701867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08368444442749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:02:22.506545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/01/image_16112025_00_01_25_2648.jpg', '/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_13_2743.jpg', '/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_16_2990.jpg', '/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_25_3830.jpg', '/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_34_3682.jpg', '/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_37_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/01/image_16112025_00_01_25_2648.jpg
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_13_2743.jpg
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_16_2990.jpg
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_25_3830.jpg
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_34_3682.jpg
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_37_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394701892","1394701874","1394701870","1394701927","1394701876","1394701878"],"photo_ids_order":["1394701870","1394701874","1394701876","1394701878","1394701892","1394701927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4a2bd37e1cd5b9da0fc06979d4d03fd.jpg","text":"TemporaryFile(/tmp/multipartBody542578379211468366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247803225,"filename":"image_16112025_00_02_34_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de8ec34f7e8365683379f881311a3aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2862939575693474992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247803225,"filename":"image_16112025_00_02_13_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed06dcc190fa98ab3d5e5aa392d92533.jpg","text":"TemporaryFile(/tmp/multipartBody6201433851206616100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247803225,"filename":"image_16112025_00_01_25_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0548ee26f8657050beb7f25b390b9c00.jpg","text":"TemporaryFile(/tmp/multipartBody4746961526453464007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247803225,"filename":"image_16112025_00_02_37_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7d80fc1aabb62137ffc4a7a86aa5171.jpg","text":"TemporaryFile(/tmp/multipartBody7106306802878450503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247803225,"filename":"image_16112025_00_02_16_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53ea7920ef1249ef26c7b61b1bc08422.jpg","text":"TemporaryFile(/tmp/multipartBody4023365973373696353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247803225,"filename":"image_16112025_00_02_25_3830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394701876","file1":"1394701874","file0":"1394701870","file4":"1394701892","file5":"1394701927","file3":"1394701878"},"map_files_photo_id_array":[{"photo_id":"1394701927","filename":"file5"},{"photo_id":"1394701876","filename":"file2"},{"photo_id":"1394701892","filename":"file4"},{"photo_id":"1394701874","filename":"file1"},{"photo_id":"1394701870","filename":"file0"},{"photo_id":"1394701878","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394701892":["hashtag1","hashtag2"]},{"1394701874":["hashtag1","hashtag2"]},{"1394701870":["hashtag1","hashtag2"]},{"1394701927":["hashtag1","hashtag2"]},{"1394701876":["hashtag1","hashtag2"]},{"1394701878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394701892, 1394701874, 1394701870, 1394701927, 1394701876, 1394701878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.721375942230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:03:03.559248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_52_3559.jpg', '/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_58_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_52_3559.jpg
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_02_58_2738.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702109","1394702073"],"photo_ids_order":["1394702073","1394702109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4410dcd1d21a95df05371a046eae350.jpg","text":"TemporaryFile(/tmp/multipartBody7151273163485730628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247844185,"filename":"image_16112025_00_02_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/11/16/b3d055b32c7ba41ddaf6115616a0719e.jpg","text":"TemporaryFile(/tmp/multipartBody3359886931766889017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247844185,"filename":"image_16112025_00_02_52_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394702109","file0":"1394702073"},"map_files_photo_id_array":[{"photo_id":"1394702109","filename":"file1"},{"photo_id":"1394702073","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702109":["hashtag1","hashtag2"]},{"1394702073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702109, 1394702073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.365055799484253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:03:22.711434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/02/image_16112025_00_03_00_2832.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_07_3677.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_12_2706.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_16_3703.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_19_2780.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_21_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_03_00_2832.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_07_3677.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_12_2706.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_16_3703.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_19_2780.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_21_2655.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.6408765316009521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:03:42.706303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/02/image_16112025_00_03_00_2832.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_07_3677.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_12_2706.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_16_3703.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_19_2780.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_21_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/02/image_16112025_00_03_00_2832.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_07_3677.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_12_2706.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_16_3703.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_19_2780.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_21_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702211","1394702214","1394702213","1394702216","1394702212","1394702215"],"photo_ids_order":["1394702211","1394702212","1394702213","1394702214","1394702215","1394702216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f5c1a3e9a24c92b70003e1cb1959fd7.jpg","text":"TemporaryFile(/tmp/multipartBody199485031484953160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247883483,"filename":"image_16112025_00_03_00_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51f08b2fc3fb0abfd88ad9e0808b7fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3591581646657957741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247883483,"filename":"image_16112025_00_03_16_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e578735e43d86c707086d964e0b4cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7567163281371458402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247883483,"filename":"image_16112025_00_03_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/11/16/792a7a52221c791d44bcaa78fa6ecee6.jpg","text":"TemporaryFile(/tmp/multipartBody1472259973169830216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247883483,"filename":"image_16112025_00_03_21_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2edd1e7926c1885df043ebcb26a1e788.jpg","text":"TemporaryFile(/tmp/multipartBody5601111245698898452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247883483,"filename":"image_16112025_00_03_07_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d12e45128babfd229d8238d0f830d5ed.jpg","text":"TemporaryFile(/tmp/multipartBody3284882277130108337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247883483,"filename":"image_16112025_00_03_19_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702213","file1":"1394702212","file0":"1394702211","file4":"1394702215","file5":"1394702216","file3":"1394702214"},"map_files_photo_id_array":[{"photo_id":"1394702216","filename":"file5"},{"photo_id":"1394702213","filename":"file2"},{"photo_id":"1394702215","filename":"file4"},{"photo_id":"1394702212","filename":"file1"},{"photo_id":"1394702211","filename":"file0"},{"photo_id":"1394702214","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702211":["hashtag1","hashtag2"]},{"1394702214":["hashtag1","hashtag2"]},{"1394702213":["hashtag1","hashtag2"]},{"1394702216":["hashtag1","hashtag2"]},{"1394702212":["hashtag1","hashtag2"]},{"1394702215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702211, 1394702214, 1394702213, 1394702216, 1394702212, 1394702215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87023615837097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:04:21.950567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_24_2827.jpg', '/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_54_2628.jpg', '/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_10_2656.jpg', '/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_34_2683.jpg', '/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_43_2621.jpg', '/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_45_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_24_2827.jpg
/home/pi/Desktop/images/16112025/00/03/image_16112025_00_03_54_2628.jpg
/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_10_2656.jpg
/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_34_2683.jpg
/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_43_2621.jpg
/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_45_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702226","1394702225","1394702224","1394702227","1394702220","1394702223"],"photo_ids_order":["1394702220","1394702223","1394702224","1394702225","1394702226","1394702227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7de410ceca1b8a1142164e22904db0f.jpg","text":"TemporaryFile(/tmp/multipartBody8592879529950471806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247922653,"filename":"image_16112025_00_04_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/11/16/f802d57786ea95fed8cffb4f0b58d120.jpg","text":"TemporaryFile(/tmp/multipartBody4373791222093458320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247922653,"filename":"image_16112025_00_04_34_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0772bf8f5c2a6d9e693a041355121eba.jpg","text":"TemporaryFile(/tmp/multipartBody6307252704200279136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247922653,"filename":"image_16112025_00_04_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/11/16/ae6a09e7c1a8d31645185c8c4cb8c4c2.jpg","text":"TemporaryFile(/tmp/multipartBody5085064963345026407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247922653,"filename":"image_16112025_00_04_45_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/786ee1d57a7078a4ebe26af4bebf18cc.jpg","text":"TemporaryFile(/tmp/multipartBody8502007285398430676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247922653,"filename":"image_16112025_00_03_24_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbe26ee58769f24afef1f9941d81f319.jpg","text":"TemporaryFile(/tmp/multipartBody4204774845653162707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247922653,"filename":"image_16112025_00_03_54_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702224","file1":"1394702223","file0":"1394702220","file4":"1394702226","file5":"1394702227","file3":"1394702225"},"map_files_photo_id_array":[{"photo_id":"1394702227","filename":"file5"},{"photo_id":"1394702224","filename":"file2"},{"photo_id":"1394702226","filename":"file4"},{"photo_id":"1394702223","filename":"file1"},{"photo_id":"1394702220","filename":"file0"},{"photo_id":"1394702225","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702226":["hashtag1","hashtag2"]},{"1394702225":["hashtag1","hashtag2"]},{"1394702224":["hashtag1","hashtag2"]},{"1394702227":["hashtag1","hashtag2"]},{"1394702220":["hashtag1","hashtag2"]},{"1394702223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702226, 1394702225, 1394702224, 1394702227, 1394702220, 1394702223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46148061752319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:05:02.914086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_49_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_49_3588.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702228"],"photo_id":"1394702228","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52096149ef338698449c50d78a5bb9b7.jpg","text":"TemporaryFile(/tmp/multipartBody8344374335636783115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247963447,"filename":"image_16112025_00_04_49_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394702228"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394702228"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.736567497253418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:05:22.117891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_54_2839.jpg', '/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_03_2734.jpg', '/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_06_2765.jpg', '/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_15_2852.jpg', '/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_25_2920.jpg', '/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_28_3054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/04/image_16112025_00_04_54_2839.jpg
/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_03_2734.jpg
/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_06_2765.jpg
/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_15_2852.jpg
/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_25_2920.jpg
/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_28_3054.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702231","1394702234","1394702237","1394702233","1394702236","1394702235"],"photo_ids_order":["1394702231","1394702233","1394702234","1394702235","1394702236","1394702237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7da1b3d7c8697737641bc1ff1ec9443.jpg","text":"TemporaryFile(/tmp/multipartBody8263006414430385240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247982838,"filename":"image_16112025_00_04_54_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc7fe140694ad1bac82f50bfc46e2c99.jpg","text":"TemporaryFile(/tmp/multipartBody28643881042571675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247982838,"filename":"image_16112025_00_05_06_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb4fe489d18eb8586ebdf6d4ea9b896e.jpg","text":"TemporaryFile(/tmp/multipartBody812607792318374219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247982838,"filename":"image_16112025_00_05_28_3054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65c19846fa31a24f813aad17afd14155.jpg","text":"TemporaryFile(/tmp/multipartBody1608969921545530201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247982838,"filename":"image_16112025_00_05_03_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d16ceb07bea2e2797ee32cca3571b224.jpg","text":"TemporaryFile(/tmp/multipartBody3570088140279735930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247982838,"filename":"image_16112025_00_05_25_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/685529d0faae1788cfa70902d7fef334.jpg","text":"TemporaryFile(/tmp/multipartBody1801581098993570345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763247982838,"filename":"image_16112025_00_05_15_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702234","file1":"1394702233","file0":"1394702231","file4":"1394702236","file5":"1394702237","file3":"1394702235"},"map_files_photo_id_array":[{"photo_id":"1394702237","filename":"file5"},{"photo_id":"1394702234","filename":"file2"},{"photo_id":"1394702236","filename":"file4"},{"photo_id":"1394702233","filename":"file1"},{"photo_id":"1394702231","filename":"file0"},{"photo_id":"1394702235","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702231":["hashtag1","hashtag2"]},{"1394702234":["hashtag1","hashtag2"]},{"1394702237":["hashtag1","hashtag2"]},{"1394702233":["hashtag1","hashtag2"]},{"1394702236":["hashtag1","hashtag2"]},{"1394702235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702231, 1394702234, 1394702237, 1394702233, 1394702236, 1394702235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80152153968811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:06:02.788742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_30_2734.jpg', '/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_48_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_30_2734.jpg
/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_48_2661.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702239","1394702238"],"photo_ids_order":["1394702238","1394702239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da05c0ad67a095b6483699e4e193d215.jpg","text":"TemporaryFile(/tmp/multipartBody4787095823283109811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248024778,"filename":"image_16112025_00_05_48_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b3af7c8d848b10459b2e8264d1fa3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8389652696502123585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248024778,"filename":"image_16112025_00_05_30_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394702239","file0":"1394702238"},"map_files_photo_id_array":[{"photo_id":"1394702239","filename":"file1"},{"photo_id":"1394702238","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702239":["hashtag1","hashtag2"]},{"1394702238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702239, 1394702238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.216296195983887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:06:22.364416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_58_3352.jpg', '/home/pi/Desktop/images/16112025/00/06/image_16112025_00_06_03_2579.jpg', '/home/pi/Desktop/images/16112025/00/06/image_16112025_00_06_21_2720.jpg', '/home/pi/Desktop/images/16112025/00/06/image_16112025_00_06_33_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/05/image_16112025_00_05_58_3352.jpg
/home/pi/Desktop/images/16112025/00/06/image_16112025_00_06_03_2579.jpg
/home/pi/Desktop/images/16112025/00/06/image_16112025_00_06_21_2720.jpg
/home/pi/Desktop/images/16112025/00/06/image_16112025_00_06_33_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702243","1394702245","1394702248","1394702247"],"photo_ids_order":["1394702243","1394702245","1394702247","1394702248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/052a3dcf5919ee8003c303e59d923ac4.jpg","text":"TemporaryFile(/tmp/multipartBody8765925497102760849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248042967,"filename":"image_16112025_00_05_58_3352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12ab23e2dc65859bcd966f6046899a54.jpg","text":"TemporaryFile(/tmp/multipartBody677593158891584571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248042967,"filename":"image_16112025_00_06_03_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d342905366ee3a88e65dc52f3af80779.jpg","text":"TemporaryFile(/tmp/multipartBody7835846361046634837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248042967,"filename":"image_16112025_00_06_33_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61294489dbe529ff8de32a8b6877d5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6832771517294986835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248042967,"filename":"image_16112025_00_06_21_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702247","file1":"1394702245","file0":"1394702243","file3":"1394702248"},"map_files_photo_id_array":[{"photo_id":"1394702247","filename":"file2"},{"photo_id":"1394702245","filename":"file1"},{"photo_id":"1394702243","filename":"file0"},{"photo_id":"1394702248","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702243":["hashtag1","hashtag2"]},{"1394702245":["hashtag1","hashtag2"]},{"1394702248":["hashtag1","hashtag2"]},{"1394702247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702243, 1394702245, 1394702248, 1394702247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.08513069152832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:07:02.827753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_53_1663.jpg', '/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_15_4843.jpg', '/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_28_2617.jpg', '/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_31_2785.jpg', '/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_53_3836.jpg', '/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_55_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/49/image_11112025_23_49_53_1663.jpg
/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_15_4843.jpg
/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_28_2617.jpg
/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_31_2785.jpg
/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_53_3836.jpg
/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_55_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702252","1394702249","1394702251","1394702254","1394702253","1394702250"],"photo_ids_order":["1394702249","1394702250","1394702251","1394702252","1394702253","1394702254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2c29a575652e35fdfe06f588949ed7c.jpg","text":"TemporaryFile(/tmp/multipartBody4565096092262686368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248084197,"filename":"image_11112025_23_51_31_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f931551cff3cb469e0ae96466a083f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6830611675416360437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248084197,"filename":"image_11112025_23_49_53_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f20253091180f5e2ab56b2db3df56712.jpg","text":"TemporaryFile(/tmp/multipartBody121424308593779825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248084197,"filename":"image_11112025_23_51_28_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a5fef56b221799e818b2d41bf41ca01.jpg","text":"TemporaryFile(/tmp/multipartBody5565226066011243404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248084197,"filename":"image_11112025_23_51_55_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/975fa67f5d5aa5e78e8cd23454dfc983.jpg","text":"TemporaryFile(/tmp/multipartBody7800664867793701637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248084197,"filename":"image_11112025_23_51_53_3836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d76121a9e0c6ce0e6e94763a1b1d4597.jpg","text":"TemporaryFile(/tmp/multipartBody481289509704568534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248084197,"filename":"image_11112025_23_51_15_4843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702251","file1":"1394702250","file0":"1394702249","file4":"1394702253","file5":"1394702254","file3":"1394702252"},"map_files_photo_id_array":[{"photo_id":"1394702254","filename":"file5"},{"photo_id":"1394702251","filename":"file2"},{"photo_id":"1394702253","filename":"file4"},{"photo_id":"1394702250","filename":"file1"},{"photo_id":"1394702249","filename":"file0"},{"photo_id":"1394702252","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394702252":["hashtag1","hashtag2"]},{"1394702249":["hashtag1","hashtag2"]},{"1394702251":["hashtag1","hashtag2"]},{"1394702254":["hashtag1","hashtag2"]},{"1394702253":["hashtag1","hashtag2"]},{"1394702250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394702252, 1394702249, 1394702251, 1394702254, 1394702253, 1394702250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.711337089538574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:07:41.945698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/06/image_16112025_00_06_36_2685.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_15_2674.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_18_2748.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_21_2746.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_24_3695.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_27_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/06/image_16112025_00_06_36_2685.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_15_2674.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_18_2748.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_21_2746.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_24_3695.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_27_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702258","1394702255","1394702260","1394702257","1394702256","1394702259"],"photo_ids_order":["1394702255","1394702256","1394702257","1394702258","1394702259","1394702260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7da9bb4d9563fe848f63ed32d1890e11.jpg","text":"TemporaryFile(/tmp/multipartBody4140736546099307258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248122651,"filename":"image_16112025_00_07_21_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5536c3b69e40c5a61cf9c0fc11fea03e.jpg","text":"TemporaryFile(/tmp/multipartBody7848614464568042967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248122651,"filename":"image_16112025_00_06_36_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84625f1dc2303301de961560c9a735e0.jpg","text":"TemporaryFile(/tmp/multipartBody6266412813040981809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248122651,"filename":"image_16112025_00_07_27_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/daecf776a3c1f0c501ce667846eadcba.jpg","text":"TemporaryFile(/tmp/multipartBody2311146647155228014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248122651,"filename":"image_16112025_00_07_18_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3a6cd18cceb4dd09aac4e78733a645d.jpg","text":"TemporaryFile(/tmp/multipartBody8372408453962753714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248122651,"filename":"image_16112025_00_07_15_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd2da9be4bf5a6746544721527a8c48a.jpg","text":"TemporaryFile(/tmp/multipartBody7175723898517663639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248122651,"filename":"image_16112025_00_07_24_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702257","file1":"1394702256","file0":"1394702255","file4":"1394702259","file5":"1394702260","file3":"1394702258"},"map_files_photo_id_array":[{"photo_id":"1394702260","filename":"file5"},{"photo_id":"1394702257","filename":"file2"},{"photo_id":"1394702259","filename":"file4"},{"photo_id":"1394702256","filename":"file1"},{"photo_id":"1394702255","filename":"file0"},{"photo_id":"1394702258","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702258":["hashtag1","hashtag2"]},{"1394702255":["hashtag1","hashtag2"]},{"1394702260":["hashtag1","hashtag2"]},{"1394702257":["hashtag1","hashtag2"]},{"1394702256":["hashtag1","hashtag2"]},{"1394702259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702258, 1394702255, 1394702260, 1394702257, 1394702256, 1394702259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74293780326843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:08:22.169774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_39_2646.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_42_2589.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_45_3098.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_55_3803.jpg', '/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_57_2667.jpg', '/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_12_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_39_2646.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_42_2589.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_45_3098.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_55_3803.jpg
/home/pi/Desktop/images/16112025/00/07/image_16112025_00_07_57_2667.jpg
/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_12_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702267","1394702261","1394702263","1394702266","1394702265","1394702262"],"photo_ids_order":["1394702261","1394702262","1394702263","1394702265","1394702266","1394702267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef08c9e841a33c059f0997e49ec38030.jpg","text":"TemporaryFile(/tmp/multipartBody1720481108973712076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248162895,"filename":"image_16112025_00_08_12_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e399cad1611fce2029dd60d24e394802.jpg","text":"TemporaryFile(/tmp/multipartBody1261833767547079428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248162895,"filename":"image_16112025_00_07_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/11/16/4fca70fc77c7014b5d385aec77f22e2d.jpg","text":"TemporaryFile(/tmp/multipartBody6555147779879442464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248162895,"filename":"image_16112025_00_07_45_3098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89e97430fe8b9ad4b69a5eb1e2f4b87c.jpg","text":"TemporaryFile(/tmp/multipartBody8362882319881414698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248162895,"filename":"image_16112025_00_07_57_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92098173e0c976c150d28eb74f148851.jpg","text":"TemporaryFile(/tmp/multipartBody4998350152543747936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248162895,"filename":"image_16112025_00_07_55_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d5136fc1f36f18bd4f04e46f782caac.jpg","text":"TemporaryFile(/tmp/multipartBody3965237464460878427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248162895,"filename":"image_16112025_00_07_42_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702263","file1":"1394702262","file0":"1394702261","file4":"1394702266","file5":"1394702267","file3":"1394702265"},"map_files_photo_id_array":[{"photo_id":"1394702267","filename":"file5"},{"photo_id":"1394702263","filename":"file2"},{"photo_id":"1394702266","filename":"file4"},{"photo_id":"1394702262","filename":"file1"},{"photo_id":"1394702261","filename":"file0"},{"photo_id":"1394702265","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702267":["hashtag1","hashtag2"]},{"1394702261":["hashtag1","hashtag2"]},{"1394702263":["hashtag1","hashtag2"]},{"1394702266":["hashtag1","hashtag2"]},{"1394702265":["hashtag1","hashtag2"]},{"1394702262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702267, 1394702261, 1394702263, 1394702266, 1394702265, 1394702262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.918052196502686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:09:03.346628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_30_2933.jpg', '/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_39_3650.jpg', '/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_45_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_30_2933.jpg
/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_39_3650.jpg
/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_45_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702269","1394702272","1394702271"],"photo_ids_order":["1394702269","1394702271","1394702272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96e519472f5dbb38f1fe482d0a0f0f42.jpg","text":"TemporaryFile(/tmp/multipartBody1981978867783311173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248204123,"filename":"image_16112025_00_08_30_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a064e2811c854737b7473fdcd1d53d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8574967105186442566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248204123,"filename":"image_16112025_00_08_45_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/501e8cebf8db49c2d8e3acf4d075cb15.jpg","text":"TemporaryFile(/tmp/multipartBody6451166516382103883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248204123,"filename":"image_16112025_00_08_39_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702272","file1":"1394702271","file0":"1394702269"},"map_files_photo_id_array":[{"photo_id":"1394702272","filename":"file2"},{"photo_id":"1394702271","filename":"file1"},{"photo_id":"1394702269","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702269":["hashtag1","hashtag2"]},{"1394702272":["hashtag1","hashtag2"]},{"1394702271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702269, 1394702272, 1394702271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.43722653388977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:09:42.423021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_48_3681.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_06_2910.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_09_3690.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_18_2609.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_21_3706.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_39_2836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/08/image_16112025_00_08_48_3681.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_06_2910.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_09_3690.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_18_2609.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_21_3706.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_39_2836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702282","1394702285","1394702281","1394702284","1394702283","1394702280"],"photo_ids_order":["1394702280","1394702281","1394702282","1394702283","1394702284","1394702285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6673aeef9355fdad7726886ca038780f.jpg","text":"TemporaryFile(/tmp/multipartBody7815232673382206612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248243099,"filename":"image_16112025_00_09_09_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbb9b51b47b6555d754af1d116a6a042.jpg","text":"TemporaryFile(/tmp/multipartBody2968473549390003975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248243099,"filename":"image_16112025_00_09_39_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4dbbf91a1beb96e6b3ba179e4946b724.jpg","text":"TemporaryFile(/tmp/multipartBody4955054488892480010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248243099,"filename":"image_16112025_00_09_06_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/535570ff617a8dab61605c7e3649421c.jpg","text":"TemporaryFile(/tmp/multipartBody4952997992319763473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248243099,"filename":"image_16112025_00_09_21_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/806c449b23247648af2d008ee6b319e6.jpg","text":"TemporaryFile(/tmp/multipartBody9184387983912255570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248243099,"filename":"image_16112025_00_09_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/11/16/bcb50f75bd3b8eee45f773c55ceaa4aa.jpg","text":"TemporaryFile(/tmp/multipartBody2392481355187854249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248243099,"filename":"image_16112025_00_08_48_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702282","file1":"1394702281","file0":"1394702280","file4":"1394702284","file5":"1394702285","file3":"1394702283"},"map_files_photo_id_array":[{"photo_id":"1394702285","filename":"file5"},{"photo_id":"1394702282","filename":"file2"},{"photo_id":"1394702284","filename":"file4"},{"photo_id":"1394702281","filename":"file1"},{"photo_id":"1394702280","filename":"file0"},{"photo_id":"1394702283","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702282":["hashtag1","hashtag2"]},{"1394702285":["hashtag1","hashtag2"]},{"1394702281":["hashtag1","hashtag2"]},{"1394702284":["hashtag1","hashtag2"]},{"1394702283":["hashtag1","hashtag2"]},{"1394702280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702282, 1394702285, 1394702281, 1394702284, 1394702283, 1394702280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22543907165527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:10:22.671001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_42_2656.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_51_2565.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_54_2630.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_57_3766.jpg', '/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_03_2683.jpg', '/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_06_3060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_42_2656.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_51_2565.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_54_2630.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_57_3766.jpg
/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_03_2683.jpg
/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_06_3060.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.6264171600341797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:10:42.688131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_42_2656.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_51_2565.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_54_2630.jpg', '/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_57_3766.jpg', '/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_03_2683.jpg', '/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_06_3060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_42_2656.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_51_2565.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_54_2630.jpg
/home/pi/Desktop/images/16112025/00/09/image_16112025_00_09_57_3766.jpg
/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_03_2683.jpg
/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_06_3060.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702297","1394702300","1394702299","1394702298","1394702302","1394702301"],"photo_ids_order":["1394702297","1394702298","1394702299","1394702300","1394702301","1394702302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0d48b6a2b640e492010f0f4af6893a3.jpg","text":"TemporaryFile(/tmp/multipartBody5425957151025201499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248303424,"filename":"image_16112025_00_09_42_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a88cb00bef20d065477bd3694f56bd74.jpg","text":"TemporaryFile(/tmp/multipartBody2681150473514536331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248303424,"filename":"image_16112025_00_09_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/11/16/45fddba3bbf1eec7225677d5225c38dd.jpg","text":"TemporaryFile(/tmp/multipartBody2565478747929164659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248303424,"filename":"image_16112025_00_09_54_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56414afdbee8ab4a08b72f8b709fc8e0.jpg","text":"TemporaryFile(/tmp/multipartBody2115427258233020869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248303424,"filename":"image_16112025_00_09_51_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4bcf953caf09c48866d91dfc856e320.jpg","text":"TemporaryFile(/tmp/multipartBody6731506882700185480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248303424,"filename":"image_16112025_00_10_06_3060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4ca20525f25b55d1d5adaeea97fdc38.jpg","text":"TemporaryFile(/tmp/multipartBody8022295887945912972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248303424,"filename":"image_16112025_00_10_03_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702299","file1":"1394702298","file0":"1394702297","file4":"1394702301","file5":"1394702302","file3":"1394702300"},"map_files_photo_id_array":[{"photo_id":"1394702302","filename":"file5"},{"photo_id":"1394702299","filename":"file2"},{"photo_id":"1394702301","filename":"file4"},{"photo_id":"1394702298","filename":"file1"},{"photo_id":"1394702297","filename":"file0"},{"photo_id":"1394702300","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702297":["hashtag1","hashtag2"]},{"1394702300":["hashtag1","hashtag2"]},{"1394702299":["hashtag1","hashtag2"]},{"1394702298":["hashtag1","hashtag2"]},{"1394702302":["hashtag1","hashtag2"]},{"1394702301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702297, 1394702300, 1394702299, 1394702298, 1394702302, 1394702301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10515117645264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:11:21.860564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_54_3608.jpg', '/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_06_3559.jpg', '/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_23_2764.jpg', '/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_27_3606.jpg', '/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_38_2703.jpg', '/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_51_2948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/10/image_16112025_00_10_54_3608.jpg
/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_06_3559.jpg
/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_23_2764.jpg
/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_27_3606.jpg
/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_38_2703.jpg
/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_51_2948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702325","1394702327","1394702324","1394702318","1394702326","1394702322"],"photo_ids_order":["1394702318","1394702322","1394702324","1394702325","1394702326","1394702327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2bf105fb597e5c3d3f377b087cb5cb7f.jpg","text":"TemporaryFile(/tmp/multipartBody7346934922826994843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248342562,"filename":"image_16112025_00_11_27_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45d08cabe002ef0d47ef4ec2431be59a.jpg","text":"TemporaryFile(/tmp/multipartBody4600967339351508539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248342562,"filename":"image_16112025_00_11_51_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31d2045a24daaaf9f77257030fc491e2.jpg","text":"TemporaryFile(/tmp/multipartBody8262477504413693014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248342562,"filename":"image_16112025_00_11_23_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eef6bbfc08ddb9b5565799eaceeebf10.jpg","text":"TemporaryFile(/tmp/multipartBody7444459594188129002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248342562,"filename":"image_16112025_00_10_54_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/258287daf097b7b75f5a3058b538bdf0.jpg","text":"TemporaryFile(/tmp/multipartBody8762680204110367439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248342562,"filename":"image_16112025_00_11_38_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a2549c2052dcfaadcdfe99d692fadda.jpg","text":"TemporaryFile(/tmp/multipartBody5733549128821774673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248342562,"filename":"image_16112025_00_11_06_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702324","file1":"1394702322","file0":"1394702318","file4":"1394702326","file5":"1394702327","file3":"1394702325"},"map_files_photo_id_array":[{"photo_id":"1394702327","filename":"file5"},{"photo_id":"1394702324","filename":"file2"},{"photo_id":"1394702326","filename":"file4"},{"photo_id":"1394702322","filename":"file1"},{"photo_id":"1394702318","filename":"file0"},{"photo_id":"1394702325","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702325":["hashtag1","hashtag2"]},{"1394702327":["hashtag1","hashtag2"]},{"1394702324":["hashtag1","hashtag2"]},{"1394702318":["hashtag1","hashtag2"]},{"1394702326":["hashtag1","hashtag2"]},{"1394702322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702325, 1394702327, 1394702324, 1394702318, 1394702326, 1394702322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.550293922424316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:12:02.543472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_58_2815.jpg', '/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_07_2699.jpg', '/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_13_3665.jpg', '/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_16_2707.jpg', '/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_22_3838.jpg', '/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_25_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/51/image_11112025_23_51_58_2815.jpg
/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_07_2699.jpg
/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_13_3665.jpg
/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_16_2707.jpg
/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_22_3838.jpg
/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_25_2852.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702331","1394702330","1394702335","1394702338","1394702329","1394702328"],"photo_ids_order":["1394702328","1394702329","1394702330","1394702331","1394702335","1394702338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f391f3173db134ccc2e3dff58cd45866.jpg","text":"TemporaryFile(/tmp/multipartBody6132894861658146000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248383846,"filename":"image_11112025_23_52_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/11/16/24b5e41b4b6c778e42dfefe4cecacca6.jpg","text":"TemporaryFile(/tmp/multipartBody7084442994525072106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248383846,"filename":"image_11112025_23_52_13_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5594c092a79d84f6f13ace679ddb5c17.jpg","text":"TemporaryFile(/tmp/multipartBody8673526944991345606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248383846,"filename":"image_11112025_23_52_22_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6064b837193b7ec6a1f49cfeb61ea2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4126102233301659510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248383846,"filename":"image_11112025_23_52_25_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0c0612a850a124288297bfe14ad240f.jpg","text":"TemporaryFile(/tmp/multipartBody4120269250086392636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248383846,"filename":"image_11112025_23_52_07_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4eb24d99d79652e9ee65a660fa2fee7d.jpg","text":"TemporaryFile(/tmp/multipartBody2751903981104704219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248383846,"filename":"image_11112025_23_51_58_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702330","file1":"1394702329","file0":"1394702328","file4":"1394702335","file5":"1394702338","file3":"1394702331"},"map_files_photo_id_array":[{"photo_id":"1394702338","filename":"file5"},{"photo_id":"1394702330","filename":"file2"},{"photo_id":"1394702335","filename":"file4"},{"photo_id":"1394702329","filename":"file1"},{"photo_id":"1394702328","filename":"file0"},{"photo_id":"1394702331","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394702331":["hashtag1","hashtag2"]},{"1394702330":["hashtag1","hashtag2"]},{"1394702335":["hashtag1","hashtag2"]},{"1394702338":["hashtag1","hashtag2"]},{"1394702329":["hashtag1","hashtag2"]},{"1394702328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394702331, 1394702330, 1394702335, 1394702338, 1394702329, 1394702328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46775555610657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:12:42.088738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
  port_id : 28472015
  datou_current_id : 4038957
in upload_from_sqlite, uploading in 28472015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_13_2527.jpg', '/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_19_3724.jpg', '/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_22_2706.jpg', '/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_25_2589.jpg', '/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_28_3641.jpg', '/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_37_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4038957&datou=0
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_13_2527.jpg
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_19_3724.jpg
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_22_2706.jpg
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_25_2589.jpg
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_28_3641.jpg
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_37_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702345","1394702348","1394702344","1394702347","1394702346","1394702349"],"photo_ids_order":["1394702344","1394702345","1394702346","1394702347","1394702348","1394702349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3975e5e0729d44fb01d3a73335cefc51.jpg","text":"TemporaryFile(/tmp/multipartBody2464053758254415811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248422919,"filename":"image_13112025_23_56_19_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff164f4780197d830ccf288a29a835b6.jpg","text":"TemporaryFile(/tmp/multipartBody3659328154647228866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248422919,"filename":"image_13112025_23_56_28_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a10f44bdf5fac05abfc16aeda7e053ed.jpg","text":"TemporaryFile(/tmp/multipartBody2421049165364240462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248422919,"filename":"image_13112025_23_56_13_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc473735ca4de49c8b511f6fe1fb28f1.jpg","text":"TemporaryFile(/tmp/multipartBody3424898550804633398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248422919,"filename":"image_13112025_23_56_25_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ceae792074f7ac31bcfcddcb5580cc38.jpg","text":"TemporaryFile(/tmp/multipartBody93690270332555496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248422919,"filename":"image_13112025_23_56_22_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66a19f26fe385bdb342593fb4f5f0f52.jpg","text":"TemporaryFile(/tmp/multipartBody4368161315905818276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248422919,"filename":"image_13112025_23_56_37_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702346","file1":"1394702345","file0":"1394702344","file4":"1394702348","file5":"1394702349","file3":"1394702347"},"map_files_photo_id_array":[{"photo_id":"1394702349","filename":"file5"},{"photo_id":"1394702346","filename":"file2"},{"photo_id":"1394702348","filename":"file4"},{"photo_id":"1394702345","filename":"file1"},{"photo_id":"1394702344","filename":"file0"},{"photo_id":"1394702347","filename":"file3"}],"portfolio_id":28472015,"hashtag_by_photo_ids":[{"1394702345":["hashtag1","hashtag2"]},{"1394702348":["hashtag1","hashtag2"]},{"1394702344":["hashtag1","hashtag2"]},{"1394702347":["hashtag1","hashtag2"]},{"1394702346":["hashtag1","hashtag2"]},{"1394702349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28472015 used, photo_id : ArrayBuffer(1394702345, 1394702348, 1394702344, 1394702347, 1394702346, 1394702349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.659000635147095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:13:22.201130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_57_3696.jpg', '/home/pi/Desktop/images/16112025/00/13/image_16112025_00_13_18_1813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/11/image_16112025_00_11_57_3696.jpg
/home/pi/Desktop/images/16112025/00/13/image_16112025_00_13_18_1813.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702354","1394702352"],"photo_ids_order":["1394702352","1394702354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de0857283b7f24d801bb7ef4dace723e.jpg","text":"TemporaryFile(/tmp/multipartBody8961863684369188018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248462729,"filename":"image_16112025_00_13_18_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49565c05eb2386e60163d6eaae4d757d.jpg","text":"TemporaryFile(/tmp/multipartBody140327746817122765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248462729,"filename":"image_16112025_00_11_57_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394702354","file0":"1394702352"},"map_files_photo_id_array":[{"photo_id":"1394702354","filename":"file1"},{"photo_id":"1394702352","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702354":["hashtag1","hashtag2"]},{"1394702352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702354, 1394702352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.365150213241577 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-11-16 00:14:03.110717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_28_2734.jpg', '/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_40_2741.jpg', '/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_01_2634.jpg', '/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_07_1653.jpg', '/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_37_1777.jpg', '/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_46_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_28_2734.jpg
/home/pi/Desktop/images/11112025/23/52/image_11112025_23_52_40_2741.jpg
/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_01_2634.jpg
/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_07_1653.jpg
/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_37_1777.jpg
/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_46_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702357","1394702360","1394702362","1394702356","1394702359","1394702364"],"photo_ids_order":["1394702356","1394702357","1394702359","1394702360","1394702362","1394702364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d23816111e578a4828ee068f0c0af3b8.jpg","text":"TemporaryFile(/tmp/multipartBody9192634617677413453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248504532,"filename":"image_11112025_23_52_40_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/604f883dcbefe1405a2048dbf891e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody4993953211621765374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248504532,"filename":"image_11112025_23_53_07_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cdec624fc996e6a8f8ccbbbdcca6100.jpg","text":"TemporaryFile(/tmp/multipartBody8778269302130072884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248504532,"filename":"image_11112025_23_53_37_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/189de329375b06515c3ce0984bb161de.jpg","text":"TemporaryFile(/tmp/multipartBody2613251722958147207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248504532,"filename":"image_11112025_23_52_28_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7f3c9b12b234af3d62bd4684fb84e18.jpg","text":"TemporaryFile(/tmp/multipartBody3857183384336329175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248504532,"filename":"image_11112025_23_53_01_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2419a9efe2a5c2252154f719474df07.jpg","text":"TemporaryFile(/tmp/multipartBody3327794996956714395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248504532,"filename":"image_11112025_23_53_46_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702359","file1":"1394702357","file0":"1394702356","file4":"1394702362","file5":"1394702364","file3":"1394702360"},"map_files_photo_id_array":[{"photo_id":"1394702364","filename":"file5"},{"photo_id":"1394702359","filename":"file2"},{"photo_id":"1394702362","filename":"file4"},{"photo_id":"1394702357","filename":"file1"},{"photo_id":"1394702356","filename":"file0"},{"photo_id":"1394702360","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394702357":["hashtag1","hashtag2"]},{"1394702360":["hashtag1","hashtag2"]},{"1394702362":["hashtag1","hashtag2"]},{"1394702356":["hashtag1","hashtag2"]},{"1394702359":["hashtag1","hashtag2"]},{"1394702364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394702357, 1394702360, 1394702362, 1394702356, 1394702359, 1394702364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33310580253601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:14:42.472181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/13/image_16112025_00_13_20_2676.jpg', '/home/pi/Desktop/images/16112025/00/14/image_16112025_00_14_47_1999.jpg', '/home/pi/Desktop/images/16112025/00/14/image_16112025_00_14_50_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/13/image_16112025_00_13_20_2676.jpg
/home/pi/Desktop/images/16112025/00/14/image_16112025_00_14_47_1999.jpg
/home/pi/Desktop/images/16112025/00/14/image_16112025_00_14_50_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702372","1394702371","1394702370"],"photo_ids_order":["1394702370","1394702371","1394702372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7772283f9692be4f2dc670e0ca4e02b7.jpg","text":"TemporaryFile(/tmp/multipartBody2069164335263511055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248543025,"filename":"image_16112025_00_14_50_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8c6497ba887a2cfdb50d01edfbcae79.jpg","text":"TemporaryFile(/tmp/multipartBody8941483667981566970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248543025,"filename":"image_16112025_00_14_47_1999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33eec194e7738fbccae6ba3ceb745c3e.jpg","text":"TemporaryFile(/tmp/multipartBody4874785211035820991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248543025,"filename":"image_16112025_00_13_20_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702372","file1":"1394702371","file0":"1394702370"},"map_files_photo_id_array":[{"photo_id":"1394702372","filename":"file2"},{"photo_id":"1394702371","filename":"file1"},{"photo_id":"1394702370","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702372":["hashtag1","hashtag2"]},{"1394702371":["hashtag1","hashtag2"]},{"1394702370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702372, 1394702371, 1394702370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.45905065536499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:15:22.720982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/14/image_16112025_00_14_57_3722.jpg', '/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_17_2625.jpg', '/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_23_3065.jpg', '/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_26_3147.jpg', '/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_35_2816.jpg', '/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_44_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/14/image_16112025_00_14_57_3722.jpg
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_17_2625.jpg
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_23_3065.jpg
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_26_3147.jpg
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_35_2816.jpg
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_44_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702412","1394702420","1394702383","1394702422","1394702419","1394702401"],"photo_ids_order":["1394702383","1394702401","1394702412","1394702419","1394702420","1394702422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7da4e2cd11480b67bdee3b1d0f2b5ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8424626862899726096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248583448,"filename":"image_16112025_00_15_23_3065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbfa11d4cfb68fc3846ea71f099c79b5.jpg","text":"TemporaryFile(/tmp/multipartBody3936974494615458720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248583448,"filename":"image_16112025_00_15_35_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11b5d3dd6e93769855dcc2c483edf875.jpg","text":"TemporaryFile(/tmp/multipartBody2240693072376943233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248583448,"filename":"image_16112025_00_14_57_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd5e5086f4a5d2d1d234480d4b0f0330.jpg","text":"TemporaryFile(/tmp/multipartBody4282899066913299146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248583448,"filename":"image_16112025_00_15_44_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3582e62d165902e4da0e3682837e7473.jpg","text":"TemporaryFile(/tmp/multipartBody6034118417374093181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248583448,"filename":"image_16112025_00_15_26_3147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6dd82777e2cdb7e491100e6c956ba88.jpg","text":"TemporaryFile(/tmp/multipartBody2777821764388091949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248583448,"filename":"image_16112025_00_15_17_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702412","file1":"1394702401","file0":"1394702383","file4":"1394702420","file5":"1394702422","file3":"1394702419"},"map_files_photo_id_array":[{"photo_id":"1394702422","filename":"file5"},{"photo_id":"1394702412","filename":"file2"},{"photo_id":"1394702420","filename":"file4"},{"photo_id":"1394702401","filename":"file1"},{"photo_id":"1394702383","filename":"file0"},{"photo_id":"1394702419","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702412":["hashtag1","hashtag2"]},{"1394702420":["hashtag1","hashtag2"]},{"1394702383":["hashtag1","hashtag2"]},{"1394702422":["hashtag1","hashtag2"]},{"1394702419":["hashtag1","hashtag2"]},{"1394702401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702412, 1394702420, 1394702383, 1394702422, 1394702419, 1394702401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48620533943176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:16:14.328928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 --last_days 3
2025-11-16 00:16:42.888768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_47_2663.jpg', '/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_53_2770.jpg', '/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_56_2705.jpg', '/home/pi/Desktop/images/16112025/00/15/image_16112025_00_16_00_3706.jpg', '/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_11_2715.jpg', '/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_21_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_47_2663.jpg
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_53_2770.jpg
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_15_56_2705.jpg
/home/pi/Desktop/images/16112025/00/15/image_16112025_00_16_00_3706.jpg
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_11_2715.jpg
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_21_3642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702438","1394702432","1394702435","1394702434","1394702437","1394702433"],"photo_ids_order":["1394702432","1394702433","1394702434","1394702435","1394702437","1394702438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70f398d0d2165ac574686c074b36dc19.jpg","text":"TemporaryFile(/tmp/multipartBody2781080953394467456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248663612,"filename":"image_16112025_00_16_21_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e10314a82645cd550d1c278d60db097.jpg","text":"TemporaryFile(/tmp/multipartBody2445284823440419604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248663612,"filename":"image_16112025_00_15_47_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aab90e5386dfa89e3a53d29d583f2ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3360940944546818350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248663612,"filename":"image_16112025_00_16_00_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f87207039bf4921e92c5d0f070539a56.jpg","text":"TemporaryFile(/tmp/multipartBody2944681991541315622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248663612,"filename":"image_16112025_00_15_56_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab0ac9ba01dd1f3fe30cec33ca4a6443.jpg","text":"TemporaryFile(/tmp/multipartBody4539347984599881637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248663612,"filename":"image_16112025_00_16_11_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5250f73d93782a9a8506ba597f45fb14.jpg","text":"TemporaryFile(/tmp/multipartBody9048223104755476760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248663612,"filename":"image_16112025_00_15_53_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702434","file1":"1394702433","file0":"1394702432","file4":"1394702437","file5":"1394702438","file3":"1394702435"},"map_files_photo_id_array":[{"photo_id":"1394702438","filename":"file5"},{"photo_id":"1394702434","filename":"file2"},{"photo_id":"1394702437","filename":"file4"},{"photo_id":"1394702433","filename":"file1"},{"photo_id":"1394702432","filename":"file0"},{"photo_id":"1394702435","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702438":["hashtag1","hashtag2"]},{"1394702432":["hashtag1","hashtag2"]},{"1394702435":["hashtag1","hashtag2"]},{"1394702434":["hashtag1","hashtag2"]},{"1394702437":["hashtag1","hashtag2"]},{"1394702433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702438, 1394702432, 1394702435, 1394702434, 1394702437, 1394702433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57079768180847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:17:22.037761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_24_3101.jpg', '/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_29_5526.jpg', '/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_38_2749.jpg', '/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_45_3800.jpg', '/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_50_2605.jpg', '/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_53_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_24_3101.jpg
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_29_5526.jpg
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_38_2749.jpg
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_45_3800.jpg
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_50_2605.jpg
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_53_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702450","1394702447","1394702449","1394702445","1394702448","1394702442"],"photo_ids_order":["1394702442","1394702445","1394702447","1394702448","1394702449","1394702450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eceb584b0d2ef693f40c540758e452c6.jpg","text":"TemporaryFile(/tmp/multipartBody1118555443388483019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248702759,"filename":"image_16112025_00_16_53_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13efe6e684daaddeb98641a054459044.jpg","text":"TemporaryFile(/tmp/multipartBody2615809363915283427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248702759,"filename":"image_16112025_00_16_38_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f010cf1fab22884d1bc0f14fafbf3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6751365857085174707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248702759,"filename":"image_16112025_00_16_50_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32f0284ef7a45ad668913403eba29a89.jpg","text":"TemporaryFile(/tmp/multipartBody8195694195453870453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248702759,"filename":"image_16112025_00_16_29_5526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb2bf8646c42bc7cc6d1815eeaac5be4.jpg","text":"TemporaryFile(/tmp/multipartBody6429393952679064866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248702759,"filename":"image_16112025_00_16_45_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56e0816654d6812f9a4db5222ca774b6.jpg","text":"TemporaryFile(/tmp/multipartBody2772702432752568335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248702759,"filename":"image_16112025_00_16_24_3101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702447","file1":"1394702445","file0":"1394702442","file4":"1394702449","file5":"1394702450","file3":"1394702448"},"map_files_photo_id_array":[{"photo_id":"1394702450","filename":"file5"},{"photo_id":"1394702447","filename":"file2"},{"photo_id":"1394702449","filename":"file4"},{"photo_id":"1394702445","filename":"file1"},{"photo_id":"1394702442","filename":"file0"},{"photo_id":"1394702448","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702450":["hashtag1","hashtag2"]},{"1394702447":["hashtag1","hashtag2"]},{"1394702449":["hashtag1","hashtag2"]},{"1394702445":["hashtag1","hashtag2"]},{"1394702448":["hashtag1","hashtag2"]},{"1394702442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702450, 1394702447, 1394702449, 1394702445, 1394702448, 1394702442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41305899620056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:18:02.771653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_59_2779.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_03_3279.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_23_8944.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_33_1752.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_40_1689.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_43_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_59_2779.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_03_3279.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_23_8944.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_33_1752.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_40_1689.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_43_1713.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.693263053894043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:18:22.269294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_59_2779.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_03_3279.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_23_8944.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_33_1752.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_40_1689.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_43_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/16/image_16112025_00_16_59_2779.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_03_3279.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_23_8944.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_33_1752.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_40_1689.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_43_1713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702462","1394702465","1394702467","1394702463","1394702466","1394702460"],"photo_ids_order":["1394702460","1394702462","1394702463","1394702465","1394702466","1394702467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/041eccbae5a9a23c13136026ed3339d5.jpg","text":"TemporaryFile(/tmp/multipartBody6413034105810804114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248763067,"filename":"image_16112025_00_17_03_3279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/490efc0a27cf2b055458814d4341f352.jpg","text":"TemporaryFile(/tmp/multipartBody3980416549813893029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248763067,"filename":"image_16112025_00_17_33_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a50d1d3e4d672c2bd38929b7f205e95e.jpg","text":"TemporaryFile(/tmp/multipartBody4560825263975882386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248763067,"filename":"image_16112025_00_17_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/11/16/ef57596bd2195cc89d447f410f2292d2.jpg","text":"TemporaryFile(/tmp/multipartBody8671461786279235384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248763067,"filename":"image_16112025_00_17_23_8944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0aebce75482b4cd93e59101331a96c7.jpg","text":"TemporaryFile(/tmp/multipartBody3246772531785377980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248763067,"filename":"image_16112025_00_17_40_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/707249bbb43036e78deb9871906004f2.jpg","text":"TemporaryFile(/tmp/multipartBody4359093475636482399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248763067,"filename":"image_16112025_00_16_59_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702463","file1":"1394702462","file0":"1394702460","file4":"1394702466","file5":"1394702467","file3":"1394702465"},"map_files_photo_id_array":[{"photo_id":"1394702467","filename":"file5"},{"photo_id":"1394702463","filename":"file2"},{"photo_id":"1394702466","filename":"file4"},{"photo_id":"1394702462","filename":"file1"},{"photo_id":"1394702460","filename":"file0"},{"photo_id":"1394702465","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702462":["hashtag1","hashtag2"]},{"1394702465":["hashtag1","hashtag2"]},{"1394702467":["hashtag1","hashtag2"]},{"1394702463":["hashtag1","hashtag2"]},{"1394702466":["hashtag1","hashtag2"]},{"1394702460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702462, 1394702465, 1394702467, 1394702463, 1394702466, 1394702460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83108687400818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:19:03.498765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_50_2793.jpg', '/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_59_2692.jpg', '/home/pi/Desktop/images/16112025/00/18/image_16112025_00_18_32_3711.jpg', '/home/pi/Desktop/images/16112025/00/18/image_16112025_00_18_35_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_50_2793.jpg
/home/pi/Desktop/images/16112025/00/17/image_16112025_00_17_59_2692.jpg
/home/pi/Desktop/images/16112025/00/18/image_16112025_00_18_32_3711.jpg
/home/pi/Desktop/images/16112025/00/18/image_16112025_00_18_35_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702474","1394702468","1394702470","1394702472"],"photo_ids_order":["1394702468","1394702470","1394702472","1394702474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74c0af63f78b3036b618ac90bfdfb4de.jpg","text":"TemporaryFile(/tmp/multipartBody5596894789410152528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248804356,"filename":"image_16112025_00_18_35_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcafa39ad923ac792f1892945356d841.jpg","text":"TemporaryFile(/tmp/multipartBody5597436641370091408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248804356,"filename":"image_16112025_00_17_50_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12c49b51e50e5977ea5cf56f13ee21d8.jpg","text":"TemporaryFile(/tmp/multipartBody2115254994949986579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248804356,"filename":"image_16112025_00_17_59_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42ec13fdbad171922c5c22e320ea216d.jpg","text":"TemporaryFile(/tmp/multipartBody6775304209425231325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248804356,"filename":"image_16112025_00_18_32_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702472","file1":"1394702470","file0":"1394702468","file3":"1394702474"},"map_files_photo_id_array":[{"photo_id":"1394702472","filename":"file2"},{"photo_id":"1394702470","filename":"file1"},{"photo_id":"1394702468","filename":"file0"},{"photo_id":"1394702474","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702474":["hashtag1","hashtag2"]},{"1394702468":["hashtag1","hashtag2"]},{"1394702470":["hashtag1","hashtag2"]},{"1394702472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702474, 1394702468, 1394702470, 1394702472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.18547821044922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:19:42.624482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/18/image_16112025_00_18_44_2579.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_05_2928.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_20_2799.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_23_3592.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_32_2829.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_38_3917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/18/image_16112025_00_18_44_2579.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_05_2928.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_20_2799.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_23_3592.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_32_2829.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_38_3917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702517","1394702519","1394702521","1394702515","1394702520","1394702514"],"photo_ids_order":["1394702514","1394702515","1394702517","1394702519","1394702520","1394702521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92ce029aef877ba4c6369bb3f9da659e.jpg","text":"TemporaryFile(/tmp/multipartBody1276438043193737734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248843309,"filename":"image_16112025_00_19_20_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb072f61ff0badf20e5450cd9c2524fb.jpg","text":"TemporaryFile(/tmp/multipartBody2500958866693864190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248843309,"filename":"image_16112025_00_19_23_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce0f50205970a7eaaf39080327b3a43b.jpg","text":"TemporaryFile(/tmp/multipartBody4785888117923072634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248843309,"filename":"image_16112025_00_19_38_3917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6998415cdf880fda037bc3d04a08488.jpg","text":"TemporaryFile(/tmp/multipartBody5365503506146814765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248843309,"filename":"image_16112025_00_19_05_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e38e7f039589dd1ad51f633e1f03b02.jpg","text":"TemporaryFile(/tmp/multipartBody3506516154423450312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248843309,"filename":"image_16112025_00_19_32_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be62fdb386bc44b071932ec61f045367.jpg","text":"TemporaryFile(/tmp/multipartBody6415765329385797302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248843309,"filename":"image_16112025_00_18_44_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702517","file1":"1394702515","file0":"1394702514","file4":"1394702520","file5":"1394702521","file3":"1394702519"},"map_files_photo_id_array":[{"photo_id":"1394702521","filename":"file5"},{"photo_id":"1394702517","filename":"file2"},{"photo_id":"1394702520","filename":"file4"},{"photo_id":"1394702515","filename":"file1"},{"photo_id":"1394702514","filename":"file0"},{"photo_id":"1394702519","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702517":["hashtag1","hashtag2"]},{"1394702519":["hashtag1","hashtag2"]},{"1394702521":["hashtag1","hashtag2"]},{"1394702515":["hashtag1","hashtag2"]},{"1394702520":["hashtag1","hashtag2"]},{"1394702514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702517, 1394702519, 1394702521, 1394702515, 1394702520, 1394702514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39419746398926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:20:21.905391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_41_2571.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_53_2686.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_59_3734.jpg', '/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_07_2814.jpg', '/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_11_3875.jpg', '/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_35_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_41_2571.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_53_2686.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_59_3734.jpg
/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_07_2814.jpg
/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_11_3875.jpg
/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_35_3761.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.6592063903808594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:20:41.940516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_41_2571.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_53_2686.jpg', '/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_59_3734.jpg', '/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_07_2814.jpg', '/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_11_3875.jpg', '/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_35_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_41_2571.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_53_2686.jpg
/home/pi/Desktop/images/16112025/00/19/image_16112025_00_19_59_3734.jpg
/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_07_2814.jpg
/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_11_3875.jpg
/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_35_3761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702538","1394702534","1394702533","1394702536","1394702539","1394702532"],"photo_ids_order":["1394702532","1394702533","1394702534","1394702536","1394702538","1394702539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9db6ea7fc01a3e9cfabb14cb610432fc.jpg","text":"TemporaryFile(/tmp/multipartBody7024374538349718110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248902634,"filename":"image_16112025_00_20_11_3875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6aeeeed0d3c3994ee285be0bad65b3eb.jpg","text":"TemporaryFile(/tmp/multipartBody5527360981592526167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248902634,"filename":"image_16112025_00_19_59_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/268ded9e70cecdcf995903d146b7b3ca.jpg","text":"TemporaryFile(/tmp/multipartBody827009881667555486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248902634,"filename":"image_16112025_00_19_53_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a83a77603a186e8ed1a1de6e2a2b552a.jpg","text":"TemporaryFile(/tmp/multipartBody7735585309493345671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248902634,"filename":"image_16112025_00_20_07_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adb1951c8a45ae5893f082fb202a74bb.jpg","text":"TemporaryFile(/tmp/multipartBody5257496816110244783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248902634,"filename":"image_16112025_00_20_35_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cadb48273209597394930b2ab36ab51.jpg","text":"TemporaryFile(/tmp/multipartBody6175127675651722037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248902634,"filename":"image_16112025_00_19_41_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702534","file1":"1394702533","file0":"1394702532","file4":"1394702538","file5":"1394702539","file3":"1394702536"},"map_files_photo_id_array":[{"photo_id":"1394702539","filename":"file5"},{"photo_id":"1394702534","filename":"file2"},{"photo_id":"1394702538","filename":"file4"},{"photo_id":"1394702533","filename":"file1"},{"photo_id":"1394702532","filename":"file0"},{"photo_id":"1394702536","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702538":["hashtag1","hashtag2"]},{"1394702534":["hashtag1","hashtag2"]},{"1394702533":["hashtag1","hashtag2"]},{"1394702536":["hashtag1","hashtag2"]},{"1394702539":["hashtag1","hashtag2"]},{"1394702532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702538, 1394702534, 1394702533, 1394702536, 1394702539, 1394702532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67255473136902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:21:22.234464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_41_2679.jpg', '/home/pi/Desktop/images/16112025/00/21/image_16112025_00_21_50_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/20/image_16112025_00_20_41_2679.jpg
/home/pi/Desktop/images/16112025/00/21/image_16112025_00_21_50_2783.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702549","1394702546"],"photo_ids_order":["1394702546","1394702549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e627025fa1d9aed0a19c0949e4dc3dec.jpg","text":"TemporaryFile(/tmp/multipartBody7553046950872644751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248942771,"filename":"image_16112025_00_21_50_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a9203ff1c27c4e7af432ad417554d65.jpg","text":"TemporaryFile(/tmp/multipartBody6790150701110552845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248942771,"filename":"image_16112025_00_20_41_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394702549","file0":"1394702546"},"map_files_photo_id_array":[{"photo_id":"1394702549","filename":"file1"},{"photo_id":"1394702546","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702549":["hashtag1","hashtag2"]},{"1394702546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702549, 1394702546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.359758138656616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:21:42.287459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
  port_id : 28472015
  datou_current_id : 4038957
in upload_from_sqlite, uploading in 28472015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_40_2725.jpg', '/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_46_3763.jpg', '/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_52_2601.jpg', '/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_54_2829.jpg', '/home/pi/Desktop/images/13112025/23/57/image_13112025_23_57_01_2597.jpg', '/home/pi/Desktop/images/13112025/23/57/image_13112025_23_57_05_4466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4038957&datou=0
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_40_2725.jpg
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_46_3763.jpg
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_52_2601.jpg
/home/pi/Desktop/images/13112025/23/56/image_13112025_23_56_54_2829.jpg
/home/pi/Desktop/images/13112025/23/57/image_13112025_23_57_01_2597.jpg
/home/pi/Desktop/images/13112025/23/57/image_13112025_23_57_05_4466.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702591","1394702597","1394702596","1394702593","1394702595","1394702589"],"photo_ids_order":["1394702589","1394702591","1394702593","1394702595","1394702596","1394702597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c273dd1a352564931b9a759062c28cdc.jpg","text":"TemporaryFile(/tmp/multipartBody2771593021437877355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248963169,"filename":"image_13112025_23_56_46_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ab66e5ee29b8cc530cdc02d11a3cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody2143660713998682430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248963169,"filename":"image_13112025_23_57_05_4466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8f167af2288048b29ca763d27f365a4.jpg","text":"TemporaryFile(/tmp/multipartBody744455411653937732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248963169,"filename":"image_13112025_23_57_01_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/faefb0f03326378381206c98c5061c96.jpg","text":"TemporaryFile(/tmp/multipartBody726039537209181728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248963169,"filename":"image_13112025_23_56_52_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50164d9e99b8711ef087a5239d7ee4c7.jpg","text":"TemporaryFile(/tmp/multipartBody835304202539618676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248963169,"filename":"image_13112025_23_56_54_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/652bdaaf4b3cc521b702e9199dbbe076.jpg","text":"TemporaryFile(/tmp/multipartBody5867750940479268288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763248963169,"filename":"image_13112025_23_56_40_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702593","file1":"1394702591","file0":"1394702589","file4":"1394702596","file5":"1394702597","file3":"1394702595"},"map_files_photo_id_array":[{"photo_id":"1394702597","filename":"file5"},{"photo_id":"1394702593","filename":"file2"},{"photo_id":"1394702596","filename":"file4"},{"photo_id":"1394702591","filename":"file1"},{"photo_id":"1394702589","filename":"file0"},{"photo_id":"1394702595","filename":"file3"}],"portfolio_id":28472015,"hashtag_by_photo_ids":[{"1394702591":["hashtag1","hashtag2"]},{"1394702597":["hashtag1","hashtag2"]},{"1394702596":["hashtag1","hashtag2"]},{"1394702593":["hashtag1","hashtag2"]},{"1394702595":["hashtag1","hashtag2"]},{"1394702589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28472015 used, photo_id : ArrayBuffer(1394702591, 1394702597, 1394702596, 1394702593, 1394702595, 1394702589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.065725326538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:22:22.522147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/21/image_16112025_00_21_59_3833.jpg', '/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_04_2615.jpg', '/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_08_3554.jpg', '/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_11_2644.jpg', '/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_13_2716.jpg', '/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_53_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/21/image_16112025_00_21_59_3833.jpg
/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_04_2615.jpg
/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_08_3554.jpg
/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_11_2644.jpg
/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_13_2716.jpg
/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_53_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702601","1394702603","1394702606","1394702609","1394702611","1394702608"],"photo_ids_order":["1394702601","1394702603","1394702606","1394702608","1394702609","1394702611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b8006b682f9a84d288c25746d678bd4.jpg","text":"TemporaryFile(/tmp/multipartBody1025364415819137004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249003207,"filename":"image_16112025_00_21_59_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/baae6662db0026af9c6530bb977c5c80.jpg","text":"TemporaryFile(/tmp/multipartBody1374393203974541997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249003207,"filename":"image_16112025_00_22_04_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebedf3f66aab8701b165c77b4c610059.jpg","text":"TemporaryFile(/tmp/multipartBody8061921648480666997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249003207,"filename":"image_16112025_00_22_08_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/819047cb286502e7d6481679fdecd83d.jpg","text":"TemporaryFile(/tmp/multipartBody8906898018376919204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249003207,"filename":"image_16112025_00_22_13_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab7d6e00d79f964a2e01535d357c7e66.jpg","text":"TemporaryFile(/tmp/multipartBody1479153797727316794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249003207,"filename":"image_16112025_00_22_53_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b7cabdd107052beeff0481b81575e28.jpg","text":"TemporaryFile(/tmp/multipartBody5562389076344299365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249003207,"filename":"image_16112025_00_22_11_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702606","file1":"1394702603","file0":"1394702601","file4":"1394702609","file5":"1394702611","file3":"1394702608"},"map_files_photo_id_array":[{"photo_id":"1394702611","filename":"file5"},{"photo_id":"1394702606","filename":"file2"},{"photo_id":"1394702609","filename":"file4"},{"photo_id":"1394702603","filename":"file1"},{"photo_id":"1394702601","filename":"file0"},{"photo_id":"1394702608","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702601":["hashtag1","hashtag2"]},{"1394702603":["hashtag1","hashtag2"]},{"1394702606":["hashtag1","hashtag2"]},{"1394702609":["hashtag1","hashtag2"]},{"1394702611":["hashtag1","hashtag2"]},{"1394702608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702601, 1394702603, 1394702606, 1394702609, 1394702611, 1394702608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14594864845276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:23:03.465467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_55_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_55_2721.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702613"],"photo_id":"1394702613","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/382f7a8c7b570e46d4a5a00afe9ae60a.jpg","text":"TemporaryFile(/tmp/multipartBody3995679203247116001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249044026,"filename":"image_16112025_00_22_55_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394702613"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394702613"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.060058116912842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:23:22.771335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_58_2684.jpg', '/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_25_2684.jpg', '/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_28_2707.jpg', '/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_35_2677.jpg', '/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_37_2612.jpg', '/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_41_3777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/22/image_16112025_00_22_58_2684.jpg
/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_25_2684.jpg
/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_28_2707.jpg
/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_35_2677.jpg
/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_37_2612.jpg
/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_41_3777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702648","1394702651","1394702650","1394702644","1394702646","1394702649"],"photo_ids_order":["1394702644","1394702646","1394702648","1394702649","1394702650","1394702651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11e9fa2ad275312d773d25230b76c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody7260383383799252398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249063496,"filename":"image_16112025_00_23_28_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a66080a1124a1af46cc23f79e4b448b4.jpg","text":"TemporaryFile(/tmp/multipartBody5860528303006649857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249063496,"filename":"image_16112025_00_23_41_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9db8482b85d0169ec58b8dc057834fd1.jpg","text":"TemporaryFile(/tmp/multipartBody1651303697983206474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249063496,"filename":"image_16112025_00_23_37_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b673a8e02da6070516ed55df63466be3.jpg","text":"TemporaryFile(/tmp/multipartBody8187095637834204869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249063496,"filename":"image_16112025_00_22_58_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c833446c264e37e581b13d67b3a9e386.jpg","text":"TemporaryFile(/tmp/multipartBody8242975669523489688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249063496,"filename":"image_16112025_00_23_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/11/16/8ee02f840312e97d17fe06c4e38a69d0.jpg","text":"TemporaryFile(/tmp/multipartBody1987223888982525925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249063496,"filename":"image_16112025_00_23_35_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702648","file1":"1394702646","file0":"1394702644","file4":"1394702650","file5":"1394702651","file3":"1394702649"},"map_files_photo_id_array":[{"photo_id":"1394702651","filename":"file5"},{"photo_id":"1394702648","filename":"file2"},{"photo_id":"1394702650","filename":"file4"},{"photo_id":"1394702646","filename":"file1"},{"photo_id":"1394702644","filename":"file0"},{"photo_id":"1394702649","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702648":["hashtag1","hashtag2"]},{"1394702651":["hashtag1","hashtag2"]},{"1394702650":["hashtag1","hashtag2"]},{"1394702644":["hashtag1","hashtag2"]},{"1394702646":["hashtag1","hashtag2"]},{"1394702649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702648, 1394702651, 1394702650, 1394702644, 1394702646, 1394702649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.494606494903564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:24:02.731282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_44_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_44_2620.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.45140933990478516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:24:22.168277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_44_2620.jpg', '/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_52_2604.jpg', '/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_29_3572.jpg', '/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_31_2675.jpg', '/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_34_2706.jpg', '/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_38_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_44_2620.jpg
/home/pi/Desktop/images/16112025/00/23/image_16112025_00_23_52_2604.jpg
/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_29_3572.jpg
/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_31_2675.jpg
/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_34_2706.jpg
/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_38_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702666","1394702665","1394702661","1394702655","1394702664","1394702658"],"photo_ids_order":["1394702655","1394702658","1394702661","1394702664","1394702665","1394702666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36e221f8f938b46bd7b0b131920ea4e9.jpg","text":"TemporaryFile(/tmp/multipartBody6844212121810252015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249122840,"filename":"image_16112025_00_24_38_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/225dd4c2d866f7e5890023323be48b74.jpg","text":"TemporaryFile(/tmp/multipartBody6005041535164714685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249122840,"filename":"image_16112025_00_24_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/11/16/fa0c3331b6e06cdf0de047a45301db0e.jpg","text":"TemporaryFile(/tmp/multipartBody5619620563885879073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249122840,"filename":"image_16112025_00_24_29_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/417dded74e86e76b3f92f65e3acd025d.jpg","text":"TemporaryFile(/tmp/multipartBody6837086793038666872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249122840,"filename":"image_16112025_00_23_44_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db7677ae8373fb5c37bd091ae3c0d183.jpg","text":"TemporaryFile(/tmp/multipartBody260748254179000719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249122840,"filename":"image_16112025_00_24_31_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fca3deaa8b6f95bbcb4f29ee82d73266.jpg","text":"TemporaryFile(/tmp/multipartBody3519557627235970877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249122840,"filename":"image_16112025_00_23_52_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702661","file1":"1394702658","file0":"1394702655","file4":"1394702665","file5":"1394702666","file3":"1394702664"},"map_files_photo_id_array":[{"photo_id":"1394702666","filename":"file5"},{"photo_id":"1394702661","filename":"file2"},{"photo_id":"1394702665","filename":"file4"},{"photo_id":"1394702658","filename":"file1"},{"photo_id":"1394702655","filename":"file0"},{"photo_id":"1394702664","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702666":["hashtag1","hashtag2"]},{"1394702665":["hashtag1","hashtag2"]},{"1394702661":["hashtag1","hashtag2"]},{"1394702655":["hashtag1","hashtag2"]},{"1394702664":["hashtag1","hashtag2"]},{"1394702658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702666, 1394702665, 1394702661, 1394702655, 1394702664, 1394702658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60078763961792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:25:03.083676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_40_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_40_2792.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702667"],"photo_id":"1394702667","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f5b81bfb3bfceca2b3bc349884da7a3.jpg","text":"TemporaryFile(/tmp/multipartBody7046423596090360219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249163612,"filename":"image_16112025_00_24_40_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394702667"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394702667"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.470661163330078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:25:22.294120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_49_2607.jpg', '/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_01_2543.jpg', '/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_08_3588.jpg', '/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_10_2721.jpg', '/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_25_2750.jpg', '/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_43_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/24/image_16112025_00_24_49_2607.jpg
/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_01_2543.jpg
/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_08_3588.jpg
/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_10_2721.jpg
/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_25_2750.jpg
/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_43_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702699","1394702690","1394702703","1394702696","1394702698","1394702701"],"photo_ids_order":["1394702690","1394702696","1394702698","1394702699","1394702701","1394702703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/319fbec402c3eb5851ba86cd143185e4.jpg","text":"TemporaryFile(/tmp/multipartBody633406131809846007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249182985,"filename":"image_16112025_00_25_10_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/669f541c1de9420544ce4acb9d939d18.jpg","text":"TemporaryFile(/tmp/multipartBody3070959704994042315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249182985,"filename":"image_16112025_00_24_49_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68df57a1279e817358a0f6a956d4435d.jpg","text":"TemporaryFile(/tmp/multipartBody6726030534410159660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249182985,"filename":"image_16112025_00_25_43_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7016d618fc37f2ff17ccb07c48a47a15.jpg","text":"TemporaryFile(/tmp/multipartBody5350584002328276074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249182985,"filename":"image_16112025_00_25_01_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a94d25c15e3ba9ad7c94be7df871b8e5.jpg","text":"TemporaryFile(/tmp/multipartBody6744125493162403915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249182985,"filename":"image_16112025_00_25_08_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d8aff25fc7060d8b4586895db0621e3.jpg","text":"TemporaryFile(/tmp/multipartBody2363564687744659420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249182985,"filename":"image_16112025_00_25_25_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702698","file1":"1394702696","file0":"1394702690","file4":"1394702701","file5":"1394702703","file3":"1394702699"},"map_files_photo_id_array":[{"photo_id":"1394702703","filename":"file5"},{"photo_id":"1394702698","filename":"file2"},{"photo_id":"1394702701","filename":"file4"},{"photo_id":"1394702696","filename":"file1"},{"photo_id":"1394702690","filename":"file0"},{"photo_id":"1394702699","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702699":["hashtag1","hashtag2"]},{"1394702690":["hashtag1","hashtag2"]},{"1394702703":["hashtag1","hashtag2"]},{"1394702696":["hashtag1","hashtag2"]},{"1394702698":["hashtag1","hashtag2"]},{"1394702701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702699, 1394702690, 1394702703, 1394702696, 1394702698, 1394702701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38960552215576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:26:03.048922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_47_3541.jpg', '/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_50_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_47_3541.jpg
/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_50_2706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702705","1394702704"],"photo_ids_order":["1394702704","1394702705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7afbcb9696427bb04f349aae6c51468a.jpg","text":"TemporaryFile(/tmp/multipartBody5390677744154213220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249223609,"filename":"image_16112025_00_25_50_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d00ecb3f86fecb83ebc43f82e61579a.jpg","text":"TemporaryFile(/tmp/multipartBody3681729684354968313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249223609,"filename":"image_16112025_00_25_47_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394702705","file0":"1394702704"},"map_files_photo_id_array":[{"photo_id":"1394702705","filename":"file1"},{"photo_id":"1394702704","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702705":["hashtag1","hashtag2"]},{"1394702704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702705, 1394702704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.625017881393433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:26:22.500638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_55_2606.jpg', '/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_01_2635.jpg', '/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_04_2702.jpg', '/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_08_3743.jpg', '/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_34_2654.jpg', '/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_38_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/25/image_16112025_00_25_55_2606.jpg
/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_01_2635.jpg
/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_04_2702.jpg
/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_08_3743.jpg
/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_34_2654.jpg
/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_38_3605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702715","1394702709","1394702717","1394702711","1394702713","1394702718"],"photo_ids_order":["1394702709","1394702711","1394702713","1394702715","1394702717","1394702718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0fc8507b36f876560a9f84ad2bb2750.jpg","text":"TemporaryFile(/tmp/multipartBody2460949206408902661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249243201,"filename":"image_16112025_00_26_08_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/499ee468fb506465ba17d155d6be2b34.jpg","text":"TemporaryFile(/tmp/multipartBody5979286990842215133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249243201,"filename":"image_16112025_00_25_55_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d95d2b7f2f929b3999dcd013444343ed.jpg","text":"TemporaryFile(/tmp/multipartBody4290293721101402678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249243201,"filename":"image_16112025_00_26_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/11/16/e358da1185a69af5d4b9564d186e1d86.jpg","text":"TemporaryFile(/tmp/multipartBody242011875940151014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249243201,"filename":"image_16112025_00_26_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/11/16/01b8355583c9c47de695ed583820a5ed.jpg","text":"TemporaryFile(/tmp/multipartBody2666286761448407452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249243201,"filename":"image_16112025_00_26_04_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ef5a33db363d82f620ec263f17f690d.jpg","text":"TemporaryFile(/tmp/multipartBody4309693485743948699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249243201,"filename":"image_16112025_00_26_38_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702713","file1":"1394702711","file0":"1394702709","file4":"1394702717","file5":"1394702718","file3":"1394702715"},"map_files_photo_id_array":[{"photo_id":"1394702718","filename":"file5"},{"photo_id":"1394702713","filename":"file2"},{"photo_id":"1394702717","filename":"file4"},{"photo_id":"1394702711","filename":"file1"},{"photo_id":"1394702709","filename":"file0"},{"photo_id":"1394702715","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702715":["hashtag1","hashtag2"]},{"1394702709":["hashtag1","hashtag2"]},{"1394702717":["hashtag1","hashtag2"]},{"1394702711":["hashtag1","hashtag2"]},{"1394702713":["hashtag1","hashtag2"]},{"1394702718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702715, 1394702709, 1394702717, 1394702711, 1394702713, 1394702718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19401812553406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:27:02.543030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_47_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_47_3699.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702719"],"photo_id":"1394702719","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbfeab41da634f575eaaa79132012308.jpg","text":"TemporaryFile(/tmp/multipartBody1149676065503713310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249284014,"filename":"image_16112025_00_26_47_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394702719"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394702719"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.447774410247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:27:21.798549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_49_2614.jpg', '/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_01_2626.jpg', '/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_07_2732.jpg', '/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_10_2628.jpg', '/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_13_2782.jpg', '/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_25_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/26/image_16112025_00_26_49_2614.jpg
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_01_2626.jpg
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_07_2732.jpg
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_10_2628.jpg
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_13_2782.jpg
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_25_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702734","1394702722","1394702766","1394702730","1394702724","1394702733"],"photo_ids_order":["1394702722","1394702724","1394702730","1394702733","1394702734","1394702766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93f24e0dec65c9183894bd34c3d3630e.jpg","text":"TemporaryFile(/tmp/multipartBody8536103081349867164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249302475,"filename":"image_16112025_00_27_13_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39f0c0c49e521201e7f49bc6dd40b544.jpg","text":"TemporaryFile(/tmp/multipartBody4248009885954744761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249302475,"filename":"image_16112025_00_26_49_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/190639f6663291a19b8031fec3ccb1cc.jpg","text":"TemporaryFile(/tmp/multipartBody1603122246671229848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249302475,"filename":"image_16112025_00_27_25_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30e1141410fd801faed1b1e5f780b578.jpg","text":"TemporaryFile(/tmp/multipartBody2732773295627905208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249302475,"filename":"image_16112025_00_27_07_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc1ff16e2eb70b98fadd5cb2639154a0.jpg","text":"TemporaryFile(/tmp/multipartBody5633667888409423298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249302475,"filename":"image_16112025_00_27_01_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bb10d51cbec0083bdf21203fb6bb718.jpg","text":"TemporaryFile(/tmp/multipartBody7581806203481049320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249302475,"filename":"image_16112025_00_27_10_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702730","file1":"1394702724","file0":"1394702722","file4":"1394702734","file5":"1394702766","file3":"1394702733"},"map_files_photo_id_array":[{"photo_id":"1394702766","filename":"file5"},{"photo_id":"1394702730","filename":"file2"},{"photo_id":"1394702734","filename":"file4"},{"photo_id":"1394702724","filename":"file1"},{"photo_id":"1394702722","filename":"file0"},{"photo_id":"1394702733","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702734":["hashtag1","hashtag2"]},{"1394702722":["hashtag1","hashtag2"]},{"1394702766":["hashtag1","hashtag2"]},{"1394702730":["hashtag1","hashtag2"]},{"1394702724":["hashtag1","hashtag2"]},{"1394702733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702734, 1394702722, 1394702766, 1394702730, 1394702724, 1394702733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53282713890076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:28:02.637611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_46_2736.jpg', '/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_49_3741.jpg', '/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_52_2667.jpg', '/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_55_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_46_2736.jpg
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_49_3741.jpg
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_52_2667.jpg
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_55_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702780","1394702782","1394702779","1394702781"],"photo_ids_order":["1394702779","1394702780","1394702781","1394702782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d6f17372b5a3281e48e54dd4a2da4fd.jpg","text":"TemporaryFile(/tmp/multipartBody6266846714033572082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249343301,"filename":"image_16112025_00_27_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/11/16/21a394dfd3cd8c6e86c0157eb1ca8a3f.jpg","text":"TemporaryFile(/tmp/multipartBody2534118686248893230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249343301,"filename":"image_16112025_00_27_55_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3260a946cf3afeabdc75ee9fd50fc6ae.jpg","text":"TemporaryFile(/tmp/multipartBody1143412332406530774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249343301,"filename":"image_16112025_00_27_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/11/16/944e99b3c80a3ebfafd7fd6ff4ffa50b.jpg","text":"TemporaryFile(/tmp/multipartBody2416237482061392043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249343301,"filename":"image_16112025_00_27_52_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702781","file1":"1394702780","file0":"1394702779","file3":"1394702782"},"map_files_photo_id_array":[{"photo_id":"1394702781","filename":"file2"},{"photo_id":"1394702780","filename":"file1"},{"photo_id":"1394702779","filename":"file0"},{"photo_id":"1394702782","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702780":["hashtag1","hashtag2"]},{"1394702782":["hashtag1","hashtag2"]},{"1394702779":["hashtag1","hashtag2"]},{"1394702781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702780, 1394702782, 1394702779, 1394702781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.063233613967896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:28:42.044472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_58_3698.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_04_2631.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_14_3653.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_28_2656.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_31_2659.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_43_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/27/image_16112025_00_27_58_3698.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_04_2631.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_14_3653.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_28_2656.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_31_2659.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_43_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702798","1394702792","1394702794","1394702797","1394702799","1394702796"],"photo_ids_order":["1394702792","1394702794","1394702796","1394702797","1394702798","1394702799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1eaeeb58e09be83bd6d3e462315da1bc.jpg","text":"TemporaryFile(/tmp/multipartBody2006829536640223376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249382726,"filename":"image_16112025_00_28_31_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d28c098c8539f3bb05c17025141bde78.jpg","text":"TemporaryFile(/tmp/multipartBody2922257624130463006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249382726,"filename":"image_16112025_00_27_58_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ccd4f8c46cce6d71f3862ec1bf75aa40.jpg","text":"TemporaryFile(/tmp/multipartBody7816269867954299433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249382726,"filename":"image_16112025_00_28_04_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f34531e6f60d7e3922ad60a146edc7e8.jpg","text":"TemporaryFile(/tmp/multipartBody8323427700090764321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249382726,"filename":"image_16112025_00_28_28_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6379a9a7c7e6fe2b796386468a88549a.jpg","text":"TemporaryFile(/tmp/multipartBody7348555922361293898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249382726,"filename":"image_16112025_00_28_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/11/16/6e1d9c89b637565fcbd9db4764b76c52.jpg","text":"TemporaryFile(/tmp/multipartBody3703068640170592987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249382726,"filename":"image_16112025_00_28_14_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702796","file1":"1394702794","file0":"1394702792","file4":"1394702798","file5":"1394702799","file3":"1394702797"},"map_files_photo_id_array":[{"photo_id":"1394702799","filename":"file5"},{"photo_id":"1394702796","filename":"file2"},{"photo_id":"1394702798","filename":"file4"},{"photo_id":"1394702794","filename":"file1"},{"photo_id":"1394702792","filename":"file0"},{"photo_id":"1394702797","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702798":["hashtag1","hashtag2"]},{"1394702792":["hashtag1","hashtag2"]},{"1394702794":["hashtag1","hashtag2"]},{"1394702797":["hashtag1","hashtag2"]},{"1394702799":["hashtag1","hashtag2"]},{"1394702796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702798, 1394702792, 1394702794, 1394702797, 1394702799, 1394702796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64330077171326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:29:22.324042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_46_2612.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_49_3697.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_52_2699.jpg', '/home/pi/Desktop/images/16112025/00/29/image_16112025_00_29_55_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_46_2612.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_49_3697.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_52_2699.jpg
/home/pi/Desktop/images/16112025/00/29/image_16112025_00_29_55_3545.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.540673017501831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:29:42.333722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_46_2612.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_49_3697.jpg', '/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_52_2699.jpg', '/home/pi/Desktop/images/16112025/00/29/image_16112025_00_29_55_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_46_2612.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_49_3697.jpg
/home/pi/Desktop/images/16112025/00/28/image_16112025_00_28_52_2699.jpg
/home/pi/Desktop/images/16112025/00/29/image_16112025_00_29_55_3545.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":["1394702816","1394702815","1394702818","1394702817"],"photo_ids_order":["1394702815","1394702816","1394702817","1394702818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4a73fa84e58973c6eb714013db7a82e.jpg","text":"TemporaryFile(/tmp/multipartBody1127951518676624280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249442933,"filename":"image_16112025_00_28_49_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ddaf0106e5e3322efd5d578eed1cc8ab.jpg","text":"TemporaryFile(/tmp/multipartBody6502582716705152827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249442933,"filename":"image_16112025_00_28_46_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/794f06a45dd666fba0e6e503111b70fe.jpg","text":"TemporaryFile(/tmp/multipartBody2500759650120589127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249442933,"filename":"image_16112025_00_29_55_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1911a661498a19cd8b91f92c7899e6f0.jpg","text":"TemporaryFile(/tmp/multipartBody426398141420384763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249442933,"filename":"image_16112025_00_28_52_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702817","file1":"1394702816","file0":"1394702815","file3":"1394702818"},"map_files_photo_id_array":[{"photo_id":"1394702817","filename":"file2"},{"photo_id":"1394702816","filename":"file1"},{"photo_id":"1394702815","filename":"file0"},{"photo_id":"1394702818","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702816":["hashtag1","hashtag2"]},{"1394702815":["hashtag1","hashtag2"]},{"1394702818":["hashtag1","hashtag2"]},{"1394702817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702816, 1394702815, 1394702818, 1394702817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.10459613800049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:30:42.621456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/29/image_16112025_00_29_58_2766.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_07_2862.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_19_2638.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_22_3746.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_25_2810.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_28_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/29/image_16112025_00_29_58_2766.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_07_2862.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_19_2638.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_22_3746.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_25_2810.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_28_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.5946962833404541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:31:02.561537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/29/image_16112025_00_29_58_2766.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_07_2862.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_19_2638.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_22_3746.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_25_2810.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_28_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/29/image_16112025_00_29_58_2766.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_07_2862.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_19_2638.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_22_3746.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_25_2810.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_28_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702852","1394702846","1394702855","1394702845","1394702848","1394702847"],"photo_ids_order":["1394702845","1394702846","1394702847","1394702848","1394702852","1394702855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb004385303979a3c8b1c498daaa7a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2546925107782106622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249523378,"filename":"image_16112025_00_30_25_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f0f51d1fad552772883a06dc852739a.jpg","text":"TemporaryFile(/tmp/multipartBody7220686405887506932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249523378,"filename":"image_16112025_00_30_07_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8844af9955b4eb9d3eb9dc7198cc62be.jpg","text":"TemporaryFile(/tmp/multipartBody2623110385689913975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249523378,"filename":"image_16112025_00_30_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/11/16/654f40eb7b5562e8eaa59f5c9eae1982.jpg","text":"TemporaryFile(/tmp/multipartBody522806528471518676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249523378,"filename":"image_16112025_00_29_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/11/16/d4fbdd0aef7e6e0db383082c0a50c064.jpg","text":"TemporaryFile(/tmp/multipartBody5758681628004814384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249523378,"filename":"image_16112025_00_30_22_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/effb9ba7740e0f242668413eed818857.jpg","text":"TemporaryFile(/tmp/multipartBody3230535763358977341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249523378,"filename":"image_16112025_00_30_19_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702847","file1":"1394702846","file0":"1394702845","file4":"1394702852","file5":"1394702855","file3":"1394702848"},"map_files_photo_id_array":[{"photo_id":"1394702855","filename":"file5"},{"photo_id":"1394702847","filename":"file2"},{"photo_id":"1394702852","filename":"file4"},{"photo_id":"1394702846","filename":"file1"},{"photo_id":"1394702845","filename":"file0"},{"photo_id":"1394702848","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702852":["hashtag1","hashtag2"]},{"1394702846":["hashtag1","hashtag2"]},{"1394702855":["hashtag1","hashtag2"]},{"1394702845":["hashtag1","hashtag2"]},{"1394702848":["hashtag1","hashtag2"]},{"1394702847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702852, 1394702846, 1394702855, 1394702845, 1394702848, 1394702847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95197057723999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:31:41.773067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_51_2600.jpg', '/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_58_2554.jpg', '/home/pi/Desktop/images/16112025/00/31/image_16112025_00_31_21_2751.jpg', '/home/pi/Desktop/images/16112025/00/31/image_16112025_00_31_28_2755.jpg', '/home/pi/Desktop/images/16112025/00/31/image_16112025_00_31_40_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_51_2600.jpg
/home/pi/Desktop/images/16112025/00/30/image_16112025_00_30_58_2554.jpg
/home/pi/Desktop/images/16112025/00/31/image_16112025_00_31_21_2751.jpg
/home/pi/Desktop/images/16112025/00/31/image_16112025_00_31_28_2755.jpg
/home/pi/Desktop/images/16112025/00/31/image_16112025_00_31_40_2777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702861","1394702858","1394702860","1394702862","1394702859"],"photo_ids_order":["1394702858","1394702859","1394702860","1394702861","1394702862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9c07fcdd673e079611d5a4c83f01beb.jpg","text":"TemporaryFile(/tmp/multipartBody7159269089189116208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249562413,"filename":"image_16112025_00_31_28_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00f0cfe0e99de475eb2cfae602cf462b.jpg","text":"TemporaryFile(/tmp/multipartBody385215337310121808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249562413,"filename":"image_16112025_00_30_51_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/098ffd7e621ac9bbca69b351e705e542.jpg","text":"TemporaryFile(/tmp/multipartBody486383456005008885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249562413,"filename":"image_16112025_00_31_21_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43aff0868a6dbaf9e16e0cb176bbc9a1.jpg","text":"TemporaryFile(/tmp/multipartBody5688483416105155554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249562413,"filename":"image_16112025_00_31_40_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eeb82b0c274fcf7c460f60ba7e74326f.jpg","text":"TemporaryFile(/tmp/multipartBody3613331082966042700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249562413,"filename":"image_16112025_00_30_58_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702860","file1":"1394702859","file0":"1394702858","file4":"1394702862","file3":"1394702861"},"map_files_photo_id_array":[{"photo_id":"1394702860","filename":"file2"},{"photo_id":"1394702862","filename":"file4"},{"photo_id":"1394702859","filename":"file1"},{"photo_id":"1394702858","filename":"file0"},{"photo_id":"1394702861","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702861":["hashtag1","hashtag2"]},{"1394702858":["hashtag1","hashtag2"]},{"1394702860":["hashtag1","hashtag2"]},{"1394702862":["hashtag1","hashtag2"]},{"1394702859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702861, 1394702858, 1394702860, 1394702862, 1394702859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.68991470336914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:32:21.924587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/31/image_16112025_00_31_51_2559.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_07_2516.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_09_2867.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_16_2810.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_19_2683.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_21_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/31/image_16112025_00_31_51_2559.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_07_2516.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_09_2867.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_16_2810.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_19_2683.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_21_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702873","1394702867","1394702869","1394702872","1394702871","1394702865"],"photo_ids_order":["1394702865","1394702867","1394702869","1394702871","1394702872","1394702873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/317c360faa47a40a577259df194cdb44.jpg","text":"TemporaryFile(/tmp/multipartBody7677599742566915527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249602834,"filename":"image_16112025_00_32_21_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95d7971789af60dc9c0d8893ad2b3932.jpg","text":"TemporaryFile(/tmp/multipartBody903462723598760833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249602834,"filename":"image_16112025_00_32_07_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4eb5be1f307954a67eb3a6ff9d8975e8.jpg","text":"TemporaryFile(/tmp/multipartBody5905686064566977469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249602834,"filename":"image_16112025_00_32_09_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60494b2fb4fdfb9e55a0816ed8be8f2c.jpg","text":"TemporaryFile(/tmp/multipartBody5425844181066847325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249602834,"filename":"image_16112025_00_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/11/16/625e400ed2a800093b60c9bbd07a6474.jpg","text":"TemporaryFile(/tmp/multipartBody6013487840546353263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249602834,"filename":"image_16112025_00_32_16_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1ef647bfaef25151f0f9c4ecd22c367.jpg","text":"TemporaryFile(/tmp/multipartBody6046147982159486025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249602834,"filename":"image_16112025_00_31_51_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702869","file1":"1394702867","file0":"1394702865","file4":"1394702872","file5":"1394702873","file3":"1394702871"},"map_files_photo_id_array":[{"photo_id":"1394702873","filename":"file5"},{"photo_id":"1394702869","filename":"file2"},{"photo_id":"1394702872","filename":"file4"},{"photo_id":"1394702867","filename":"file1"},{"photo_id":"1394702865","filename":"file0"},{"photo_id":"1394702871","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702873":["hashtag1","hashtag2"]},{"1394702867":["hashtag1","hashtag2"]},{"1394702869":["hashtag1","hashtag2"]},{"1394702872":["hashtag1","hashtag2"]},{"1394702871":["hashtag1","hashtag2"]},{"1394702865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702873, 1394702867, 1394702869, 1394702872, 1394702871, 1394702865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70838809013367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:33:03.036046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_25_3744.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_34_1792.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_46_3666.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_51_2519.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_55_3774.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_58_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_25_3744.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_34_1792.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_46_3666.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_51_2519.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_55_3774.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_58_2850.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.7058126926422119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:33:22.337171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_25_3744.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_34_1792.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_46_3666.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_51_2519.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_55_3774.jpg', '/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_58_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_25_3744.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_34_1792.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_46_3666.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_51_2519.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_55_3774.jpg
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_32_58_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702882","1394702891","1394702885","1394702888","1394702890","1394702889"],"photo_ids_order":["1394702882","1394702885","1394702888","1394702889","1394702890","1394702891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c106a01d1f2cc6842832bc812691476.jpg","text":"TemporaryFile(/tmp/multipartBody2734307619793577345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249663025,"filename":"image_16112025_00_32_25_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8596476e915f751cd193d992808a7ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6322141473817461116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249663025,"filename":"image_16112025_00_32_58_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb747d4d4188334923609d71360769c6.jpg","text":"TemporaryFile(/tmp/multipartBody2794374796879562172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249663025,"filename":"image_16112025_00_32_34_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/844263a96a5da30bdadf898afd62741f.jpg","text":"TemporaryFile(/tmp/multipartBody368723026013429758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249663025,"filename":"image_16112025_00_32_46_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc92263d0c497893ad8252e8bffdfb99.jpg","text":"TemporaryFile(/tmp/multipartBody9156435804109751799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249663025,"filename":"image_16112025_00_32_55_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/157ec333086b94692cd70011b977efdd.jpg","text":"TemporaryFile(/tmp/multipartBody2507245318045847786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249663025,"filename":"image_16112025_00_32_51_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702888","file1":"1394702885","file0":"1394702882","file4":"1394702890","file5":"1394702891","file3":"1394702889"},"map_files_photo_id_array":[{"photo_id":"1394702891","filename":"file5"},{"photo_id":"1394702888","filename":"file2"},{"photo_id":"1394702890","filename":"file4"},{"photo_id":"1394702885","filename":"file1"},{"photo_id":"1394702882","filename":"file0"},{"photo_id":"1394702889","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702882":["hashtag1","hashtag2"]},{"1394702891":["hashtag1","hashtag2"]},{"1394702885":["hashtag1","hashtag2"]},{"1394702888":["hashtag1","hashtag2"]},{"1394702890":["hashtag1","hashtag2"]},{"1394702889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702882, 1394702891, 1394702885, 1394702888, 1394702890, 1394702889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.686806440353394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:34:03.201763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/32/image_16112025_00_33_00_2646.jpg', '/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_03_2706.jpg', '/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_07_3686.jpg', '/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_10_2833.jpg', '/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_13_2919.jpg', '/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_49_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/32/image_16112025_00_33_00_2646.jpg
/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_03_2706.jpg
/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_07_3686.jpg
/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_10_2833.jpg
/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_13_2919.jpg
/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_49_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702894","1394702903","1394702893","1394702898","1394702892","1394702895"],"photo_ids_order":["1394702892","1394702893","1394702894","1394702895","1394702898","1394702903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4809eb390fcabf890f8d3d382a17a02f.jpg","text":"TemporaryFile(/tmp/multipartBody2000490570151746459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249703995,"filename":"image_16112025_00_33_07_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22d7a68c53e8fe3d47d265546c83216a.jpg","text":"TemporaryFile(/tmp/multipartBody3801355021247341565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249703995,"filename":"image_16112025_00_33_49_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5493b978fc56534896b6fa36bc58f740.jpg","text":"TemporaryFile(/tmp/multipartBody7069340600106734871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249703995,"filename":"image_16112025_00_33_03_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e046c68fc5c92b5bb6135d3b6cd79104.jpg","text":"TemporaryFile(/tmp/multipartBody5529393026367019013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249703995,"filename":"image_16112025_00_33_13_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ad00928c4ad700de0274a0ba7ee3a98.jpg","text":"TemporaryFile(/tmp/multipartBody5590825672668758252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249703995,"filename":"image_16112025_00_33_00_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f98375bd15c2588b834db4ff972c355.jpg","text":"TemporaryFile(/tmp/multipartBody2766171238214391594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249703995,"filename":"image_16112025_00_33_10_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702894","file1":"1394702893","file0":"1394702892","file4":"1394702898","file5":"1394702903","file3":"1394702895"},"map_files_photo_id_array":[{"photo_id":"1394702903","filename":"file5"},{"photo_id":"1394702894","filename":"file2"},{"photo_id":"1394702898","filename":"file4"},{"photo_id":"1394702893","filename":"file1"},{"photo_id":"1394702892","filename":"file0"},{"photo_id":"1394702895","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702894":["hashtag1","hashtag2"]},{"1394702903":["hashtag1","hashtag2"]},{"1394702893":["hashtag1","hashtag2"]},{"1394702898":["hashtag1","hashtag2"]},{"1394702892":["hashtag1","hashtag2"]},{"1394702895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702894, 1394702903, 1394702893, 1394702898, 1394702892, 1394702895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87277626991272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:34:42.514418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_51_2616.jpg', '/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_03_2812.jpg', '/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_06_2683.jpg', '/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_10_3743.jpg', '/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_49_3662.jpg', '/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_54_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/33/image_16112025_00_33_51_2616.jpg
/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_03_2812.jpg
/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_06_2683.jpg
/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_10_3743.jpg
/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_49_3662.jpg
/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_54_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702907","1394702909","1394702906","1394702911","1394702908","1394702910"],"photo_ids_order":["1394702906","1394702907","1394702908","1394702909","1394702910","1394702911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50c2f48fd5a0d7a6ee7d92994fc34862.jpg","text":"TemporaryFile(/tmp/multipartBody9068475466682971722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249743199,"filename":"image_16112025_00_34_03_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c64b2bb13ba219368e48a9b1d9a10ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1820177336512699476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249743199,"filename":"image_16112025_00_34_10_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/801fe6f39a49ec7418570cc25c0ee33e.jpg","text":"TemporaryFile(/tmp/multipartBody8438467628642180211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249743199,"filename":"image_16112025_00_33_51_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53e4b992a1c1c2959eb3a1c021a3cf60.jpg","text":"TemporaryFile(/tmp/multipartBody8924845347340330942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249743199,"filename":"image_16112025_00_34_54_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7c00b799588ec0ba2d6d3d309d20b81.jpg","text":"TemporaryFile(/tmp/multipartBody4254879353796424465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249743199,"filename":"image_16112025_00_34_06_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1bd051f2df1f9c0cf457aade22585de.jpg","text":"TemporaryFile(/tmp/multipartBody5488082458338253871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249743199,"filename":"image_16112025_00_34_49_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702908","file1":"1394702907","file0":"1394702906","file4":"1394702910","file5":"1394702911","file3":"1394702909"},"map_files_photo_id_array":[{"photo_id":"1394702911","filename":"file5"},{"photo_id":"1394702908","filename":"file2"},{"photo_id":"1394702910","filename":"file4"},{"photo_id":"1394702907","filename":"file1"},{"photo_id":"1394702906","filename":"file0"},{"photo_id":"1394702909","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702907":["hashtag1","hashtag2"]},{"1394702909":["hashtag1","hashtag2"]},{"1394702906":["hashtag1","hashtag2"]},{"1394702911":["hashtag1","hashtag2"]},{"1394702908":["hashtag1","hashtag2"]},{"1394702910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702907, 1394702909, 1394702906, 1394702911, 1394702908, 1394702910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.885836601257324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:35:22.794084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_58_3560.jpg', '/home/pi/Desktop/images/16112025/00/34/image_16112025_00_35_00_2762.jpg', '/home/pi/Desktop/images/16112025/00/35/image_16112025_00_35_16_3631.jpg', '/home/pi/Desktop/images/16112025/00/35/image_16112025_00_35_54_2844.jpg', '/home/pi/Desktop/images/16112025/00/35/image_16112025_00_35_57_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/34/image_16112025_00_34_58_3560.jpg
/home/pi/Desktop/images/16112025/00/34/image_16112025_00_35_00_2762.jpg
/home/pi/Desktop/images/16112025/00/35/image_16112025_00_35_16_3631.jpg
/home/pi/Desktop/images/16112025/00/35/image_16112025_00_35_54_2844.jpg
/home/pi/Desktop/images/16112025/00/35/image_16112025_00_35_57_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702921","1394702924","1394702923","1394702916","1394702919"],"photo_ids_order":["1394702916","1394702919","1394702921","1394702923","1394702924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e164c29bdef33df80a0c26fa5c96505d.jpg","text":"TemporaryFile(/tmp/multipartBody4373002366625302316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249783450,"filename":"image_16112025_00_35_16_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4d8582ef6c06e8fe4244c58d4484070.jpg","text":"TemporaryFile(/tmp/multipartBody2556390128653423747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249783450,"filename":"image_16112025_00_35_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/11/16/da2823cdc5e1a88478eb83d9bbd265df.jpg","text":"TemporaryFile(/tmp/multipartBody1281111908542806603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249783450,"filename":"image_16112025_00_35_54_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64143fb2566f2402428033b7110b49b4.jpg","text":"TemporaryFile(/tmp/multipartBody5420281663809758724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249783450,"filename":"image_16112025_00_34_58_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1b1a7c23c271e1be45b235d0d8f390d.jpg","text":"TemporaryFile(/tmp/multipartBody4389231774468439639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249783450,"filename":"image_16112025_00_35_00_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702921","file1":"1394702919","file0":"1394702916","file4":"1394702924","file3":"1394702923"},"map_files_photo_id_array":[{"photo_id":"1394702921","filename":"file2"},{"photo_id":"1394702924","filename":"file4"},{"photo_id":"1394702919","filename":"file1"},{"photo_id":"1394702916","filename":"file0"},{"photo_id":"1394702923","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702921":["hashtag1","hashtag2"]},{"1394702924":["hashtag1","hashtag2"]},{"1394702923":["hashtag1","hashtag2"]},{"1394702916":["hashtag1","hashtag2"]},{"1394702919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702921, 1394702924, 1394702923, 1394702916, 1394702919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.710193634033203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:36:02.392297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_49_3640.jpg', '/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_58_3734.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_04_2820.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_13_2744.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_16_2703.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_19_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_49_3640.jpg
/home/pi/Desktop/images/11112025/23/53/image_11112025_23_53_58_3734.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_04_2820.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_13_2744.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_16_2703.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_19_3771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702928","1394702927","1394702926","1394702929","1394702934","1394702931"],"photo_ids_order":["1394702926","1394702927","1394702928","1394702929","1394702931","1394702934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87280086170d306869ab6dde44457b23.jpg","text":"TemporaryFile(/tmp/multipartBody7513756568632763068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249823688,"filename":"image_11112025_23_54_04_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8a5ec8572356dfb0105fb465de7ca57.jpg","text":"TemporaryFile(/tmp/multipartBody7511060156696727196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249823688,"filename":"image_11112025_23_53_58_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe42b387b7d581ff277c4d3ded398aff.jpg","text":"TemporaryFile(/tmp/multipartBody5104601127953997268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249823688,"filename":"image_11112025_23_53_49_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b68bd069eaa175a9d2768fd12532f9ec.jpg","text":"TemporaryFile(/tmp/multipartBody1862052994639169632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249823688,"filename":"image_11112025_23_54_13_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36a9c4ae397dc2dd4f4f5d65620ab901.jpg","text":"TemporaryFile(/tmp/multipartBody3228866334171809476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249823688,"filename":"image_11112025_23_54_19_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1da87465cea252067ad5d5d12c11c548.jpg","text":"TemporaryFile(/tmp/multipartBody3239818654933022511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249823688,"filename":"image_11112025_23_54_16_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702928","file1":"1394702927","file0":"1394702926","file4":"1394702931","file5":"1394702934","file3":"1394702929"},"map_files_photo_id_array":[{"photo_id":"1394702934","filename":"file5"},{"photo_id":"1394702928","filename":"file2"},{"photo_id":"1394702931","filename":"file4"},{"photo_id":"1394702927","filename":"file1"},{"photo_id":"1394702926","filename":"file0"},{"photo_id":"1394702929","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394702928":["hashtag1","hashtag2"]},{"1394702927":["hashtag1","hashtag2"]},{"1394702926":["hashtag1","hashtag2"]},{"1394702929":["hashtag1","hashtag2"]},{"1394702934":["hashtag1","hashtag2"]},{"1394702931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394702928, 1394702927, 1394702926, 1394702929, 1394702934, 1394702931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91164493560791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:36:41.934864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/35/image_16112025_00_36_01_3540.jpg', '/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_06_2617.jpg', '/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_13_3671.jpg', '/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_24_2914.jpg', '/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_30_2687.jpg', '/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_36_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/35/image_16112025_00_36_01_3540.jpg
/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_06_2617.jpg
/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_13_3671.jpg
/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_24_2914.jpg
/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_30_2687.jpg
/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_36_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702945","1394702942","1394702941","1394702944","1394702940","1394702943"],"photo_ids_order":["1394702940","1394702941","1394702942","1394702943","1394702944","1394702945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2abef77d4cb78595e76cb7b88696cdc6.jpg","text":"TemporaryFile(/tmp/multipartBody4566216166933710954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249862697,"filename":"image_16112025_00_36_36_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10b3eda73d5b403ae32cd9b81895a411.jpg","text":"TemporaryFile(/tmp/multipartBody7410414170873792888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249862697,"filename":"image_16112025_00_36_13_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a8313f154681c49cfa83eb80f6bb1f3.jpg","text":"TemporaryFile(/tmp/multipartBody8078096031515658583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249862697,"filename":"image_16112025_00_36_06_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7018469def0f669abdc76bb19afa4069.jpg","text":"TemporaryFile(/tmp/multipartBody3777227793999844355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249862697,"filename":"image_16112025_00_36_30_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56c2054c17303326952da0b656466f28.jpg","text":"TemporaryFile(/tmp/multipartBody3590433303165921675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249862697,"filename":"image_16112025_00_36_01_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbeaea4686c25de11438c01d0d3f5ac3.jpg","text":"TemporaryFile(/tmp/multipartBody415224657689448554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249862697,"filename":"image_16112025_00_36_24_2914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702942","file1":"1394702941","file0":"1394702940","file4":"1394702944","file5":"1394702945","file3":"1394702943"},"map_files_photo_id_array":[{"photo_id":"1394702945","filename":"file5"},{"photo_id":"1394702942","filename":"file2"},{"photo_id":"1394702944","filename":"file4"},{"photo_id":"1394702941","filename":"file1"},{"photo_id":"1394702940","filename":"file0"},{"photo_id":"1394702943","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702945":["hashtag1","hashtag2"]},{"1394702942":["hashtag1","hashtag2"]},{"1394702941":["hashtag1","hashtag2"]},{"1394702944":["hashtag1","hashtag2"]},{"1394702940":["hashtag1","hashtag2"]},{"1394702943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702945, 1394702942, 1394702941, 1394702944, 1394702940, 1394702943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.824297189712524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:37:22.243694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_42_2758.jpg', '/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_46_3650.jpg', '/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_55_3712.jpg', '/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_09_2725.jpg', '/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_16_2882.jpg', '/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_18_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_42_2758.jpg
/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_46_3650.jpg
/home/pi/Desktop/images/16112025/00/36/image_16112025_00_36_55_3712.jpg
/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_09_2725.jpg
/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_16_2882.jpg
/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_18_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702951","1394702948","1394702956","1394702953","1394702955","1394702958"],"photo_ids_order":["1394702948","1394702951","1394702953","1394702955","1394702956","1394702958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66e4c2f1e2a3388ed558e1cf5781d887.jpg","text":"TemporaryFile(/tmp/multipartBody2243641382480953603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249902938,"filename":"image_16112025_00_36_46_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfe3020d02088dd66ad99e8f2b434f57.jpg","text":"TemporaryFile(/tmp/multipartBody4698137601296485420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249902938,"filename":"image_16112025_00_36_42_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdc506df7cc0392b08e9dc39bc2b4e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3806042196845378533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249902938,"filename":"image_16112025_00_37_16_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/374880b860f88490c3b5d0c9354df28a.jpg","text":"TemporaryFile(/tmp/multipartBody3960085887857465137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249902938,"filename":"image_16112025_00_36_55_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f75b728caebbef770c2ee9d7ee8977cb.jpg","text":"TemporaryFile(/tmp/multipartBody1564051274776546691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249902938,"filename":"image_16112025_00_37_09_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/944574f6c85579570030666e72c40faf.jpg","text":"TemporaryFile(/tmp/multipartBody4998235600241738430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249902938,"filename":"image_16112025_00_37_18_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702953","file1":"1394702951","file0":"1394702948","file4":"1394702956","file5":"1394702958","file3":"1394702955"},"map_files_photo_id_array":[{"photo_id":"1394702958","filename":"file5"},{"photo_id":"1394702953","filename":"file2"},{"photo_id":"1394702956","filename":"file4"},{"photo_id":"1394702951","filename":"file1"},{"photo_id":"1394702948","filename":"file0"},{"photo_id":"1394702955","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702951":["hashtag1","hashtag2"]},{"1394702948":["hashtag1","hashtag2"]},{"1394702956":["hashtag1","hashtag2"]},{"1394702953":["hashtag1","hashtag2"]},{"1394702955":["hashtag1","hashtag2"]},{"1394702958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702951, 1394702948, 1394702956, 1394702953, 1394702955, 1394702958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00216841697693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:38:03.010252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_21_2731.jpg', '/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_33_2921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_21_2731.jpg
/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_33_2921.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702960","1394702961"],"photo_ids_order":["1394702960","1394702961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd739748dc072194704685d4902269d5.jpg","text":"TemporaryFile(/tmp/multipartBody3507234450243159924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249943566,"filename":"image_16112025_00_37_21_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d67635c263efcc4804a992d6354880f.jpg","text":"TemporaryFile(/tmp/multipartBody3068529103030336860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249943566,"filename":"image_16112025_00_37_33_2921.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394702961","file0":"1394702960"},"map_files_photo_id_array":[{"photo_id":"1394702961","filename":"file1"},{"photo_id":"1394702960","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702960":["hashtag1","hashtag2"]},{"1394702961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702960, 1394702961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.12197184562683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:38:22.554592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_45_2681.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_03_3685.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_06_2571.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_30_2853.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_33_2666.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_48_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_45_2681.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_03_3685.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_06_2571.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_30_2853.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_33_2666.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_48_3705.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.6283996105194092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:38:42.598525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_45_2681.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_03_3685.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_06_2571.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_30_2853.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_33_2666.jpg', '/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_48_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/37/image_16112025_00_37_45_2681.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_03_3685.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_06_2571.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_30_2853.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_33_2666.jpg
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_48_3705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702978","1394702975","1394702980","1394702977","1394702979","1394702976"],"photo_ids_order":["1394702975","1394702976","1394702977","1394702978","1394702979","1394702980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee16c314e2c3e68cf211e05115ae7913.jpg","text":"TemporaryFile(/tmp/multipartBody2029830813418623234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249983283,"filename":"image_16112025_00_38_30_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1de7c6c9b455d47367f8397a4311f29c.jpg","text":"TemporaryFile(/tmp/multipartBody1993878947682059088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249983283,"filename":"image_16112025_00_37_45_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/561ace06d9ab9a5d3c8b7137c1520a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1083200060346085910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249983283,"filename":"image_16112025_00_38_48_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba8de71d4646c76c9e718580344d1a32.jpg","text":"TemporaryFile(/tmp/multipartBody9061178304454811683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249983283,"filename":"image_16112025_00_38_06_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f2015520e8f6d5a65e756796eac94d3.jpg","text":"TemporaryFile(/tmp/multipartBody3392222508179282682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249983283,"filename":"image_16112025_00_38_33_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4c618fddc8db1e66bcac44d7fab81f4.jpg","text":"TemporaryFile(/tmp/multipartBody6855899042915413815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763249983283,"filename":"image_16112025_00_38_03_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702977","file1":"1394702976","file0":"1394702975","file4":"1394702979","file5":"1394702980","file3":"1394702978"},"map_files_photo_id_array":[{"photo_id":"1394702980","filename":"file5"},{"photo_id":"1394702977","filename":"file2"},{"photo_id":"1394702979","filename":"file4"},{"photo_id":"1394702976","filename":"file1"},{"photo_id":"1394702975","filename":"file0"},{"photo_id":"1394702978","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702978":["hashtag1","hashtag2"]},{"1394702975":["hashtag1","hashtag2"]},{"1394702980":["hashtag1","hashtag2"]},{"1394702977":["hashtag1","hashtag2"]},{"1394702979":["hashtag1","hashtag2"]},{"1394702976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702978, 1394702975, 1394702980, 1394702977, 1394702979, 1394702976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.622939586639404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:39:21.768421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_54_2674.jpg', '/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_09_2668.jpg', '/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_15_3868.jpg', '/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_26_2786.jpg', '/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_45_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/38/image_16112025_00_38_54_2674.jpg
/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_09_2668.jpg
/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_15_3868.jpg
/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_26_2786.jpg
/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_45_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394702990","1394702986","1394702989","1394702983","1394702991"],"photo_ids_order":["1394702983","1394702986","1394702989","1394702990","1394702991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/848b510d64e343b3b33d9f77bc084520.jpg","text":"TemporaryFile(/tmp/multipartBody7877812615756999385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250022411,"filename":"image_16112025_00_39_26_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e74c087f5e9063fbb69ae7f73ea2864b.jpg","text":"TemporaryFile(/tmp/multipartBody4498642947755130914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250022411,"filename":"image_16112025_00_39_09_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1469a62960fee79b98ad0a046442e95.jpg","text":"TemporaryFile(/tmp/multipartBody6220248245331735504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250022411,"filename":"image_16112025_00_39_15_3868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64e81675303e8bd2fdbfa2a24161b4dd.jpg","text":"TemporaryFile(/tmp/multipartBody924647476479896287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250022411,"filename":"image_16112025_00_38_54_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a96cb8780717c80c06c46465583a9f75.jpg","text":"TemporaryFile(/tmp/multipartBody1536081165930871762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250022411,"filename":"image_16112025_00_39_45_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702989","file1":"1394702986","file0":"1394702983","file4":"1394702991","file3":"1394702990"},"map_files_photo_id_array":[{"photo_id":"1394702989","filename":"file2"},{"photo_id":"1394702991","filename":"file4"},{"photo_id":"1394702986","filename":"file1"},{"photo_id":"1394702983","filename":"file0"},{"photo_id":"1394702990","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394702990":["hashtag1","hashtag2"]},{"1394702986":["hashtag1","hashtag2"]},{"1394702989":["hashtag1","hashtag2"]},{"1394702983":["hashtag1","hashtag2"]},{"1394702991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394702990, 1394702986, 1394702989, 1394702983, 1394702991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.133357048034668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:40:02.603293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_25_2848.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_30_2754.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_34_3812.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_37_2591.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_46_3767.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_52_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_25_2848.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_30_2754.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_34_3812.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_37_2591.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_46_3767.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_52_2829.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":["1394702999","1394703002","1394703005","1394702995","1394703007","1394702997"],"photo_ids_order":["1394702995","1394702997","1394702999","1394703002","1394703005","1394703007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc55524c3b080e68cb1263cf3c7c0152.jpg","text":"TemporaryFile(/tmp/multipartBody4044853571980564993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250064048,"filename":"image_11112025_23_54_34_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e08b579f2cf4c8b23f5c7fb644e31007.jpg","text":"TemporaryFile(/tmp/multipartBody9001342635020455523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250064048,"filename":"image_11112025_23_54_37_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d41e249b9fe6c1efaaef94cd56d1866.jpg","text":"TemporaryFile(/tmp/multipartBody7193614747929391123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250064048,"filename":"image_11112025_23_54_46_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adecb517008dcadd77af8d9d6c6bbfba.jpg","text":"TemporaryFile(/tmp/multipartBody6436262091261318499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250064048,"filename":"image_11112025_23_54_25_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c3970c19a09f9e7837ff08e929125b6.jpg","text":"TemporaryFile(/tmp/multipartBody395777804541032565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250064048,"filename":"image_11112025_23_54_52_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da18f8c1027855b7ef46b891aff4e46f.jpg","text":"TemporaryFile(/tmp/multipartBody842506560792203413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250064048,"filename":"image_11112025_23_54_30_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394702999","file1":"1394702997","file0":"1394702995","file4":"1394703005","file5":"1394703007","file3":"1394703002"},"map_files_photo_id_array":[{"photo_id":"1394703007","filename":"file5"},{"photo_id":"1394702999","filename":"file2"},{"photo_id":"1394703005","filename":"file4"},{"photo_id":"1394702997","filename":"file1"},{"photo_id":"1394702995","filename":"file0"},{"photo_id":"1394703002","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394702999":["hashtag1","hashtag2"]},{"1394703002":["hashtag1","hashtag2"]},{"1394703005":["hashtag1","hashtag2"]},{"1394702995":["hashtag1","hashtag2"]},{"1394703007":["hashtag1","hashtag2"]},{"1394702997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394702999, 1394703002, 1394703005, 1394702995, 1394703007, 1394702997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.075461864471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:41:03.048830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_54_3624.jpg', '/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_02_2675.jpg', '/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_12_2665.jpg', '/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_27_2761.jpg', '/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_33_2701.jpg', '/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_42_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/39/image_16112025_00_39_54_3624.jpg
/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_02_2675.jpg
/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_12_2665.jpg
/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_27_2761.jpg
/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_33_2701.jpg
/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_42_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703014","1394703017","1394703011","1394703010","1394703012","1394703009"],"photo_ids_order":["1394703009","1394703010","1394703011","1394703012","1394703014","1394703017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81adf6963282004529f09c71e7984150.jpg","text":"TemporaryFile(/tmp/multipartBody5443285373276290910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250123849,"filename":"image_16112025_00_40_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/11/16/27d6cdafb6a1ffc3df97b24f3ee004ec.jpg","text":"TemporaryFile(/tmp/multipartBody8628593476822394596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250123849,"filename":"image_16112025_00_40_42_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ded0b75cad089d9ba64e175f1b4b80d.jpg","text":"TemporaryFile(/tmp/multipartBody7179654287725571096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250123849,"filename":"image_16112025_00_40_12_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c925f638a9f8335f37e3da79d0c2eb80.jpg","text":"TemporaryFile(/tmp/multipartBody1611571052917288169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250123849,"filename":"image_16112025_00_40_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/11/16/5d2c5d1d58450bd3f19ad159a1ef6ba0.jpg","text":"TemporaryFile(/tmp/multipartBody5990058410827295783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250123849,"filename":"image_16112025_00_40_27_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61ac210fbc4d35659e7f6fd24161fbda.jpg","text":"TemporaryFile(/tmp/multipartBody6012525249343399613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250123849,"filename":"image_16112025_00_39_54_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703011","file1":"1394703010","file0":"1394703009","file4":"1394703014","file5":"1394703017","file3":"1394703012"},"map_files_photo_id_array":[{"photo_id":"1394703017","filename":"file5"},{"photo_id":"1394703011","filename":"file2"},{"photo_id":"1394703014","filename":"file4"},{"photo_id":"1394703010","filename":"file1"},{"photo_id":"1394703009","filename":"file0"},{"photo_id":"1394703012","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703014":["hashtag1","hashtag2"]},{"1394703017":["hashtag1","hashtag2"]},{"1394703011":["hashtag1","hashtag2"]},{"1394703010":["hashtag1","hashtag2"]},{"1394703012":["hashtag1","hashtag2"]},{"1394703009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703014, 1394703017, 1394703011, 1394703010, 1394703012, 1394703009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6195867061615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:41:42.247430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_48_3678.jpg', '/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_57_3715.jpg', '/home/pi/Desktop/images/16112025/00/40/image_16112025_00_41_00_2652.jpg', '/home/pi/Desktop/images/16112025/00/41/image_16112025_00_41_48_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_48_3678.jpg
/home/pi/Desktop/images/16112025/00/40/image_16112025_00_40_57_3715.jpg
/home/pi/Desktop/images/16112025/00/40/image_16112025_00_41_00_2652.jpg
/home/pi/Desktop/images/16112025/00/41/image_16112025_00_41_48_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703026","1394703025","1394703024","1394703027"],"photo_ids_order":["1394703024","1394703025","1394703026","1394703027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0037862c958ae4b9d46c5fdeb30e73a9.jpg","text":"TemporaryFile(/tmp/multipartBody3088886093128635536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250162858,"filename":"image_16112025_00_41_00_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c91c9f8dad6236928950370616f00fcc.jpg","text":"TemporaryFile(/tmp/multipartBody1271231194446980048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250162858,"filename":"image_16112025_00_40_57_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecc4a259d8033ed34b7c2537c78ba9c1.jpg","text":"TemporaryFile(/tmp/multipartBody1143268879549490394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250162858,"filename":"image_16112025_00_40_48_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7167f1f9aaeae5397ca0d558ad358568.jpg","text":"TemporaryFile(/tmp/multipartBody2657844433428778840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250162858,"filename":"image_16112025_00_41_48_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703026","file1":"1394703025","file0":"1394703024","file3":"1394703027"},"map_files_photo_id_array":[{"photo_id":"1394703026","filename":"file2"},{"photo_id":"1394703025","filename":"file1"},{"photo_id":"1394703024","filename":"file0"},{"photo_id":"1394703027","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703026":["hashtag1","hashtag2"]},{"1394703025":["hashtag1","hashtag2"]},{"1394703024":["hashtag1","hashtag2"]},{"1394703027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703026, 1394703025, 1394703024, 1394703027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.550527572631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:42:22.594335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/41/image_16112025_00_41_51_2664.jpg', '/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_06_2987.jpg', '/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_08_2586.jpg', '/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_32_2734.jpg', '/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_39_3597.jpg', '/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_41_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/41/image_16112025_00_41_51_2664.jpg
/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_06_2987.jpg
/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_08_2586.jpg
/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_32_2734.jpg
/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_39_3597.jpg
/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_41_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703044","1394703040","1394703043","1394703037","1394703031","1394703034"],"photo_ids_order":["1394703031","1394703034","1394703037","1394703040","1394703043","1394703044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b29109024886e28cfc7a5f8a1ee154ee.jpg","text":"TemporaryFile(/tmp/multipartBody3947884733823593014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250203341,"filename":"image_16112025_00_42_41_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0213106aa42af046e0824971f9c8d4b5.jpg","text":"TemporaryFile(/tmp/multipartBody4124175772951037205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250203341,"filename":"image_16112025_00_42_32_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d80d775e89beed2b5b3305497b3c808e.jpg","text":"TemporaryFile(/tmp/multipartBody4762697650141420839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250203341,"filename":"image_16112025_00_42_39_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad88a4da2eb5eb887a96e75238abb14a.jpg","text":"TemporaryFile(/tmp/multipartBody8799450190248441315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250203341,"filename":"image_16112025_00_42_08_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72a842929a8f2de4f376a35ca65a2c03.jpg","text":"TemporaryFile(/tmp/multipartBody2586261813155049469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250203341,"filename":"image_16112025_00_41_51_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22e928be47e7133b3dd373bf9db52c9d.jpg","text":"TemporaryFile(/tmp/multipartBody8630750702269975695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250203341,"filename":"image_16112025_00_42_06_2987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703037","file1":"1394703034","file0":"1394703031","file4":"1394703043","file5":"1394703044","file3":"1394703040"},"map_files_photo_id_array":[{"photo_id":"1394703044","filename":"file5"},{"photo_id":"1394703037","filename":"file2"},{"photo_id":"1394703043","filename":"file4"},{"photo_id":"1394703034","filename":"file1"},{"photo_id":"1394703031","filename":"file0"},{"photo_id":"1394703040","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703044":["hashtag1","hashtag2"]},{"1394703040":["hashtag1","hashtag2"]},{"1394703043":["hashtag1","hashtag2"]},{"1394703037":["hashtag1","hashtag2"]},{"1394703031":["hashtag1","hashtag2"]},{"1394703034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703044, 1394703040, 1394703043, 1394703037, 1394703031, 1394703034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25041222572327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:43:03.359586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_55_2690.jpg', '/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_58_3654.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_01_2856.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_06_3046.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_16_2793.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_22_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_55_2690.jpg
/home/pi/Desktop/images/11112025/23/54/image_11112025_23_54_58_3654.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_01_2856.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_06_3046.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_16_2793.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_22_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703047","1394703056","1394703046","1394703051","1394703048","1394703045"],"photo_ids_order":["1394703045","1394703046","1394703047","1394703048","1394703051","1394703056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/054e4c137d06dabb2377b11fa45a7680.jpg","text":"TemporaryFile(/tmp/multipartBody6326652538606195454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250244715,"filename":"image_11112025_23_55_01_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/135b4aeb08bc4e837658cc3154bbcc9c.jpg","text":"TemporaryFile(/tmp/multipartBody5826849476940095750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250244715,"filename":"image_11112025_23_55_22_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5ab6a41f0e609344a4960bdb57966f8.jpg","text":"TemporaryFile(/tmp/multipartBody4485071186339096217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250244715,"filename":"image_11112025_23_54_58_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2efd8c212b17da63d27ff14ab526ce13.jpg","text":"TemporaryFile(/tmp/multipartBody4806175091412293898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250244715,"filename":"image_11112025_23_55_16_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5271a96f76b0f008f52d14e1d89d3104.jpg","text":"TemporaryFile(/tmp/multipartBody928362385141304267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250244715,"filename":"image_11112025_23_55_06_3046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d6482f9e90c4923a279790d65aa42e8.jpg","text":"TemporaryFile(/tmp/multipartBody105395896511785731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250244715,"filename":"image_11112025_23_54_55_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703047","file1":"1394703046","file0":"1394703045","file4":"1394703051","file5":"1394703056","file3":"1394703048"},"map_files_photo_id_array":[{"photo_id":"1394703056","filename":"file5"},{"photo_id":"1394703047","filename":"file2"},{"photo_id":"1394703051","filename":"file4"},{"photo_id":"1394703046","filename":"file1"},{"photo_id":"1394703045","filename":"file0"},{"photo_id":"1394703048","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394703047":["hashtag1","hashtag2"]},{"1394703056":["hashtag1","hashtag2"]},{"1394703046":["hashtag1","hashtag2"]},{"1394703051":["hashtag1","hashtag2"]},{"1394703048":["hashtag1","hashtag2"]},{"1394703045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394703047, 1394703056, 1394703046, 1394703051, 1394703048, 1394703045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20487856864929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:43:42.753304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_44_2708.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_09_2641.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_11_2605.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_15_3697.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_20_2885.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_29_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_44_2708.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_09_2641.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_11_2605.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_15_3697.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_20_2885.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_29_2717.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.6406962871551514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:44:02.637300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_44_2708.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_09_2641.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_11_2605.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_15_3697.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_20_2885.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_29_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/42/image_16112025_00_42_44_2708.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_09_2641.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_11_2605.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_15_3697.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_20_2885.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_29_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703071","1394703073","1394703067","1394703076","1394703070","1394703069"],"photo_ids_order":["1394703067","1394703069","1394703070","1394703071","1394703073","1394703076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e30f7e3589c51c648c33dc92113588f4.jpg","text":"TemporaryFile(/tmp/multipartBody3925592387517053647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250303427,"filename":"image_16112025_00_43_15_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adb3c55aa3604c621d7ba018091aed9b.jpg","text":"TemporaryFile(/tmp/multipartBody8616947818825418314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250303427,"filename":"image_16112025_00_43_20_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d6bc9b4a373719172c049dc10839ede.jpg","text":"TemporaryFile(/tmp/multipartBody7118559001271592278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250303427,"filename":"image_16112025_00_42_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/11/16/4518efbc4ca12d75ba40a78324044c62.jpg","text":"TemporaryFile(/tmp/multipartBody2714367466286474876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250303427,"filename":"image_16112025_00_43_29_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbf56056f811489dd0c26abbc1c4d219.jpg","text":"TemporaryFile(/tmp/multipartBody2859112828068401298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250303427,"filename":"image_16112025_00_43_11_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbf08fcdaf88cf3f73564618fe041713.jpg","text":"TemporaryFile(/tmp/multipartBody9138715050301863870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250303427,"filename":"image_16112025_00_43_09_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703070","file1":"1394703069","file0":"1394703067","file4":"1394703073","file5":"1394703076","file3":"1394703071"},"map_files_photo_id_array":[{"photo_id":"1394703076","filename":"file5"},{"photo_id":"1394703070","filename":"file2"},{"photo_id":"1394703073","filename":"file4"},{"photo_id":"1394703069","filename":"file1"},{"photo_id":"1394703067","filename":"file0"},{"photo_id":"1394703071","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703071":["hashtag1","hashtag2"]},{"1394703073":["hashtag1","hashtag2"]},{"1394703067":["hashtag1","hashtag2"]},{"1394703076":["hashtag1","hashtag2"]},{"1394703070":["hashtag1","hashtag2"]},{"1394703069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703071, 1394703073, 1394703067, 1394703076, 1394703070, 1394703069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10802340507507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:44:41.961807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_32_2664.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_36_3669.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_50_2728.jpg', '/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_53_2796.jpg', '/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_06_3533.jpg', '/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_08_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_32_2664.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_36_3669.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_50_2728.jpg
/home/pi/Desktop/images/16112025/00/43/image_16112025_00_43_53_2796.jpg
/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_06_3533.jpg
/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_08_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703086","1394703088","1394703082","1394703084","1394703087","1394703083"],"photo_ids_order":["1394703082","1394703083","1394703084","1394703086","1394703087","1394703088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8c08a0f81e69e130326b3b9dcecfcf3.jpg","text":"TemporaryFile(/tmp/multipartBody2210874216709294999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250342695,"filename":"image_16112025_00_43_53_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/401243bbe4e5f9284585f6ce08976c99.jpg","text":"TemporaryFile(/tmp/multipartBody5986684688360307214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250342695,"filename":"image_16112025_00_44_08_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1fb2b1eb7ac91b7e43287c6e79e57597.jpg","text":"TemporaryFile(/tmp/multipartBody3006026959012732250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250342695,"filename":"image_16112025_00_43_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/11/16/e80c13c55972db4b017369c02fbff1ca.jpg","text":"TemporaryFile(/tmp/multipartBody3961006267784371967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250342695,"filename":"image_16112025_00_43_50_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78f680d032ade00d267e9bf716e52aa6.jpg","text":"TemporaryFile(/tmp/multipartBody1668462878572997654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250342695,"filename":"image_16112025_00_44_06_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee5950a0cf8ade663f9563827e05daa2.jpg","text":"TemporaryFile(/tmp/multipartBody7852370271112738106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250342695,"filename":"image_16112025_00_43_36_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703084","file1":"1394703083","file0":"1394703082","file4":"1394703087","file5":"1394703088","file3":"1394703086"},"map_files_photo_id_array":[{"photo_id":"1394703088","filename":"file5"},{"photo_id":"1394703084","filename":"file2"},{"photo_id":"1394703087","filename":"file4"},{"photo_id":"1394703083","filename":"file1"},{"photo_id":"1394703082","filename":"file0"},{"photo_id":"1394703086","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703086":["hashtag1","hashtag2"]},{"1394703088":["hashtag1","hashtag2"]},{"1394703082":["hashtag1","hashtag2"]},{"1394703084":["hashtag1","hashtag2"]},{"1394703087":["hashtag1","hashtag2"]},{"1394703083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703086, 1394703088, 1394703082, 1394703084, 1394703087, 1394703083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00688624382019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:45:22.290201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_20_2670.jpg', '/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_36_2658.jpg', '/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_41_2707.jpg', '/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_50_2650.jpg', '/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_54_3664.jpg', '/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_15_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_20_2670.jpg
/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_36_2658.jpg
/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_41_2707.jpg
/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_50_2650.jpg
/home/pi/Desktop/images/16112025/00/44/image_16112025_00_44_54_3664.jpg
/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_15_3748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703092","1394703094","1394703097","1394703096","1394703093","1394703095"],"photo_ids_order":["1394703092","1394703093","1394703094","1394703095","1394703096","1394703097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84ac2e2b4876bfd6dfb4bdbfbc9b3919.jpg","text":"TemporaryFile(/tmp/multipartBody7771147632188055395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250383011,"filename":"image_16112025_00_44_20_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1192cfc87c2a60a72d19d0616100ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8534687440958810889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250383011,"filename":"image_16112025_00_44_41_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e29a91d93c0a33f2eab7643e7bcbc287.jpg","text":"TemporaryFile(/tmp/multipartBody8331949529409240195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250383011,"filename":"image_16112025_00_45_15_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3126d714a1ca322fe042011a7e1852ad.jpg","text":"TemporaryFile(/tmp/multipartBody675337613106521975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250383011,"filename":"image_16112025_00_44_54_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0564b7533bfc9b8350144766b698d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody7181663254277564761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250383011,"filename":"image_16112025_00_44_36_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4eec1d7aaf75ef6743b8f673769e2aac.jpg","text":"TemporaryFile(/tmp/multipartBody2546040917890756619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250383011,"filename":"image_16112025_00_44_50_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703094","file1":"1394703093","file0":"1394703092","file4":"1394703096","file5":"1394703097","file3":"1394703095"},"map_files_photo_id_array":[{"photo_id":"1394703097","filename":"file5"},{"photo_id":"1394703094","filename":"file2"},{"photo_id":"1394703096","filename":"file4"},{"photo_id":"1394703093","filename":"file1"},{"photo_id":"1394703092","filename":"file0"},{"photo_id":"1394703095","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703092":["hashtag1","hashtag2"]},{"1394703094":["hashtag1","hashtag2"]},{"1394703097":["hashtag1","hashtag2"]},{"1394703096":["hashtag1","hashtag2"]},{"1394703093":["hashtag1","hashtag2"]},{"1394703095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703092, 1394703094, 1394703097, 1394703096, 1394703093, 1394703095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42721390724182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:46:03.404212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_20_2733.jpg', '/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_27_3605.jpg', '/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_38_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_20_2733.jpg
/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_27_3605.jpg
/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_38_2639.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.821075677871704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:46:22.475789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_20_2733.jpg', '/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_27_3605.jpg', '/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_38_2639.jpg', '/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_51_3608.jpg', '/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_21_3667.jpg', '/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_23_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_20_2733.jpg
/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_27_3605.jpg
/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_38_2639.jpg
/home/pi/Desktop/images/16112025/00/45/image_16112025_00_45_51_3608.jpg
/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_21_3667.jpg
/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_23_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703113","1394703116","1394703110","1394703115","1394703105","1394703108"],"photo_ids_order":["1394703105","1394703108","1394703110","1394703113","1394703115","1394703116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35013f2ee9b1c62ca3427c770c284e01.jpg","text":"TemporaryFile(/tmp/multipartBody2777110929427388404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250443154,"filename":"image_16112025_00_45_51_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/288ada334d5a2ff1bac5d29a59c4922b.jpg","text":"TemporaryFile(/tmp/multipartBody7472182566166283884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250443154,"filename":"image_16112025_00_46_23_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed088fef4b2b444bd3c9451bfa6e6361.jpg","text":"TemporaryFile(/tmp/multipartBody1075511551199090026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250443154,"filename":"image_16112025_00_45_38_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9325566c9e1320fa88445f0be3da4429.jpg","text":"TemporaryFile(/tmp/multipartBody9212952530936502797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250443154,"filename":"image_16112025_00_46_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/11/16/9efa77b9804b6e9f34ba1faaea2f62b4.jpg","text":"TemporaryFile(/tmp/multipartBody2919989591402184453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250443154,"filename":"image_16112025_00_45_20_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/518288c5215fa48f8c78bf2c7d56a5f9.jpg","text":"TemporaryFile(/tmp/multipartBody2374763458138593219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250443154,"filename":"image_16112025_00_45_27_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703110","file1":"1394703108","file0":"1394703105","file4":"1394703115","file5":"1394703116","file3":"1394703113"},"map_files_photo_id_array":[{"photo_id":"1394703116","filename":"file5"},{"photo_id":"1394703110","filename":"file2"},{"photo_id":"1394703115","filename":"file4"},{"photo_id":"1394703108","filename":"file1"},{"photo_id":"1394703105","filename":"file0"},{"photo_id":"1394703113","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703113":["hashtag1","hashtag2"]},{"1394703116":["hashtag1","hashtag2"]},{"1394703110":["hashtag1","hashtag2"]},{"1394703115":["hashtag1","hashtag2"]},{"1394703105":["hashtag1","hashtag2"]},{"1394703108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703113, 1394703116, 1394703110, 1394703115, 1394703105, 1394703108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34075903892517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:47:03.472968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_29_2692.jpg', '/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_33_3577.jpg', '/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_35_2708.jpg', '/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_42_3711.jpg', '/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_47_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_29_2692.jpg
/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_33_3577.jpg
/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_35_2708.jpg
/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_42_3711.jpg
/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_47_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703119","1394703118","1394703120","1394703123","1394703117"],"photo_ids_order":["1394703117","1394703118","1394703119","1394703120","1394703123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f0e2ba1d2646b9aad233614b8e1eab1.jpg","text":"TemporaryFile(/tmp/multipartBody7348314341883644134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250484266,"filename":"image_16112025_00_46_35_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff69ca642390cda84cf6f866b934db53.jpg","text":"TemporaryFile(/tmp/multipartBody6097654057408252864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250484266,"filename":"image_16112025_00_46_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/11/16/2a6a793ef997cf6faa3895ce13b084ac.jpg","text":"TemporaryFile(/tmp/multipartBody4764232341319183154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250484266,"filename":"image_16112025_00_46_42_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb943460af8b39b3935970ceea3a24d7.jpg","text":"TemporaryFile(/tmp/multipartBody7138284622304563422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250484266,"filename":"image_16112025_00_46_47_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/243cef73b35bec417d0f5b6f6b5efd16.jpg","text":"TemporaryFile(/tmp/multipartBody2960101822876813975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250484266,"filename":"image_16112025_00_46_29_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703119","file1":"1394703118","file0":"1394703117","file4":"1394703123","file3":"1394703120"},"map_files_photo_id_array":[{"photo_id":"1394703119","filename":"file2"},{"photo_id":"1394703123","filename":"file4"},{"photo_id":"1394703118","filename":"file1"},{"photo_id":"1394703117","filename":"file0"},{"photo_id":"1394703120","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703119":["hashtag1","hashtag2"]},{"1394703118":["hashtag1","hashtag2"]},{"1394703120":["hashtag1","hashtag2"]},{"1394703123":["hashtag1","hashtag2"]},{"1394703117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703119, 1394703118, 1394703120, 1394703123, 1394703117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.08828067779541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:47:42.698786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_50_2837.jpg', '/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_11_2771.jpg', '/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_14_2773.jpg', '/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_21_3764.jpg', '/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_23_2662.jpg', '/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_42_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/46/image_16112025_00_46_50_2837.jpg
/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_11_2771.jpg
/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_14_2773.jpg
/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_21_3764.jpg
/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_23_2662.jpg
/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_42_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703131","1394703134","1394703130","1394703133","1394703132","1394703135"],"photo_ids_order":["1394703130","1394703131","1394703132","1394703133","1394703134","1394703135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a100261b870a0eea3dd655c2f09852e.jpg","text":"TemporaryFile(/tmp/multipartBody7138411918454999483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250523376,"filename":"image_16112025_00_47_11_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33d25502bb4d4b0a86aff6e0e73f9d68.jpg","text":"TemporaryFile(/tmp/multipartBody3054205366406287928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250523376,"filename":"image_16112025_00_47_23_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73f019e3155fd5ac7aaa88a067cc49f3.jpg","text":"TemporaryFile(/tmp/multipartBody5952276112825685720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250523376,"filename":"image_16112025_00_46_50_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eab8cc56577316f2c382c045c0282eda.jpg","text":"TemporaryFile(/tmp/multipartBody4612470696305019956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250523376,"filename":"image_16112025_00_47_21_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dba6cb91543ac9a09758ce2062cab47b.jpg","text":"TemporaryFile(/tmp/multipartBody2220430765774327547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250523376,"filename":"image_16112025_00_47_14_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/736f43e9c14e8da32479adfef8949a24.jpg","text":"TemporaryFile(/tmp/multipartBody99934171323463701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250523376,"filename":"image_16112025_00_47_42_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703132","file1":"1394703131","file0":"1394703130","file4":"1394703134","file5":"1394703135","file3":"1394703133"},"map_files_photo_id_array":[{"photo_id":"1394703135","filename":"file5"},{"photo_id":"1394703132","filename":"file2"},{"photo_id":"1394703134","filename":"file4"},{"photo_id":"1394703131","filename":"file1"},{"photo_id":"1394703130","filename":"file0"},{"photo_id":"1394703133","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703131":["hashtag1","hashtag2"]},{"1394703134":["hashtag1","hashtag2"]},{"1394703130":["hashtag1","hashtag2"]},{"1394703133":["hashtag1","hashtag2"]},{"1394703132":["hashtag1","hashtag2"]},{"1394703135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703131, 1394703134, 1394703130, 1394703133, 1394703132, 1394703135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5560998916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:48:22.041977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_47_2715.jpg', '/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_53_2710.jpg', '/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_56_2613.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_02_2808.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_05_2546.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_08_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_47_2715.jpg
/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_53_2710.jpg
/home/pi/Desktop/images/16112025/00/47/image_16112025_00_47_56_2613.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_02_2808.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_05_2546.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_08_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703137","1394703152","1394703154","1394703148","1394703141","1394703144"],"photo_ids_order":["1394703137","1394703141","1394703144","1394703148","1394703152","1394703154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0baaf7bafc201409b02220517cc8ea73.jpg","text":"TemporaryFile(/tmp/multipartBody8463999302122449681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250562745,"filename":"image_16112025_00_47_47_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30e726d5adb43e715528b26cf443db6f.jpg","text":"TemporaryFile(/tmp/multipartBody6614434695175133171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250562745,"filename":"image_16112025_00_48_05_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68db665d4e21bbeb90fda08609f67d64.jpg","text":"TemporaryFile(/tmp/multipartBody440205121714304154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250562745,"filename":"image_16112025_00_48_08_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6dd530dc0cf740064f05dbd497721805.jpg","text":"TemporaryFile(/tmp/multipartBody5965003351204503092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250562745,"filename":"image_16112025_00_48_02_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c42fb0965186a65813eb53309a442efc.jpg","text":"TemporaryFile(/tmp/multipartBody4144750251390807364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250562745,"filename":"image_16112025_00_47_53_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/938806e441be8a1cc132480f75455835.jpg","text":"TemporaryFile(/tmp/multipartBody7099566640511812529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250562745,"filename":"image_16112025_00_47_56_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703144","file1":"1394703141","file0":"1394703137","file4":"1394703152","file5":"1394703154","file3":"1394703148"},"map_files_photo_id_array":[{"photo_id":"1394703154","filename":"file5"},{"photo_id":"1394703144","filename":"file2"},{"photo_id":"1394703152","filename":"file4"},{"photo_id":"1394703141","filename":"file1"},{"photo_id":"1394703137","filename":"file0"},{"photo_id":"1394703148","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703137":["hashtag1","hashtag2"]},{"1394703152":["hashtag1","hashtag2"]},{"1394703154":["hashtag1","hashtag2"]},{"1394703148":["hashtag1","hashtag2"]},{"1394703141":["hashtag1","hashtag2"]},{"1394703144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703137, 1394703152, 1394703154, 1394703148, 1394703141, 1394703144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56024122238159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:49:03.143199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_11_3707.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_14_2539.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_18_3640.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_20_2708.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_23_2563.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_44_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_11_3707.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_14_2539.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_18_3640.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_20_2708.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_23_2563.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_44_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703158","1394703157","1394703165","1394703159","1394703162","1394703156"],"photo_ids_order":["1394703156","1394703157","1394703158","1394703159","1394703162","1394703165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28344d6572e58955d2f121f8e9aa444f.jpg","text":"TemporaryFile(/tmp/multipartBody8702333677129464270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250604112,"filename":"image_16112025_00_48_18_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/020b93d38ee491db2a2215af8ea9bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody7951475385094887705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250604112,"filename":"image_16112025_00_48_14_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d436e1ef9bbe4a8e486debad83bdd561.jpg","text":"TemporaryFile(/tmp/multipartBody3569123596907772211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250604112,"filename":"image_16112025_00_48_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/11/16/13c6ef082350fa8213a215cd29fe4102.jpg","text":"TemporaryFile(/tmp/multipartBody7326628075269540700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250604112,"filename":"image_16112025_00_48_20_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b42c5df9e2f2687ab363feddabf90cc4.jpg","text":"TemporaryFile(/tmp/multipartBody748228335178983968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250604112,"filename":"image_16112025_00_48_23_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9857139a5bb7a9443762ca22c8421dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3613005723052961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250604112,"filename":"image_16112025_00_48_11_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703158","file1":"1394703157","file0":"1394703156","file4":"1394703162","file5":"1394703165","file3":"1394703159"},"map_files_photo_id_array":[{"photo_id":"1394703165","filename":"file5"},{"photo_id":"1394703158","filename":"file2"},{"photo_id":"1394703162","filename":"file4"},{"photo_id":"1394703157","filename":"file1"},{"photo_id":"1394703156","filename":"file0"},{"photo_id":"1394703159","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703158":["hashtag1","hashtag2"]},{"1394703157":["hashtag1","hashtag2"]},{"1394703165":["hashtag1","hashtag2"]},{"1394703159":["hashtag1","hashtag2"]},{"1394703162":["hashtag1","hashtag2"]},{"1394703156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703158, 1394703157, 1394703165, 1394703159, 1394703162, 1394703156)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.07789206504822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:50:02.491248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_47_3704.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_50_2770.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_53_2825.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_56_2746.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_11_2541.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_20_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_47_3704.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_50_2770.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_53_2825.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_56_2746.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_11_2541.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_20_2711.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.6730008125305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:50:21.939900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_47_3704.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_50_2770.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_53_2825.jpg', '/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_56_2746.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_11_2541.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_20_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_47_3704.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_50_2770.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_53_2825.jpg
/home/pi/Desktop/images/16112025/00/48/image_16112025_00_48_56_2746.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_11_2541.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_20_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703190","1394703184","1394703187","1394703181","1394703177","1394703189"],"photo_ids_order":["1394703177","1394703181","1394703184","1394703187","1394703189","1394703190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e3ababc976bea9a59e317200d1f499d.jpg","text":"TemporaryFile(/tmp/multipartBody8554294879296708060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250682665,"filename":"image_16112025_00_49_20_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38c0ef9260a146195473d325d0a6de72.jpg","text":"TemporaryFile(/tmp/multipartBody1006713867214382165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250682665,"filename":"image_16112025_00_48_53_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/407974a5501015e655f3c6c2246220d6.jpg","text":"TemporaryFile(/tmp/multipartBody4973679916042885940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250682665,"filename":"image_16112025_00_48_56_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b8c52a1a3010a7a0aac898c12611176.jpg","text":"TemporaryFile(/tmp/multipartBody6175948965438767965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250682665,"filename":"image_16112025_00_48_50_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/280e2b8d1c81e846f110eac8f5ea21e7.jpg","text":"TemporaryFile(/tmp/multipartBody5059958912611278254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250682665,"filename":"image_16112025_00_48_47_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d7cf800a76771a29efa25e11803dc6e.jpg","text":"TemporaryFile(/tmp/multipartBody1507985471032772682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250682665,"filename":"image_16112025_00_49_11_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703184","file1":"1394703181","file0":"1394703177","file4":"1394703189","file5":"1394703190","file3":"1394703187"},"map_files_photo_id_array":[{"photo_id":"1394703190","filename":"file5"},{"photo_id":"1394703184","filename":"file2"},{"photo_id":"1394703189","filename":"file4"},{"photo_id":"1394703181","filename":"file1"},{"photo_id":"1394703177","filename":"file0"},{"photo_id":"1394703187","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703190":["hashtag1","hashtag2"]},{"1394703184":["hashtag1","hashtag2"]},{"1394703187":["hashtag1","hashtag2"]},{"1394703181":["hashtag1","hashtag2"]},{"1394703177":["hashtag1","hashtag2"]},{"1394703189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703190, 1394703184, 1394703187, 1394703181, 1394703177, 1394703189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32649779319763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:51:02.946689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_23_3554.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_26_2618.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_32_3688.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_35_2547.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_37_2674.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_44_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_23_3554.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_26_2618.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_32_3688.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_35_2547.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_37_2674.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_44_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703193","1394703192","1394703201","1394703191","1394703194","1394703197"],"photo_ids_order":["1394703191","1394703192","1394703193","1394703194","1394703197","1394703201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/401fa4c4dcf247cc9a601b54d92f9d41.jpg","text":"TemporaryFile(/tmp/multipartBody500248256322239027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250723749,"filename":"image_16112025_00_49_32_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a2ebe066a040684d2387107710c2079.jpg","text":"TemporaryFile(/tmp/multipartBody2818335759155417666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250723749,"filename":"image_16112025_00_49_26_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/020fa7ffa6117747704c44173ae1f30f.jpg","text":"TemporaryFile(/tmp/multipartBody8475694203140116569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250723749,"filename":"image_16112025_00_49_44_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cff983969d4e9fb8b3cf4aea89ac6f6.jpg","text":"TemporaryFile(/tmp/multipartBody8897839827299438008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250723749,"filename":"image_16112025_00_49_23_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6016886d3b4a80bdccb3792bb1393932.jpg","text":"TemporaryFile(/tmp/multipartBody2661675077017688484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250723749,"filename":"image_16112025_00_49_35_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/163e5c30af625bee24fc10280c703178.jpg","text":"TemporaryFile(/tmp/multipartBody7348246964287211169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250723749,"filename":"image_16112025_00_49_37_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703193","file1":"1394703192","file0":"1394703191","file4":"1394703197","file5":"1394703201","file3":"1394703194"},"map_files_photo_id_array":[{"photo_id":"1394703201","filename":"file5"},{"photo_id":"1394703193","filename":"file2"},{"photo_id":"1394703197","filename":"file4"},{"photo_id":"1394703192","filename":"file1"},{"photo_id":"1394703191","filename":"file0"},{"photo_id":"1394703194","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703193":["hashtag1","hashtag2"]},{"1394703192":["hashtag1","hashtag2"]},{"1394703201":["hashtag1","hashtag2"]},{"1394703191":["hashtag1","hashtag2"]},{"1394703194":["hashtag1","hashtag2"]},{"1394703197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703193, 1394703192, 1394703201, 1394703191, 1394703194, 1394703197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02961802482605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:51:42.194367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_47_2809.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_50_3641.jpg', '/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_53_2576.jpg', '/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_38_2660.jpg', '/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_40_2789.jpg', '/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_44_3374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_47_2809.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_50_3641.jpg
/home/pi/Desktop/images/16112025/00/49/image_16112025_00_49_53_2576.jpg
/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_38_2660.jpg
/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_40_2789.jpg
/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_44_3374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703206","1394703209","1394703211","1394703205","1394703208","1394703207"],"photo_ids_order":["1394703205","1394703206","1394703207","1394703208","1394703209","1394703211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21891afc9eafb97fbccaba82eac6ccff.jpg","text":"TemporaryFile(/tmp/multipartBody1531370005128276177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250762889,"filename":"image_16112025_00_49_50_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/360078bd7de8cb7f29b88894a3282bc3.jpg","text":"TemporaryFile(/tmp/multipartBody6208835258222935904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250762889,"filename":"image_16112025_00_50_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/11/16/a321de8f70dc8d7dacb3738ff6111310.jpg","text":"TemporaryFile(/tmp/multipartBody408126443537049734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250762889,"filename":"image_16112025_00_50_44_3374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/728ff8a065915510b38063bbc850cb33.jpg","text":"TemporaryFile(/tmp/multipartBody1733904661184784641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250762889,"filename":"image_16112025_00_49_47_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/525046ed8c7d53a1260f3e2a9a0fc2d1.jpg","text":"TemporaryFile(/tmp/multipartBody9149772228632328983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250762889,"filename":"image_16112025_00_50_38_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52061585d75deaa910631ab746c5eadd.jpg","text":"TemporaryFile(/tmp/multipartBody3052630631549745954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250762889,"filename":"image_16112025_00_49_53_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703207","file1":"1394703206","file0":"1394703205","file4":"1394703209","file5":"1394703211","file3":"1394703208"},"map_files_photo_id_array":[{"photo_id":"1394703211","filename":"file5"},{"photo_id":"1394703207","filename":"file2"},{"photo_id":"1394703209","filename":"file4"},{"photo_id":"1394703206","filename":"file1"},{"photo_id":"1394703205","filename":"file0"},{"photo_id":"1394703208","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703206":["hashtag1","hashtag2"]},{"1394703209":["hashtag1","hashtag2"]},{"1394703211":["hashtag1","hashtag2"]},{"1394703205":["hashtag1","hashtag2"]},{"1394703208":["hashtag1","hashtag2"]},{"1394703207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703206, 1394703209, 1394703211, 1394703205, 1394703208, 1394703207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2356538772583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:52:22.419591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_50_3749.jpg', '/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_56_2656.jpg', '/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_58_2642.jpg', '/home/pi/Desktop/images/16112025/00/51/image_16112025_00_51_20_3587.jpg', '/home/pi/Desktop/images/16112025/00/51/image_16112025_00_51_26_3577.jpg', '/home/pi/Desktop/images/16112025/00/51/image_16112025_00_51_58_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_50_3749.jpg
/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_56_2656.jpg
/home/pi/Desktop/images/16112025/00/50/image_16112025_00_50_58_2642.jpg
/home/pi/Desktop/images/16112025/00/51/image_16112025_00_51_20_3587.jpg
/home/pi/Desktop/images/16112025/00/51/image_16112025_00_51_26_3577.jpg
/home/pi/Desktop/images/16112025/00/51/image_16112025_00_51_58_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703221","1394703220","1394703217","1394703214","1394703222","1394703219"],"photo_ids_order":["1394703214","1394703217","1394703219","1394703220","1394703221","1394703222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa2911d71ff3205bd1522aa11a71dfb4.jpg","text":"TemporaryFile(/tmp/multipartBody8592885523300484502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250803126,"filename":"image_16112025_00_51_26_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cd633bfbe175e1cae00c7fd38471adb.jpg","text":"TemporaryFile(/tmp/multipartBody5789204601138852582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250803126,"filename":"image_16112025_00_51_20_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03f75a72817464662e7c48117e1b25a6.jpg","text":"TemporaryFile(/tmp/multipartBody7674263171852390646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250803126,"filename":"image_16112025_00_50_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/11/16/849c5bd86931a7dc165e306379532327.jpg","text":"TemporaryFile(/tmp/multipartBody6462859870141336418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250803126,"filename":"image_16112025_00_50_50_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/695fcb1c6f5357e92a131edd8f41d68c.jpg","text":"TemporaryFile(/tmp/multipartBody6152370781148446391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250803126,"filename":"image_16112025_00_51_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/11/16/305a01a9404e789744b0bca06ec7d283.jpg","text":"TemporaryFile(/tmp/multipartBody9193004853397467757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250803126,"filename":"image_16112025_00_50_58_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703219","file1":"1394703217","file0":"1394703214","file4":"1394703221","file5":"1394703222","file3":"1394703220"},"map_files_photo_id_array":[{"photo_id":"1394703222","filename":"file5"},{"photo_id":"1394703219","filename":"file2"},{"photo_id":"1394703221","filename":"file4"},{"photo_id":"1394703217","filename":"file1"},{"photo_id":"1394703214","filename":"file0"},{"photo_id":"1394703220","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703221":["hashtag1","hashtag2"]},{"1394703220":["hashtag1","hashtag2"]},{"1394703217":["hashtag1","hashtag2"]},{"1394703214":["hashtag1","hashtag2"]},{"1394703222":["hashtag1","hashtag2"]},{"1394703219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703221, 1394703220, 1394703217, 1394703214, 1394703222, 1394703219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.198092222213745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:53:03.360010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_02_3670.jpg', '/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_23_2708.jpg', '/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_29_3547.jpg', '/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_34_2610.jpg', '/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_41_2551.jpg', '/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_47_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_02_3670.jpg
/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_23_2708.jpg
/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_29_3547.jpg
/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_34_2610.jpg
/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_41_2551.jpg
/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_47_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703227","1394703226","1394703231","1394703234","1394703228","1394703225"],"photo_ids_order":["1394703225","1394703226","1394703227","1394703228","1394703231","1394703234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ce7e2a6e8ca3bb3dbff54b2b03abe31.jpg","text":"TemporaryFile(/tmp/multipartBody8275443134806853231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250844168,"filename":"image_16112025_00_52_29_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6053357d97c27f760f1dbdd098c1b68.jpg","text":"TemporaryFile(/tmp/multipartBody6103718671399436836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250844168,"filename":"image_16112025_00_52_23_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c74cc09509faddad63610824dfb1988.jpg","text":"TemporaryFile(/tmp/multipartBody5299698658193208046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250844168,"filename":"image_16112025_00_52_41_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57ce8829984dcddd3ea09864fb72853a.jpg","text":"TemporaryFile(/tmp/multipartBody6067062649358324486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250844168,"filename":"image_16112025_00_52_47_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b2567865c941caf530de31a5d9a7f76.jpg","text":"TemporaryFile(/tmp/multipartBody5931403301899517014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250844168,"filename":"image_16112025_00_52_34_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82fbf3090f2588ec92a33eecab07084d.jpg","text":"TemporaryFile(/tmp/multipartBody2226643726603364588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250844168,"filename":"image_16112025_00_52_02_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703227","file1":"1394703226","file0":"1394703225","file4":"1394703231","file5":"1394703234","file3":"1394703228"},"map_files_photo_id_array":[{"photo_id":"1394703234","filename":"file5"},{"photo_id":"1394703227","filename":"file2"},{"photo_id":"1394703231","filename":"file4"},{"photo_id":"1394703226","filename":"file1"},{"photo_id":"1394703225","filename":"file0"},{"photo_id":"1394703228","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703227":["hashtag1","hashtag2"]},{"1394703226":["hashtag1","hashtag2"]},{"1394703231":["hashtag1","hashtag2"]},{"1394703234":["hashtag1","hashtag2"]},{"1394703228":["hashtag1","hashtag2"]},{"1394703225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703227, 1394703226, 1394703231, 1394703234, 1394703228, 1394703225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17244839668274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:53:42.768447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_50_2691.jpg', '/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_05_3546.jpg', '/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_16_2715.jpg', '/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_23_2693.jpg', '/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_25_2618.jpg', '/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_38_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/52/image_16112025_00_52_50_2691.jpg
/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_05_3546.jpg
/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_16_2715.jpg
/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_23_2693.jpg
/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_25_2618.jpg
/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_38_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703242","1394703245","1394703239","1394703241","1394703240","1394703243"],"photo_ids_order":["1394703239","1394703240","1394703241","1394703242","1394703243","1394703245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/569f3b9940a67c723c0a8f4ffe772b53.jpg","text":"TemporaryFile(/tmp/multipartBody2056797235072014709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250883460,"filename":"image_16112025_00_53_23_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/555df0626dca9f62584f940c8851ae80.jpg","text":"TemporaryFile(/tmp/multipartBody4265116159737852119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250883460,"filename":"image_16112025_00_53_38_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ab80f8c26b6881c086d328492f42a05.jpg","text":"TemporaryFile(/tmp/multipartBody1357779631667722892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250883460,"filename":"image_16112025_00_52_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/11/16/9fec5814bfc2f33adfe58cbd2bd0715b.jpg","text":"TemporaryFile(/tmp/multipartBody5182088953440480575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250883460,"filename":"image_16112025_00_53_16_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/656af641c228d49e4723d337ec57e4ab.jpg","text":"TemporaryFile(/tmp/multipartBody3186968899576522799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250883460,"filename":"image_16112025_00_53_05_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cfb75d89969c50c8770ef6b2911f601.jpg","text":"TemporaryFile(/tmp/multipartBody2015190227017347603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250883460,"filename":"image_16112025_00_53_25_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703241","file1":"1394703240","file0":"1394703239","file4":"1394703243","file5":"1394703245","file3":"1394703242"},"map_files_photo_id_array":[{"photo_id":"1394703245","filename":"file5"},{"photo_id":"1394703241","filename":"file2"},{"photo_id":"1394703243","filename":"file4"},{"photo_id":"1394703240","filename":"file1"},{"photo_id":"1394703239","filename":"file0"},{"photo_id":"1394703242","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703242":["hashtag1","hashtag2"]},{"1394703245":["hashtag1","hashtag2"]},{"1394703239":["hashtag1","hashtag2"]},{"1394703241":["hashtag1","hashtag2"]},{"1394703240":["hashtag1","hashtag2"]},{"1394703243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703242, 1394703245, 1394703239, 1394703241, 1394703240, 1394703243)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.8450665473938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:54:42.051801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_52_2661.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_20_3528.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_23_2568.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_25_2675.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_38_3642.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_41_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_52_2661.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_20_3528.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_23_2568.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_25_2675.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_38_3642.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_41_2834.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.6802589893341064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:55:02.877831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 00:55:23.465274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_52_2661.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_20_3528.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_23_2568.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_25_2675.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_38_3642.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_41_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/53/image_16112025_00_53_52_2661.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_20_3528.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_23_2568.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_25_2675.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_38_3642.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_41_2834.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":["1394703266","1394703268","1394703270","1394703264","1394703267","1394703269"],"photo_ids_order":["1394703264","1394703266","1394703267","1394703268","1394703269","1394703270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9842afa17048bbc84e19192b90c71853.jpg","text":"TemporaryFile(/tmp/multipartBody6573824919313832130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250986503,"filename":"image_16112025_00_54_20_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a5c57170041c093f4d3642798921e73.jpg","text":"TemporaryFile(/tmp/multipartBody8750288900954873271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250986503,"filename":"image_16112025_00_54_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/11/16/01249f2a75808b6f41fb7638d228bdff.jpg","text":"TemporaryFile(/tmp/multipartBody7640757918381054867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250986503,"filename":"image_16112025_00_54_41_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/541a91853a91bb912dd89a535316ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody9181744181062372338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250986503,"filename":"image_16112025_00_53_52_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fa24d4d778500a7af300664c98a696f.jpg","text":"TemporaryFile(/tmp/multipartBody7641401644341191870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250986503,"filename":"image_16112025_00_54_23_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f10fccadf9d3865b829e60bd905d2031.jpg","text":"TemporaryFile(/tmp/multipartBody8640476360115765268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763250986503,"filename":"image_16112025_00_54_38_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703267","file1":"1394703266","file0":"1394703264","file4":"1394703269","file5":"1394703270","file3":"1394703268"},"map_files_photo_id_array":[{"photo_id":"1394703270","filename":"file5"},{"photo_id":"1394703267","filename":"file2"},{"photo_id":"1394703269","filename":"file4"},{"photo_id":"1394703266","filename":"file1"},{"photo_id":"1394703264","filename":"file0"},{"photo_id":"1394703268","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703266":["hashtag1","hashtag2"]},{"1394703268":["hashtag1","hashtag2"]},{"1394703270":["hashtag1","hashtag2"]},{"1394703264":["hashtag1","hashtag2"]},{"1394703267":["hashtag1","hashtag2"]},{"1394703269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703266, 1394703268, 1394703270, 1394703264, 1394703267, 1394703269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.257081747055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:56:22.766059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 00:56:42.806527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_46_3322.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_55_2609.jpg', '/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_58_2679.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_05_2809.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_10_2589.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_14_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_46_3322.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_55_2609.jpg
/home/pi/Desktop/images/16112025/00/54/image_16112025_00_54_58_2679.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_05_2809.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_10_2589.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_14_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703278","1394703280","1394703277","1394703282","1394703279","1394703281"],"photo_ids_order":["1394703277","1394703278","1394703279","1394703280","1394703281","1394703282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/570825b08d8e243f51560128f327d137.jpg","text":"TemporaryFile(/tmp/multipartBody1514215884986335092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251063571,"filename":"image_16112025_00_54_55_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d2fd1b2b745af2c07aa27738bc01508.jpg","text":"TemporaryFile(/tmp/multipartBody5481507941599124700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251063571,"filename":"image_16112025_00_55_05_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40fd168c2e9502e2c50f40e4f8ecc6e1.jpg","text":"TemporaryFile(/tmp/multipartBody2184202114304226916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251063571,"filename":"image_16112025_00_54_46_3322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/972b02a780cdbdb72623cefab1655a05.jpg","text":"TemporaryFile(/tmp/multipartBody1328750323188782721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251063571,"filename":"image_16112025_00_55_14_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1313fd500c90d5358f9fccd542e829e5.jpg","text":"TemporaryFile(/tmp/multipartBody5869056345271476882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251063571,"filename":"image_16112025_00_54_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/11/16/d2b64224eaac47450504ed1ce7631c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8318654338384758994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251063571,"filename":"image_16112025_00_55_10_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703279","file1":"1394703278","file0":"1394703277","file4":"1394703281","file5":"1394703282","file3":"1394703280"},"map_files_photo_id_array":[{"photo_id":"1394703282","filename":"file5"},{"photo_id":"1394703279","filename":"file2"},{"photo_id":"1394703281","filename":"file4"},{"photo_id":"1394703278","filename":"file1"},{"photo_id":"1394703277","filename":"file0"},{"photo_id":"1394703280","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703278":["hashtag1","hashtag2"]},{"1394703280":["hashtag1","hashtag2"]},{"1394703277":["hashtag1","hashtag2"]},{"1394703282":["hashtag1","hashtag2"]},{"1394703279":["hashtag1","hashtag2"]},{"1394703281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703278, 1394703280, 1394703277, 1394703282, 1394703279, 1394703281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04129719734192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 00:57:22.213390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_33_7610.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_36_1718.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_38_1807.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_43_3612.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_55_6195.jpg', '/home/pi/Desktop/images/16112025/00/56/image_16112025_00_56_02_1732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_33_7610.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_36_1718.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_38_1807.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_43_3612.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_55_6195.jpg
/home/pi/Desktop/images/16112025/00/56/image_16112025_00_56_02_1732.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.6285252571105957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:57:42.031647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_33_7610.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_36_1718.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_38_1807.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_43_3612.jpg', '/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_55_6195.jpg', '/home/pi/Desktop/images/16112025/00/56/image_16112025_00_56_02_1732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_33_7610.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_36_1718.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_38_1807.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_43_3612.jpg
/home/pi/Desktop/images/16112025/00/55/image_16112025_00_55_55_6195.jpg
/home/pi/Desktop/images/16112025/00/56/image_16112025_00_56_02_1732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703302","1394703295","1394703301","1394703297","1394703300","1394703299"],"photo_ids_order":["1394703295","1394703297","1394703299","1394703300","1394703301","1394703302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e59695d0ce4923c908975670a523660b.jpg","text":"TemporaryFile(/tmp/multipartBody8139208648667352924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251122715,"filename":"image_16112025_00_56_02_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c9204ff81eea2d3c9e67cb3bdef87ce.jpg","text":"TemporaryFile(/tmp/multipartBody1148887166159979959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251122715,"filename":"image_16112025_00_55_33_7610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04a8b3c954d165154ddbd2ca4b1a6d07.jpg","text":"TemporaryFile(/tmp/multipartBody3819319073627678039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251122715,"filename":"image_16112025_00_55_55_6195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a973fac08a8c62dcb99bc110182f075.jpg","text":"TemporaryFile(/tmp/multipartBody8622475062264077032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251122715,"filename":"image_16112025_00_55_36_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0174259921825107d579a39f95735d1.jpg","text":"TemporaryFile(/tmp/multipartBody4991849515128507851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251122715,"filename":"image_16112025_00_55_43_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/429c8191ca9931bae7ef82f1c2ea82b9.jpg","text":"TemporaryFile(/tmp/multipartBody4770634188944507932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251122715,"filename":"image_16112025_00_55_38_1807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703299","file1":"1394703297","file0":"1394703295","file4":"1394703301","file5":"1394703302","file3":"1394703300"},"map_files_photo_id_array":[{"photo_id":"1394703302","filename":"file5"},{"photo_id":"1394703299","filename":"file2"},{"photo_id":"1394703301","filename":"file4"},{"photo_id":"1394703297","filename":"file1"},{"photo_id":"1394703295","filename":"file0"},{"photo_id":"1394703300","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703302":["hashtag1","hashtag2"]},{"1394703295":["hashtag1","hashtag2"]},{"1394703301":["hashtag1","hashtag2"]},{"1394703297":["hashtag1","hashtag2"]},{"1394703300":["hashtag1","hashtag2"]},{"1394703299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703302, 1394703295, 1394703301, 1394703297, 1394703300, 1394703299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63741874694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 00:59:03.529686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/56/image_16112025_00_56_51_1608.jpg', '/home/pi/Desktop/images/16112025/00/56/image_16112025_00_56_54_1813.jpg', '/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_02_1566.jpg', '/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_06_4402.jpg', '/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_16_1520.jpg', '/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_22_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/56/image_16112025_00_56_51_1608.jpg
/home/pi/Desktop/images/16112025/00/56/image_16112025_00_56_54_1813.jpg
/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_02_1566.jpg
/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_06_4402.jpg
/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_16_1520.jpg
/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_22_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703311","1394703305","1394703308","1394703310","1394703313","1394703315"],"photo_ids_order":["1394703305","1394703308","1394703310","1394703311","1394703313","1394703315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b398142713b52f68c67fba61d3dde9a.jpg","text":"TemporaryFile(/tmp/multipartBody4683962879524722676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251204490,"filename":"image_16112025_00_57_06_4402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f64bf3b3770b0d9936f445397db515f3.jpg","text":"TemporaryFile(/tmp/multipartBody8490017576882666853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251204490,"filename":"image_16112025_00_56_51_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b35e8afc973f020c96572374afb6909.jpg","text":"TemporaryFile(/tmp/multipartBody8860217121400690220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251204490,"filename":"image_16112025_00_56_54_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae407fbd7f0a0299169b3f051450d6fc.jpg","text":"TemporaryFile(/tmp/multipartBody4924992532404856424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251204490,"filename":"image_16112025_00_57_02_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ac49b161eaa255ac5760d1f70c6f4b6.jpg","text":"TemporaryFile(/tmp/multipartBody250704296573540040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251204490,"filename":"image_16112025_00_57_16_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d756d98570e2c11282e491046f46155d.jpg","text":"TemporaryFile(/tmp/multipartBody126635019377243260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251204490,"filename":"image_16112025_00_57_22_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703310","file1":"1394703308","file0":"1394703305","file4":"1394703313","file5":"1394703315","file3":"1394703311"},"map_files_photo_id_array":[{"photo_id":"1394703315","filename":"file5"},{"photo_id":"1394703310","filename":"file2"},{"photo_id":"1394703313","filename":"file4"},{"photo_id":"1394703308","filename":"file1"},{"photo_id":"1394703305","filename":"file0"},{"photo_id":"1394703311","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703311":["hashtag1","hashtag2"]},{"1394703305":["hashtag1","hashtag2"]},{"1394703308":["hashtag1","hashtag2"]},{"1394703310":["hashtag1","hashtag2"]},{"1394703313":["hashtag1","hashtag2"]},{"1394703315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703311, 1394703305, 1394703308, 1394703310, 1394703313, 1394703315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.176148891448975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 00:59:42.571724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_30_8710.jpg', '/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_55_3062.jpg', '/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_58_2651.jpg', '/home/pi/Desktop/images/16112025/00/58/image_16112025_00_58_31_2692.jpg', '/home/pi/Desktop/images/16112025/00/58/image_16112025_00_58_34_3707.jpg', '/home/pi/Desktop/images/16112025/00/58/image_16112025_00_58_52_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_30_8710.jpg
/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_55_3062.jpg
/home/pi/Desktop/images/16112025/00/57/image_16112025_00_57_58_2651.jpg
/home/pi/Desktop/images/16112025/00/58/image_16112025_00_58_31_2692.jpg
/home/pi/Desktop/images/16112025/00/58/image_16112025_00_58_34_3707.jpg
/home/pi/Desktop/images/16112025/00/58/image_16112025_00_58_52_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394703422","1394703364","1394703709","1394703567","1394703639","1394703497"],"photo_ids_order":["1394703364","1394703422","1394703497","1394703567","1394703639","1394703709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1454cfd5d04dc7baa21cf27a04bc0301.jpg","text":"TemporaryFile(/tmp/multipartBody62941166902534806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251243268,"filename":"image_16112025_00_57_55_3062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b83262895a1041c4eaf42f860c6378b.jpg","text":"TemporaryFile(/tmp/multipartBody8461222802305765330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251243268,"filename":"image_16112025_00_57_30_8710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f69db15d1790392d7fa945cf3d987b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3352853552268384093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251243268,"filename":"image_16112025_00_58_52_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90b1147c38a1e545962f7a0e2df0351a.jpg","text":"TemporaryFile(/tmp/multipartBody2436900616675845333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251243268,"filename":"image_16112025_00_58_31_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56fa8628486ee8cd95b3a644b5eaa5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2362107072651653919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251243268,"filename":"image_16112025_00_58_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/11/16/6c3eacdd7c7d6311e8ed688f38cde559.jpg","text":"TemporaryFile(/tmp/multipartBody301431567298974067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251243268,"filename":"image_16112025_00_57_58_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394703497","file1":"1394703422","file0":"1394703364","file4":"1394703639","file5":"1394703709","file3":"1394703567"},"map_files_photo_id_array":[{"photo_id":"1394703709","filename":"file5"},{"photo_id":"1394703497","filename":"file2"},{"photo_id":"1394703639","filename":"file4"},{"photo_id":"1394703422","filename":"file1"},{"photo_id":"1394703364","filename":"file0"},{"photo_id":"1394703567","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394703422":["hashtag1","hashtag2"]},{"1394703364":["hashtag1","hashtag2"]},{"1394703709":["hashtag1","hashtag2"]},{"1394703567":["hashtag1","hashtag2"]},{"1394703639":["hashtag1","hashtag2"]},{"1394703497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394703422, 1394703364, 1394703709, 1394703567, 1394703639, 1394703497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.651325702667236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:00:22.755451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_07_2512.jpg', '/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_25_2763.jpg', '/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_31_3655.jpg', '/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_34_2521.jpg', '/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_40_2694.jpg', '/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_54_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_07_2512.jpg
/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_25_2763.jpg
/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_31_3655.jpg
/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_34_2521.jpg
/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_40_2694.jpg
/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_54_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704285","1394704144","1394704074","1394704356","1394704218","1394703999"],"photo_ids_order":["1394703999","1394704074","1394704144","1394704218","1394704285","1394704356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5e2e553db3ae814481483f48e220af7.jpg","text":"TemporaryFile(/tmp/multipartBody6505744355910047355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251283491,"filename":"image_16112025_00_59_40_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe7eed5519513dca4e9df434ef207196.jpg","text":"TemporaryFile(/tmp/multipartBody6155371872875393000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251283491,"filename":"image_16112025_00_59_31_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/201808a04fa0d58e39f5cac04a2e8941.jpg","text":"TemporaryFile(/tmp/multipartBody4591927678874440312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251283491,"filename":"image_16112025_00_59_25_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e63ef38fc5af814062b6478bc428159.jpg","text":"TemporaryFile(/tmp/multipartBody2763477267730945852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251283491,"filename":"image_16112025_00_59_54_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b34f177907bb5bd94cca67f8f76fd05b.jpg","text":"TemporaryFile(/tmp/multipartBody5941806777034683719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251283491,"filename":"image_16112025_00_59_34_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72e746fe30e68d83400bae8dfbb5631a.jpg","text":"TemporaryFile(/tmp/multipartBody6319417963450639471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251283491,"filename":"image_16112025_00_59_07_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394704144","file1":"1394704074","file0":"1394703999","file4":"1394704285","file5":"1394704356","file3":"1394704218"},"map_files_photo_id_array":[{"photo_id":"1394704356","filename":"file5"},{"photo_id":"1394704144","filename":"file2"},{"photo_id":"1394704285","filename":"file4"},{"photo_id":"1394704074","filename":"file1"},{"photo_id":"1394703999","filename":"file0"},{"photo_id":"1394704218","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394704285":["hashtag1","hashtag2"]},{"1394704144":["hashtag1","hashtag2"]},{"1394704074":["hashtag1","hashtag2"]},{"1394704356":["hashtag1","hashtag2"]},{"1394704218":["hashtag1","hashtag2"]},{"1394703999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394704285, 1394704144, 1394704074, 1394704356, 1394704218, 1394703999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51420783996582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:01:02.725248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_58_3877.jpg', '/home/pi/Desktop/images/16112025/01/00/image_16112025_01_00_04_2864.jpg', '/home/pi/Desktop/images/16112025/01/00/image_16112025_01_00_13_3619.jpg', '/home/pi/Desktop/images/16112025/01/00/image_16112025_01_00_16_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/00/59/image_16112025_00_59_58_3877.jpg
/home/pi/Desktop/images/16112025/01/00/image_16112025_01_00_04_2864.jpg
/home/pi/Desktop/images/16112025/01/00/image_16112025_01_00_13_3619.jpg
/home/pi/Desktop/images/16112025/01/00/image_16112025_01_00_16_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704657","1394704623","1394704565","1394704529"],"photo_ids_order":["1394704529","1394704565","1394704623","1394704657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f198104d807b4f9be91e33b67a6f204e.jpg","text":"TemporaryFile(/tmp/multipartBody8053244200473707814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251323461,"filename":"image_16112025_01_00_16_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0f9f745c32836c37d2e1d536c56624f.jpg","text":"TemporaryFile(/tmp/multipartBody1891909158625681613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251323461,"filename":"image_16112025_01_00_13_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/300d18c23446cc66f1277d7d863c30e2.jpg","text":"TemporaryFile(/tmp/multipartBody6143865547076101973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251323461,"filename":"image_16112025_01_00_04_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9effa940019c6fdc30cc2aa5b6f4f896.jpg","text":"TemporaryFile(/tmp/multipartBody1123404497876690077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251323461,"filename":"image_16112025_00_59_58_3877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394704623","file1":"1394704565","file0":"1394704529","file3":"1394704657"},"map_files_photo_id_array":[{"photo_id":"1394704623","filename":"file2"},{"photo_id":"1394704565","filename":"file1"},{"photo_id":"1394704529","filename":"file0"},{"photo_id":"1394704657","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394704657":["hashtag1","hashtag2"]},{"1394704623":["hashtag1","hashtag2"]},{"1394704565":["hashtag1","hashtag2"]},{"1394704529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394704657, 1394704623, 1394704565, 1394704529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.18646502494812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:01:45.400803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/00/image_16112025_01_01_01_3575.jpg', '/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_22_3602.jpg', '/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_28_3574.jpg', '/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_31_2679.jpg', '/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_34_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/00/image_16112025_01_01_01_3575.jpg
/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_22_3602.jpg
/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_28_3574.jpg
/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_31_2679.jpg
/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_34_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704864","1394704887","1394704905","1394704928","1394704904"],"photo_ids_order":["1394704864","1394704887","1394704904","1394704905","1394704928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c0ad252aae5ead13713d4014f470495.jpg","text":"TemporaryFile(/tmp/multipartBody6408055413726698791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251368258,"filename":"image_16112025_01_01_01_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69de9fb10561a760de07c5fea34c0a63.jpg","text":"TemporaryFile(/tmp/multipartBody2884540337627730691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251368258,"filename":"image_16112025_01_01_22_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb2963a718a6cb426b7d7ac998f7e0d9.jpg","text":"TemporaryFile(/tmp/multipartBody9165169893544456406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251368258,"filename":"image_16112025_01_01_31_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d7d957103ed1af805dd74144069d7e8.jpg","text":"TemporaryFile(/tmp/multipartBody8691964000535653131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251368258,"filename":"image_16112025_01_01_34_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42ae73fa2c1fcdaadc5428b68136705a.jpg","text":"TemporaryFile(/tmp/multipartBody3626799128419344812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251368258,"filename":"image_16112025_01_01_28_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394704904","file1":"1394704887","file0":"1394704864","file4":"1394704928","file3":"1394704905"},"map_files_photo_id_array":[{"photo_id":"1394704904","filename":"file2"},{"photo_id":"1394704928","filename":"file4"},{"photo_id":"1394704887","filename":"file1"},{"photo_id":"1394704864","filename":"file0"},{"photo_id":"1394704905","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394704864":["hashtag1","hashtag2"]},{"1394704887":["hashtag1","hashtag2"]},{"1394704905":["hashtag1","hashtag2"]},{"1394704928":["hashtag1","hashtag2"]},{"1394704904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394704864, 1394704887, 1394704905, 1394704928, 1394704904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.424561977386475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:02:24.738896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_36_2683.jpg', '/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_04_2889.jpg', '/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_12_2660.jpg', '/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_16_3648.jpg', '/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_25_3591.jpg', '/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_37_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/01/image_16112025_01_01_36_2683.jpg
/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_04_2889.jpg
/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_12_2660.jpg
/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_16_3648.jpg
/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_25_3591.jpg
/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_37_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704939","1394704942","1394704941","1394704935","1394704940","1394704943"],"photo_ids_order":["1394704935","1394704939","1394704940","1394704941","1394704942","1394704943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3cc3fe4ba3c932d4c159c914250924e9.jpg","text":"TemporaryFile(/tmp/multipartBody1852293574674483615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251405452,"filename":"image_16112025_01_02_04_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d91253e482361b4cabde49241436a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1936115608023775798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251405452,"filename":"image_16112025_01_02_25_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff90005f4d751d249edcd8becf111a62.jpg","text":"TemporaryFile(/tmp/multipartBody760818124793461894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251405452,"filename":"image_16112025_01_02_16_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/777cf0d47213020c89302297c0edace7.jpg","text":"TemporaryFile(/tmp/multipartBody5289920284623214284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251405452,"filename":"image_16112025_01_01_36_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d432d5b35572ebad53917eac8007c618.jpg","text":"TemporaryFile(/tmp/multipartBody6465259478640910242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251405452,"filename":"image_16112025_01_02_12_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7863cd405784b2eefe218c84bfa9ca15.jpg","text":"TemporaryFile(/tmp/multipartBody3677386871759073658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251405452,"filename":"image_16112025_01_02_37_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394704940","file1":"1394704939","file0":"1394704935","file4":"1394704942","file5":"1394704943","file3":"1394704941"},"map_files_photo_id_array":[{"photo_id":"1394704943","filename":"file5"},{"photo_id":"1394704940","filename":"file2"},{"photo_id":"1394704942","filename":"file4"},{"photo_id":"1394704939","filename":"file1"},{"photo_id":"1394704935","filename":"file0"},{"photo_id":"1394704941","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394704939":["hashtag1","hashtag2"]},{"1394704942":["hashtag1","hashtag2"]},{"1394704941":["hashtag1","hashtag2"]},{"1394704935":["hashtag1","hashtag2"]},{"1394704940":["hashtag1","hashtag2"]},{"1394704943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394704939, 1394704942, 1394704941, 1394704935, 1394704940, 1394704943)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.375444412231445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:03:22.547861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_48_8790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_48_8790.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.39473700523376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:03:42.178646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_48_8790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_48_8790.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704953"],"photo_id":"1394704953","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34db67d10ea3834ba6fd44cc4abdb624.jpg","text":"TemporaryFile(/tmp/multipartBody4788517158256417741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251482659,"filename":"image_16112025_01_02_48_8790.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394704953"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394704953"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 22.09946870803833 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-11-16 01:04:24.846887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_53_3552.jpg', '/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_17_12576.jpg', '/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_22_1544.jpg', '/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_27_1650.jpg', '/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_33_1638.jpg', '/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_35_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/02/image_16112025_01_02_53_3552.jpg
/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_17_12576.jpg
/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_22_1544.jpg
/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_27_1650.jpg
/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_33_1638.jpg
/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_35_1626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704963","1394704957","1394704962","1394704959","1394704964","1394704961"],"photo_ids_order":["1394704957","1394704959","1394704961","1394704962","1394704963","1394704964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88b032ae3f36cd8de46ceb0dd83e8afa.jpg","text":"TemporaryFile(/tmp/multipartBody8136404642590316452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251525524,"filename":"image_16112025_01_03_33_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3e479bd9f7e82e23bb9f0d309924e6d.jpg","text":"TemporaryFile(/tmp/multipartBody4239609230311512508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251525524,"filename":"image_16112025_01_02_53_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b05074033fc3cff70eaaa0d8d5fa44d5.jpg","text":"TemporaryFile(/tmp/multipartBody386123390393826637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251525524,"filename":"image_16112025_01_03_27_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4a3266c667dc791643022f7d5352e90.jpg","text":"TemporaryFile(/tmp/multipartBody1721469343505353502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251525524,"filename":"image_16112025_01_03_17_12576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d37358be85e466b2e624a9be88a274f2.jpg","text":"TemporaryFile(/tmp/multipartBody5306821291339063455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251525524,"filename":"image_16112025_01_03_35_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8841f906804eb6c55cf9b4206a75f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody4586562305385813007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251525524,"filename":"image_16112025_01_03_22_1544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394704961","file1":"1394704959","file0":"1394704957","file4":"1394704963","file5":"1394704964","file3":"1394704962"},"map_files_photo_id_array":[{"photo_id":"1394704964","filename":"file5"},{"photo_id":"1394704961","filename":"file2"},{"photo_id":"1394704963","filename":"file4"},{"photo_id":"1394704959","filename":"file1"},{"photo_id":"1394704957","filename":"file0"},{"photo_id":"1394704962","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394704963":["hashtag1","hashtag2"]},{"1394704957":["hashtag1","hashtag2"]},{"1394704962":["hashtag1","hashtag2"]},{"1394704959":["hashtag1","hashtag2"]},{"1394704964":["hashtag1","hashtag2"]},{"1394704961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394704963, 1394704957, 1394704962, 1394704959, 1394704964, 1394704961)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.37331771850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:05:23.125097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_37_1688.jpg', '/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_46_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_37_1688.jpg
/home/pi/Desktop/images/16112025/01/03/image_16112025_01_03_46_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704969","1394704968"],"photo_ids_order":["1394704968","1394704969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c625e3b6e1a8ae458c3093993e9c875.jpg","text":"TemporaryFile(/tmp/multipartBody7114931867876949496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251589419,"filename":"image_16112025_01_03_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/11/16/334667bac526cbf2b35052d4697196da.jpg","text":"TemporaryFile(/tmp/multipartBody4065919309919018259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251589419,"filename":"image_16112025_01_03_37_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394704969","file0":"1394704968"},"map_files_photo_id_array":[{"photo_id":"1394704969","filename":"file1"},{"photo_id":"1394704968","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394704969":["hashtag1","hashtag2"]},{"1394704968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394704969, 1394704968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.53264808654785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:06:02.706447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_25_2725.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_31_3656.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_34_2639.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_36_2576.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_43_2683.jpg', '/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_52_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_25_2725.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_31_3656.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_34_2639.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_36_2576.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_43_2683.jpg
/home/pi/Desktop/images/11112025/23/55/image_11112025_23_55_52_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704978","1394704972","1394704971","1394704970","1394704973","1394704976"],"photo_ids_order":["1394704970","1394704971","1394704972","1394704973","1394704976","1394704978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f510209609b1aa3c8d9fa78db8d62b7.jpg","text":"TemporaryFile(/tmp/multipartBody4136943998366109815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251624000,"filename":"image_11112025_23_55_52_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0de4ae77b4c66d7f4db140eba0756bea.jpg","text":"TemporaryFile(/tmp/multipartBody8212574978338121018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251624000,"filename":"image_11112025_23_55_34_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f725189880a316af3702212ba299d999.jpg","text":"TemporaryFile(/tmp/multipartBody4841803221565361616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251624000,"filename":"image_11112025_23_55_31_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ce445f4b1b8b58de5ea2d4203639f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7474009978926137738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251624000,"filename":"image_11112025_23_55_25_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1b16f54080b95783f2415191ff6a570.jpg","text":"TemporaryFile(/tmp/multipartBody3361738427531622759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251624000,"filename":"image_11112025_23_55_36_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a30a5daafe432010c14eead3042f728.jpg","text":"TemporaryFile(/tmp/multipartBody2761346571584533103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251624000,"filename":"image_11112025_23_55_43_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394704972","file1":"1394704971","file0":"1394704970","file4":"1394704976","file5":"1394704978","file3":"1394704973"},"map_files_photo_id_array":[{"photo_id":"1394704978","filename":"file5"},{"photo_id":"1394704972","filename":"file2"},{"photo_id":"1394704976","filename":"file4"},{"photo_id":"1394704971","filename":"file1"},{"photo_id":"1394704970","filename":"file0"},{"photo_id":"1394704973","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394704978":["hashtag1","hashtag2"]},{"1394704972":["hashtag1","hashtag2"]},{"1394704971":["hashtag1","hashtag2"]},{"1394704970":["hashtag1","hashtag2"]},{"1394704973":["hashtag1","hashtag2"]},{"1394704976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394704978, 1394704972, 1394704971, 1394704970, 1394704973, 1394704976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06567192077637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:06:42.372840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/04/image_16112025_01_04_17_9894.jpg', '/home/pi/Desktop/images/16112025/01/05/image_16112025_01_05_33_2715.jpg', '/home/pi/Desktop/images/16112025/01/05/image_16112025_01_05_37_3614.jpg', '/home/pi/Desktop/images/16112025/01/05/image_16112025_01_05_46_3849.jpg', '/home/pi/Desktop/images/16112025/01/05/image_16112025_01_05_55_3728.jpg', '/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_31_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/04/image_16112025_01_04_17_9894.jpg
/home/pi/Desktop/images/16112025/01/05/image_16112025_01_05_33_2715.jpg
/home/pi/Desktop/images/16112025/01/05/image_16112025_01_05_37_3614.jpg
/home/pi/Desktop/images/16112025/01/05/image_16112025_01_05_46_3849.jpg
/home/pi/Desktop/images/16112025/01/05/image_16112025_01_05_55_3728.jpg
/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_31_3741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704990","1394704986","1394704983","1394704991","1394704985","1394704988"],"photo_ids_order":["1394704983","1394704985","1394704986","1394704988","1394704990","1394704991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bbc1e81eeb8419ebd8ee27be8679f20.jpg","text":"TemporaryFile(/tmp/multipartBody2351013571694346358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251663049,"filename":"image_16112025_01_05_55_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aabc1f7ccd15c498659ca2930225869e.jpg","text":"TemporaryFile(/tmp/multipartBody8831604275732875973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251663049,"filename":"image_16112025_01_05_37_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d82aeb86b2a46fd6f3533f7257af79a8.jpg","text":"TemporaryFile(/tmp/multipartBody2209288331774584712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251663049,"filename":"image_16112025_01_04_17_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47384d5fcc53cf41fa534bc3d6239113.jpg","text":"TemporaryFile(/tmp/multipartBody834765865295256629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251663049,"filename":"image_16112025_01_06_31_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5dca70fb4d624f458a86c67300dca83.jpg","text":"TemporaryFile(/tmp/multipartBody6136093868754769719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251663049,"filename":"image_16112025_01_05_33_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/799ed82d53993b74d3bb55ebcca86f9f.jpg","text":"TemporaryFile(/tmp/multipartBody687781508585727545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251663049,"filename":"image_16112025_01_05_46_3849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394704986","file1":"1394704985","file0":"1394704983","file4":"1394704990","file5":"1394704991","file3":"1394704988"},"map_files_photo_id_array":[{"photo_id":"1394704991","filename":"file5"},{"photo_id":"1394704986","filename":"file2"},{"photo_id":"1394704990","filename":"file4"},{"photo_id":"1394704985","filename":"file1"},{"photo_id":"1394704983","filename":"file0"},{"photo_id":"1394704988","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394704990":["hashtag1","hashtag2"]},{"1394704986":["hashtag1","hashtag2"]},{"1394704983":["hashtag1","hashtag2"]},{"1394704991":["hashtag1","hashtag2"]},{"1394704985":["hashtag1","hashtag2"]},{"1394704988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394704990, 1394704986, 1394704983, 1394704991, 1394704985, 1394704988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.241692304611206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:07:22.606451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_33_2518.jpg', '/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_42_2737.jpg', '/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_51_2615.jpg', '/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_58_3728.jpg', '/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_09_3739.jpg', '/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_12_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_33_2518.jpg
/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_42_2737.jpg
/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_51_2615.jpg
/home/pi/Desktop/images/16112025/01/06/image_16112025_01_06_58_3728.jpg
/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_09_3739.jpg
/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_12_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394704999","1394705002","1394704995","1394705001","1394704997","1394705003"],"photo_ids_order":["1394704995","1394704997","1394704999","1394705001","1394705002","1394705003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa7f0280398a499760392ada7ff6bae9.jpg","text":"TemporaryFile(/tmp/multipartBody5881540850229533833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251703285,"filename":"image_16112025_01_06_51_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47880d00126c2c578e995b18527bd069.jpg","text":"TemporaryFile(/tmp/multipartBody5691653451534737481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251703285,"filename":"image_16112025_01_07_09_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd60ab0cee22ed8935fd9e5d20dc1f41.jpg","text":"TemporaryFile(/tmp/multipartBody5098022624154024423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251703285,"filename":"image_16112025_01_06_33_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b47903a117f56704c808bda3cd7b49fe.jpg","text":"TemporaryFile(/tmp/multipartBody8449366681315088133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251703285,"filename":"image_16112025_01_06_58_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b6fbf901e1a24b4b3c82cd9a476e8b7.jpg","text":"TemporaryFile(/tmp/multipartBody8322561869164328768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251703285,"filename":"image_16112025_01_06_42_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24c96ac7aa48c176c6cc15d16c3458fb.jpg","text":"TemporaryFile(/tmp/multipartBody4174251182348772313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251703285,"filename":"image_16112025_01_07_12_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394704999","file1":"1394704997","file0":"1394704995","file4":"1394705002","file5":"1394705003","file3":"1394705001"},"map_files_photo_id_array":[{"photo_id":"1394705003","filename":"file5"},{"photo_id":"1394704999","filename":"file2"},{"photo_id":"1394705002","filename":"file4"},{"photo_id":"1394704997","filename":"file1"},{"photo_id":"1394704995","filename":"file0"},{"photo_id":"1394705001","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394704999":["hashtag1","hashtag2"]},{"1394705002":["hashtag1","hashtag2"]},{"1394704995":["hashtag1","hashtag2"]},{"1394705001":["hashtag1","hashtag2"]},{"1394704997":["hashtag1","hashtag2"]},{"1394705003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394704999, 1394705002, 1394704995, 1394705001, 1394704997, 1394705003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0359582901001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:08:02.315228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_15_2701.jpg', '/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_21_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_15_2701.jpg
/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_21_2589.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705005","1394705004"],"photo_ids_order":["1394705004","1394705005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bafd453605c7dd1360528bf89fd9306c.jpg","text":"TemporaryFile(/tmp/multipartBody8453881913897168393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251742875,"filename":"image_16112025_01_07_21_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0863c4e950490186517caedc0c56635c.jpg","text":"TemporaryFile(/tmp/multipartBody5941006313034000748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251742875,"filename":"image_16112025_01_07_15_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394705005","file0":"1394705004"},"map_files_photo_id_array":[{"photo_id":"1394705005","filename":"file1"},{"photo_id":"1394705004","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705005":["hashtag1","hashtag2"]},{"1394705004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705005, 1394705004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.9443838596344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:08:21.933978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_30_2641.jpg', '/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_06_2589.jpg', '/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_09_2588.jpg', '/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_12_3656.jpg', '/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_18_2729.jpg', '/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_51_3799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/07/image_16112025_01_07_30_2641.jpg
/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_06_2589.jpg
/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_09_2588.jpg
/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_12_3656.jpg
/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_18_2729.jpg
/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_51_3799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705011","1394705008","1394705017","1394705013","1394705015","1394705018"],"photo_ids_order":["1394705008","1394705011","1394705013","1394705015","1394705017","1394705018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8199f84c127b818c03004c46a596b4cd.jpg","text":"TemporaryFile(/tmp/multipartBody760637685577391627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251762649,"filename":"image_16112025_01_08_06_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdce73bf1eed649f93a205ef19136664.jpg","text":"TemporaryFile(/tmp/multipartBody5773464896500707587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251762649,"filename":"image_16112025_01_07_30_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d1fa323c2673559b7bf9df05e79344e.jpg","text":"TemporaryFile(/tmp/multipartBody3481548426699616324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251762649,"filename":"image_16112025_01_08_18_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e96110bd1052f0aad16717eedcb5d7b.jpg","text":"TemporaryFile(/tmp/multipartBody7890824616513176831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251762649,"filename":"image_16112025_01_08_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/11/16/c957fed8d9646145c9162c9f1fccd867.jpg","text":"TemporaryFile(/tmp/multipartBody5703441143750021799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251762649,"filename":"image_16112025_01_08_12_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51c41054b4fc88675e173b17400fa39f.jpg","text":"TemporaryFile(/tmp/multipartBody4979217396037091172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251762649,"filename":"image_16112025_01_08_51_3799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705013","file1":"1394705011","file0":"1394705008","file4":"1394705017","file5":"1394705018","file3":"1394705015"},"map_files_photo_id_array":[{"photo_id":"1394705018","filename":"file5"},{"photo_id":"1394705013","filename":"file2"},{"photo_id":"1394705017","filename":"file4"},{"photo_id":"1394705011","filename":"file1"},{"photo_id":"1394705008","filename":"file0"},{"photo_id":"1394705015","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705011":["hashtag1","hashtag2"]},{"1394705008":["hashtag1","hashtag2"]},{"1394705017":["hashtag1","hashtag2"]},{"1394705013":["hashtag1","hashtag2"]},{"1394705015":["hashtag1","hashtag2"]},{"1394705018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705011, 1394705008, 1394705017, 1394705013, 1394705015, 1394705018)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.44355249404907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:09:24.182334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_22_2536.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_26_3647.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_31_2585.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_40_2586.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_44_4220.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_47_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_22_2536.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_26_3647.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_31_2585.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_40_2586.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_44_4220.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_47_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":["1394705038","1394705041","1394705040","1394705037","1394705036","1394705039"],"photo_ids_order":["1394705036","1394705037","1394705038","1394705039","1394705040","1394705041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e96434c3f811365b542a429b18706e31.jpg","text":"TemporaryFile(/tmp/multipartBody7990513628479832851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251839462,"filename":"image_06112025_13_53_31_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/957d10ba6c9eb938fd0447cb1a37960d.jpg","text":"TemporaryFile(/tmp/multipartBody3886939573158334926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251839462,"filename":"image_06112025_13_53_47_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a24f0d1f64c6de9a4f5cc4ec3258bb94.jpg","text":"TemporaryFile(/tmp/multipartBody8773308099128311224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251839462,"filename":"image_06112025_13_53_44_4220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a8e83908be4f17ffe9b9d3f1bb5e56a.jpg","text":"TemporaryFile(/tmp/multipartBody1404112292970510271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251839462,"filename":"image_06112025_13_53_26_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/708d1c105d89eb2b5d6a1261b12c975b.jpg","text":"TemporaryFile(/tmp/multipartBody5193371768907630277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251839462,"filename":"image_06112025_13_53_22_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a574b17d3085ce4b578af7c23deb2583.jpg","text":"TemporaryFile(/tmp/multipartBody816791563211594780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251839462,"filename":"image_06112025_13_53_40_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705038","file1":"1394705037","file0":"1394705036","file4":"1394705040","file5":"1394705041","file3":"1394705039"},"map_files_photo_id_array":[{"photo_id":"1394705041","filename":"file5"},{"photo_id":"1394705038","filename":"file2"},{"photo_id":"1394705040","filename":"file4"},{"photo_id":"1394705037","filename":"file1"},{"photo_id":"1394705036","filename":"file0"},{"photo_id":"1394705039","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394705038":["hashtag1","hashtag2"]},{"1394705041":["hashtag1","hashtag2"]},{"1394705040":["hashtag1","hashtag2"]},{"1394705037":["hashtag1","hashtag2"]},{"1394705036":["hashtag1","hashtag2"]},{"1394705039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394705038, 1394705041, 1394705040, 1394705037, 1394705036, 1394705039)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 86.90425109863281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:11:04.591900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_01_2666.jpg', '/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_12_2810.jpg', '/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_18_2851.jpg', '/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_34_2660.jpg', '/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_46_12668.jpg', '/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_50_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_01_2666.jpg
/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_12_2810.jpg
/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_18_2851.jpg
/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_34_2660.jpg
/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_46_12668.jpg
/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_50_1747.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":["1394705076","1394705084","1394705078","1394705080","1394705083","1394705077"],"photo_ids_order":["1394705076","1394705077","1394705078","1394705080","1394705083","1394705084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/492cc181600888532c46710a136dafb9.jpg","text":"TemporaryFile(/tmp/multipartBody3633089632151419297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251928292,"filename":"image_11112025_23_56_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/11/16/77607b600f54502143aa9067d2fd3ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1362249989972075646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251928292,"filename":"image_11112025_23_56_50_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c51e2771607c1971b6eb7b14e8b1ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2772522192947017390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251928292,"filename":"image_11112025_23_56_18_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3eb2f2b965a1fe373008eb0b6f40f8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1603215225774343895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251928292,"filename":"image_11112025_23_56_34_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0015ae2ccee9cdd71eafed42581f12f.jpg","text":"TemporaryFile(/tmp/multipartBody5892675655209973258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251928292,"filename":"image_11112025_23_56_46_12668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb467e51d406f8880cc84a2ca4d42ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1736454210498679816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763251928292,"filename":"image_11112025_23_56_12_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705078","file1":"1394705077","file0":"1394705076","file4":"1394705083","file5":"1394705084","file3":"1394705080"},"map_files_photo_id_array":[{"photo_id":"1394705084","filename":"file5"},{"photo_id":"1394705078","filename":"file2"},{"photo_id":"1394705083","filename":"file4"},{"photo_id":"1394705077","filename":"file1"},{"photo_id":"1394705076","filename":"file0"},{"photo_id":"1394705080","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394705076":["hashtag1","hashtag2"]},{"1394705084":["hashtag1","hashtag2"]},{"1394705078":["hashtag1","hashtag2"]},{"1394705080":["hashtag1","hashtag2"]},{"1394705083":["hashtag1","hashtag2"]},{"1394705077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394705076, 1394705084, 1394705078, 1394705080, 1394705083, 1394705077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.22692537307739 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-11-16 01:12:27.551633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_57_2720.jpg', '/home/pi/Desktop/images/16112025/01/10/image_16112025_01_10_39_6068.jpg', '/home/pi/Desktop/images/16112025/01/10/image_16112025_01_10_41_1717.jpg', '/home/pi/Desktop/images/16112025/01/10/image_16112025_01_10_54_1667.jpg', '/home/pi/Desktop/images/16112025/01/10/image_16112025_01_11_00_2004.jpg', '/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_04_4477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/08/image_16112025_01_08_57_2720.jpg
/home/pi/Desktop/images/16112025/01/10/image_16112025_01_10_39_6068.jpg
/home/pi/Desktop/images/16112025/01/10/image_16112025_01_10_41_1717.jpg
/home/pi/Desktop/images/16112025/01/10/image_16112025_01_10_54_1667.jpg
/home/pi/Desktop/images/16112025/01/10/image_16112025_01_11_00_2004.jpg
/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_04_4477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705110","1394705107","1394705112","1394705109","1394705111","1394705105"],"photo_ids_order":["1394705105","1394705107","1394705109","1394705110","1394705111","1394705112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7d09b04f5f0868660b6f90fa7755ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5971447823683145876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252008230,"filename":"image_16112025_01_10_54_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df7aa80926e5c73b8810039955c2fe19.jpg","text":"TemporaryFile(/tmp/multipartBody1095819972698523435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252008230,"filename":"image_16112025_01_10_39_6068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7bd137fca7346e3da5490293d2c7500.jpg","text":"TemporaryFile(/tmp/multipartBody6361396961558376089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252008230,"filename":"image_16112025_01_11_04_4477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a6cd49d57bb3fb41e4b9f1b10a54b63.jpg","text":"TemporaryFile(/tmp/multipartBody6548360832047954201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252008230,"filename":"image_16112025_01_10_41_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9ac833f827e3b6e3d348e0a68236d88.jpg","text":"TemporaryFile(/tmp/multipartBody2016190771324051380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252008230,"filename":"image_16112025_01_11_00_2004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d63c4ed4cfb021e1a59a8ad0a05200c1.jpg","text":"TemporaryFile(/tmp/multipartBody9004053159057969512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252008230,"filename":"image_16112025_01_08_57_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705109","file1":"1394705107","file0":"1394705105","file4":"1394705111","file5":"1394705112","file3":"1394705110"},"map_files_photo_id_array":[{"photo_id":"1394705112","filename":"file5"},{"photo_id":"1394705109","filename":"file2"},{"photo_id":"1394705111","filename":"file4"},{"photo_id":"1394705107","filename":"file1"},{"photo_id":"1394705105","filename":"file0"},{"photo_id":"1394705110","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705110":["hashtag1","hashtag2"]},{"1394705107":["hashtag1","hashtag2"]},{"1394705112":["hashtag1","hashtag2"]},{"1394705109":["hashtag1","hashtag2"]},{"1394705111":["hashtag1","hashtag2"]},{"1394705105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705110, 1394705107, 1394705112, 1394705109, 1394705111, 1394705105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30867648124695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:13:03.392335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_11_2996.jpg', '/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_13_1854.jpg', '/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_40_20413.jpg', '/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_47_6022.jpg', '/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_51_1747.jpg', '/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_55_1530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_11_2996.jpg
/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_13_1854.jpg
/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_40_20413.jpg
/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_47_6022.jpg
/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_51_1747.jpg
/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_55_1530.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705119","1394705113","1394705122","1394705116","1394705115","1394705114"],"photo_ids_order":["1394705113","1394705114","1394705115","1394705116","1394705119","1394705122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/976f2454ba2ceed29e22db67a4a88af9.jpg","text":"TemporaryFile(/tmp/multipartBody6785479414269648529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252044187,"filename":"image_16112025_01_11_51_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/420f41b5c6855c5302b87600b9d8014c.jpg","text":"TemporaryFile(/tmp/multipartBody9156068399536323453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252044187,"filename":"image_16112025_01_11_11_2996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/519c6d763c76fc7a4451498fb8fe885b.jpg","text":"TemporaryFile(/tmp/multipartBody1594207111328551335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252044187,"filename":"image_16112025_01_11_55_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3faef9b6f1944e097e599a782ca8b909.jpg","text":"TemporaryFile(/tmp/multipartBody2564349605382650604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252044187,"filename":"image_16112025_01_11_47_6022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d10cf3a9831033e568f958601af52c8.jpg","text":"TemporaryFile(/tmp/multipartBody7989953846158062451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252044187,"filename":"image_16112025_01_11_40_20413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bf70ebf80d47fb0db5e9eb8d1bd7b5b.jpg","text":"TemporaryFile(/tmp/multipartBody2282879991195688210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252044187,"filename":"image_16112025_01_11_13_1854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705115","file1":"1394705114","file0":"1394705113","file4":"1394705119","file5":"1394705122","file3":"1394705116"},"map_files_photo_id_array":[{"photo_id":"1394705122","filename":"file5"},{"photo_id":"1394705115","filename":"file2"},{"photo_id":"1394705119","filename":"file4"},{"photo_id":"1394705114","filename":"file1"},{"photo_id":"1394705113","filename":"file0"},{"photo_id":"1394705116","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705119":["hashtag1","hashtag2"]},{"1394705113":["hashtag1","hashtag2"]},{"1394705122":["hashtag1","hashtag2"]},{"1394705116":["hashtag1","hashtag2"]},{"1394705115":["hashtag1","hashtag2"]},{"1394705114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705119, 1394705113, 1394705122, 1394705116, 1394705115, 1394705114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.066203117370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:13:42.738810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_58_1974.jpg', '/home/pi/Desktop/images/16112025/01/12/image_16112025_01_12_02_1907.jpg', '/home/pi/Desktop/images/16112025/01/12/image_16112025_01_12_09_1602.jpg', '/home/pi/Desktop/images/16112025/01/12/image_16112025_01_12_14_1930.jpg', '/home/pi/Desktop/images/16112025/01/12/image_16112025_01_12_43_1699.jpg', '/home/pi/Desktop/images/16112025/01/13/image_16112025_01_13_11_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/11/image_16112025_01_11_58_1974.jpg
/home/pi/Desktop/images/16112025/01/12/image_16112025_01_12_02_1907.jpg
/home/pi/Desktop/images/16112025/01/12/image_16112025_01_12_09_1602.jpg
/home/pi/Desktop/images/16112025/01/12/image_16112025_01_12_14_1930.jpg
/home/pi/Desktop/images/16112025/01/12/image_16112025_01_12_43_1699.jpg
/home/pi/Desktop/images/16112025/01/13/image_16112025_01_13_11_1634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705125","1394705128","1394705124","1394705127","1394705126","1394705123"],"photo_ids_order":["1394705123","1394705124","1394705125","1394705126","1394705127","1394705128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e42da88c53c65bbbbb90db126cfe40b.jpg","text":"TemporaryFile(/tmp/multipartBody6139485926910387364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252083426,"filename":"image_16112025_01_12_09_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5125a9f8fd32d0c1e7140fe1cf7be8a.jpg","text":"TemporaryFile(/tmp/multipartBody4040959281178795685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252083426,"filename":"image_16112025_01_13_11_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44cd6f2c2999f66f9f0da63c9f0ef60f.jpg","text":"TemporaryFile(/tmp/multipartBody5581171516138543471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252083426,"filename":"image_16112025_01_12_02_1907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efddbe17d0ef18b797e99da5c03253a3.jpg","text":"TemporaryFile(/tmp/multipartBody6898149192364865178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252083426,"filename":"image_16112025_01_12_43_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7338a0bc339fa975628391a2d5cc4b87.jpg","text":"TemporaryFile(/tmp/multipartBody5188466857515097579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252083426,"filename":"image_16112025_01_12_14_1930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2971b03c5e29a9e57f407ff0dbe73f37.jpg","text":"TemporaryFile(/tmp/multipartBody5908482110145346124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252083426,"filename":"image_16112025_01_11_58_1974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705125","file1":"1394705124","file0":"1394705123","file4":"1394705127","file5":"1394705128","file3":"1394705126"},"map_files_photo_id_array":[{"photo_id":"1394705128","filename":"file5"},{"photo_id":"1394705125","filename":"file2"},{"photo_id":"1394705127","filename":"file4"},{"photo_id":"1394705124","filename":"file1"},{"photo_id":"1394705123","filename":"file0"},{"photo_id":"1394705126","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705125":["hashtag1","hashtag2"]},{"1394705128":["hashtag1","hashtag2"]},{"1394705124":["hashtag1","hashtag2"]},{"1394705127":["hashtag1","hashtag2"]},{"1394705126":["hashtag1","hashtag2"]},{"1394705123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705125, 1394705128, 1394705124, 1394705127, 1394705126, 1394705123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.521403551101685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:14:23.191396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/13/image_16112025_01_13_18_1523.jpg', '/home/pi/Desktop/images/16112025/01/13/image_16112025_01_13_22_1686.jpg', '/home/pi/Desktop/images/16112025/01/14/image_16112025_01_14_39_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/13/image_16112025_01_13_18_1523.jpg
/home/pi/Desktop/images/16112025/01/13/image_16112025_01_13_22_1686.jpg
/home/pi/Desktop/images/16112025/01/14/image_16112025_01_14_39_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705137","1394705134","1394705132"],"photo_ids_order":["1394705132","1394705134","1394705137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f618af53e76ff37675f5ca2579dec1b.jpg","text":"TemporaryFile(/tmp/multipartBody2598124899130977968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252123814,"filename":"image_16112025_01_14_39_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cea8ad27b77d2895c8070adc34f34cd.jpg","text":"TemporaryFile(/tmp/multipartBody2032568785547369107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252123814,"filename":"image_16112025_01_13_22_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6ff6ce62dac5657e89b74f2b6c41786.jpg","text":"TemporaryFile(/tmp/multipartBody5325067013524036399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252123814,"filename":"image_16112025_01_13_18_1523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705137","file1":"1394705134","file0":"1394705132"},"map_files_photo_id_array":[{"photo_id":"1394705137","filename":"file2"},{"photo_id":"1394705134","filename":"file1"},{"photo_id":"1394705132","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705137":["hashtag1","hashtag2"]},{"1394705134":["hashtag1","hashtag2"]},{"1394705132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705137, 1394705134, 1394705132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.659207820892334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:15:03.179216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_57_1657.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_01_2756.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_04_2579.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_07_2688.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_19_2826.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_37_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/56/image_11112025_23_56_57_1657.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_01_2756.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_04_2579.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_07_2688.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_19_2826.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_37_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705143","1394705142","1394705145","1394705150","1394705144","1394705147"],"photo_ids_order":["1394705142","1394705143","1394705144","1394705145","1394705147","1394705150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ce0ce48b912ec3f785c9b67db96d92a.jpg","text":"TemporaryFile(/tmp/multipartBody4994516795186984535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252164527,"filename":"image_11112025_23_57_01_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e25cc07c29a779e511e012a5ab770898.jpg","text":"TemporaryFile(/tmp/multipartBody8571560885020683397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252164527,"filename":"image_11112025_23_56_57_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/691df322b7b3d265aad0193be4700b66.jpg","text":"TemporaryFile(/tmp/multipartBody8037715329496464067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252164527,"filename":"image_11112025_23_57_07_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8530fd709a7a52eb9072e87e9a1abab.jpg","text":"TemporaryFile(/tmp/multipartBody7644280600082616801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252164527,"filename":"image_11112025_23_57_37_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc388afebab13dae7d78ed5b668c3fff.jpg","text":"TemporaryFile(/tmp/multipartBody4660764575557119740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252164527,"filename":"image_11112025_23_57_04_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c25e6f00176d6ef2a9563dcf8fe15bc.jpg","text":"TemporaryFile(/tmp/multipartBody4358483866231450099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252164527,"filename":"image_11112025_23_57_19_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705144","file1":"1394705143","file0":"1394705142","file4":"1394705147","file5":"1394705150","file3":"1394705145"},"map_files_photo_id_array":[{"photo_id":"1394705150","filename":"file5"},{"photo_id":"1394705144","filename":"file2"},{"photo_id":"1394705147","filename":"file4"},{"photo_id":"1394705143","filename":"file1"},{"photo_id":"1394705142","filename":"file0"},{"photo_id":"1394705145","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394705143":["hashtag1","hashtag2"]},{"1394705142":["hashtag1","hashtag2"]},{"1394705145":["hashtag1","hashtag2"]},{"1394705150":["hashtag1","hashtag2"]},{"1394705144":["hashtag1","hashtag2"]},{"1394705147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394705143, 1394705142, 1394705145, 1394705150, 1394705144, 1394705147)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 56.78517389297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:16:03.664105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 01:16:22.023579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/14/image_16112025_01_14_41_2789.jpg', '/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_17_2894.jpg', '/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_23_2688.jpg', '/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_41_2735.jpg', '/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_44_2816.jpg', '/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_09_2945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/14/image_16112025_01_14_41_2789.jpg
/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_17_2894.jpg
/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_23_2688.jpg
/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_41_2735.jpg
/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_44_2816.jpg
/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_09_2945.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705196","1394705193","1394705181","1394705195","1394705177","1394705194"],"photo_ids_order":["1394705177","1394705181","1394705193","1394705194","1394705195","1394705196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92efbdf4adf04dc0e5eb22a4a55cee51.jpg","text":"TemporaryFile(/tmp/multipartBody3203437169436030927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252244326,"filename":"image_16112025_01_16_09_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f29e73ff3a0b47577879cd2ae9bcb4d.jpg","text":"TemporaryFile(/tmp/multipartBody2288945175345505590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252244326,"filename":"image_16112025_01_15_23_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67581244b0692c7618c37c5adf1c2e20.jpg","text":"TemporaryFile(/tmp/multipartBody5258684746881421505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252244326,"filename":"image_16112025_01_15_17_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c4bcc80d5978ebcc70b42f8defba57d.jpg","text":"TemporaryFile(/tmp/multipartBody486400358916428092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252244326,"filename":"image_16112025_01_15_44_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58eed4f3d9297979a8b7f3956f7e7dba.jpg","text":"TemporaryFile(/tmp/multipartBody1363821921162745658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252244326,"filename":"image_16112025_01_14_41_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ec0a74d7c0e51c4a2ca4ffd8cf0fa57.jpg","text":"TemporaryFile(/tmp/multipartBody8174963535287385938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252244326,"filename":"image_16112025_01_15_41_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705193","file1":"1394705181","file0":"1394705177","file4":"1394705195","file5":"1394705196","file3":"1394705194"},"map_files_photo_id_array":[{"photo_id":"1394705196","filename":"file5"},{"photo_id":"1394705193","filename":"file2"},{"photo_id":"1394705195","filename":"file4"},{"photo_id":"1394705181","filename":"file1"},{"photo_id":"1394705177","filename":"file0"},{"photo_id":"1394705194","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705196":["hashtag1","hashtag2"]},{"1394705193":["hashtag1","hashtag2"]},{"1394705181":["hashtag1","hashtag2"]},{"1394705195":["hashtag1","hashtag2"]},{"1394705177":["hashtag1","hashtag2"]},{"1394705194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705196, 1394705193, 1394705181, 1394705195, 1394705177, 1394705194)","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 = 1394705193 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_23_2688.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1394705193 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_23_2688.jpg";
uploaded 6 photos
time to upload: 70.29678964614868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:17:46.976600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/14/image_16112025_01_14_41_2789.jpg', '/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_17_2894.jpg', '/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_23_2688.jpg', '/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_41_2735.jpg', '/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_44_2816.jpg', '/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_09_2945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/14/image_16112025_01_14_41_2789.jpg
/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_17_2894.jpg
/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_23_2688.jpg
/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_41_2735.jpg
/home/pi/Desktop/images/16112025/01/15/image_16112025_01_15_44_2816.jpg
/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_09_2945.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":["1394705206","1394705203","1394705202","1394705205","1394705201","1394705204"],"photo_ids_order":["1394705201","1394705202","1394705203","1394705204","1394705205","1394705206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36e922d25b3eb78c9d4586d3eaab4e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4306706067968235943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252330864,"filename":"image_16112025_01_16_09_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/318b555d682b54b6a990a05f23bc1838.jpg","text":"TemporaryFile(/tmp/multipartBody4250267834828338402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252330864,"filename":"image_16112025_01_15_23_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/465dd2e451fa411206cb9583ff3b7305.jpg","text":"TemporaryFile(/tmp/multipartBody109637513557469660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252330864,"filename":"image_16112025_01_15_17_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e247559437fd0cb8711107b9e3a0b977.jpg","text":"TemporaryFile(/tmp/multipartBody713450765827467882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252330864,"filename":"image_16112025_01_15_44_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c7d3d973d2aab325bdf8ea49dc8313d.jpg","text":"TemporaryFile(/tmp/multipartBody240251766181594272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252330864,"filename":"image_16112025_01_14_41_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66747b3272ad13a544e0e9768fdfcff6.jpg","text":"TemporaryFile(/tmp/multipartBody3197907213789937595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252330864,"filename":"image_16112025_01_15_41_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705203","file1":"1394705202","file0":"1394705201","file4":"1394705205","file5":"1394705206","file3":"1394705204"},"map_files_photo_id_array":[{"photo_id":"1394705206","filename":"file5"},{"photo_id":"1394705203","filename":"file2"},{"photo_id":"1394705205","filename":"file4"},{"photo_id":"1394705202","filename":"file1"},{"photo_id":"1394705201","filename":"file0"},{"photo_id":"1394705204","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705206":["hashtag1","hashtag2"]},{"1394705203":["hashtag1","hashtag2"]},{"1394705202":["hashtag1","hashtag2"]},{"1394705205":["hashtag1","hashtag2"]},{"1394705201":["hashtag1","hashtag2"]},{"1394705204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705206, 1394705203, 1394705202, 1394705205, 1394705201, 1394705204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40951704978943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:18:42.373844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_18_3567.jpg', '/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_26_2800.jpg', '/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_32_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_18_3567.jpg
/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_26_2800.jpg
/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_32_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705263","1394705262","1394705260"],"photo_ids_order":["1394705260","1394705262","1394705263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2f0375349efc70c5d3c7b55810c9032.jpg","text":"TemporaryFile(/tmp/multipartBody5089314179109092251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252382955,"filename":"image_16112025_01_16_32_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec05ea26f60ddffe1120a52e99b4e299.jpg","text":"TemporaryFile(/tmp/multipartBody9148569469131299763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252382955,"filename":"image_16112025_01_16_26_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9a0c8c4ea81b3249d706e07855c7720.jpg","text":"TemporaryFile(/tmp/multipartBody6952144367159536383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252382955,"filename":"image_16112025_01_16_18_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705263","file1":"1394705262","file0":"1394705260"},"map_files_photo_id_array":[{"photo_id":"1394705263","filename":"file2"},{"photo_id":"1394705262","filename":"file1"},{"photo_id":"1394705260","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705263":["hashtag1","hashtag2"]},{"1394705262":["hashtag1","hashtag2"]},{"1394705260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705263, 1394705262, 1394705260)","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 = 1394705263 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_32_2632.jpg";
try second time after 15 secs
uploaded 3 photos
time to upload: 42.05184531211853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:19:43.389521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_35_2701.jpg', '/home/pi/Desktop/images/16112025/01/19/image_16112025_01_19_18_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/16/image_16112025_01_16_35_2701.jpg
/home/pi/Desktop/images/16112025/01/19/image_16112025_01_19_18_1667.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705271","1394705270"],"photo_ids_order":["1394705270","1394705271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c8d635800e47c14edd1242e4b4bb68d.jpg","text":"TemporaryFile(/tmp/multipartBody8115438927419301735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252443936,"filename":"image_16112025_01_19_18_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db8f721cd56ca90816ded82cebf74348.jpg","text":"TemporaryFile(/tmp/multipartBody8860255085007038018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252443936,"filename":"image_16112025_01_16_35_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394705271","file0":"1394705270"},"map_files_photo_id_array":[{"photo_id":"1394705271","filename":"file1"},{"photo_id":"1394705270","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705271":["hashtag1","hashtag2"]},{"1394705270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705271, 1394705270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.712677240371704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:20:03.005721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_39_2670.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_46_3696.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_48_2554.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_51_2762.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_55_3729.jpg', '/home/pi/Desktop/images/11112025/23/57/image_11112025_23_58_00_2882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_39_2670.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_46_3696.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_48_2554.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_51_2762.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_57_55_3729.jpg
/home/pi/Desktop/images/11112025/23/57/image_11112025_23_58_00_2882.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705278","1394705274","1394705273","1394705272","1394705281","1394705275"],"photo_ids_order":["1394705272","1394705273","1394705274","1394705275","1394705278","1394705281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b8706271093059b242686a869e9ae9a.jpg","text":"TemporaryFile(/tmp/multipartBody7116103502331329126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252464345,"filename":"image_11112025_23_57_55_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/957cc988967dab349067e00edf276c76.jpg","text":"TemporaryFile(/tmp/multipartBody2371422168185574388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252464345,"filename":"image_11112025_23_57_48_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d19cc81c3e77eb260c4a0b7ab85638b6.jpg","text":"TemporaryFile(/tmp/multipartBody5450281728612764610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252464345,"filename":"image_11112025_23_57_46_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e84a6b7788f5c2aca4a88b3370548015.jpg","text":"TemporaryFile(/tmp/multipartBody7109841038087556044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252464345,"filename":"image_11112025_23_57_39_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08018a63d4c0850ba8a631ac7657691c.jpg","text":"TemporaryFile(/tmp/multipartBody2636608285981701833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252464345,"filename":"image_11112025_23_58_00_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9dcb3736d8ff0585483cca8501a81e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4977939509503927858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252464345,"filename":"image_11112025_23_57_51_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705274","file1":"1394705273","file0":"1394705272","file4":"1394705278","file5":"1394705281","file3":"1394705275"},"map_files_photo_id_array":[{"photo_id":"1394705281","filename":"file5"},{"photo_id":"1394705274","filename":"file2"},{"photo_id":"1394705278","filename":"file4"},{"photo_id":"1394705273","filename":"file1"},{"photo_id":"1394705272","filename":"file0"},{"photo_id":"1394705275","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394705278":["hashtag1","hashtag2"]},{"1394705274":["hashtag1","hashtag2"]},{"1394705273":["hashtag1","hashtag2"]},{"1394705272":["hashtag1","hashtag2"]},{"1394705281":["hashtag1","hashtag2"]},{"1394705275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394705278, 1394705274, 1394705273, 1394705272, 1394705281, 1394705275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60686993598938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:20:42.569327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/19/image_16112025_01_19_22_4328.jpg', '/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_16_3428.jpg', '/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_18_1530.jpg', '/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_21_1592.jpg', '/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_26_2770.jpg', '/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_38_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/19/image_16112025_01_19_22_4328.jpg
/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_16_3428.jpg
/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_18_1530.jpg
/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_21_1592.jpg
/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_26_2770.jpg
/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_38_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705292","1394705286","1394705289","1394705288","1394705290","1394705287"],"photo_ids_order":["1394705286","1394705287","1394705288","1394705289","1394705290","1394705292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10223c5314450bca6c2efeefcc884017.jpg","text":"TemporaryFile(/tmp/multipartBody1608801443949832220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252503250,"filename":"image_16112025_01_20_38_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c82fde825611998b97ef6aa49bd7149.jpg","text":"TemporaryFile(/tmp/multipartBody3198703039025832648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252503250,"filename":"image_16112025_01_19_22_4328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5560887c0740b35a54d78d112165d709.jpg","text":"TemporaryFile(/tmp/multipartBody6096052826919436828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252503250,"filename":"image_16112025_01_20_21_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b54a8a96a97dd135f6d813c8ca0b2f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1268228807879470070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252503250,"filename":"image_16112025_01_20_18_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa2d32ee8af1825cf624b3dadc6ab52a.jpg","text":"TemporaryFile(/tmp/multipartBody8284624312863937546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252503250,"filename":"image_16112025_01_20_26_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68943bd33321dc714396e394b5295c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7290980308691911200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252503250,"filename":"image_16112025_01_20_16_3428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705288","file1":"1394705287","file0":"1394705286","file4":"1394705290","file5":"1394705292","file3":"1394705289"},"map_files_photo_id_array":[{"photo_id":"1394705292","filename":"file5"},{"photo_id":"1394705288","filename":"file2"},{"photo_id":"1394705290","filename":"file4"},{"photo_id":"1394705287","filename":"file1"},{"photo_id":"1394705286","filename":"file0"},{"photo_id":"1394705289","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705292":["hashtag1","hashtag2"]},{"1394705286":["hashtag1","hashtag2"]},{"1394705289":["hashtag1","hashtag2"]},{"1394705288":["hashtag1","hashtag2"]},{"1394705290":["hashtag1","hashtag2"]},{"1394705287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705292, 1394705286, 1394705289, 1394705288, 1394705290, 1394705287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.181692361831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:21:22.949262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_44_3547.jpg', '/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_58_3016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_44_3547.jpg
/home/pi/Desktop/images/16112025/01/20/image_16112025_01_20_58_3016.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705299","1394705296"],"photo_ids_order":["1394705296","1394705299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28e1cb4f2be757ad88fac62cb1d4f68a.jpg","text":"TemporaryFile(/tmp/multipartBody8172434187797669476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252543479,"filename":"image_16112025_01_20_58_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2408078975f4bd4b478df616d77d98d.jpg","text":"TemporaryFile(/tmp/multipartBody6936102170243213448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252543479,"filename":"image_16112025_01_20_44_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394705299","file0":"1394705296"},"map_files_photo_id_array":[{"photo_id":"1394705299","filename":"file1"},{"photo_id":"1394705296","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705299":["hashtag1","hashtag2"]},{"1394705296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705299, 1394705296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.72398090362549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:21:42.757906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
  port_id : 28472015
  datou_current_id : 4038957
in upload_from_sqlite, uploading in 28472015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_07_3345.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_10_3095.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_17_3588.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_22_2579.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_32_3626.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_34_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4038957&datou=0
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_07_3345.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_10_3095.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_17_3588.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_22_2579.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_32_3626.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_34_2540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705302","1394705301","1394705304","1394705307","1394705306","1394705300"],"photo_ids_order":["1394705300","1394705301","1394705302","1394705304","1394705306","1394705307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb19118139a2fe0a675db0d7a3ca1f85.jpg","text":"TemporaryFile(/tmp/multipartBody407768790783600756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252563589,"filename":"image_13112025_23_58_17_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f852fe4f02b851502a6e268c0b5400b.jpg","text":"TemporaryFile(/tmp/multipartBody8229951571096665986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252563589,"filename":"image_13112025_23_58_10_3095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba4014aa8fa223360c63c47e75dc7337.jpg","text":"TemporaryFile(/tmp/multipartBody7880274916671897090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252563589,"filename":"image_13112025_23_58_22_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a7894adbf5cfad695db342c2b8344a6.jpg","text":"TemporaryFile(/tmp/multipartBody7584953623119131451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252563589,"filename":"image_13112025_23_58_34_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e38d899427b7dc46fdee3c87dd4a795c.jpg","text":"TemporaryFile(/tmp/multipartBody5996599515073991929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252563589,"filename":"image_13112025_23_58_32_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c2d11745a302b1220f856059f4af371.jpg","text":"TemporaryFile(/tmp/multipartBody7297744072796221526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252563589,"filename":"image_13112025_23_58_07_3345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705302","file1":"1394705301","file0":"1394705300","file4":"1394705306","file5":"1394705307","file3":"1394705304"},"map_files_photo_id_array":[{"photo_id":"1394705307","filename":"file5"},{"photo_id":"1394705302","filename":"file2"},{"photo_id":"1394705306","filename":"file4"},{"photo_id":"1394705301","filename":"file1"},{"photo_id":"1394705300","filename":"file0"},{"photo_id":"1394705304","filename":"file3"}],"portfolio_id":28472015,"hashtag_by_photo_ids":[{"1394705302":["hashtag1","hashtag2"]},{"1394705301":["hashtag1","hashtag2"]},{"1394705304":["hashtag1","hashtag2"]},{"1394705307":["hashtag1","hashtag2"]},{"1394705306":["hashtag1","hashtag2"]},{"1394705300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28472015 used, photo_id : ArrayBuffer(1394705302, 1394705301, 1394705304, 1394705307, 1394705306, 1394705300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24443173408508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:22:22.066742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/21/image_16112025_01_21_23_3621.jpg', '/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_32_2616.jpg', '/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_35_2964.jpg', '/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_37_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/21/image_16112025_01_21_23_3621.jpg
/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_32_2616.jpg
/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_35_2964.jpg
/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_37_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705332","1394705331","1394705334","1394705336"],"photo_ids_order":["1394705331","1394705332","1394705334","1394705336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93fb769c85b9756f4499cc83589decc2.jpg","text":"TemporaryFile(/tmp/multipartBody17964687301328999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252602704,"filename":"image_16112025_01_22_32_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/768dd3fc2e555d6c6ca41c33ea8fc21e.jpg","text":"TemporaryFile(/tmp/multipartBody8484614113900123898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252602704,"filename":"image_16112025_01_21_23_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bff67bb8ffa42a2384f3bab8ada890cf.jpg","text":"TemporaryFile(/tmp/multipartBody7075654133137393387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252602704,"filename":"image_16112025_01_22_35_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f773ed01ed8760a2d2c19f97f86e0c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5319882223160365137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252602704,"filename":"image_16112025_01_22_37_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705334","file1":"1394705332","file0":"1394705331","file3":"1394705336"},"map_files_photo_id_array":[{"photo_id":"1394705334","filename":"file2"},{"photo_id":"1394705332","filename":"file1"},{"photo_id":"1394705331","filename":"file0"},{"photo_id":"1394705336","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705332":["hashtag1","hashtag2"]},{"1394705331":["hashtag1","hashtag2"]},{"1394705334":["hashtag1","hashtag2"]},{"1394705336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705332, 1394705331, 1394705334, 1394705336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.952943086624146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:23:02.894290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_03_2797.jpg', '/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_10_2744.jpg', '/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_16_3710.jpg', '/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_18_2595.jpg', '/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_24_2751.jpg', '/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_37_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_03_2797.jpg
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_10_2744.jpg
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_16_3710.jpg
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_18_2595.jpg
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_24_2751.jpg
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_37_3690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705341","1394705340","1394705343","1394705345","1394705339","1394705348"],"photo_ids_order":["1394705339","1394705340","1394705341","1394705343","1394705345","1394705348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/337b7b8569ebe2dae7d89d4981311a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6208747037100445809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252644279,"filename":"image_11112025_23_58_16_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8cb6e670f9b036961444578b35ec5a1.jpg","text":"TemporaryFile(/tmp/multipartBody3211458126465299940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252644279,"filename":"image_11112025_23_58_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/11/16/deac024241074ded654db3849247a21f.jpg","text":"TemporaryFile(/tmp/multipartBody5028531767317061819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252644279,"filename":"image_11112025_23_58_18_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9520ad5487a35f683a7eb60a6d687135.jpg","text":"TemporaryFile(/tmp/multipartBody8367943932677603538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252644279,"filename":"image_11112025_23_58_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/11/16/def3cba2e9b4cbe9312b5307fc6d8340.jpg","text":"TemporaryFile(/tmp/multipartBody1519687727156248959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252644279,"filename":"image_11112025_23_58_03_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98463845ac03732a4f0153d2d3a39acb.jpg","text":"TemporaryFile(/tmp/multipartBody9012405438472761603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252644279,"filename":"image_11112025_23_58_37_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705341","file1":"1394705340","file0":"1394705339","file4":"1394705345","file5":"1394705348","file3":"1394705343"},"map_files_photo_id_array":[{"photo_id":"1394705348","filename":"file5"},{"photo_id":"1394705341","filename":"file2"},{"photo_id":"1394705345","filename":"file4"},{"photo_id":"1394705340","filename":"file1"},{"photo_id":"1394705339","filename":"file0"},{"photo_id":"1394705343","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394705341":["hashtag1","hashtag2"]},{"1394705340":["hashtag1","hashtag2"]},{"1394705343":["hashtag1","hashtag2"]},{"1394705345":["hashtag1","hashtag2"]},{"1394705339":["hashtag1","hashtag2"]},{"1394705348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394705341, 1394705340, 1394705343, 1394705345, 1394705339, 1394705348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21516180038452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:23:42.208335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_41_3638.jpg', '/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_01_2826.jpg', '/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_05_3753.jpg', '/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_08_2635.jpg', '/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_23_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_41_3638.jpg
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_01_2826.jpg
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_05_3753.jpg
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_08_2635.jpg
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_23_3551.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.5795712471008301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:24:03.065787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_41_3638.jpg', '/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_01_2826.jpg', '/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_05_3753.jpg', '/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_08_2635.jpg', '/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_23_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/22/image_16112025_01_22_41_3638.jpg
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_01_2826.jpg
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_05_3753.jpg
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_08_2635.jpg
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_23_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705356","1394705359","1394705355","1394705357","1394705354"],"photo_ids_order":["1394705354","1394705355","1394705356","1394705357","1394705359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a589ac4eba417db0fcef85748c391017.jpg","text":"TemporaryFile(/tmp/multipartBody2355354638125957161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252703853,"filename":"image_16112025_01_23_05_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d5e74d4b50848c788fd40452052fa26.jpg","text":"TemporaryFile(/tmp/multipartBody2417037629614079434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252703853,"filename":"image_16112025_01_23_23_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05086af471b14f7d6eef746d0d3e501a.jpg","text":"TemporaryFile(/tmp/multipartBody4167490450272688272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252703853,"filename":"image_16112025_01_23_01_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cc08a85f391457686bd72bd260ba384.jpg","text":"TemporaryFile(/tmp/multipartBody5603445636714260327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252703853,"filename":"image_16112025_01_23_08_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f73bff7bb8c58cb538abce42905bd94.jpg","text":"TemporaryFile(/tmp/multipartBody6522429172087073827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252703853,"filename":"image_16112025_01_22_41_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705356","file1":"1394705355","file0":"1394705354","file4":"1394705359","file3":"1394705357"},"map_files_photo_id_array":[{"photo_id":"1394705356","filename":"file2"},{"photo_id":"1394705359","filename":"file4"},{"photo_id":"1394705355","filename":"file1"},{"photo_id":"1394705354","filename":"file0"},{"photo_id":"1394705357","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705356":["hashtag1","hashtag2"]},{"1394705359":["hashtag1","hashtag2"]},{"1394705355":["hashtag1","hashtag2"]},{"1394705357":["hashtag1","hashtag2"]},{"1394705354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705356, 1394705359, 1394705355, 1394705357, 1394705354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.122132301330566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:24:42.474506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_32_3554.jpg', '/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_20_3678.jpg', '/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_25_2618.jpg', '/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_31_2691.jpg', '/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_50_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/23/image_16112025_01_23_32_3554.jpg
/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_20_3678.jpg
/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_25_2618.jpg
/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_31_2691.jpg
/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_50_3723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705413","1394705412","1394705400","1394705393","1394705414"],"photo_ids_order":["1394705393","1394705400","1394705412","1394705413","1394705414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e268c6b2299ed63b63a65214d1db331.jpg","text":"TemporaryFile(/tmp/multipartBody7354817828855984555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252743103,"filename":"image_16112025_01_24_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06e129a2399aecd548366de2c2ddc90a.jpg","text":"TemporaryFile(/tmp/multipartBody9011498972058891357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252743103,"filename":"image_16112025_01_24_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/11/16/9080aecc875f72f01e0ebeff8b798c43.jpg","text":"TemporaryFile(/tmp/multipartBody2162127541955926966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252743103,"filename":"image_16112025_01_24_20_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8fa7c41ed81dc0e26921614052a739a.jpg","text":"TemporaryFile(/tmp/multipartBody1561837826245407878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252743103,"filename":"image_16112025_01_23_32_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a014cb284eb682b898a0d2a9ba0f8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4585179591601244855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252743103,"filename":"image_16112025_01_24_50_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705412","file1":"1394705400","file0":"1394705393","file4":"1394705414","file3":"1394705413"},"map_files_photo_id_array":[{"photo_id":"1394705412","filename":"file2"},{"photo_id":"1394705414","filename":"file4"},{"photo_id":"1394705400","filename":"file1"},{"photo_id":"1394705393","filename":"file0"},{"photo_id":"1394705413","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705413":["hashtag1","hashtag2"]},{"1394705412":["hashtag1","hashtag2"]},{"1394705400":["hashtag1","hashtag2"]},{"1394705393":["hashtag1","hashtag2"]},{"1394705414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705413, 1394705412, 1394705400, 1394705393, 1394705414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.166868448257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:25:22.834943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_58_2580.jpg', '/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_13_2709.jpg', '/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_49_2684.jpg', '/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_52_2642.jpg', '/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_56_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/24/image_16112025_01_24_58_2580.jpg
/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_13_2709.jpg
/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_49_2684.jpg
/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_52_2642.jpg
/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_56_3734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705422","1394705425","1394705427","1394705418","1394705420"],"photo_ids_order":["1394705418","1394705420","1394705422","1394705425","1394705427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d25967a9758ff35e94306c36fbc1f8c.jpg","text":"TemporaryFile(/tmp/multipartBody2937753914052024607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252783502,"filename":"image_16112025_01_25_49_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce71f9cd81b564af66c214d0d0c74bff.jpg","text":"TemporaryFile(/tmp/multipartBody486619327769022922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252783502,"filename":"image_16112025_01_25_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/11/16/11975842ace1b13bddc90e03d67c449c.jpg","text":"TemporaryFile(/tmp/multipartBody4901382871438057212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252783502,"filename":"image_16112025_01_25_56_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2682eeb0747121e8bf8ca07c2bc0a5ce.jpg","text":"TemporaryFile(/tmp/multipartBody4599161582721464954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252783502,"filename":"image_16112025_01_24_58_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/284370ded6f15671ebb7a3269e5069ee.jpg","text":"TemporaryFile(/tmp/multipartBody4317444699307209651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252783502,"filename":"image_16112025_01_25_13_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705422","file1":"1394705420","file0":"1394705418","file4":"1394705427","file3":"1394705425"},"map_files_photo_id_array":[{"photo_id":"1394705422","filename":"file2"},{"photo_id":"1394705427","filename":"file4"},{"photo_id":"1394705420","filename":"file1"},{"photo_id":"1394705418","filename":"file0"},{"photo_id":"1394705425","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705422":["hashtag1","hashtag2"]},{"1394705425":["hashtag1","hashtag2"]},{"1394705427":["hashtag1","hashtag2"]},{"1394705418":["hashtag1","hashtag2"]},{"1394705420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705422, 1394705425, 1394705427, 1394705418, 1394705420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.44342827796936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:26:02.450791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_40_2784.jpg', '/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_42_2756.jpg', '/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_49_3635.jpg', '/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_51_2760.jpg', '/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_06_2795.jpg', '/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_10_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_40_2784.jpg
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_42_2756.jpg
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_49_3635.jpg
/home/pi/Desktop/images/11112025/23/58/image_11112025_23_58_51_2760.jpg
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_06_2795.jpg
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_10_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705434","1394705458","1394705457","1394705430","1394705454","1394705448"],"photo_ids_order":["1394705430","1394705434","1394705448","1394705454","1394705457","1394705458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0ec4419b47ea61fdbd45edbe1fd2f39.jpg","text":"TemporaryFile(/tmp/multipartBody775232884740544864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252826979,"filename":"image_11112025_23_58_42_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e9eac987b67ffb8459fd8a45f5da9e6.jpg","text":"TemporaryFile(/tmp/multipartBody967248375565841886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252826979,"filename":"image_11112025_23_59_10_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99625f8eec6d6879e11659db6427c1d8.jpg","text":"TemporaryFile(/tmp/multipartBody1572992047277094452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252826979,"filename":"image_11112025_23_59_06_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1521e1c468a364364beded9afd5487ee.jpg","text":"TemporaryFile(/tmp/multipartBody8919003872077661866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252826979,"filename":"image_11112025_23_58_40_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/375cf45bd6830ebd545ad4dbd477e329.jpg","text":"TemporaryFile(/tmp/multipartBody7628791931374213719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252826979,"filename":"image_11112025_23_58_51_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe04fecc9cb803b2edcb2667ee1dfbc6.jpg","text":"TemporaryFile(/tmp/multipartBody3182207142475573216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252826979,"filename":"image_11112025_23_58_49_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705448","file1":"1394705434","file0":"1394705430","file4":"1394705457","file5":"1394705458","file3":"1394705454"},"map_files_photo_id_array":[{"photo_id":"1394705458","filename":"file5"},{"photo_id":"1394705448","filename":"file2"},{"photo_id":"1394705457","filename":"file4"},{"photo_id":"1394705434","filename":"file1"},{"photo_id":"1394705430","filename":"file0"},{"photo_id":"1394705454","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394705434":["hashtag1","hashtag2"]},{"1394705458":["hashtag1","hashtag2"]},{"1394705457":["hashtag1","hashtag2"]},{"1394705430":["hashtag1","hashtag2"]},{"1394705454":["hashtag1","hashtag2"]},{"1394705448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394705434, 1394705458, 1394705457, 1394705430, 1394705454, 1394705448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.387309551239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:26:41.954345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_58_2760.jpg', '/home/pi/Desktop/images/16112025/01/26/image_16112025_01_26_37_2762.jpg', '/home/pi/Desktop/images/16112025/01/26/image_16112025_01_26_40_2621.jpg', '/home/pi/Desktop/images/16112025/01/26/image_16112025_01_26_56_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/25/image_16112025_01_25_58_2760.jpg
/home/pi/Desktop/images/16112025/01/26/image_16112025_01_26_37_2762.jpg
/home/pi/Desktop/images/16112025/01/26/image_16112025_01_26_40_2621.jpg
/home/pi/Desktop/images/16112025/01/26/image_16112025_01_26_56_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705461","1394705463","1394705462","1394705464"],"photo_ids_order":["1394705461","1394705462","1394705463","1394705464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59ac137a0d7d4749958fcfe36b675ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2466472840855513567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252862555,"filename":"image_16112025_01_25_58_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e1f5bc576919ef4ef0d5d442f824e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4798240007987728062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252862555,"filename":"image_16112025_01_26_40_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a24dfa2802d7f5065e1814a9423d19e5.jpg","text":"TemporaryFile(/tmp/multipartBody6389413270075884751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252862555,"filename":"image_16112025_01_26_37_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d8f2725d4111ab034346a9a5c07eae4.jpg","text":"TemporaryFile(/tmp/multipartBody7797725473870774403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252862555,"filename":"image_16112025_01_26_56_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705463","file1":"1394705462","file0":"1394705461","file3":"1394705464"},"map_files_photo_id_array":[{"photo_id":"1394705463","filename":"file2"},{"photo_id":"1394705462","filename":"file1"},{"photo_id":"1394705461","filename":"file0"},{"photo_id":"1394705464","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705461":["hashtag1","hashtag2"]},{"1394705463":["hashtag1","hashtag2"]},{"1394705462":["hashtag1","hashtag2"]},{"1394705464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705461, 1394705463, 1394705462, 1394705464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.10703206062317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:27:23.248803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/26/image_16112025_01_26_58_2594.jpg', '/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_04_3302.jpg', '/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_10_2680.jpg', '/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_16_2932.jpg', '/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_53_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/26/image_16112025_01_26_58_2594.jpg
/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_04_3302.jpg
/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_10_2680.jpg
/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_16_2932.jpg
/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_53_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705472","1394705469","1394705471","1394705473","1394705467"],"photo_ids_order":["1394705467","1394705469","1394705471","1394705472","1394705473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c3c85282ff667540ce4fcdeff09af16.jpg","text":"TemporaryFile(/tmp/multipartBody2607343469115632749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252906114,"filename":"image_16112025_01_27_16_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8bbd51f3faca77d9e7e0c4819299fc0d.jpg","text":"TemporaryFile(/tmp/multipartBody8116044264733531136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252906114,"filename":"image_16112025_01_27_04_3302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9f454a2611367db5170b5e31663666a.jpg","text":"TemporaryFile(/tmp/multipartBody4589480127751158503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252906114,"filename":"image_16112025_01_27_10_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77bc3d057a6e3c42b66228eb9518a0dd.jpg","text":"TemporaryFile(/tmp/multipartBody870389012297113267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252906114,"filename":"image_16112025_01_27_53_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/effe9adfe2fdcc2361e949d388e87118.jpg","text":"TemporaryFile(/tmp/multipartBody453841026185550879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252906114,"filename":"image_16112025_01_26_58_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705471","file1":"1394705469","file0":"1394705467","file4":"1394705473","file3":"1394705472"},"map_files_photo_id_array":[{"photo_id":"1394705471","filename":"file2"},{"photo_id":"1394705473","filename":"file4"},{"photo_id":"1394705469","filename":"file1"},{"photo_id":"1394705467","filename":"file0"},{"photo_id":"1394705472","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705472":["hashtag1","hashtag2"]},{"1394705469":["hashtag1","hashtag2"]},{"1394705471":["hashtag1","hashtag2"]},{"1394705473":["hashtag1","hashtag2"]},{"1394705467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705472, 1394705469, 1394705471, 1394705473, 1394705467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.09637689590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:28:02.913675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 01:28:24.865531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_55_3797.jpg', '/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_58_2962.jpg', '/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_01_2693.jpg', '/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_04_3179.jpg', '/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_08_4009.jpg', '/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_10_1726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_55_3797.jpg
/home/pi/Desktop/images/06112025/13/53/image_06112025_13_53_58_2962.jpg
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_01_2693.jpg
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_04_3179.jpg
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_08_4009.jpg
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_10_1726.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":["1394705481","1394705484","1394705480","1394705483","1394705485","1394705479"],"photo_ids_order":["1394705479","1394705480","1394705481","1394705483","1394705484","1394705485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43a397dd35b26b1ca277c572e5ebf410.jpg","text":"TemporaryFile(/tmp/multipartBody5455233676786447681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252994197,"filename":"image_06112025_13_54_01_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/695579ee67fef3d0e27168c3a4666829.jpg","text":"TemporaryFile(/tmp/multipartBody3977590440994840959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252994197,"filename":"image_06112025_13_54_08_4009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd11bd9463226ebd7ffa97fee1568729.jpg","text":"TemporaryFile(/tmp/multipartBody3516426065929989240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252994197,"filename":"image_06112025_13_53_58_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c30370ae90c33ea6680c6c90fd3b2797.jpg","text":"TemporaryFile(/tmp/multipartBody1863660930951616985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252994197,"filename":"image_06112025_13_54_04_3179.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/635d270e79cc7a3223313b7fc0037e2b.jpg","text":"TemporaryFile(/tmp/multipartBody9175112700874512521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252994197,"filename":"image_06112025_13_54_10_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05c9adf6260ea16a535fc832ec2df329.jpg","text":"TemporaryFile(/tmp/multipartBody9193513356456307805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763252994197,"filename":"image_06112025_13_53_55_3797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705481","file1":"1394705480","file0":"1394705479","file4":"1394705484","file5":"1394705485","file3":"1394705483"},"map_files_photo_id_array":[{"photo_id":"1394705485","filename":"file5"},{"photo_id":"1394705481","filename":"file2"},{"photo_id":"1394705484","filename":"file4"},{"photo_id":"1394705480","filename":"file1"},{"photo_id":"1394705479","filename":"file0"},{"photo_id":"1394705483","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394705481":["hashtag1","hashtag2"]},{"1394705484":["hashtag1","hashtag2"]},{"1394705480":["hashtag1","hashtag2"]},{"1394705483":["hashtag1","hashtag2"]},{"1394705485":["hashtag1","hashtag2"]},{"1394705479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394705481, 1394705484, 1394705480, 1394705483, 1394705485, 1394705479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.84214186668396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:29:44.739070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_58_2780.jpg', '/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_01_2575.jpg', '/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_28_1730.jpg', '/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_33_1639.jpg', '/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_42_9037.jpg', '/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_44_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/27/image_16112025_01_27_58_2780.jpg
/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_01_2575.jpg
/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_28_1730.jpg
/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_33_1639.jpg
/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_42_9037.jpg
/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_44_1569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705496","1394705500","1394705499","1394705498","1394705501","1394705494"],"photo_ids_order":["1394705494","1394705496","1394705498","1394705499","1394705500","1394705501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db79fa5ff678de66de075bb94d5f01cd.jpg","text":"TemporaryFile(/tmp/multipartBody3388348002545323481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253045452,"filename":"image_16112025_01_28_01_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7e82bd3ae8d5397953961b3c2d4842a.jpg","text":"TemporaryFile(/tmp/multipartBody425399618262853617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253045452,"filename":"image_16112025_01_28_42_9037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6005310dbcdb63c310284ebaaecd74a4.jpg","text":"TemporaryFile(/tmp/multipartBody4433487499962744559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253045452,"filename":"image_16112025_01_28_33_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/228d6f93dca718118e59c4de0d21c848.jpg","text":"TemporaryFile(/tmp/multipartBody5675728956127282894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253045452,"filename":"image_16112025_01_28_28_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05efacaf06fda2e331a70317ee45d5ed.jpg","text":"TemporaryFile(/tmp/multipartBody5110467226163382897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253045452,"filename":"image_16112025_01_28_44_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2e19a4daaa1dc70024d5d3496a38937.jpg","text":"TemporaryFile(/tmp/multipartBody8338001338633977997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253045452,"filename":"image_16112025_01_27_58_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705498","file1":"1394705496","file0":"1394705494","file4":"1394705500","file5":"1394705501","file3":"1394705499"},"map_files_photo_id_array":[{"photo_id":"1394705501","filename":"file5"},{"photo_id":"1394705498","filename":"file2"},{"photo_id":"1394705500","filename":"file4"},{"photo_id":"1394705496","filename":"file1"},{"photo_id":"1394705494","filename":"file0"},{"photo_id":"1394705499","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705496":["hashtag1","hashtag2"]},{"1394705500":["hashtag1","hashtag2"]},{"1394705499":["hashtag1","hashtag2"]},{"1394705498":["hashtag1","hashtag2"]},{"1394705501":["hashtag1","hashtag2"]},{"1394705494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705496, 1394705500, 1394705499, 1394705498, 1394705501, 1394705494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51520252227783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:30:21.934063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_57_5973.jpg', '/home/pi/Desktop/images/16112025/01/28/image_16112025_01_29_00_3144.jpg', '/home/pi/Desktop/images/16112025/01/29/image_16112025_01_29_10_1618.jpg', '/home/pi/Desktop/images/16112025/01/30/image_16112025_01_30_27_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/28/image_16112025_01_28_57_5973.jpg
/home/pi/Desktop/images/16112025/01/28/image_16112025_01_29_00_3144.jpg
/home/pi/Desktop/images/16112025/01/29/image_16112025_01_29_10_1618.jpg
/home/pi/Desktop/images/16112025/01/30/image_16112025_01_30_27_1701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705506","1394705508","1394705504","1394705507"],"photo_ids_order":["1394705504","1394705506","1394705507","1394705508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e07c36d8122ff867c7707ecef661d548.jpg","text":"TemporaryFile(/tmp/multipartBody7017408697579273397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253082536,"filename":"image_16112025_01_29_00_3144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/059669edb4a91ae215e467a085647590.jpg","text":"TemporaryFile(/tmp/multipartBody7906620252310300577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253082536,"filename":"image_16112025_01_30_27_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5d6238de4535f1915985d472ffdc753.jpg","text":"TemporaryFile(/tmp/multipartBody4017799610832108908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253082536,"filename":"image_16112025_01_28_57_5973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc5ddfc13de0cd3882875ce30872a34e.jpg","text":"TemporaryFile(/tmp/multipartBody3255243045404428982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253082536,"filename":"image_16112025_01_29_10_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705507","file1":"1394705506","file0":"1394705504","file3":"1394705508"},"map_files_photo_id_array":[{"photo_id":"1394705507","filename":"file2"},{"photo_id":"1394705506","filename":"file1"},{"photo_id":"1394705504","filename":"file0"},{"photo_id":"1394705508","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705506":["hashtag1","hashtag2"]},{"1394705508":["hashtag1","hashtag2"]},{"1394705504":["hashtag1","hashtag2"]},{"1394705507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705506, 1394705508, 1394705504, 1394705507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.402982473373413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:31:02.788989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_12_2617.jpg', '/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_15_2963.jpg', '/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_45_2964.jpg', '/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_49_3687.jpg', '/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_51_2627.jpg', '/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_54_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_12_2617.jpg
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_15_2963.jpg
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_45_2964.jpg
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_49_3687.jpg
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_51_2627.jpg
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_54_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705515","1394705514","1394705517","1394705522","1394705519","1394705513"],"photo_ids_order":["1394705513","1394705514","1394705515","1394705517","1394705519","1394705522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cb29e39b77e2552124921da6a2a9625.jpg","text":"TemporaryFile(/tmp/multipartBody665192381909540054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253124156,"filename":"image_11112025_23_59_45_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/996bd5ae91d61507b512c12e325d946c.jpg","text":"TemporaryFile(/tmp/multipartBody1848246707046412138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253124156,"filename":"image_11112025_23_59_15_2963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae585773b177798de6bf4794d3791486.jpg","text":"TemporaryFile(/tmp/multipartBody284883058137380132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253124156,"filename":"image_11112025_23_59_49_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44bb32e662072a332fad33269cdc2ad5.jpg","text":"TemporaryFile(/tmp/multipartBody4570960766179986440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253124156,"filename":"image_11112025_23_59_54_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55e0ad0ddbac1d03db99cf2bb3d668c7.jpg","text":"TemporaryFile(/tmp/multipartBody7376343704033355711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253124156,"filename":"image_11112025_23_59_51_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b54abf84a93ae034f6af61549797a010.jpg","text":"TemporaryFile(/tmp/multipartBody8530587484664848955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253124156,"filename":"image_11112025_23_59_12_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705515","file1":"1394705514","file0":"1394705513","file4":"1394705519","file5":"1394705522","file3":"1394705517"},"map_files_photo_id_array":[{"photo_id":"1394705522","filename":"file5"},{"photo_id":"1394705515","filename":"file2"},{"photo_id":"1394705519","filename":"file4"},{"photo_id":"1394705514","filename":"file1"},{"photo_id":"1394705513","filename":"file0"},{"photo_id":"1394705517","filename":"file3"}],"portfolio_id":28415545,"hashtag_by_photo_ids":[{"1394705515":["hashtag1","hashtag2"]},{"1394705514":["hashtag1","hashtag2"]},{"1394705517":["hashtag1","hashtag2"]},{"1394705522":["hashtag1","hashtag2"]},{"1394705519":["hashtag1","hashtag2"]},{"1394705513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28415545 used, photo_id : ArrayBuffer(1394705515, 1394705514, 1394705517, 1394705522, 1394705519, 1394705513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29628324508667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:31:42.062528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/30/image_16112025_01_30_31_1526.jpg', '/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_07_3603.jpg', '/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_13_2817.jpg', '/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_22_2531.jpg', '/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_40_2700.jpg', '/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_43_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/30/image_16112025_01_30_31_1526.jpg
/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_07_3603.jpg
/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_13_2817.jpg
/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_22_2531.jpg
/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_40_2700.jpg
/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_43_2848.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705527","1394705530","1394705526","1394705529","1394705531","1394705528"],"photo_ids_order":["1394705526","1394705527","1394705528","1394705529","1394705530","1394705531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cb30c0d58e3d75b38befc4f70143cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6232063576614633938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253162754,"filename":"image_16112025_01_31_07_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58b73af079a76a0e5983eb64d6b7899a.jpg","text":"TemporaryFile(/tmp/multipartBody6459285212215344821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253162754,"filename":"image_16112025_01_31_40_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0952065e778cb9a7d63b8ac996fedb1c.jpg","text":"TemporaryFile(/tmp/multipartBody9185409601221454604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253162754,"filename":"image_16112025_01_30_31_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6497103860e4238f98bd75613e2db91d.jpg","text":"TemporaryFile(/tmp/multipartBody8237010044679138001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253162754,"filename":"image_16112025_01_31_22_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01878fda18e36c38c64e587619fb0c3a.jpg","text":"TemporaryFile(/tmp/multipartBody6106531682240644635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253162754,"filename":"image_16112025_01_31_43_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e93a3bb1cfc8224aaa867f676c2c8e7.jpg","text":"TemporaryFile(/tmp/multipartBody2339750377483848020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253162754,"filename":"image_16112025_01_31_13_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705528","file1":"1394705527","file0":"1394705526","file4":"1394705530","file5":"1394705531","file3":"1394705529"},"map_files_photo_id_array":[{"photo_id":"1394705531","filename":"file5"},{"photo_id":"1394705528","filename":"file2"},{"photo_id":"1394705530","filename":"file4"},{"photo_id":"1394705527","filename":"file1"},{"photo_id":"1394705526","filename":"file0"},{"photo_id":"1394705529","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705527":["hashtag1","hashtag2"]},{"1394705530":["hashtag1","hashtag2"]},{"1394705526":["hashtag1","hashtag2"]},{"1394705529":["hashtag1","hashtag2"]},{"1394705531":["hashtag1","hashtag2"]},{"1394705528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705527, 1394705530, 1394705526, 1394705529, 1394705531, 1394705528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31359124183655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:32:22.255647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_55_3600.jpg', '/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_58_2900.jpg', '/home/pi/Desktop/images/16112025/01/32/image_16112025_01_32_53_6775.jpg', '/home/pi/Desktop/images/16112025/01/32/image_16112025_01_32_56_1882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_55_3600.jpg
/home/pi/Desktop/images/16112025/01/31/image_16112025_01_31_58_2900.jpg
/home/pi/Desktop/images/16112025/01/32/image_16112025_01_32_53_6775.jpg
/home/pi/Desktop/images/16112025/01/32/image_16112025_01_32_56_1882.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705542","1394705540","1394705537","1394705534"],"photo_ids_order":["1394705534","1394705537","1394705540","1394705542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3b3394cd9a61a5dbb22c392954c7c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1114326482157359116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253202871,"filename":"image_16112025_01_32_56_1882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24d77e5ce9d91049dec9cbb670d2b618.jpg","text":"TemporaryFile(/tmp/multipartBody3169283336023507132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253202871,"filename":"image_16112025_01_32_53_6775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/caf92768947a715b6c072a6f8bab3fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1880629744392196646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253202871,"filename":"image_16112025_01_31_58_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad786994b6e51f1dc9537359f961324b.jpg","text":"TemporaryFile(/tmp/multipartBody2978160666868022826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253202871,"filename":"image_16112025_01_31_55_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705540","file1":"1394705537","file0":"1394705534","file3":"1394705542"},"map_files_photo_id_array":[{"photo_id":"1394705540","filename":"file2"},{"photo_id":"1394705537","filename":"file1"},{"photo_id":"1394705534","filename":"file0"},{"photo_id":"1394705542","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705542":["hashtag1","hashtag2"]},{"1394705540":["hashtag1","hashtag2"]},{"1394705537":["hashtag1","hashtag2"]},{"1394705534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705542, 1394705540, 1394705537, 1394705534)","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 = 1394705540 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/01/32/image_16112025_01_32_53_6775.jpg";
try second time after 15 secs
uploaded 4 photos
time to upload: 62.65856146812439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:33:43.937746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
  port_id : 28472015
  datou_current_id : 4038957
in upload_from_sqlite, uploading in 28472015
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_37_2654.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_43_2658.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_50_3636.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_52_2622.jpg', '/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_55_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4038957&datou=0
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_37_2654.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_43_2658.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_50_3636.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_52_2622.jpg
/home/pi/Desktop/images/13112025/23/58/image_13112025_23_58_55_2657.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705554","1394705556","1394705553","1394705555","1394705552"],"photo_ids_order":["1394705552","1394705553","1394705554","1394705555","1394705556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/833f600cc5d51a40313a94041f7c7366.jpg","text":"TemporaryFile(/tmp/multipartBody6136937824746494865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253284748,"filename":"image_13112025_23_58_50_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/964fa4c7d20c8cbf62d196fd1cf18288.jpg","text":"TemporaryFile(/tmp/multipartBody1901943385926493416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253284748,"filename":"image_13112025_23_58_55_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7db67e1e45aadb6dd0f8611f3a542629.jpg","text":"TemporaryFile(/tmp/multipartBody8640149665459209056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253284748,"filename":"image_13112025_23_58_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/11/16/be56890d4362a6f03379be62d967abdf.jpg","text":"TemporaryFile(/tmp/multipartBody7610589827260339224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253284748,"filename":"image_13112025_23_58_52_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aaa2a23255c2d27b601d7917178d2827.jpg","text":"TemporaryFile(/tmp/multipartBody3434063785151860920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253284748,"filename":"image_13112025_23_58_37_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705554","file1":"1394705553","file0":"1394705552","file4":"1394705556","file3":"1394705555"},"map_files_photo_id_array":[{"photo_id":"1394705554","filename":"file2"},{"photo_id":"1394705556","filename":"file4"},{"photo_id":"1394705553","filename":"file1"},{"photo_id":"1394705552","filename":"file0"},{"photo_id":"1394705555","filename":"file3"}],"portfolio_id":28472015,"hashtag_by_photo_ids":[{"1394705554":["hashtag1","hashtag2"]},{"1394705556":["hashtag1","hashtag2"]},{"1394705553":["hashtag1","hashtag2"]},{"1394705555":["hashtag1","hashtag2"]},{"1394705552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28472015 used, photo_id : ArrayBuffer(1394705554, 1394705556, 1394705553, 1394705555, 1394705552)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 5 photos
time to upload: 46.26913380622864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:34:42.232270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/32/image_16112025_01_32_58_1948.jpg', '/home/pi/Desktop/images/16112025/01/33/image_16112025_01_33_22_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/32/image_16112025_01_32_58_1948.jpg
/home/pi/Desktop/images/16112025/01/33/image_16112025_01_33_22_2593.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705569","1394705568"],"photo_ids_order":["1394705568","1394705569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffcc2d0f14a301b2b6e2103e45b093d9.jpg","text":"TemporaryFile(/tmp/multipartBody1533739147782508611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253342750,"filename":"image_16112025_01_33_22_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f4b1c82f6f8e149c0943b72cce25f6d.jpg","text":"TemporaryFile(/tmp/multipartBody926122622855992417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253342750,"filename":"image_16112025_01_32_58_1948.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394705569","file0":"1394705568"},"map_files_photo_id_array":[{"photo_id":"1394705569","filename":"file1"},{"photo_id":"1394705568","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705569":["hashtag1","hashtag2"]},{"1394705568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705569, 1394705568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.4091055393219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
2025-11-16 01:35:05.355706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/45/image_14112025_23_45_05_2893.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_07_3017.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_10_3796.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_13_2585.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_16_2746.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_19_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/45/image_14112025_23_45_05_2893.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_07_3017.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_10_3796.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_13_2585.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_16_2746.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_19_3686.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":["1394705580","1394705571","1394705579","1394705573","1394705576","1394705572"],"photo_ids_order":["1394705571","1394705572","1394705573","1394705576","1394705579","1394705580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df83e87d0f9d7488f08d2694b8ce8d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1701641756785647534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253369162,"filename":"image_14112025_23_46_19_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c489ee0c0d53206ac96fbaf8d221a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4638030070501089208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253369162,"filename":"image_14112025_23_45_05_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f14a00c1373e8f015339e353897e184.jpg","text":"TemporaryFile(/tmp/multipartBody3291298327941574408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253369162,"filename":"image_14112025_23_46_16_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44ba5b25f47e79aa58aa70b7d59f0350.jpg","text":"TemporaryFile(/tmp/multipartBody7968695513675068288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253369162,"filename":"image_14112025_23_46_10_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c2d8d05decc6ccbbb0de21a26062e08.jpg","text":"TemporaryFile(/tmp/multipartBody401061378978217321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253369162,"filename":"image_14112025_23_46_13_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e8e59b8a36973cc7ccc1c9af319bc1c.jpg","text":"TemporaryFile(/tmp/multipartBody4455516383922184653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253369162,"filename":"image_14112025_23_46_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705573","file1":"1394705572","file0":"1394705571","file4":"1394705579","file5":"1394705580","file3":"1394705576"},"map_files_photo_id_array":[{"photo_id":"1394705580","filename":"file5"},{"photo_id":"1394705573","filename":"file2"},{"photo_id":"1394705579","filename":"file4"},{"photo_id":"1394705572","filename":"file1"},{"photo_id":"1394705571","filename":"file0"},{"photo_id":"1394705576","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705580":["hashtag1","hashtag2"]},{"1394705571":["hashtag1","hashtag2"]},{"1394705579":["hashtag1","hashtag2"]},{"1394705573":["hashtag1","hashtag2"]},{"1394705576":["hashtag1","hashtag2"]},{"1394705572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705580, 1394705571, 1394705579, 1394705573, 1394705576, 1394705572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76216506958008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:36:02.592713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
  port_id : 28415545
  datou_current_id : 4030103
in upload_from_sqlite, uploading in 28415545
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_58_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4030103&datou=0
/home/pi/Desktop/images/11112025/23/59/image_11112025_23_59_58_3790.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705582"],"photo_id":"1394705582","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62a833eb3ddf6829ae4970627a63d4d6.jpg","text":"TemporaryFile(/tmp/multipartBody4988960243350462809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253423703,"filename":"image_11112025_23_59_58_3790.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394705582"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394705582"}],"hashtags":[],"portfolio_id":"28415545","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.997973203659058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:36:22.053089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/33/image_16112025_01_33_24_2620.jpg', '/home/pi/Desktop/images/16112025/01/34/image_16112025_01_34_56_9993.jpg', '/home/pi/Desktop/images/16112025/01/34/image_16112025_01_34_59_1729.jpg', '/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_09_3015.jpg', '/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_13_3629.jpg', '/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_18_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/33/image_16112025_01_33_24_2620.jpg
/home/pi/Desktop/images/16112025/01/34/image_16112025_01_34_56_9993.jpg
/home/pi/Desktop/images/16112025/01/34/image_16112025_01_34_59_1729.jpg
/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_09_3015.jpg
/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_13_3629.jpg
/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_18_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705592","1394705589","1394705588","1394705590","1394705593","1394705587"],"photo_ids_order":["1394705587","1394705588","1394705589","1394705590","1394705592","1394705593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f62cced43c63e85d58b051b6cc2f7f42.jpg","text":"TemporaryFile(/tmp/multipartBody9101115646210437704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253442741,"filename":"image_16112025_01_36_13_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ba85dc648abf8feea0de7ac71e75a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6696136386086803677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253442741,"filename":"image_16112025_01_34_59_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd70c0c6aa85ec1f467c35a24b56ae01.jpg","text":"TemporaryFile(/tmp/multipartBody1256908061929638581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253442741,"filename":"image_16112025_01_34_56_9993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74b70af19d897884a7f6391011bdc0b3.jpg","text":"TemporaryFile(/tmp/multipartBody6253669462996981586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253442741,"filename":"image_16112025_01_36_09_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba3b718d6e5bcc2a1a103f045b9555d2.jpg","text":"TemporaryFile(/tmp/multipartBody5881909697924266818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253442741,"filename":"image_16112025_01_36_18_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e01077c4a44748291d2e4e41e5947ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1932420138562042574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253442741,"filename":"image_16112025_01_33_24_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705589","file1":"1394705588","file0":"1394705587","file4":"1394705592","file5":"1394705593","file3":"1394705590"},"map_files_photo_id_array":[{"photo_id":"1394705593","filename":"file5"},{"photo_id":"1394705589","filename":"file2"},{"photo_id":"1394705592","filename":"file4"},{"photo_id":"1394705588","filename":"file1"},{"photo_id":"1394705587","filename":"file0"},{"photo_id":"1394705590","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705592":["hashtag1","hashtag2"]},{"1394705589":["hashtag1","hashtag2"]},{"1394705588":["hashtag1","hashtag2"]},{"1394705590":["hashtag1","hashtag2"]},{"1394705593":["hashtag1","hashtag2"]},{"1394705587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705592, 1394705589, 1394705588, 1394705590, 1394705593, 1394705587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59652018547058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:37:02.985569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_22_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_22_3720.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705596"],"photo_id":"1394705596","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15f90a92eff5bac15542f4cf98598ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5934737484160765014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253483523,"filename":"image_16112025_01_36_22_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394705596"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394705596"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.041507244110107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:37:22.291399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_25_2601.jpg', '/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_04_2525.jpg', '/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_13_2690.jpg', '/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_28_3655.jpg', '/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_33_2708.jpg', '/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_43_2937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/36/image_16112025_01_36_25_2601.jpg
/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_04_2525.jpg
/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_13_2690.jpg
/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_28_3655.jpg
/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_33_2708.jpg
/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_43_2937.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705602","1394705611","1394705610","1394705612","1394705606","1394705609"],"photo_ids_order":["1394705602","1394705606","1394705609","1394705610","1394705611","1394705612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa42c9564b28b46014243fd024ac4512.jpg","text":"TemporaryFile(/tmp/multipartBody5332055736199202778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253502993,"filename":"image_16112025_01_36_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/11/16/4b60607c21a4362cd6ffc572242aaaee.jpg","text":"TemporaryFile(/tmp/multipartBody5438474634459652132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253502993,"filename":"image_16112025_01_37_33_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abde65abf7cf49a4d53072b56e7d757f.jpg","text":"TemporaryFile(/tmp/multipartBody8288225140464307868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253502993,"filename":"image_16112025_01_37_28_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e49e605717a8490d1305f0c6a195ad20.jpg","text":"TemporaryFile(/tmp/multipartBody7737008988804541258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253502993,"filename":"image_16112025_01_37_43_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f39d273abd9061e7978f3c616b4285c9.jpg","text":"TemporaryFile(/tmp/multipartBody8983916343543787984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253502993,"filename":"image_16112025_01_37_04_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77c56055a6f95b5029fae595be5c7964.jpg","text":"TemporaryFile(/tmp/multipartBody5830142349373923297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253502993,"filename":"image_16112025_01_37_13_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705609","file1":"1394705606","file0":"1394705602","file4":"1394705611","file5":"1394705612","file3":"1394705610"},"map_files_photo_id_array":[{"photo_id":"1394705612","filename":"file5"},{"photo_id":"1394705609","filename":"file2"},{"photo_id":"1394705611","filename":"file4"},{"photo_id":"1394705606","filename":"file1"},{"photo_id":"1394705602","filename":"file0"},{"photo_id":"1394705610","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705602":["hashtag1","hashtag2"]},{"1394705611":["hashtag1","hashtag2"]},{"1394705610":["hashtag1","hashtag2"]},{"1394705612":["hashtag1","hashtag2"]},{"1394705606":["hashtag1","hashtag2"]},{"1394705609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705602, 1394705611, 1394705610, 1394705612, 1394705606, 1394705609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3410108089447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:38:02.944080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_45_2642.jpg', '/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_48_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_45_2642.jpg
/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_48_2788.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705614","1394705613"],"photo_ids_order":["1394705613","1394705614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cb68a9876f08ae6ff3bdbf715056d7b.jpg","text":"TemporaryFile(/tmp/multipartBody5195787604367269957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253543506,"filename":"image_16112025_01_37_48_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b693c0a80fdaae4b99c1f466009f9ff.jpg","text":"TemporaryFile(/tmp/multipartBody1176323167561500165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253543506,"filename":"image_16112025_01_37_45_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394705614","file0":"1394705613"},"map_files_photo_id_array":[{"photo_id":"1394705614","filename":"file1"},{"photo_id":"1394705613","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705614":["hashtag1","hashtag2"]},{"1394705613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705614, 1394705613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.362801790237427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:38:22.447423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_52_3644.jpg', '/home/pi/Desktop/images/16112025/01/38/image_16112025_01_38_06_2655.jpg', '/home/pi/Desktop/images/16112025/01/38/image_16112025_01_38_19_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/37/image_16112025_01_37_52_3644.jpg
/home/pi/Desktop/images/16112025/01/38/image_16112025_01_38_06_2655.jpg
/home/pi/Desktop/images/16112025/01/38/image_16112025_01_38_19_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705617","1394705619","1394705621"],"photo_ids_order":["1394705617","1394705619","1394705621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/180d93c0cd7e03b930b24d4df8b346b9.jpg","text":"TemporaryFile(/tmp/multipartBody5359411553462790290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253563009,"filename":"image_16112025_01_37_52_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56b79332540dcfbf5a3fc5aaa23f8cac.jpg","text":"TemporaryFile(/tmp/multipartBody4906383802492214351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253563009,"filename":"image_16112025_01_38_06_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3b2e2f46633f4f7cce8d80aba37d0c0.jpg","text":"TemporaryFile(/tmp/multipartBody8175869374699978829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253563009,"filename":"image_16112025_01_38_19_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705621","file1":"1394705619","file0":"1394705617"},"map_files_photo_id_array":[{"photo_id":"1394705621","filename":"file2"},{"photo_id":"1394705619","filename":"file1"},{"photo_id":"1394705617","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705617":["hashtag1","hashtag2"]},{"1394705619":["hashtag1","hashtag2"]},{"1394705621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705617, 1394705619, 1394705621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.57461714744568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:39:03.853002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
  port_id : 28437457
  datou_current_id : 4033881
in upload_from_sqlite, uploading in 28437457
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12112025/23/58/image_12112025_23_58_47_2726.jpg', '/home/pi/Desktop/images/12112025/23/58/image_12112025_23_58_53_3659.jpg', '/home/pi/Desktop/images/12112025/23/58/image_12112025_23_58_56_2601.jpg', '/home/pi/Desktop/images/12112025/23/58/image_12112025_23_58_58_2684.jpg', '/home/pi/Desktop/images/12112025/23/59/image_12112025_23_59_02_3671.jpg', '/home/pi/Desktop/images/12112025/23/59/image_12112025_23_59_05_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4033881&datou=0
/home/pi/Desktop/images/12112025/23/58/image_12112025_23_58_47_2726.jpg
/home/pi/Desktop/images/12112025/23/58/image_12112025_23_58_53_3659.jpg
/home/pi/Desktop/images/12112025/23/58/image_12112025_23_58_56_2601.jpg
/home/pi/Desktop/images/12112025/23/58/image_12112025_23_58_58_2684.jpg
/home/pi/Desktop/images/12112025/23/59/image_12112025_23_59_02_3671.jpg
/home/pi/Desktop/images/12112025/23/59/image_12112025_23_59_05_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705632","1394705629","1394705634","1394705628","1394705636","1394705630"],"photo_ids_order":["1394705628","1394705629","1394705630","1394705632","1394705634","1394705636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb2355990b169b44d78a11941c541fed.jpg","text":"TemporaryFile(/tmp/multipartBody192599446263565662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253605533,"filename":"image_12112025_23_58_58_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2659e98c3cd595985154ad37b5f73589.jpg","text":"TemporaryFile(/tmp/multipartBody5125103854272945472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253605533,"filename":"image_12112025_23_58_53_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef51ed0c66bd91ec9cea6da689fd13be.jpg","text":"TemporaryFile(/tmp/multipartBody4051301305481385336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253605533,"filename":"image_12112025_23_59_02_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b1da6bc904beffeaf967687df09a2fe.jpg","text":"TemporaryFile(/tmp/multipartBody4935360955801688479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253605533,"filename":"image_12112025_23_58_47_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc590b722d61a4472c53717b698ced85.jpg","text":"TemporaryFile(/tmp/multipartBody5739484943765257598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253605533,"filename":"image_12112025_23_59_05_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ad8280c508e2f8650f573abe1e176d2.jpg","text":"TemporaryFile(/tmp/multipartBody2272263867510632688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253605533,"filename":"image_12112025_23_58_56_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705630","file1":"1394705629","file0":"1394705628","file4":"1394705634","file5":"1394705636","file3":"1394705632"},"map_files_photo_id_array":[{"photo_id":"1394705636","filename":"file5"},{"photo_id":"1394705630","filename":"file2"},{"photo_id":"1394705634","filename":"file4"},{"photo_id":"1394705629","filename":"file1"},{"photo_id":"1394705628","filename":"file0"},{"photo_id":"1394705632","filename":"file3"}],"portfolio_id":28437457,"hashtag_by_photo_ids":[{"1394705632":["hashtag1","hashtag2"]},{"1394705629":["hashtag1","hashtag2"]},{"1394705634":["hashtag1","hashtag2"]},{"1394705628":["hashtag1","hashtag2"]},{"1394705636":["hashtag1","hashtag2"]},{"1394705630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28437457 used, photo_id : ArrayBuffer(1394705632, 1394705629, 1394705634, 1394705628, 1394705636, 1394705630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46865248680115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:39:42.761290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/38/image_16112025_01_38_24_2665.jpg', '/home/pi/Desktop/images/16112025/01/39/image_16112025_01_39_39_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/38/image_16112025_01_38_24_2665.jpg
/home/pi/Desktop/images/16112025/01/39/image_16112025_01_39_39_2699.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705641","1394705642"],"photo_ids_order":["1394705641","1394705642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6c8911f0abfa3f9164ef056aa727162.jpg","text":"TemporaryFile(/tmp/multipartBody4553279552794177520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253643282,"filename":"image_16112025_01_38_24_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca34ae74c5de4d8f847954da5117fd29.jpg","text":"TemporaryFile(/tmp/multipartBody1444403377731974924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253643282,"filename":"image_16112025_01_39_39_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394705642","file0":"1394705641"},"map_files_photo_id_array":[{"photo_id":"1394705642","filename":"file1"},{"photo_id":"1394705641","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705641":["hashtag1","hashtag2"]},{"1394705642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705641, 1394705642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.169908046722412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:40:02.474917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_22_2718.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_25_2588.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_28_3767.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_31_2207.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_34_3005.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_37_3807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_22_2718.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_25_2588.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_28_3767.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_31_2207.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_34_3005.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_37_3807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705653","1394705647","1394705643","1394705645","1394705650","1394705644"],"photo_ids_order":["1394705643","1394705644","1394705645","1394705647","1394705650","1394705653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8922e19b3d04eec78f5153d5b99992e.jpg","text":"TemporaryFile(/tmp/multipartBody6631709523344889983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253664364,"filename":"image_14112025_23_46_37_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fb830fd439882cc3e6b7b33fe1faaf6.jpg","text":"TemporaryFile(/tmp/multipartBody3072943305598854925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253664364,"filename":"image_14112025_23_46_31_2207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/498ec73e769dac4e0ee6ab24c8144c88.jpg","text":"TemporaryFile(/tmp/multipartBody5270951157323090132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253664364,"filename":"image_14112025_23_46_22_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2d07a8db2eabeb5249a4389b70de0ae.jpg","text":"TemporaryFile(/tmp/multipartBody1815676938156926449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253664364,"filename":"image_14112025_23_46_28_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f15a28b639ff9cd47a67ffd986bbcd4.jpg","text":"TemporaryFile(/tmp/multipartBody7210241547347191542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253664364,"filename":"image_14112025_23_46_34_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a728c113bf0f08e3d9a9fb19fe056503.jpg","text":"TemporaryFile(/tmp/multipartBody5595827476372257312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253664364,"filename":"image_14112025_23_46_25_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705645","file1":"1394705644","file0":"1394705643","file4":"1394705650","file5":"1394705653","file3":"1394705647"},"map_files_photo_id_array":[{"photo_id":"1394705653","filename":"file5"},{"photo_id":"1394705645","filename":"file2"},{"photo_id":"1394705650","filename":"file4"},{"photo_id":"1394705644","filename":"file1"},{"photo_id":"1394705643","filename":"file0"},{"photo_id":"1394705647","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705653":["hashtag1","hashtag2"]},{"1394705647":["hashtag1","hashtag2"]},{"1394705643":["hashtag1","hashtag2"]},{"1394705645":["hashtag1","hashtag2"]},{"1394705650":["hashtag1","hashtag2"]},{"1394705644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705653, 1394705647, 1394705643, 1394705645, 1394705650, 1394705644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.070592403411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:40:42.077727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_40_2559.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_43_2593.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_46_3574.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_49_2583.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_52_3678.jpg', '/home/pi/Desktop/images/14112025/23/46/image_14112025_23_47_01_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_40_2559.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_43_2593.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_46_3574.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_49_2583.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_46_52_3678.jpg
/home/pi/Desktop/images/14112025/23/46/image_14112025_23_47_01_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705656","1394705661","1394705658","1394705660","1394705657","1394705659"],"photo_ids_order":["1394705656","1394705657","1394705658","1394705659","1394705660","1394705661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eeaed7513054ae2fafbd3d70895eec76.jpg","text":"TemporaryFile(/tmp/multipartBody3270048882923463887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253703112,"filename":"image_14112025_23_46_40_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e40ccccdba3f0b6e7cd830d2b88dde95.jpg","text":"TemporaryFile(/tmp/multipartBody3044034132160656759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253703112,"filename":"image_14112025_23_47_01_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7414dea24628b0ad06ad2f5009165fb9.jpg","text":"TemporaryFile(/tmp/multipartBody4548423569769572658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253703112,"filename":"image_14112025_23_46_46_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/239854c8d91c7aada7347ddf9b7d5856.jpg","text":"TemporaryFile(/tmp/multipartBody3097137631731088107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253703112,"filename":"image_14112025_23_46_52_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/894732e6ee35fdb0204f905cd1d262a4.jpg","text":"TemporaryFile(/tmp/multipartBody8016773623879634079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253703112,"filename":"image_14112025_23_46_43_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69c0d2c06a029b4d27120e421e5d21a6.jpg","text":"TemporaryFile(/tmp/multipartBody8553425382620478281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253703112,"filename":"image_14112025_23_46_49_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705658","file1":"1394705657","file0":"1394705656","file4":"1394705660","file5":"1394705661","file3":"1394705659"},"map_files_photo_id_array":[{"photo_id":"1394705661","filename":"file5"},{"photo_id":"1394705658","filename":"file2"},{"photo_id":"1394705660","filename":"file4"},{"photo_id":"1394705657","filename":"file1"},{"photo_id":"1394705656","filename":"file0"},{"photo_id":"1394705659","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705656":["hashtag1","hashtag2"]},{"1394705661":["hashtag1","hashtag2"]},{"1394705658":["hashtag1","hashtag2"]},{"1394705660":["hashtag1","hashtag2"]},{"1394705657":["hashtag1","hashtag2"]},{"1394705659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705656, 1394705661, 1394705658, 1394705660, 1394705657, 1394705659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91614651679993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:41:22.402237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_13_2584.jpg', '/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_17_4745.jpg', '/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_31_13558.jpg', '/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_33_1658.jpg', '/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_43_10115.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_15_31997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_13_2584.jpg
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_17_4745.jpg
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_31_13558.jpg
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_33_1658.jpg
/home/pi/Desktop/images/06112025/13/54/image_06112025_13_54_43_10115.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_15_31997.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705674","1394705668","1394705670","1394705672","1394705675","1394705665"],"photo_ids_order":["1394705665","1394705668","1394705670","1394705672","1394705674","1394705675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ba86804ba6b6d6e9ef5d44046e9fb50.jpg","text":"TemporaryFile(/tmp/multipartBody5697323162986717825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253743335,"filename":"image_06112025_13_54_43_10115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/493a15ed73ccbdcf1112d8ce08e13267.jpg","text":"TemporaryFile(/tmp/multipartBody5405405200850391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253743335,"filename":"image_06112025_13_54_17_4745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fce896f4d04edeca928a9ad97573e30.jpg","text":"TemporaryFile(/tmp/multipartBody5104553141906215210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253743335,"filename":"image_06112025_13_54_31_13558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab469d3f484d486eeae4da70d842fec3.jpg","text":"TemporaryFile(/tmp/multipartBody3525267885761577938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253743335,"filename":"image_06112025_13_54_33_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fb423a96eb52b87caefc257bf5d7629.jpg","text":"TemporaryFile(/tmp/multipartBody164425664873667758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253743335,"filename":"image_06112025_13_55_15_31997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4250963e5ef40d3ae05999ac07636fc6.jpg","text":"TemporaryFile(/tmp/multipartBody7897673445037190821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253743335,"filename":"image_06112025_13_54_13_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705670","file1":"1394705668","file0":"1394705665","file4":"1394705674","file5":"1394705675","file3":"1394705672"},"map_files_photo_id_array":[{"photo_id":"1394705675","filename":"file5"},{"photo_id":"1394705670","filename":"file2"},{"photo_id":"1394705674","filename":"file4"},{"photo_id":"1394705668","filename":"file1"},{"photo_id":"1394705665","filename":"file0"},{"photo_id":"1394705672","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394705674":["hashtag1","hashtag2"]},{"1394705668":["hashtag1","hashtag2"]},{"1394705670":["hashtag1","hashtag2"]},{"1394705672":["hashtag1","hashtag2"]},{"1394705675":["hashtag1","hashtag2"]},{"1394705665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394705674, 1394705668, 1394705670, 1394705672, 1394705675, 1394705665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26322031021118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:42:02.948981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_07_2648.jpg', '/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_11_4847.jpg', '/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_13_1716.jpg', '/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_16_2670.jpg', '/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_19_2665.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_07_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_07_2648.jpg
/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_11_4847.jpg
/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_13_1716.jpg
/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_16_2670.jpg
/home/pi/Desktop/images/14112025/23/47/image_14112025_23_47_19_2665.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_07_3014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705676","1394705679","1394705684","1394705678","1394705681","1394705677"],"photo_ids_order":["1394705676","1394705677","1394705678","1394705679","1394705681","1394705684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20eec5d70180742f4819fe76dd6399b5.jpg","text":"TemporaryFile(/tmp/multipartBody8990766228609028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253784834,"filename":"image_14112025_23_47_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/11/16/68a01b7b727663f65af87955550ef112.jpg","text":"TemporaryFile(/tmp/multipartBody812270552215406513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253784834,"filename":"image_14112025_23_47_16_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1913179ad110358877c6b345f23d3be.jpg","text":"TemporaryFile(/tmp/multipartBody8738229156536412694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253784834,"filename":"image_14112025_23_48_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/11/16/f1efeb2e91f65a3124ae4e368b83f0c7.jpg","text":"TemporaryFile(/tmp/multipartBody8488320725902483340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253784834,"filename":"image_14112025_23_47_13_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2932e173809d2ad710602e8b0b782fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6470262920577624081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253784834,"filename":"image_14112025_23_47_19_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffa19413f7a57305497c5386a42702a8.jpg","text":"TemporaryFile(/tmp/multipartBody8042123396429641057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253784834,"filename":"image_14112025_23_47_11_4847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705678","file1":"1394705677","file0":"1394705676","file4":"1394705681","file5":"1394705684","file3":"1394705679"},"map_files_photo_id_array":[{"photo_id":"1394705684","filename":"file5"},{"photo_id":"1394705678","filename":"file2"},{"photo_id":"1394705681","filename":"file4"},{"photo_id":"1394705677","filename":"file1"},{"photo_id":"1394705676","filename":"file0"},{"photo_id":"1394705679","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705676":["hashtag1","hashtag2"]},{"1394705679":["hashtag1","hashtag2"]},{"1394705684":["hashtag1","hashtag2"]},{"1394705678":["hashtag1","hashtag2"]},{"1394705681":["hashtag1","hashtag2"]},{"1394705677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705676, 1394705679, 1394705684, 1394705678, 1394705681, 1394705677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.159098863601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:42:42.495347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_11_3730.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_13_2732.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_16_2708.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_20_3699.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_22_2617.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_25_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_11_3730.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_13_2732.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_16_2708.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_20_3699.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_22_2617.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_25_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705691","1394705694","1394705690","1394705693","1394705695","1394705692"],"photo_ids_order":["1394705690","1394705691","1394705692","1394705693","1394705694","1394705695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc73c751f1ba4bbdfacfe62bb425e54e.jpg","text":"TemporaryFile(/tmp/multipartBody1128255805114666032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253823550,"filename":"image_14112025_23_48_13_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/858342645548a81569e8b42d7d24f820.jpg","text":"TemporaryFile(/tmp/multipartBody4659313867551241160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253823550,"filename":"image_14112025_23_48_22_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d418f1ec068d692b4aaa63ba58e998a.jpg","text":"TemporaryFile(/tmp/multipartBody2431525737337003523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253823550,"filename":"image_14112025_23_48_11_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfb5cea677fe443c8928d69098c3deca.jpg","text":"TemporaryFile(/tmp/multipartBody3906694571964205313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253823550,"filename":"image_14112025_23_48_20_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d719281cb6dc1ab3540da3c903a693b9.jpg","text":"TemporaryFile(/tmp/multipartBody3502310061011494265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253823550,"filename":"image_14112025_23_48_25_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90658a21fb27b2bae32af80a052fed2a.jpg","text":"TemporaryFile(/tmp/multipartBody703426484722664978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253823550,"filename":"image_14112025_23_48_16_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705692","file1":"1394705691","file0":"1394705690","file4":"1394705694","file5":"1394705695","file3":"1394705693"},"map_files_photo_id_array":[{"photo_id":"1394705695","filename":"file5"},{"photo_id":"1394705692","filename":"file2"},{"photo_id":"1394705694","filename":"file4"},{"photo_id":"1394705691","filename":"file1"},{"photo_id":"1394705690","filename":"file0"},{"photo_id":"1394705693","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705691":["hashtag1","hashtag2"]},{"1394705694":["hashtag1","hashtag2"]},{"1394705690":["hashtag1","hashtag2"]},{"1394705693":["hashtag1","hashtag2"]},{"1394705695":["hashtag1","hashtag2"]},{"1394705692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705691, 1394705694, 1394705690, 1394705693, 1394705695, 1394705692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.630645990371704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:43:22.839191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_16_1546.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_18_1557.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_21_1682.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_23_1638.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_35_12361.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_37_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_16_1546.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_18_1557.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_21_1682.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_23_1638.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_35_12361.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_37_1620.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.8087179660797119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:43:42.816044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_29_3663.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_31_2579.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_34_2601.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_37_3643.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_40_2559.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_43_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_29_3663.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_31_2579.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_34_2601.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_37_3643.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_40_2559.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_43_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705704","1394705706","1394705703","1394705702","1394705705","1394705708"],"photo_ids_order":["1394705702","1394705703","1394705704","1394705705","1394705706","1394705708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5665a04350d585b84923c3d8b75a9f53.jpg","text":"TemporaryFile(/tmp/multipartBody5344996936646911383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253883854,"filename":"image_14112025_23_48_34_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/726bafaf0052a8d6c6693b2b07039b9e.jpg","text":"TemporaryFile(/tmp/multipartBody2274614206971599462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253883854,"filename":"image_14112025_23_48_40_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35c29d6af204d1d9c5614fb0b33e3cca.jpg","text":"TemporaryFile(/tmp/multipartBody3713458798758491413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253883854,"filename":"image_14112025_23_48_31_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02d8af098c05dc8ec57c66a73f663f83.jpg","text":"TemporaryFile(/tmp/multipartBody4770005193432236629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253883854,"filename":"image_14112025_23_48_29_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a58de361cbe0ea15e7f837673d1d4ded.jpg","text":"TemporaryFile(/tmp/multipartBody3241418042497449110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253883854,"filename":"image_14112025_23_48_37_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/504dec70da2531c7090031537b3fd45b.jpg","text":"TemporaryFile(/tmp/multipartBody4105344649878186620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253883854,"filename":"image_14112025_23_48_43_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705704","file1":"1394705703","file0":"1394705702","file4":"1394705706","file5":"1394705708","file3":"1394705705"},"map_files_photo_id_array":[{"photo_id":"1394705708","filename":"file5"},{"photo_id":"1394705704","filename":"file2"},{"photo_id":"1394705706","filename":"file4"},{"photo_id":"1394705703","filename":"file1"},{"photo_id":"1394705702","filename":"file0"},{"photo_id":"1394705705","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705704":["hashtag1","hashtag2"]},{"1394705706":["hashtag1","hashtag2"]},{"1394705703":["hashtag1","hashtag2"]},{"1394705702":["hashtag1","hashtag2"]},{"1394705705":["hashtag1","hashtag2"]},{"1394705708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705704, 1394705706, 1394705703, 1394705702, 1394705705, 1394705708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74120235443115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:44:22.082990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_16_1546.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_18_1557.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_21_1682.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_23_1638.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_35_12361.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_37_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_16_1546.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_18_1557.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_21_1682.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_23_1638.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_35_12361.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_37_1620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705713","1394705716","1394705719","1394705718","1394705717","1394705711"],"photo_ids_order":["1394705711","1394705713","1394705716","1394705717","1394705718","1394705719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5011d336450a8a3dbe6ca7c21d1a204.jpg","text":"TemporaryFile(/tmp/multipartBody1169867803065739992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253922851,"filename":"image_06112025_13_55_18_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce8cf08677555e165c15ef287de96cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8273112274443392390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253922851,"filename":"image_06112025_13_55_21_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/580aaf1021f1a65c3bb061cd97db336c.jpg","text":"TemporaryFile(/tmp/multipartBody9151271222885111282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253922851,"filename":"image_06112025_13_55_37_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5960afb73f0763f92cd7c093a5718b33.jpg","text":"TemporaryFile(/tmp/multipartBody3516380725420853440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253922851,"filename":"image_06112025_13_55_35_12361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3518ebb71b5444037173aa182c503d8.jpg","text":"TemporaryFile(/tmp/multipartBody2573041467475806865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253922851,"filename":"image_06112025_13_55_23_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec9ac9bd55604476efc0e68f5b677e93.jpg","text":"TemporaryFile(/tmp/multipartBody3005357470970938214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253922851,"filename":"image_06112025_13_55_16_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705716","file1":"1394705713","file0":"1394705711","file4":"1394705718","file5":"1394705719","file3":"1394705717"},"map_files_photo_id_array":[{"photo_id":"1394705719","filename":"file5"},{"photo_id":"1394705716","filename":"file2"},{"photo_id":"1394705718","filename":"file4"},{"photo_id":"1394705713","filename":"file1"},{"photo_id":"1394705711","filename":"file0"},{"photo_id":"1394705717","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394705713":["hashtag1","hashtag2"]},{"1394705716":["hashtag1","hashtag2"]},{"1394705719":["hashtag1","hashtag2"]},{"1394705718":["hashtag1","hashtag2"]},{"1394705717":["hashtag1","hashtag2"]},{"1394705711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394705713, 1394705716, 1394705719, 1394705718, 1394705717, 1394705711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.537102460861206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:45:03.107847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_47_3745.jpg', '/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_49_2586.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_07_3011.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_15_1590.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_17_2633.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_21_3839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_47_3745.jpg
/home/pi/Desktop/images/14112025/23/48/image_14112025_23_48_49_2586.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_07_3011.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_15_1590.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_17_2633.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_21_3839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705722","1394705724","1394705727","1394705721","1394705729","1394705720"],"photo_ids_order":["1394705720","1394705721","1394705722","1394705724","1394705727","1394705729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7029de07b52c37aefc29dd957a1ad69.jpg","text":"TemporaryFile(/tmp/multipartBody1092834221658373732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253965092,"filename":"image_14112025_23_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/11/16/74edb18729cea503d04f1bfbaf71aa31.jpg","text":"TemporaryFile(/tmp/multipartBody8390859021374247339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253965092,"filename":"image_14112025_23_50_15_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42090b579850de98560eee9a3e0de681.jpg","text":"TemporaryFile(/tmp/multipartBody9123815817907787200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253965092,"filename":"image_14112025_23_50_17_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da1b76f24f0da640818e0ad6fee0398a.jpg","text":"TemporaryFile(/tmp/multipartBody1544347167615025562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253965092,"filename":"image_14112025_23_48_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/11/16/f3f7a2f9bd873a640213b0b60536d7e6.jpg","text":"TemporaryFile(/tmp/multipartBody8129901849020832355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253965092,"filename":"image_14112025_23_50_21_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fc5c657ed7741522f68760b50f5ce60.jpg","text":"TemporaryFile(/tmp/multipartBody7984698248119584132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763253965092,"filename":"image_14112025_23_48_47_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705722","file1":"1394705721","file0":"1394705720","file4":"1394705727","file5":"1394705729","file3":"1394705724"},"map_files_photo_id_array":[{"photo_id":"1394705729","filename":"file5"},{"photo_id":"1394705722","filename":"file2"},{"photo_id":"1394705727","filename":"file4"},{"photo_id":"1394705721","filename":"file1"},{"photo_id":"1394705720","filename":"file0"},{"photo_id":"1394705724","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705722":["hashtag1","hashtag2"]},{"1394705724":["hashtag1","hashtag2"]},{"1394705727":["hashtag1","hashtag2"]},{"1394705721":["hashtag1","hashtag2"]},{"1394705729":["hashtag1","hashtag2"]},{"1394705720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705722, 1394705724, 1394705727, 1394705721, 1394705729, 1394705720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.053542137145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:45:42.348705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/39/image_16112025_01_39_48_2840.jpg', '/home/pi/Desktop/images/16112025/01/45/image_16112025_01_45_51_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/39/image_16112025_01_39_48_2840.jpg
/home/pi/Desktop/images/16112025/01/45/image_16112025_01_45_51_2778.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705731","1394705730"],"photo_ids_order":["1394705730","1394705731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6ce1f724f33439642e031536fc839b5.jpg","text":"TemporaryFile(/tmp/multipartBody2274699451945717034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254002865,"filename":"image_16112025_01_45_51_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bc6b1b1aa544c36ee90adf1a8e17097.jpg","text":"TemporaryFile(/tmp/multipartBody2335102109741227944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254002865,"filename":"image_16112025_01_39_48_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394705731","file0":"1394705730"},"map_files_photo_id_array":[{"photo_id":"1394705731","filename":"file1"},{"photo_id":"1394705730","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705731":["hashtag1","hashtag2"]},{"1394705730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705731, 1394705730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.565738677978516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:46:02.925095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_23_1626.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_35_12751.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_37_1654.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_39_1625.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_40_1603.jpg', '/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_42_1843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_23_1626.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_35_12751.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_37_1654.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_39_1625.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_40_1603.jpg
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_42_1843.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705734","1394705733","1394705732","1394705741","1394705735","1394705738"],"photo_ids_order":["1394705732","1394705733","1394705734","1394705735","1394705738","1394705741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce66599c6f314471671832400e173f73.jpg","text":"TemporaryFile(/tmp/multipartBody423627176367808155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254024818,"filename":"image_14112025_23_50_37_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2e03a99c86c580680d5ddb798bbd544.jpg","text":"TemporaryFile(/tmp/multipartBody1625800849588979135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254024818,"filename":"image_14112025_23_50_35_12751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c77d9e2a437c324fefd6a017ad1c52c2.jpg","text":"TemporaryFile(/tmp/multipartBody2764511310468458156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254024818,"filename":"image_14112025_23_50_23_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32d28892723abd5f40ae67836e87661a.jpg","text":"TemporaryFile(/tmp/multipartBody8163908894495657769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254024818,"filename":"image_14112025_23_50_42_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37120d00f82b57edce38130bc319d6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5540837510605423362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254024818,"filename":"image_14112025_23_50_39_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88be87e2ffec38a5fb092e14fa0a00b0.jpg","text":"TemporaryFile(/tmp/multipartBody7724762025838345240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254024818,"filename":"image_14112025_23_50_40_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705734","file1":"1394705733","file0":"1394705732","file4":"1394705738","file5":"1394705741","file3":"1394705735"},"map_files_photo_id_array":[{"photo_id":"1394705741","filename":"file5"},{"photo_id":"1394705734","filename":"file2"},{"photo_id":"1394705738","filename":"file4"},{"photo_id":"1394705733","filename":"file1"},{"photo_id":"1394705732","filename":"file0"},{"photo_id":"1394705735","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705734":["hashtag1","hashtag2"]},{"1394705733":["hashtag1","hashtag2"]},{"1394705732":["hashtag1","hashtag2"]},{"1394705741":["hashtag1","hashtag2"]},{"1394705735":["hashtag1","hashtag2"]},{"1394705738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705734, 1394705733, 1394705732, 1394705741, 1394705735, 1394705738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.991633892059326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:46:42.507365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/45/image_16112025_01_46_00_2654.jpg', '/home/pi/Desktop/images/16112025/01/46/image_16112025_01_46_09_2629.jpg', '/home/pi/Desktop/images/16112025/01/46/image_16112025_01_46_12_3735.jpg', '/home/pi/Desktop/images/16112025/01/46/image_16112025_01_46_15_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/45/image_16112025_01_46_00_2654.jpg
/home/pi/Desktop/images/16112025/01/46/image_16112025_01_46_09_2629.jpg
/home/pi/Desktop/images/16112025/01/46/image_16112025_01_46_12_3735.jpg
/home/pi/Desktop/images/16112025/01/46/image_16112025_01_46_15_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705752","1394705749","1394705751","1394705747"],"photo_ids_order":["1394705747","1394705749","1394705751","1394705752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7562884cc6427929df824482c0f2850.jpg","text":"TemporaryFile(/tmp/multipartBody8366403915887943984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254063104,"filename":"image_16112025_01_46_15_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/765260b8960a6bc5e43b9728cba11cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6414270059305112648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254063104,"filename":"image_16112025_01_46_09_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/110357bf5380405764abd22b6d0ef084.jpg","text":"TemporaryFile(/tmp/multipartBody6380298932546578875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254063104,"filename":"image_16112025_01_46_12_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e88d02af4d6a380630da0080473a05a9.jpg","text":"TemporaryFile(/tmp/multipartBody5852710153775366975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254063104,"filename":"image_16112025_01_46_00_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705751","file1":"1394705749","file0":"1394705747","file3":"1394705752"},"map_files_photo_id_array":[{"photo_id":"1394705751","filename":"file2"},{"photo_id":"1394705749","filename":"file1"},{"photo_id":"1394705747","filename":"file0"},{"photo_id":"1394705752","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705752":["hashtag1","hashtag2"]},{"1394705749":["hashtag1","hashtag2"]},{"1394705751":["hashtag1","hashtag2"]},{"1394705747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705752, 1394705749, 1394705751, 1394705747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.887588262557983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:47:22.773421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/46/image_16112025_01_46_42_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/46/image_16112025_01_46_42_3669.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705756"],"photo_id":"1394705756","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/daf5a1449a3fa5216872937c70da8d81.jpg","text":"TemporaryFile(/tmp/multipartBody1027923637477671468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254103256,"filename":"image_16112025_01_46_42_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394705756"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394705756"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.244532346725464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:47:42.751812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_44_1520.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_07_3011.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_19_12371.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_21_1883.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_23_1600.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_27_4661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/50/image_14112025_23_50_44_1520.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_07_3011.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_19_12371.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_21_1883.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_23_1600.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_27_4661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705766","1394705760","1394705759","1394705762","1394705761","1394705764"],"photo_ids_order":["1394705759","1394705760","1394705761","1394705762","1394705764","1394705766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bbe724a8a1b6567be0ff0d4887ca421.jpg","text":"TemporaryFile(/tmp/multipartBody8701240092186081131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254123779,"filename":"image_14112025_23_52_27_4661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e66b768bd5313a1a54f0003eba1af0e.jpg","text":"TemporaryFile(/tmp/multipartBody6483588223197577873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254123779,"filename":"image_14112025_23_52_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/11/16/8d8b320e26e70be45784eab2f91d09b0.jpg","text":"TemporaryFile(/tmp/multipartBody8449082415716658174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254123779,"filename":"image_14112025_23_50_44_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84ad7b28fe6a06b533b64d699af456b3.jpg","text":"TemporaryFile(/tmp/multipartBody1319996099304576160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254123779,"filename":"image_14112025_23_52_21_1883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44934bfee901f720c215b5acb1e6789b.jpg","text":"TemporaryFile(/tmp/multipartBody2180482576195746840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254123779,"filename":"image_14112025_23_52_19_12371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ddf8adeb4269ed85f6f719ca2bfb734.jpg","text":"TemporaryFile(/tmp/multipartBody3011070652862083994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254123779,"filename":"image_14112025_23_52_23_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705761","file1":"1394705760","file0":"1394705759","file4":"1394705764","file5":"1394705766","file3":"1394705762"},"map_files_photo_id_array":[{"photo_id":"1394705766","filename":"file5"},{"photo_id":"1394705761","filename":"file2"},{"photo_id":"1394705764","filename":"file4"},{"photo_id":"1394705760","filename":"file1"},{"photo_id":"1394705759","filename":"file0"},{"photo_id":"1394705762","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705766":["hashtag1","hashtag2"]},{"1394705760":["hashtag1","hashtag2"]},{"1394705759":["hashtag1","hashtag2"]},{"1394705762":["hashtag1","hashtag2"]},{"1394705761":["hashtag1","hashtag2"]},{"1394705764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705766, 1394705760, 1394705759, 1394705762, 1394705761, 1394705764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21316719055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:48:21.949975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/47/image_16112025_01_47_24_2643.jpg', '/home/pi/Desktop/images/16112025/01/48/image_16112025_01_48_08_2646.jpg', '/home/pi/Desktop/images/16112025/01/48/image_16112025_01_48_54_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/47/image_16112025_01_47_24_2643.jpg
/home/pi/Desktop/images/16112025/01/48/image_16112025_01_48_08_2646.jpg
/home/pi/Desktop/images/16112025/01/48/image_16112025_01_48_54_2511.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705781","1394705778","1394705777"],"photo_ids_order":["1394705777","1394705778","1394705781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b5f100c3aa66c8133549ae40ed0abca.jpg","text":"TemporaryFile(/tmp/multipartBody6949268797899942283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254162548,"filename":"image_16112025_01_48_54_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2029c6a6a9e462606650b292237cbaaa.jpg","text":"TemporaryFile(/tmp/multipartBody2853474203760707485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254162548,"filename":"image_16112025_01_48_08_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b1f562a092dc32769fe66504fcc436a.jpg","text":"TemporaryFile(/tmp/multipartBody2101535698201764796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254162548,"filename":"image_16112025_01_47_24_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705781","file1":"1394705778","file0":"1394705777"},"map_files_photo_id_array":[{"photo_id":"1394705781","filename":"file2"},{"photo_id":"1394705778","filename":"file1"},{"photo_id":"1394705777","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705781":["hashtag1","hashtag2"]},{"1394705778":["hashtag1","hashtag2"]},{"1394705777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705781, 1394705778, 1394705777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.78503942489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:49:03.438209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_39_10071.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_40_1518.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_42_1633.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_44_1807.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_46_1728.jpg', '/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_47_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_39_10071.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_40_1518.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_42_1633.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_44_1807.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_46_1728.jpg
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_47_1652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705793","1394705796","1394705798","1394705789","1394705788","1394705791"],"photo_ids_order":["1394705788","1394705789","1394705791","1394705793","1394705796","1394705798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abe35d39835e5248124de5ed4a47fb44.jpg","text":"TemporaryFile(/tmp/multipartBody213884851775323212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254205529,"filename":"image_14112025_23_52_44_1807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21044eaf4a344609f5a3529977d15dbe.jpg","text":"TemporaryFile(/tmp/multipartBody1958535563003996388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254205529,"filename":"image_14112025_23_52_46_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/247b6084cc816f40270ca3103758548b.jpg","text":"TemporaryFile(/tmp/multipartBody8603247601460593247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254205529,"filename":"image_14112025_23_52_47_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c905582a8e4590d29fe24e6058fb7311.jpg","text":"TemporaryFile(/tmp/multipartBody1194086095486100790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254205529,"filename":"image_14112025_23_52_40_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90d6af35df0e04448dea70c57fecf034.jpg","text":"TemporaryFile(/tmp/multipartBody7860846433514497237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254205529,"filename":"image_14112025_23_52_39_10071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cbd8f666b63eafa7aa158c865a9391e.jpg","text":"TemporaryFile(/tmp/multipartBody2672002021671578194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254205529,"filename":"image_14112025_23_52_42_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705791","file1":"1394705789","file0":"1394705788","file4":"1394705796","file5":"1394705798","file3":"1394705793"},"map_files_photo_id_array":[{"photo_id":"1394705798","filename":"file5"},{"photo_id":"1394705791","filename":"file2"},{"photo_id":"1394705796","filename":"file4"},{"photo_id":"1394705789","filename":"file1"},{"photo_id":"1394705788","filename":"file0"},{"photo_id":"1394705793","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705793":["hashtag1","hashtag2"]},{"1394705796":["hashtag1","hashtag2"]},{"1394705798":["hashtag1","hashtag2"]},{"1394705789":["hashtag1","hashtag2"]},{"1394705788":["hashtag1","hashtag2"]},{"1394705791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705793, 1394705796, 1394705798, 1394705789, 1394705788, 1394705791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61076235771179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:49:42.270959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/48/image_16112025_01_48_56_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/48/image_16112025_01_48_56_2815.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705799"],"photo_id":"1394705799","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/545bcd06907924456c0ae29e475d850f.jpg","text":"TemporaryFile(/tmp/multipartBody9035394353671274941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254242752,"filename":"image_16112025_01_48_56_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394705799"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394705799"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.517293691635132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:50:03.004105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_49_1724.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_07_3106.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_11_3755.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_27_16328.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_29_1545.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_30_1664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/52/image_14112025_23_52_49_1724.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_07_3106.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_11_3755.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_27_16328.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_29_1545.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_30_1664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705812","1394705815","1394705809","1394705800","1394705802","1394705804"],"photo_ids_order":["1394705800","1394705802","1394705804","1394705809","1394705812","1394705815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77799a3141cb28f9326bdb6a17f97823.jpg","text":"TemporaryFile(/tmp/multipartBody4762263893046072486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254264953,"filename":"image_14112025_23_54_29_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/605fcaacafb7dafa2d2de6da6a3c3b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8488350888082632093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254264953,"filename":"image_14112025_23_54_30_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0daa0a524cf8415fcc5609e2629065e9.jpg","text":"TemporaryFile(/tmp/multipartBody4064515659720307825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254264953,"filename":"image_14112025_23_54_27_16328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efa4158bc0931c478a2bcb0986313cee.jpg","text":"TemporaryFile(/tmp/multipartBody6903716505694138550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254264953,"filename":"image_14112025_23_52_49_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cb20fd247551f1cd15c7d8cb99693ea.jpg","text":"TemporaryFile(/tmp/multipartBody2044346161485221430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254264953,"filename":"image_14112025_23_54_07_3106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dec7b05abcd005accf5ce2d8287f3555.jpg","text":"TemporaryFile(/tmp/multipartBody6341233905865208910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254264953,"filename":"image_14112025_23_54_11_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705804","file1":"1394705802","file0":"1394705800","file4":"1394705812","file5":"1394705815","file3":"1394705809"},"map_files_photo_id_array":[{"photo_id":"1394705815","filename":"file5"},{"photo_id":"1394705804","filename":"file2"},{"photo_id":"1394705812","filename":"file4"},{"photo_id":"1394705802","filename":"file1"},{"photo_id":"1394705800","filename":"file0"},{"photo_id":"1394705809","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705812":["hashtag1","hashtag2"]},{"1394705815":["hashtag1","hashtag2"]},{"1394705809":["hashtag1","hashtag2"]},{"1394705800":["hashtag1","hashtag2"]},{"1394705802":["hashtag1","hashtag2"]},{"1394705804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705812, 1394705815, 1394705809, 1394705800, 1394705802, 1394705804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83669185638428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:50:42.510303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/49/image_16112025_01_49_20_2851.jpg', '/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_03_3590.jpg', '/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_08_2686.jpg', '/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_11_2673.jpg', '/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_15_3644.jpg', '/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_27_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/49/image_16112025_01_49_20_2851.jpg
/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_03_3590.jpg
/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_08_2686.jpg
/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_11_2673.jpg
/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_15_3644.jpg
/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_27_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705827","1394705821","1394705823","1394705820","1394705822","1394705825"],"photo_ids_order":["1394705820","1394705821","1394705822","1394705823","1394705825","1394705827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d958ab146e814306f7127f6c690ce564.jpg","text":"TemporaryFile(/tmp/multipartBody1804667803518507583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254303243,"filename":"image_16112025_01_50_27_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eabf6d698f35e73a0bc68299d6bd6d1.jpg","text":"TemporaryFile(/tmp/multipartBody8792191958061462857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254303243,"filename":"image_16112025_01_50_03_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b2686ee53afbad5e5e16d0ad103c7a2.jpg","text":"TemporaryFile(/tmp/multipartBody1070566718645495804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254303243,"filename":"image_16112025_01_50_11_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94921ebc276865b2edc51794325e1b75.jpg","text":"TemporaryFile(/tmp/multipartBody8040702486880268757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254303243,"filename":"image_16112025_01_49_20_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f7fffeb06f59cc44990883d8bcca849.jpg","text":"TemporaryFile(/tmp/multipartBody2287402290390845968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254303243,"filename":"image_16112025_01_50_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/11/16/97bf5466e1eb57e326d56afdc6dbb446.jpg","text":"TemporaryFile(/tmp/multipartBody3658391851432308726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254303243,"filename":"image_16112025_01_50_15_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705822","file1":"1394705821","file0":"1394705820","file4":"1394705825","file5":"1394705827","file3":"1394705823"},"map_files_photo_id_array":[{"photo_id":"1394705827","filename":"file5"},{"photo_id":"1394705822","filename":"file2"},{"photo_id":"1394705825","filename":"file4"},{"photo_id":"1394705821","filename":"file1"},{"photo_id":"1394705820","filename":"file0"},{"photo_id":"1394705823","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705827":["hashtag1","hashtag2"]},{"1394705821":["hashtag1","hashtag2"]},{"1394705823":["hashtag1","hashtag2"]},{"1394705820":["hashtag1","hashtag2"]},{"1394705822":["hashtag1","hashtag2"]},{"1394705825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705827, 1394705821, 1394705823, 1394705820, 1394705822, 1394705825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65724229812622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:51:22.681631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_44_2718.jpg', '/home/pi/Desktop/images/16112025/01/51/image_16112025_01_51_02_2612.jpg', '/home/pi/Desktop/images/16112025/01/51/image_16112025_01_51_12_3542.jpg', '/home/pi/Desktop/images/16112025/01/51/image_16112025_01_51_26_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/50/image_16112025_01_50_44_2718.jpg
/home/pi/Desktop/images/16112025/01/51/image_16112025_01_51_02_2612.jpg
/home/pi/Desktop/images/16112025/01/51/image_16112025_01_51_12_3542.jpg
/home/pi/Desktop/images/16112025/01/51/image_16112025_01_51_26_2533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705839","1394705835","1394705832","1394705837"],"photo_ids_order":["1394705832","1394705835","1394705837","1394705839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89b5a70e3800ac1667457d3abbc4b8c6.jpg","text":"TemporaryFile(/tmp/multipartBody5292210931311942482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254343293,"filename":"image_16112025_01_51_26_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5adefa899ac020745483818bfbb2a381.jpg","text":"TemporaryFile(/tmp/multipartBody8487157265775303379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254343293,"filename":"image_16112025_01_51_02_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3e882ad22a4289212849d33d8c31849.jpg","text":"TemporaryFile(/tmp/multipartBody8214653471662169872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254343293,"filename":"image_16112025_01_50_44_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1639593a2f196b934e857f6aecfe572.jpg","text":"TemporaryFile(/tmp/multipartBody6714667143822455502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254343293,"filename":"image_16112025_01_51_12_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705837","file1":"1394705835","file0":"1394705832","file3":"1394705839"},"map_files_photo_id_array":[{"photo_id":"1394705837","filename":"file2"},{"photo_id":"1394705835","filename":"file1"},{"photo_id":"1394705832","filename":"file0"},{"photo_id":"1394705839","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705839":["hashtag1","hashtag2"]},{"1394705835":["hashtag1","hashtag2"]},{"1394705832":["hashtag1","hashtag2"]},{"1394705837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705839, 1394705835, 1394705832, 1394705837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.779234886169434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:52:02.601822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_35_2553.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_38_1655.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_51_13525.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_55_1668.jpg', '/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_56_1709.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_35_2553.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_38_1655.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_51_13525.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_55_1668.jpg
/home/pi/Desktop/images/14112025/23/54/image_14112025_23_54_56_1709.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705851","1394705845","1394705848","1394705847","1394705844","1394705855"],"photo_ids_order":["1394705844","1394705845","1394705847","1394705848","1394705851","1394705855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/596ad13e99e26881b6f8cb30e80121cd.jpg","text":"TemporaryFile(/tmp/multipartBody2243675727562419659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254384528,"filename":"image_14112025_23_54_56_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9e51681076a987bc40ce3f0279a4831.jpg","text":"TemporaryFile(/tmp/multipartBody4292169519552702918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254384528,"filename":"image_14112025_23_54_38_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47bc95fe0f69c7d9f2f85abc71be71d6.jpg","text":"TemporaryFile(/tmp/multipartBody4105128797603044384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254384528,"filename":"image_14112025_23_54_55_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/026a1fe745dc7508ec97fd692392dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody5550554534228570235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254384528,"filename":"image_14112025_23_54_51_13525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c8af4753a0773317b62953342d18fe3.jpg","text":"TemporaryFile(/tmp/multipartBody6097353568661080756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254384528,"filename":"image_14112025_23_54_35_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45706ed0f6c18adea41f897dc3d01ae3.jpg","text":"TemporaryFile(/tmp/multipartBody5956533877022181739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254384528,"filename":"image_14112025_23_56_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705847","file1":"1394705845","file0":"1394705844","file4":"1394705851","file5":"1394705855","file3":"1394705848"},"map_files_photo_id_array":[{"photo_id":"1394705855","filename":"file5"},{"photo_id":"1394705847","filename":"file2"},{"photo_id":"1394705851","filename":"file4"},{"photo_id":"1394705845","filename":"file1"},{"photo_id":"1394705844","filename":"file0"},{"photo_id":"1394705848","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705851":["hashtag1","hashtag2"]},{"1394705845":["hashtag1","hashtag2"]},{"1394705848":["hashtag1","hashtag2"]},{"1394705847":["hashtag1","hashtag2"]},{"1394705844":["hashtag1","hashtag2"]},{"1394705855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705851, 1394705845, 1394705848, 1394705847, 1394705844, 1394705855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83085370063782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:52:42.049828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/51/image_16112025_01_51_56_2699.jpg', '/home/pi/Desktop/images/16112025/01/52/image_16112025_01_52_11_2710.jpg', '/home/pi/Desktop/images/16112025/01/52/image_16112025_01_52_17_2665.jpg', '/home/pi/Desktop/images/16112025/01/52/image_16112025_01_52_42_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/51/image_16112025_01_51_56_2699.jpg
/home/pi/Desktop/images/16112025/01/52/image_16112025_01_52_11_2710.jpg
/home/pi/Desktop/images/16112025/01/52/image_16112025_01_52_17_2665.jpg
/home/pi/Desktop/images/16112025/01/52/image_16112025_01_52_42_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705862","1394705861","1394705860","1394705863"],"photo_ids_order":["1394705860","1394705861","1394705862","1394705863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4995858a9891db874db8a4d822726559.jpg","text":"TemporaryFile(/tmp/multipartBody1918861792914685522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254422645,"filename":"image_16112025_01_52_17_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75c304a22ee430a9d56974a7044f1068.jpg","text":"TemporaryFile(/tmp/multipartBody4116672087850660720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254422645,"filename":"image_16112025_01_52_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/11/16/d857a66df9eb1bb1e34bfe8bac5db2c9.jpg","text":"TemporaryFile(/tmp/multipartBody8889740869170173867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254422645,"filename":"image_16112025_01_51_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/11/16/e261493e5c4506b7b569eaf1e9d0663e.jpg","text":"TemporaryFile(/tmp/multipartBody7238405456371306669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254422645,"filename":"image_16112025_01_52_42_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705862","file1":"1394705861","file0":"1394705860","file3":"1394705863"},"map_files_photo_id_array":[{"photo_id":"1394705862","filename":"file2"},{"photo_id":"1394705861","filename":"file1"},{"photo_id":"1394705860","filename":"file0"},{"photo_id":"1394705863","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705862":["hashtag1","hashtag2"]},{"1394705861":["hashtag1","hashtag2"]},{"1394705860":["hashtag1","hashtag2"]},{"1394705863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705862, 1394705861, 1394705860, 1394705863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.762961864471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:53:22.263448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/52/image_16112025_01_52_44_2814.jpg', '/home/pi/Desktop/images/16112025/01/53/image_16112025_01_53_09_3715.jpg', '/home/pi/Desktop/images/16112025/01/53/image_16112025_01_53_11_2582.jpg', '/home/pi/Desktop/images/16112025/01/53/image_16112025_01_53_50_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/52/image_16112025_01_52_44_2814.jpg
/home/pi/Desktop/images/16112025/01/53/image_16112025_01_53_09_3715.jpg
/home/pi/Desktop/images/16112025/01/53/image_16112025_01_53_11_2582.jpg
/home/pi/Desktop/images/16112025/01/53/image_16112025_01_53_50_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705876","1394705870","1394705873","1394705867"],"photo_ids_order":["1394705867","1394705870","1394705873","1394705876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5344d439464a8ffd35b095f7a247474.jpg","text":"TemporaryFile(/tmp/multipartBody3015031835271874182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254462887,"filename":"image_16112025_01_53_50_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5e7f804d7af3464c2baf86266bcd6ed.jpg","text":"TemporaryFile(/tmp/multipartBody6800475452064966699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254462887,"filename":"image_16112025_01_53_09_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f3b2410903236d3cbbc413aa1ff8c70.jpg","text":"TemporaryFile(/tmp/multipartBody8178137537049259671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254462887,"filename":"image_16112025_01_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/11/16/c77a66aac20e85b04943b43b1b3538c6.jpg","text":"TemporaryFile(/tmp/multipartBody8519449815150305540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254462887,"filename":"image_16112025_01_52_44_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705873","file1":"1394705870","file0":"1394705867","file3":"1394705876"},"map_files_photo_id_array":[{"photo_id":"1394705873","filename":"file2"},{"photo_id":"1394705870","filename":"file1"},{"photo_id":"1394705867","filename":"file0"},{"photo_id":"1394705876","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705876":["hashtag1","hashtag2"]},{"1394705870":["hashtag1","hashtag2"]},{"1394705873":["hashtag1","hashtag2"]},{"1394705867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705876, 1394705870, 1394705873, 1394705867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.844371795654297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:54:03.274654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_11_3927.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_13_2658.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_16_2613.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_20_3642.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_22_2701.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_25_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_11_3927.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_13_2658.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_16_2613.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_20_3642.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_22_2701.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_25_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705880","1394705882","1394705885","1394705879","1394705881","1394705884"],"photo_ids_order":["1394705879","1394705880","1394705881","1394705882","1394705884","1394705885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21adc96fd2dbf32f1881a88400d04402.jpg","text":"TemporaryFile(/tmp/multipartBody2067740884419425902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254505219,"filename":"image_14112025_23_56_13_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/230b223c43e9fc09efb5441337d233ad.jpg","text":"TemporaryFile(/tmp/multipartBody485516101160176085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254505219,"filename":"image_14112025_23_56_20_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/604b9d2de130f46dd0d49a312307375a.jpg","text":"TemporaryFile(/tmp/multipartBody4729472891537939087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254505219,"filename":"image_14112025_23_56_25_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bc5cd22cc3bee28304445aa7618b143.jpg","text":"TemporaryFile(/tmp/multipartBody6877922970790348157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254505219,"filename":"image_14112025_23_56_11_3927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/544d1e0138644fe9577cdf1adc8aec91.jpg","text":"TemporaryFile(/tmp/multipartBody5965843171826535154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254505219,"filename":"image_14112025_23_56_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/11/16/a2e6cdd87947fbbeb6254b0afec5a47f.jpg","text":"TemporaryFile(/tmp/multipartBody1633730063026255967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254505219,"filename":"image_14112025_23_56_22_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705881","file1":"1394705880","file0":"1394705879","file4":"1394705884","file5":"1394705885","file3":"1394705882"},"map_files_photo_id_array":[{"photo_id":"1394705885","filename":"file5"},{"photo_id":"1394705881","filename":"file2"},{"photo_id":"1394705884","filename":"file4"},{"photo_id":"1394705880","filename":"file1"},{"photo_id":"1394705879","filename":"file0"},{"photo_id":"1394705882","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705880":["hashtag1","hashtag2"]},{"1394705882":["hashtag1","hashtag2"]},{"1394705885":["hashtag1","hashtag2"]},{"1394705879":["hashtag1","hashtag2"]},{"1394705881":["hashtag1","hashtag2"]},{"1394705884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705880, 1394705882, 1394705885, 1394705879, 1394705881, 1394705884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.409024477005005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:54:42.597696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/53/image_16112025_01_53_53_2634.jpg', '/home/pi/Desktop/images/16112025/01/54/image_16112025_01_54_05_2995.jpg', '/home/pi/Desktop/images/16112025/01/54/image_16112025_01_54_08_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/53/image_16112025_01_53_53_2634.jpg
/home/pi/Desktop/images/16112025/01/54/image_16112025_01_54_05_2995.jpg
/home/pi/Desktop/images/16112025/01/54/image_16112025_01_54_08_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705891","1394705893","1394705890"],"photo_ids_order":["1394705890","1394705891","1394705893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96058cf1da19837b1e7a25b5e41bf89c.jpg","text":"TemporaryFile(/tmp/multipartBody673904624268225813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254543222,"filename":"image_16112025_01_54_05_2995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e0a514a77cde99c0c44fd8e875531ae.jpg","text":"TemporaryFile(/tmp/multipartBody196181188715659613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254543222,"filename":"image_16112025_01_54_08_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50c0b5fda51d403a3829c3a82dd8e29b.jpg","text":"TemporaryFile(/tmp/multipartBody4840428131208034388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254543222,"filename":"image_16112025_01_53_53_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705893","file1":"1394705891","file0":"1394705890"},"map_files_photo_id_array":[{"photo_id":"1394705893","filename":"file2"},{"photo_id":"1394705891","filename":"file1"},{"photo_id":"1394705890","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705891":["hashtag1","hashtag2"]},{"1394705893":["hashtag1","hashtag2"]},{"1394705890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705891, 1394705893, 1394705890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.61820673942566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:55:22.862667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/54/image_16112025_01_54_26_2689.jpg', '/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_23_2680.jpg', '/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_26_2917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/54/image_16112025_01_54_26_2689.jpg
/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_23_2680.jpg
/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_26_2917.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.4773380756378174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:55:42.834705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/54/image_16112025_01_54_26_2689.jpg', '/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_23_2680.jpg', '/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_26_2917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/54/image_16112025_01_54_26_2689.jpg
/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_23_2680.jpg
/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_26_2917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705911","1394705913","1394705909"],"photo_ids_order":["1394705909","1394705911","1394705913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c84afccc6ea2deec9c13baa38145d36d.jpg","text":"TemporaryFile(/tmp/multipartBody6179809215292458676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254603458,"filename":"image_16112025_01_55_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/11/16/f5e9d183a56dbc0dfa1e7fa4b0d39a89.jpg","text":"TemporaryFile(/tmp/multipartBody5823733758218837748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254603458,"filename":"image_16112025_01_55_26_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f58a9d3c46a15d0e0ce09c9a760c2e43.jpg","text":"TemporaryFile(/tmp/multipartBody2813372125541239921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254603458,"filename":"image_16112025_01_54_26_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705913","file1":"1394705911","file0":"1394705909"},"map_files_photo_id_array":[{"photo_id":"1394705913","filename":"file2"},{"photo_id":"1394705911","filename":"file1"},{"photo_id":"1394705909","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705911":["hashtag1","hashtag2"]},{"1394705913":["hashtag1","hashtag2"]},{"1394705909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705911, 1394705913, 1394705909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.968735933303833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 01:56:22.104001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_28_2762.jpg', '/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_07_2625.jpg', '/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_14_2728.jpg', '/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_23_3653.jpg', '/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_29_3669.jpg', '/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_50_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/55/image_16112025_01_55_28_2762.jpg
/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_07_2625.jpg
/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_14_2728.jpg
/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_23_3653.jpg
/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_29_3669.jpg
/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_50_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705926","1394705920","1394705922","1394705925","1394705927","1394705924"],"photo_ids_order":["1394705920","1394705922","1394705924","1394705925","1394705926","1394705927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6268db660c4fcdd097374e45dc8d0249.jpg","text":"TemporaryFile(/tmp/multipartBody3839353699538956483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254642809,"filename":"image_16112025_01_56_29_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58404b296a1125803906625729168d6f.jpg","text":"TemporaryFile(/tmp/multipartBody4177719191312416806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254642809,"filename":"image_16112025_01_55_28_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ede0f0b3a80f1e62e8ec1d61b29bc155.jpg","text":"TemporaryFile(/tmp/multipartBody6861582945077595030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254642809,"filename":"image_16112025_01_56_07_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1e77e41e06b45d142d07602eed80edc.jpg","text":"TemporaryFile(/tmp/multipartBody5248241652557066077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254642809,"filename":"image_16112025_01_56_23_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67e19a26b133c55af99f0662ebefef56.jpg","text":"TemporaryFile(/tmp/multipartBody4126085959153671726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254642809,"filename":"image_16112025_01_56_50_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29322b5d90a574cc9e1efa2a791649cf.jpg","text":"TemporaryFile(/tmp/multipartBody4342963741291999567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254642809,"filename":"image_16112025_01_56_14_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705924","file1":"1394705922","file0":"1394705920","file4":"1394705926","file5":"1394705927","file3":"1394705925"},"map_files_photo_id_array":[{"photo_id":"1394705927","filename":"file5"},{"photo_id":"1394705924","filename":"file2"},{"photo_id":"1394705926","filename":"file4"},{"photo_id":"1394705922","filename":"file1"},{"photo_id":"1394705920","filename":"file0"},{"photo_id":"1394705925","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394705926":["hashtag1","hashtag2"]},{"1394705920":["hashtag1","hashtag2"]},{"1394705922":["hashtag1","hashtag2"]},{"1394705925":["hashtag1","hashtag2"]},{"1394705927":["hashtag1","hashtag2"]},{"1394705924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394705926, 1394705920, 1394705922, 1394705925, 1394705927, 1394705924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.897987842559814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:57:03.024964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_28_3587.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_31_2736.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_34_2636.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_37_3609.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_40_2632.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_44_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_28_3587.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_31_2736.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_34_2636.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_37_3609.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_40_2632.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_44_3536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705935","1394705940","1394705931","1394705930","1394705933","1394705942"],"photo_ids_order":["1394705930","1394705931","1394705933","1394705935","1394705940","1394705942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7c17062630ca2b988cde71cb79430d7.jpg","text":"TemporaryFile(/tmp/multipartBody2886669840150981197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254684994,"filename":"image_14112025_23_56_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/11/16/c8f32a6e7deb0be2406e8c37b350fa23.jpg","text":"TemporaryFile(/tmp/multipartBody8269831565641281751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254684994,"filename":"image_14112025_23_56_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/11/16/1679c33140fb9c4d35a14bb02464347b.jpg","text":"TemporaryFile(/tmp/multipartBody2865269329170221933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254684994,"filename":"image_14112025_23_56_31_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fb3fb50a61cbd91d917c0e5016ca401.jpg","text":"TemporaryFile(/tmp/multipartBody8317584338670706229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254684994,"filename":"image_14112025_23_56_28_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c90d2d00d00c4b9c935fabf695159f6b.jpg","text":"TemporaryFile(/tmp/multipartBody698841404725716720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254684994,"filename":"image_14112025_23_56_34_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb06f58bb0716ddc1465a9d994918831.jpg","text":"TemporaryFile(/tmp/multipartBody6540345438512079897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254684994,"filename":"image_14112025_23_56_44_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705933","file1":"1394705931","file0":"1394705930","file4":"1394705940","file5":"1394705942","file3":"1394705935"},"map_files_photo_id_array":[{"photo_id":"1394705942","filename":"file5"},{"photo_id":"1394705933","filename":"file2"},{"photo_id":"1394705940","filename":"file4"},{"photo_id":"1394705931","filename":"file1"},{"photo_id":"1394705930","filename":"file0"},{"photo_id":"1394705935","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705935":["hashtag1","hashtag2"]},{"1394705940":["hashtag1","hashtag2"]},{"1394705931":["hashtag1","hashtag2"]},{"1394705930":["hashtag1","hashtag2"]},{"1394705933":["hashtag1","hashtag2"]},{"1394705942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705935, 1394705940, 1394705931, 1394705930, 1394705933, 1394705942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7780020236969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:57:42.332746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_46_2645.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_52_3578.jpg', '/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_55_2538.jpg', '/home/pi/Desktop/images/14112025/23/57/image_14112025_23_57_01_2888.jpg', '/home/pi/Desktop/images/14112025/23/57/image_14112025_23_57_07_2610.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_46_2645.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_52_3578.jpg
/home/pi/Desktop/images/14112025/23/56/image_14112025_23_56_55_2538.jpg
/home/pi/Desktop/images/14112025/23/57/image_14112025_23_57_01_2888.jpg
/home/pi/Desktop/images/14112025/23/57/image_14112025_23_57_07_2610.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_07_3019.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394705944","1394705943","1394706041","1394705945","1394705969","1394706004"],"photo_ids_order":["1394705943","1394705944","1394705945","1394705969","1394706004","1394706041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/243e86122afa25690597e4d0972be98b.jpg","text":"TemporaryFile(/tmp/multipartBody4576446725746711344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254723358,"filename":"image_14112025_23_56_52_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1c94738b573de4b143bdc3468caab0f.jpg","text":"TemporaryFile(/tmp/multipartBody9195161698839303660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254723358,"filename":"image_14112025_23_56_46_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac1213315ac9024fb81c5760406bf7f4.jpg","text":"TemporaryFile(/tmp/multipartBody3808674738517533490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254723358,"filename":"image_14112025_23_58_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7188281897fd6d4d205056ca68640992.jpg","text":"TemporaryFile(/tmp/multipartBody2051519428903275803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254723358,"filename":"image_14112025_23_56_55_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8771f68b2f7d6d8fac33fddfe5e8fd68.jpg","text":"TemporaryFile(/tmp/multipartBody335051889655345644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254723358,"filename":"image_14112025_23_57_01_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53fec98a52a4e9c2839c85031bf3ba5a.jpg","text":"TemporaryFile(/tmp/multipartBody7647359393516418840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254723358,"filename":"image_14112025_23_57_07_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394705945","file1":"1394705944","file0":"1394705943","file4":"1394706004","file5":"1394706041","file3":"1394705969"},"map_files_photo_id_array":[{"photo_id":"1394706041","filename":"file5"},{"photo_id":"1394705945","filename":"file2"},{"photo_id":"1394706004","filename":"file4"},{"photo_id":"1394705944","filename":"file1"},{"photo_id":"1394705943","filename":"file0"},{"photo_id":"1394705969","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394705944":["hashtag1","hashtag2"]},{"1394705943":["hashtag1","hashtag2"]},{"1394706041":["hashtag1","hashtag2"]},{"1394705945":["hashtag1","hashtag2"]},{"1394705969":["hashtag1","hashtag2"]},{"1394706004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394705944, 1394705943, 1394706041, 1394705945, 1394705969, 1394706004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52520775794983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 01:59:03.575176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_56_2643.jpg', '/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_17_3690.jpg', '/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_22_2801.jpg', '/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_31_2670.jpg', '/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_49_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/56/image_16112025_01_56_56_2643.jpg
/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_17_3690.jpg
/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_22_2801.jpg
/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_31_2670.jpg
/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_49_2872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394706699","1394706756","1394706694","1394706697","1394706718"],"photo_ids_order":["1394706694","1394706697","1394706699","1394706718","1394706756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afaa38aaaa197f8002bc1e40bbf2ee22.jpg","text":"TemporaryFile(/tmp/multipartBody2681308225037061218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254804636,"filename":"image_16112025_01_58_22_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0358437206af6d666932c96028cda9b1.jpg","text":"TemporaryFile(/tmp/multipartBody2023558046982178139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254804636,"filename":"image_16112025_01_58_49_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ee52e9a369328fca7de74516854bece.jpg","text":"TemporaryFile(/tmp/multipartBody5696285053515710774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254804636,"filename":"image_16112025_01_56_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/11/16/5acc4881d2e3eb94dfdd1b78303eea70.jpg","text":"TemporaryFile(/tmp/multipartBody8607990218601663322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254804636,"filename":"image_16112025_01_58_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/11/16/37316a69d1964cf6d8721cbc5f643b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3368033704415193017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254804636,"filename":"image_16112025_01_58_31_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394706699","file1":"1394706697","file0":"1394706694","file4":"1394706756","file3":"1394706718"},"map_files_photo_id_array":[{"photo_id":"1394706699","filename":"file2"},{"photo_id":"1394706756","filename":"file4"},{"photo_id":"1394706697","filename":"file1"},{"photo_id":"1394706694","filename":"file0"},{"photo_id":"1394706718","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394706699":["hashtag1","hashtag2"]},{"1394706756":["hashtag1","hashtag2"]},{"1394706694":["hashtag1","hashtag2"]},{"1394706697":["hashtag1","hashtag2"]},{"1394706718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394706699, 1394706756, 1394706694, 1394706697, 1394706718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.8271324634552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 01:59:42.715039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_53_3669.jpg', '/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_14_2765.jpg', '/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_19_2703.jpg', '/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_25_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/58/image_16112025_01_58_53_3669.jpg
/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_14_2765.jpg
/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_19_2703.jpg
/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_25_2636.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394706849","1394706872","1394706874","1394706877"],"photo_ids_order":["1394706849","1394706872","1394706874","1394706877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c6b999c8e08b5e4231bd296cf0e7106.jpg","text":"TemporaryFile(/tmp/multipartBody4443981370808092121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254843321,"filename":"image_16112025_01_58_53_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53e12f81086f37a231a11a45bc800880.jpg","text":"TemporaryFile(/tmp/multipartBody6952849263546828834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254843321,"filename":"image_16112025_01_59_14_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4b25d5d54c2f27d6698f225d1fd3a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2369597500601198289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254843321,"filename":"image_16112025_01_59_19_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b035c41e434cdef1a682970396fcc139.jpg","text":"TemporaryFile(/tmp/multipartBody8542195006136398925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254843321,"filename":"image_16112025_01_59_25_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394706874","file1":"1394706872","file0":"1394706849","file3":"1394706877"},"map_files_photo_id_array":[{"photo_id":"1394706874","filename":"file2"},{"photo_id":"1394706872","filename":"file1"},{"photo_id":"1394706849","filename":"file0"},{"photo_id":"1394706877","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394706849":["hashtag1","hashtag2"]},{"1394706872":["hashtag1","hashtag2"]},{"1394706874":["hashtag1","hashtag2"]},{"1394706877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394706849, 1394706872, 1394706874, 1394706877)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 30.433629989624023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:00:32.051813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_41_2030.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_46_1610.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_48_2363.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_50_1602.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_51_1658.jpg', '/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_59_7458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_41_2030.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_46_1610.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_48_2363.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_50_1602.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_51_1658.jpg
/home/pi/Desktop/images/06112025/13/55/image_06112025_13_55_59_7458.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":["1394706897","1394706891","1394706888","1394706900","1394706903","1394706894"],"photo_ids_order":["1394706888","1394706891","1394706894","1394706897","1394706900","1394706903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/458c0b1647239d64152eaff1c317b49f.jpg","text":"TemporaryFile(/tmp/multipartBody7804785834738315602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254892896,"filename":"image_06112025_13_55_50_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ef5865a523f96008a4fa037d783cf3d.jpg","text":"TemporaryFile(/tmp/multipartBody4707679443978496893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254892896,"filename":"image_06112025_13_55_46_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d854d00f03c4b856e369ef8dd6fb5f67.jpg","text":"TemporaryFile(/tmp/multipartBody7982684751193591411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254892896,"filename":"image_06112025_13_55_41_2030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5dccf65ba49540d6a03598d172cafd4.jpg","text":"TemporaryFile(/tmp/multipartBody7271179614787237757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254892896,"filename":"image_06112025_13_55_51_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/243c22717cefb4570c8583bb3f515330.jpg","text":"TemporaryFile(/tmp/multipartBody1056931262452132187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254892896,"filename":"image_06112025_13_55_59_7458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b39589b30869321079804060f83fa56e.jpg","text":"TemporaryFile(/tmp/multipartBody6583134595791482785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254892896,"filename":"image_06112025_13_55_48_2363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394706894","file1":"1394706891","file0":"1394706888","file4":"1394706900","file5":"1394706903","file3":"1394706897"},"map_files_photo_id_array":[{"photo_id":"1394706903","filename":"file5"},{"photo_id":"1394706894","filename":"file2"},{"photo_id":"1394706900","filename":"file4"},{"photo_id":"1394706891","filename":"file1"},{"photo_id":"1394706888","filename":"file0"},{"photo_id":"1394706897","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394706897":["hashtag1","hashtag2"]},{"1394706891":["hashtag1","hashtag2"]},{"1394706888":["hashtag1","hashtag2"]},{"1394706900":["hashtag1","hashtag2"]},{"1394706903":["hashtag1","hashtag2"]},{"1394706894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394706897, 1394706891, 1394706888, 1394706900, 1394706903, 1394706894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.469019174575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:01:22.170754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_34_2618.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_08_3025.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_25_17308.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_27_1513.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_28_1520.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_30_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_34_2618.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_08_3025.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_25_17308.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_27_1513.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_28_1520.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_30_1543.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.5012397766113281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:01:42.147382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_34_2618.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_08_3025.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_25_17308.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_27_1513.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_28_1520.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_30_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/01/59/image_16112025_01_59_34_2618.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_08_3025.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_25_17308.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_27_1513.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_28_1520.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_30_1543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394707443","1394707373","1394707511","1394707238","1394707304","1394707587"],"photo_ids_order":["1394707238","1394707304","1394707373","1394707443","1394707511","1394707587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f85f4591400ce289bac870749d04beb.jpg","text":"TemporaryFile(/tmp/multipartBody1012091727768949791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254962726,"filename":"image_16112025_02_00_27_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ba22e1d3260a5dca62bc51af9749cef.jpg","text":"TemporaryFile(/tmp/multipartBody7758508199009307405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254962726,"filename":"image_16112025_02_00_25_17308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1d7ab41ee3247e03b33873a3a9880da.jpg","text":"TemporaryFile(/tmp/multipartBody1776552913360666418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254962726,"filename":"image_16112025_02_00_28_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dac3361c81e863a808a5285594094bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2209308571041425666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254962726,"filename":"image_16112025_01_59_34_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a51daa00afc2dc7ed2c7dfeeb4e72150.jpg","text":"TemporaryFile(/tmp/multipartBody8412267020518832888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254962726,"filename":"image_16112025_02_00_08_3025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4189e2348a17f63843aa6750ee67f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody3338123397953328298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763254962726,"filename":"image_16112025_02_00_30_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394707373","file1":"1394707304","file0":"1394707238","file4":"1394707511","file5":"1394707587","file3":"1394707443"},"map_files_photo_id_array":[{"photo_id":"1394707587","filename":"file5"},{"photo_id":"1394707373","filename":"file2"},{"photo_id":"1394707511","filename":"file4"},{"photo_id":"1394707304","filename":"file1"},{"photo_id":"1394707238","filename":"file0"},{"photo_id":"1394707443","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394707443":["hashtag1","hashtag2"]},{"1394707373":["hashtag1","hashtag2"]},{"1394707511":["hashtag1","hashtag2"]},{"1394707238":["hashtag1","hashtag2"]},{"1394707304":["hashtag1","hashtag2"]},{"1394707587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394707443, 1394707373, 1394707511, 1394707238, 1394707304, 1394707587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.552263498306274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:02:22.408278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_31_1450.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_33_1491.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_34_1440.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_37_1450.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_39_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_31_1450.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_33_1491.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_34_1440.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_37_1450.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_39_1616.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.5125348567962646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:02:42.345906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_31_1450.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_33_1491.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_34_1440.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_37_1450.jpg', '/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_39_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_31_1450.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_33_1491.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_34_1440.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_37_1450.jpg
/home/pi/Desktop/images/16112025/02/00/image_16112025_02_00_39_1616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394708304","1394708446","1394708374","1394708515","1394708230"],"photo_ids_order":["1394708230","1394708304","1394708374","1394708446","1394708515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10472b121483336bd1c76c7143419103.jpg","text":"TemporaryFile(/tmp/multipartBody4802706817516002263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255022968,"filename":"image_16112025_02_00_33_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a020abf768780aa5fd3e0ac794a022ff.jpg","text":"TemporaryFile(/tmp/multipartBody2318460140459296445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255022968,"filename":"image_16112025_02_00_37_1450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cd5d1ccaca10e73d2d59f12f646faed.jpg","text":"TemporaryFile(/tmp/multipartBody8912702372803227614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255022968,"filename":"image_16112025_02_00_34_1440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b792645cc7f034e4d9e27b4ab9c9ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1102689011005929338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255022968,"filename":"image_16112025_02_00_39_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9a9c165694f63574134cfca4c5abd06.jpg","text":"TemporaryFile(/tmp/multipartBody1591325207342371179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255022968,"filename":"image_16112025_02_00_31_1450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394708374","file1":"1394708304","file0":"1394708230","file4":"1394708515","file3":"1394708446"},"map_files_photo_id_array":[{"photo_id":"1394708374","filename":"file2"},{"photo_id":"1394708515","filename":"file4"},{"photo_id":"1394708304","filename":"file1"},{"photo_id":"1394708230","filename":"file0"},{"photo_id":"1394708446","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394708304":["hashtag1","hashtag2"]},{"1394708446":["hashtag1","hashtag2"]},{"1394708374":["hashtag1","hashtag2"]},{"1394708515":["hashtag1","hashtag2"]},{"1394708230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394708304, 1394708446, 1394708374, 1394708515, 1394708230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.858778953552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:03:22.622909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/02/image_16112025_02_02_52_2682.jpg', '/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_01_2643.jpg', '/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_13_3635.jpg', '/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_16_2699.jpg', '/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_35_3752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/02/image_16112025_02_02_52_2682.jpg
/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_01_2643.jpg
/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_13_3635.jpg
/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_16_2699.jpg
/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_35_3752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394708630","1394708705","1394708668","1394708595","1394708733"],"photo_ids_order":["1394708595","1394708630","1394708668","1394708705","1394708733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34bc589a187332cc08727d39809b70b6.jpg","text":"TemporaryFile(/tmp/multipartBody4658254963835966791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255063297,"filename":"image_16112025_02_03_01_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7249403903e08ce50017fd3873460ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8324881567202802333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255063297,"filename":"image_16112025_02_03_16_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fdd14a01f8ae7346fdb056393d6ba0c.jpg","text":"TemporaryFile(/tmp/multipartBody7134439385505137120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255063297,"filename":"image_16112025_02_03_13_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e69aa6458bd690c6606744cdd7f33a7b.jpg","text":"TemporaryFile(/tmp/multipartBody7894690799577562783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255063297,"filename":"image_16112025_02_02_52_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acf9d2330a11d84b77f44263c0495195.jpg","text":"TemporaryFile(/tmp/multipartBody1312780865529318447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255063297,"filename":"image_16112025_02_03_35_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394708668","file1":"1394708630","file0":"1394708595","file4":"1394708733","file3":"1394708705"},"map_files_photo_id_array":[{"photo_id":"1394708668","filename":"file2"},{"photo_id":"1394708733","filename":"file4"},{"photo_id":"1394708630","filename":"file1"},{"photo_id":"1394708595","filename":"file0"},{"photo_id":"1394708705","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394708630":["hashtag1","hashtag2"]},{"1394708705":["hashtag1","hashtag2"]},{"1394708668":["hashtag1","hashtag2"]},{"1394708595":["hashtag1","hashtag2"]},{"1394708733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394708630, 1394708705, 1394708668, 1394708595, 1394708733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.287927627563477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:04:02.668105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_11_3638.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_14_2968.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_17_2663.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_20_3586.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_23_2662.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_26_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_11_3638.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_14_2968.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_17_2663.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_20_3586.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_23_2662.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_26_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394708981","1394709002","1394708962","1394708959","1394708920","1394708919"],"photo_ids_order":["1394708919","1394708920","1394708959","1394708962","1394708981","1394709002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67a1eca1ea867ac2fdf1e7c7e9033f0c.jpg","text":"TemporaryFile(/tmp/multipartBody4994703709163084464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255104706,"filename":"image_14112025_23_58_23_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8fbb1d7c0eabc765cb518e6607f8eda.jpg","text":"TemporaryFile(/tmp/multipartBody4195239756302886109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255104706,"filename":"image_14112025_23_58_26_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c4e22a63a6bcf7460c98cf85e77f81e.jpg","text":"TemporaryFile(/tmp/multipartBody2787270005562721810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255104706,"filename":"image_14112025_23_58_20_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/340553d4d41e06021831c9d8312a38a8.jpg","text":"TemporaryFile(/tmp/multipartBody6755975428990089990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255104706,"filename":"image_14112025_23_58_17_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ac8d95592f407127af384b97e474d60.jpg","text":"TemporaryFile(/tmp/multipartBody6858502631367833820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255104706,"filename":"image_14112025_23_58_14_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc4aad0f212d85cd98ffa24ca826cce9.jpg","text":"TemporaryFile(/tmp/multipartBody6311839284292665144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255104706,"filename":"image_14112025_23_58_11_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394708959","file1":"1394708920","file0":"1394708919","file4":"1394708981","file5":"1394709002","file3":"1394708962"},"map_files_photo_id_array":[{"photo_id":"1394709002","filename":"file5"},{"photo_id":"1394708959","filename":"file2"},{"photo_id":"1394708981","filename":"file4"},{"photo_id":"1394708920","filename":"file1"},{"photo_id":"1394708919","filename":"file0"},{"photo_id":"1394708962","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394708981":["hashtag1","hashtag2"]},{"1394709002":["hashtag1","hashtag2"]},{"1394708962":["hashtag1","hashtag2"]},{"1394708959":["hashtag1","hashtag2"]},{"1394708920":["hashtag1","hashtag2"]},{"1394708919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394708981, 1394709002, 1394708962, 1394708959, 1394708920, 1394708919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9673171043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:04:41.922363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_40_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/03/image_16112025_02_03_40_2699.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709012"],"photo_id":"1394709012","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df3ab104e881e70fa5aa59814d44885b.jpg","text":"TemporaryFile(/tmp/multipartBody1693780397626021758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255142413,"filename":"image_16112025_02_03_40_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709012"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709012"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.196688175201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:05:02.806689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_29_3685.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_34_2658.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_38_3804.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_41_2740.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_44_2701.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_50_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_29_3685.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_34_2658.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_38_3804.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_41_2740.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_44_2701.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_50_3749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709023","1394709017","1394709016","1394709019","1394709021","1394709018"],"photo_ids_order":["1394709016","1394709017","1394709018","1394709019","1394709021","1394709023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad923bcf460f35862796ecd13177f01e.jpg","text":"TemporaryFile(/tmp/multipartBody8681184657906410831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255164817,"filename":"image_14112025_23_58_50_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e286b58997dc3949e88a663d5c29a21.jpg","text":"TemporaryFile(/tmp/multipartBody4195249924202541881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255164817,"filename":"image_14112025_23_58_34_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1cd6b160ee32296c9f8c5057355f4bd.jpg","text":"TemporaryFile(/tmp/multipartBody6653414620412278443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255164817,"filename":"image_14112025_23_58_29_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8146a1c2f8e1e759537baee07401d27.jpg","text":"TemporaryFile(/tmp/multipartBody2025329628728153320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255164817,"filename":"image_14112025_23_58_41_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c303ba9dcfbd26db311176f117c4e48.jpg","text":"TemporaryFile(/tmp/multipartBody5664321370473266872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255164817,"filename":"image_14112025_23_58_44_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13747f0e10570975d53f8e1c8d3ea240.jpg","text":"TemporaryFile(/tmp/multipartBody1766637736075748691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255164817,"filename":"image_14112025_23_58_38_3804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709018","file1":"1394709017","file0":"1394709016","file4":"1394709021","file5":"1394709023","file3":"1394709019"},"map_files_photo_id_array":[{"photo_id":"1394709023","filename":"file5"},{"photo_id":"1394709018","filename":"file2"},{"photo_id":"1394709021","filename":"file4"},{"photo_id":"1394709017","filename":"file1"},{"photo_id":"1394709016","filename":"file0"},{"photo_id":"1394709019","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394709023":["hashtag1","hashtag2"]},{"1394709017":["hashtag1","hashtag2"]},{"1394709016":["hashtag1","hashtag2"]},{"1394709019":["hashtag1","hashtag2"]},{"1394709021":["hashtag1","hashtag2"]},{"1394709018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394709023, 1394709017, 1394709016, 1394709019, 1394709021, 1394709018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1275372505188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:05:42.063494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
  port_id : 28504623
  datou_current_id : 4043381
in upload_from_sqlite, uploading in 28504623
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_53_2661.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_55_2611.jpg', '/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_59_3655.jpg', '/home/pi/Desktop/images/14112025/23/59/image_14112025_23_59_02_2689.jpg', '/home/pi/Desktop/images/14112025/23/59/image_14112025_23_59_04_2806.jpg', '/home/pi/Desktop/images/14112025/23/59/image_14112025_23_59_07_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4043381&datou=0
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_53_2661.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_55_2611.jpg
/home/pi/Desktop/images/14112025/23/58/image_14112025_23_58_59_3655.jpg
/home/pi/Desktop/images/14112025/23/59/image_14112025_23_59_02_2689.jpg
/home/pi/Desktop/images/14112025/23/59/image_14112025_23_59_04_2806.jpg
/home/pi/Desktop/images/14112025/23/59/image_14112025_23_59_07_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709032","1394709026","1394709025","1394709028","1394709027","1394709030"],"photo_ids_order":["1394709025","1394709026","1394709027","1394709028","1394709030","1394709032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/570b0b57fc06d76a22ac77842ae26ca6.jpg","text":"TemporaryFile(/tmp/multipartBody182717239952829397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255203106,"filename":"image_14112025_23_59_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/11/16/270f14adf14a5ba48df27b520fb47a55.jpg","text":"TemporaryFile(/tmp/multipartBody2392955527261093956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255203106,"filename":"image_14112025_23_58_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/11/16/20bb5f03e04b61d901f1fc0ec69d9e68.jpg","text":"TemporaryFile(/tmp/multipartBody2548263130126200435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255203106,"filename":"image_14112025_23_58_53_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad5e1443cd8483fc5323ac2da73ab481.jpg","text":"TemporaryFile(/tmp/multipartBody4253623987840490168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255203106,"filename":"image_14112025_23_59_02_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9469080977f50f52ed45a228c6a83592.jpg","text":"TemporaryFile(/tmp/multipartBody6047833596261368744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255203106,"filename":"image_14112025_23_58_59_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/368249383cbcec337296a590ac5f0248.jpg","text":"TemporaryFile(/tmp/multipartBody8213255021034257210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255203106,"filename":"image_14112025_23_59_04_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709027","file1":"1394709026","file0":"1394709025","file4":"1394709030","file5":"1394709032","file3":"1394709028"},"map_files_photo_id_array":[{"photo_id":"1394709032","filename":"file5"},{"photo_id":"1394709027","filename":"file2"},{"photo_id":"1394709030","filename":"file4"},{"photo_id":"1394709026","filename":"file1"},{"photo_id":"1394709025","filename":"file0"},{"photo_id":"1394709028","filename":"file3"}],"portfolio_id":28504623,"hashtag_by_photo_ids":[{"1394709032":["hashtag1","hashtag2"]},{"1394709026":["hashtag1","hashtag2"]},{"1394709025":["hashtag1","hashtag2"]},{"1394709028":["hashtag1","hashtag2"]},{"1394709027":["hashtag1","hashtag2"]},{"1394709030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28504623 used, photo_id : ArrayBuffer(1394709032, 1394709026, 1394709025, 1394709028, 1394709027, 1394709030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53641867637634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:06:22.338581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/04/image_16112025_02_04_31_2665.jpg', '/home/pi/Desktop/images/16112025/02/06/image_16112025_02_06_04_3829.jpg', '/home/pi/Desktop/images/16112025/02/06/image_16112025_02_06_16_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/04/image_16112025_02_04_31_2665.jpg
/home/pi/Desktop/images/16112025/02/06/image_16112025_02_06_04_3829.jpg
/home/pi/Desktop/images/16112025/02/06/image_16112025_02_06_16_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709038","1394709035","1394709037"],"photo_ids_order":["1394709035","1394709037","1394709038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43e3c8685a3166119b8bab9afbc9c7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8025599236920608894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255243013,"filename":"image_16112025_02_06_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/11/16/faf1b995c3b87642d5575348172cdc24.jpg","text":"TemporaryFile(/tmp/multipartBody6620721934433359473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255243013,"filename":"image_16112025_02_04_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/11/16/3860e951875adef6c8ddc16740f5557b.jpg","text":"TemporaryFile(/tmp/multipartBody8358179365146283269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255243013,"filename":"image_16112025_02_06_04_3829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709038","file1":"1394709037","file0":"1394709035"},"map_files_photo_id_array":[{"photo_id":"1394709038","filename":"file2"},{"photo_id":"1394709037","filename":"file1"},{"photo_id":"1394709035","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709038":["hashtag1","hashtag2"]},{"1394709035":["hashtag1","hashtag2"]},{"1394709037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709038, 1394709035, 1394709037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.273722648620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:07:03.287707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
  port_id : 28553334
  datou_current_id : 4051308
in upload_from_sqlite, uploading in 28553334
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15112025/23/56/image_15112025_23_56_49_2571.jpg', '/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_28_2655.jpg', '/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_37_2581.jpg', '/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_40_3632.jpg', '/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_43_2615.jpg', '/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_46_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4051308&datou=0
/home/pi/Desktop/images/15112025/23/56/image_15112025_23_56_49_2571.jpg
/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_28_2655.jpg
/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_37_2581.jpg
/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_40_3632.jpg
/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_43_2615.jpg
/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_46_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709050","1394709047","1394709043","1394709045","1394709042","1394709041"],"photo_ids_order":["1394709041","1394709042","1394709043","1394709045","1394709047","1394709050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1ae641514950fdb6982e776fa6e4ba3.jpg","text":"TemporaryFile(/tmp/multipartBody5555805658785080262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255285480,"filename":"image_15112025_23_58_46_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b86af044033dbbfaef47eb25a841e604.jpg","text":"TemporaryFile(/tmp/multipartBody4403646076104988544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255285480,"filename":"image_15112025_23_58_43_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b46b90ca46836083299be96c5ffda2f8.jpg","text":"TemporaryFile(/tmp/multipartBody1280593803235377292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255285480,"filename":"image_15112025_23_58_37_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c64e88b4931d0f07c9f7359d97630e4f.jpg","text":"TemporaryFile(/tmp/multipartBody4606423269602816794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255285480,"filename":"image_15112025_23_58_40_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3305baf12e94dbe1989af3477386e2ce.jpg","text":"TemporaryFile(/tmp/multipartBody4581926804513787211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255285480,"filename":"image_15112025_23_58_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/11/16/c72015a88f290d0f26c94e73d359cf56.jpg","text":"TemporaryFile(/tmp/multipartBody8599695742860994079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255285480,"filename":"image_15112025_23_56_49_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709043","file1":"1394709042","file0":"1394709041","file4":"1394709047","file5":"1394709050","file3":"1394709045"},"map_files_photo_id_array":[{"photo_id":"1394709050","filename":"file5"},{"photo_id":"1394709043","filename":"file2"},{"photo_id":"1394709047","filename":"file4"},{"photo_id":"1394709042","filename":"file1"},{"photo_id":"1394709041","filename":"file0"},{"photo_id":"1394709045","filename":"file3"}],"portfolio_id":28553334,"hashtag_by_photo_ids":[{"1394709050":["hashtag1","hashtag2"]},{"1394709047":["hashtag1","hashtag2"]},{"1394709043":["hashtag1","hashtag2"]},{"1394709045":["hashtag1","hashtag2"]},{"1394709042":["hashtag1","hashtag2"]},{"1394709041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28553334 used, photo_id : ArrayBuffer(1394709050, 1394709047, 1394709043, 1394709045, 1394709042, 1394709041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62023901939392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:07:42.667831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
  port_id : 28553334
  datou_current_id : 4051308
in upload_from_sqlite, uploading in 28553334
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_52_3711.jpg', '/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_55_2653.jpg', '/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_58_2642.jpg', '/home/pi/Desktop/images/15112025/23/59/image_15112025_23_59_16_2663.jpg', '/home/pi/Desktop/images/15112025/23/59/image_15112025_23_59_22_3697.jpg', '/home/pi/Desktop/images/15112025/23/59/image_15112025_23_59_31_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4051308&datou=0
/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_52_3711.jpg
/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_55_2653.jpg
/home/pi/Desktop/images/15112025/23/58/image_15112025_23_58_58_2642.jpg
/home/pi/Desktop/images/15112025/23/59/image_15112025_23_59_16_2663.jpg
/home/pi/Desktop/images/15112025/23/59/image_15112025_23_59_22_3697.jpg
/home/pi/Desktop/images/15112025/23/59/image_15112025_23_59_31_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709058","1394709063","1394709060","1394709054","1394709062","1394709056"],"photo_ids_order":["1394709054","1394709056","1394709058","1394709060","1394709062","1394709063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a84b73afecc0cb861b8a1abd0935cf10.jpg","text":"TemporaryFile(/tmp/multipartBody8519408189355492715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255323976,"filename":"image_15112025_23_58_58_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9775e1f736d2fa7cd922be93bdcf6fba.jpg","text":"TemporaryFile(/tmp/multipartBody6675127982613506283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255323976,"filename":"image_15112025_23_59_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/11/16/63f1b0022fc7f6fabec3182fa5d538ef.jpg","text":"TemporaryFile(/tmp/multipartBody6723874550512079089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255323976,"filename":"image_15112025_23_59_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/11/16/afe8b9b7d03caa08452201ecca0f2073.jpg","text":"TemporaryFile(/tmp/multipartBody2715023500013468466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255323976,"filename":"image_15112025_23_58_52_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18551fb12388b06682efc56cf0a46385.jpg","text":"TemporaryFile(/tmp/multipartBody7983399652796510269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255323976,"filename":"image_15112025_23_59_22_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96680018b488f710d699a5ecb21b6932.jpg","text":"TemporaryFile(/tmp/multipartBody2576810009802712747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255323976,"filename":"image_15112025_23_58_55_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709058","file1":"1394709056","file0":"1394709054","file4":"1394709062","file5":"1394709063","file3":"1394709060"},"map_files_photo_id_array":[{"photo_id":"1394709063","filename":"file5"},{"photo_id":"1394709058","filename":"file2"},{"photo_id":"1394709062","filename":"file4"},{"photo_id":"1394709056","filename":"file1"},{"photo_id":"1394709054","filename":"file0"},{"photo_id":"1394709060","filename":"file3"}],"portfolio_id":28553334,"hashtag_by_photo_ids":[{"1394709058":["hashtag1","hashtag2"]},{"1394709063":["hashtag1","hashtag2"]},{"1394709060":["hashtag1","hashtag2"]},{"1394709054":["hashtag1","hashtag2"]},{"1394709062":["hashtag1","hashtag2"]},{"1394709056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28553334 used, photo_id : ArrayBuffer(1394709058, 1394709063, 1394709060, 1394709054, 1394709062, 1394709056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82733869552612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:08:21.870590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_11_11812.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_12_1898.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_14_1638.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_16_1647.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_17_1711.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_24_6923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_11_11812.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_12_1898.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_14_1638.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_16_1647.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_17_1711.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_24_6923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709073","1394709076","1394709072","1394709080","1394709068","1394709083"],"photo_ids_order":["1394709068","1394709072","1394709073","1394709076","1394709080","1394709083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ae02dca14b8541170488a3e02ac7b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8409625112834205140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255362790,"filename":"image_06112025_13_56_14_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b57c22e470330f769d32af1e2d442e2.jpg","text":"TemporaryFile(/tmp/multipartBody8976334606498947469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255362790,"filename":"image_06112025_13_56_16_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e088631045a85982d32317c9168e806e.jpg","text":"TemporaryFile(/tmp/multipartBody6787205250648691671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255362790,"filename":"image_06112025_13_56_12_1898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29a82096d67a21fdd413dacd1847ce68.jpg","text":"TemporaryFile(/tmp/multipartBody3798346380027235146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255362790,"filename":"image_06112025_13_56_17_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ad21d6a846ee9165cb50c89e45ac5e1.jpg","text":"TemporaryFile(/tmp/multipartBody325055259672106035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255362790,"filename":"image_06112025_13_56_11_11812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67d8df96f218f3e297fcb689b026ccd1.jpg","text":"TemporaryFile(/tmp/multipartBody8876791554440559937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255362790,"filename":"image_06112025_13_56_24_6923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709073","file1":"1394709072","file0":"1394709068","file4":"1394709080","file5":"1394709083","file3":"1394709076"},"map_files_photo_id_array":[{"photo_id":"1394709083","filename":"file5"},{"photo_id":"1394709073","filename":"file2"},{"photo_id":"1394709080","filename":"file4"},{"photo_id":"1394709072","filename":"file1"},{"photo_id":"1394709068","filename":"file0"},{"photo_id":"1394709076","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709073":["hashtag1","hashtag2"]},{"1394709076":["hashtag1","hashtag2"]},{"1394709072":["hashtag1","hashtag2"]},{"1394709080":["hashtag1","hashtag2"]},{"1394709068":["hashtag1","hashtag2"]},{"1394709083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709073, 1394709076, 1394709072, 1394709080, 1394709068, 1394709083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53029179573059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:09:03.251697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
  port_id : 28553334
  datou_current_id : 4051308
in upload_from_sqlite, uploading in 28553334
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15112025/23/59/image_15112025_23_59_55_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4051308&datou=0
/home/pi/Desktop/images/15112025/23/59/image_15112025_23_59_55_2833.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709085"],"photo_id":"1394709085","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82dea091abc8598e5e6f349f7ea1d3f7.jpg","text":"TemporaryFile(/tmp/multipartBody5142181578790734713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255405251,"filename":"image_15112025_23_59_55_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709085"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709085"}],"hashtags":[],"portfolio_id":"28553334","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.007654190063477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:09:22.028165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/06/image_16112025_02_06_31_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/06/image_16112025_02_06_31_3795.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709087"],"photo_id":"1394709087","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd496599bf075d6eab103fcb2365c616.jpg","text":"TemporaryFile(/tmp/multipartBody8998093320150701675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255422511,"filename":"image_16112025_02_06_31_3795.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709087"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709087"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.259449243545532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:09:42.073541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:10:02.867595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:10:22.276120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/09/image_16112025_02_09_48_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/09/image_16112025_02_09_48_2867.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.4299631118774414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:10:42.334764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/09/image_16112025_02_09_48_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/09/image_16112025_02_09_48_2867.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709105"],"photo_id":"1394709105","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07f0faa126145597c2a2d8f63efd3d97.jpg","text":"TemporaryFile(/tmp/multipartBody7473940908995739422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255502873,"filename":"image_16112025_02_09_48_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709105"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709105"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.511701345443726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:11:03.367504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:11:22.585317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_36_11861.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_38_1543.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_39_1611.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_44_1685.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_46_1601.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_47_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_36_11861.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_38_1543.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_39_1611.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_44_1685.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_46_1601.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_47_1621.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.7882122993469238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:11:42.663780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:12:02.365438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:12:21.975212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_36_11861.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_38_1543.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_39_1611.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_44_1685.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_46_1601.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_47_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_36_11861.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_38_1543.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_39_1611.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_44_1685.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_46_1601.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_47_1621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709137","1394709133","1394709139","1394709130","1394709132","1394709135"],"photo_ids_order":["1394709130","1394709132","1394709133","1394709135","1394709137","1394709139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d37b5875e433c00afb1e20d8dfc7459a.jpg","text":"TemporaryFile(/tmp/multipartBody4302543893686083133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255602795,"filename":"image_06112025_13_56_46_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/577f143b5c5d824b46ed58bfa26cded7.jpg","text":"TemporaryFile(/tmp/multipartBody763519944183845840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255602795,"filename":"image_06112025_13_56_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/11/16/52ba8935829ceef3eccd987be17564d3.jpg","text":"TemporaryFile(/tmp/multipartBody7460125275774615970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255602795,"filename":"image_06112025_13_56_47_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c5da19171699b8f3eb7a79b718ca3ec.jpg","text":"TemporaryFile(/tmp/multipartBody8977776548677506842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255602795,"filename":"image_06112025_13_56_36_11861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e7de5a0fbb6dc6f0cc11e9296892e0b.jpg","text":"TemporaryFile(/tmp/multipartBody2810297452770760740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255602795,"filename":"image_06112025_13_56_38_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1469ddec5e4a39ce3af650b4d90fe25.jpg","text":"TemporaryFile(/tmp/multipartBody460842291008225808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255602795,"filename":"image_06112025_13_56_44_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709133","file1":"1394709132","file0":"1394709130","file4":"1394709137","file5":"1394709139","file3":"1394709135"},"map_files_photo_id_array":[{"photo_id":"1394709139","filename":"file5"},{"photo_id":"1394709133","filename":"file2"},{"photo_id":"1394709137","filename":"file4"},{"photo_id":"1394709132","filename":"file1"},{"photo_id":"1394709130","filename":"file0"},{"photo_id":"1394709135","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709137":["hashtag1","hashtag2"]},{"1394709133":["hashtag1","hashtag2"]},{"1394709139":["hashtag1","hashtag2"]},{"1394709130":["hashtag1","hashtag2"]},{"1394709132":["hashtag1","hashtag2"]},{"1394709135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709137, 1394709133, 1394709139, 1394709130, 1394709132, 1394709135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.087117433547974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:13:02.907995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:13:22.251861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/10/image_16112025_02_10_04_3743.jpg', '/home/pi/Desktop/images/16112025/02/13/image_16112025_02_13_15_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/10/image_16112025_02_10_04_3743.jpg
/home/pi/Desktop/images/16112025/02/13/image_16112025_02_13_15_3696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709212","1394709214"],"photo_ids_order":["1394709212","1394709214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33fba0365b76b222697384287b860871.jpg","text":"TemporaryFile(/tmp/multipartBody3428339486170069732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255662783,"filename":"image_16112025_02_10_04_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5881c107d83950b8b345f13cd6c8d898.jpg","text":"TemporaryFile(/tmp/multipartBody5641950197390159047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255662783,"filename":"image_16112025_02_13_15_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394709214","file0":"1394709212"},"map_files_photo_id_array":[{"photo_id":"1394709214","filename":"file1"},{"photo_id":"1394709212","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709212":["hashtag1","hashtag2"]},{"1394709214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709212, 1394709214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.63278841972351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:13:42.154744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:14:03.112164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:14:22.411225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_49_1596.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_51_1611.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_54_1726.jpg', '/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_56_1540.jpg', '/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_02_1807.jpg', '/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_13_8627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_49_1596.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_51_1611.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_54_1726.jpg
/home/pi/Desktop/images/06112025/13/56/image_06112025_13_56_56_1540.jpg
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_02_1807.jpg
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_13_8627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709230","1394709233","1394709235","1394709237","1394709231","1394709228"],"photo_ids_order":["1394709228","1394709230","1394709231","1394709233","1394709235","1394709237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bafd5dc53c7e7e6d77ff5496a3c3f82.jpg","text":"TemporaryFile(/tmp/multipartBody5522810868191066289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255723300,"filename":"image_06112025_13_56_51_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a96df7ebfabae679fef25268001db89.jpg","text":"TemporaryFile(/tmp/multipartBody4702253487177082233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255723300,"filename":"image_06112025_13_56_56_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83cbbbaaf555019f970255e935135218.jpg","text":"TemporaryFile(/tmp/multipartBody6964901288992975300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255723300,"filename":"image_06112025_13_57_02_1807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dcc6dd40fd7356d8457050840c2c134.jpg","text":"TemporaryFile(/tmp/multipartBody7314392316932804657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255723300,"filename":"image_06112025_13_57_13_8627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73d4cc11731afde4aa2dc3cbe7e8b6e6.jpg","text":"TemporaryFile(/tmp/multipartBody8928901897591551753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255723300,"filename":"image_06112025_13_56_54_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03c5e91a216609c13fe35f2d72a4acfa.jpg","text":"TemporaryFile(/tmp/multipartBody790338161244809698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255723300,"filename":"image_06112025_13_56_49_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709231","file1":"1394709230","file0":"1394709228","file4":"1394709235","file5":"1394709237","file3":"1394709233"},"map_files_photo_id_array":[{"photo_id":"1394709237","filename":"file5"},{"photo_id":"1394709231","filename":"file2"},{"photo_id":"1394709235","filename":"file4"},{"photo_id":"1394709230","filename":"file1"},{"photo_id":"1394709228","filename":"file0"},{"photo_id":"1394709233","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709230":["hashtag1","hashtag2"]},{"1394709233":["hashtag1","hashtag2"]},{"1394709235":["hashtag1","hashtag2"]},{"1394709237":["hashtag1","hashtag2"]},{"1394709231":["hashtag1","hashtag2"]},{"1394709228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709230, 1394709233, 1394709235, 1394709237, 1394709231, 1394709228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38949918746948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:15:03.528165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:15:22.698783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/13/image_16112025_02_13_24_3619.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_11_2796.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_24_3717.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_27_2831.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_51_3605.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_54_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/13/image_16112025_02_13_24_3619.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_11_2796.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_24_3717.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_27_2831.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_51_3605.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_54_2693.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.5833845138549805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:15:42.741926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/13/image_16112025_02_13_24_3619.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_11_2796.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_24_3717.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_27_2831.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_51_3605.jpg', '/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_54_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/13/image_16112025_02_13_24_3619.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_11_2796.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_24_3717.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_27_2831.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_51_3605.jpg
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_54_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709278","1394709283","1394709280","1394709282","1394709279","1394709281"],"photo_ids_order":["1394709278","1394709279","1394709280","1394709281","1394709282","1394709283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/518dfad9ef340a66ef3dd5deca0f0b35.jpg","text":"TemporaryFile(/tmp/multipartBody4495914330249617202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255803474,"filename":"image_16112025_02_13_24_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ba5432427585e90fde4f93a7ae20096.jpg","text":"TemporaryFile(/tmp/multipartBody7931114828398635972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255803474,"filename":"image_16112025_02_15_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/11/16/959109916784452ca030236c0f258c60.jpg","text":"TemporaryFile(/tmp/multipartBody6539649862412622919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255803474,"filename":"image_16112025_02_15_24_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89549327e3fc1b93b1c3b4f6f1930d7c.jpg","text":"TemporaryFile(/tmp/multipartBody2213595451993518147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255803474,"filename":"image_16112025_02_15_51_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbe1b753ddde27840692bbc29f7a267c.jpg","text":"TemporaryFile(/tmp/multipartBody1190231110659555539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255803474,"filename":"image_16112025_02_15_11_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e11c9593d66776ad7f1f741d4422e45b.jpg","text":"TemporaryFile(/tmp/multipartBody7276504157291091137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255803474,"filename":"image_16112025_02_15_27_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709280","file1":"1394709279","file0":"1394709278","file4":"1394709282","file5":"1394709283","file3":"1394709281"},"map_files_photo_id_array":[{"photo_id":"1394709283","filename":"file5"},{"photo_id":"1394709280","filename":"file2"},{"photo_id":"1394709282","filename":"file4"},{"photo_id":"1394709279","filename":"file1"},{"photo_id":"1394709278","filename":"file0"},{"photo_id":"1394709281","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709278":["hashtag1","hashtag2"]},{"1394709283":["hashtag1","hashtag2"]},{"1394709280":["hashtag1","hashtag2"]},{"1394709282":["hashtag1","hashtag2"]},{"1394709279":["hashtag1","hashtag2"]},{"1394709281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709278, 1394709283, 1394709280, 1394709282, 1394709279, 1394709281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67615747451782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:16:21.921217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_57_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/15/image_16112025_02_15_57_2634.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709287"],"photo_id":"1394709287","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab26fdccc0232713975d653bce944cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6442016076454104851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255842467,"filename":"image_16112025_02_15_57_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709287"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709287"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.862004280090332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:16:41.939559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:17:02.733486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:17:22.180018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/16/image_16112025_02_16_15_3719.jpg', '/home/pi/Desktop/images/16112025/02/17/image_16112025_02_17_21_3684.jpg', '/home/pi/Desktop/images/16112025/02/17/image_16112025_02_17_33_2615.jpg', '/home/pi/Desktop/images/16112025/02/17/image_16112025_02_17_38_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/16/image_16112025_02_16_15_3719.jpg
/home/pi/Desktop/images/16112025/02/17/image_16112025_02_17_21_3684.jpg
/home/pi/Desktop/images/16112025/02/17/image_16112025_02_17_33_2615.jpg
/home/pi/Desktop/images/16112025/02/17/image_16112025_02_17_38_2826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709302","1394709305","1394709307","1394709306"],"photo_ids_order":["1394709302","1394709305","1394709306","1394709307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/424cd9c382ae34d05ad3e2f7aa54dd9b.jpg","text":"TemporaryFile(/tmp/multipartBody3881303163517516895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255902783,"filename":"image_16112025_02_16_15_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/695637f5f1bd69c0d5f344f1abb47db9.jpg","text":"TemporaryFile(/tmp/multipartBody2715030220301128402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255902783,"filename":"image_16112025_02_17_21_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/973edaf76062212b8027102db7be916b.jpg","text":"TemporaryFile(/tmp/multipartBody2144030719542010839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255902783,"filename":"image_16112025_02_17_38_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9cc1730bcd21ffe3570aea7c7fbec76.jpg","text":"TemporaryFile(/tmp/multipartBody2898512032817654755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255902783,"filename":"image_16112025_02_17_33_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709306","file1":"1394709305","file0":"1394709302","file3":"1394709307"},"map_files_photo_id_array":[{"photo_id":"1394709306","filename":"file2"},{"photo_id":"1394709305","filename":"file1"},{"photo_id":"1394709302","filename":"file0"},{"photo_id":"1394709307","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709302":["hashtag1","hashtag2"]},{"1394709305":["hashtag1","hashtag2"]},{"1394709307":["hashtag1","hashtag2"]},{"1394709306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709302, 1394709305, 1394709307, 1394709306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.69154667854309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:18:02.819947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:18:22.426293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/17/image_16112025_02_17_59_2644.jpg', '/home/pi/Desktop/images/16112025/02/18/image_16112025_02_18_06_2893.jpg', '/home/pi/Desktop/images/16112025/02/18/image_16112025_02_18_14_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/17/image_16112025_02_17_59_2644.jpg
/home/pi/Desktop/images/16112025/02/18/image_16112025_02_18_06_2893.jpg
/home/pi/Desktop/images/16112025/02/18/image_16112025_02_18_14_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709313","1394709318","1394709315"],"photo_ids_order":["1394709313","1394709315","1394709318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/693d77bf37564251dfff46ad33f24991.jpg","text":"TemporaryFile(/tmp/multipartBody1395339448055563686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255962990,"filename":"image_16112025_02_17_59_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c5c5d5b016404ec0e7183daa8f149f4.jpg","text":"TemporaryFile(/tmp/multipartBody6381842447197669599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255962990,"filename":"image_16112025_02_18_14_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed4f4885074de3b312446e3cc6180c88.jpg","text":"TemporaryFile(/tmp/multipartBody1951974137976895462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763255962990,"filename":"image_16112025_02_18_06_2893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709318","file1":"1394709315","file0":"1394709313"},"map_files_photo_id_array":[{"photo_id":"1394709318","filename":"file2"},{"photo_id":"1394709315","filename":"file1"},{"photo_id":"1394709313","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709313":["hashtag1","hashtag2"]},{"1394709318":["hashtag1","hashtag2"]},{"1394709315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709313, 1394709318, 1394709315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.187907457351685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:19:03.647615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:19:22.759245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/18/image_16112025_02_19_00_2649.jpg', '/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_02_2695.jpg', '/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_11_2613.jpg', '/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_20_2799.jpg', '/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_45_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/18/image_16112025_02_19_00_2649.jpg
/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_02_2695.jpg
/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_11_2613.jpg
/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_20_2799.jpg
/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_45_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709329","1394709323","1394709325","1394709328","1394709327"],"photo_ids_order":["1394709323","1394709325","1394709327","1394709328","1394709329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d04ed961208714087c37fe61bd14f59d.jpg","text":"TemporaryFile(/tmp/multipartBody1741005369672062069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256023413,"filename":"image_16112025_02_19_45_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/628ff986a9680db1469a4c972dcf23d0.jpg","text":"TemporaryFile(/tmp/multipartBody4552919734678666911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256023413,"filename":"image_16112025_02_19_00_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74da7967bbe1ec986b11af1747925371.jpg","text":"TemporaryFile(/tmp/multipartBody132099767472974068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256023413,"filename":"image_16112025_02_19_02_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cf3b1905fc90e78c6586ed3c9def4c9.jpg","text":"TemporaryFile(/tmp/multipartBody3679611712735495446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256023413,"filename":"image_16112025_02_19_20_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48b51f5d798df4a68a90fbd1c84e5889.jpg","text":"TemporaryFile(/tmp/multipartBody5323420648706361860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256023413,"filename":"image_16112025_02_19_11_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709327","file1":"1394709325","file0":"1394709323","file4":"1394709329","file3":"1394709328"},"map_files_photo_id_array":[{"photo_id":"1394709327","filename":"file2"},{"photo_id":"1394709329","filename":"file4"},{"photo_id":"1394709325","filename":"file1"},{"photo_id":"1394709323","filename":"file0"},{"photo_id":"1394709328","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709329":["hashtag1","hashtag2"]},{"1394709323":["hashtag1","hashtag2"]},{"1394709325":["hashtag1","hashtag2"]},{"1394709328":["hashtag1","hashtag2"]},{"1394709327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709329, 1394709323, 1394709325, 1394709328, 1394709327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.848493814468384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:20:02.520904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:20:22.020271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_54_3574.jpg', '/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_06_2844.jpg', '/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_21_3642.jpg', '/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_26_2545.jpg', '/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_30_3613.jpg', '/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_36_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/19/image_16112025_02_19_54_3574.jpg
/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_06_2844.jpg
/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_21_3642.jpg
/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_26_2545.jpg
/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_30_3613.jpg
/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_36_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709341","1394709344","1394709338","1394709349","1394709351","1394709347"],"photo_ids_order":["1394709338","1394709341","1394709344","1394709347","1394709349","1394709351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ab5ebf111c99653fab9c52f10a8ab61.jpg","text":"TemporaryFile(/tmp/multipartBody293729147463601399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256082748,"filename":"image_16112025_02_20_06_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f98d853174bb386bf1eced479b3469e9.jpg","text":"TemporaryFile(/tmp/multipartBody4410280068738243273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256082748,"filename":"image_16112025_02_20_21_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffa45408116608afb12f12d8e39c886a.jpg","text":"TemporaryFile(/tmp/multipartBody3235696384310898757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256082748,"filename":"image_16112025_02_19_54_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3968d500deb5195f371c59f0f6b72a74.jpg","text":"TemporaryFile(/tmp/multipartBody7374725045992129019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256082748,"filename":"image_16112025_02_20_30_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fac228ff3943f91a344afe2b45f9af7.jpg","text":"TemporaryFile(/tmp/multipartBody6361018183611351836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256082748,"filename":"image_16112025_02_20_36_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/755c758cb4aa436acc09d22e3c092f93.jpg","text":"TemporaryFile(/tmp/multipartBody3507341900991263536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256082748,"filename":"image_16112025_02_20_26_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709344","file1":"1394709341","file0":"1394709338","file4":"1394709349","file5":"1394709351","file3":"1394709347"},"map_files_photo_id_array":[{"photo_id":"1394709351","filename":"file5"},{"photo_id":"1394709344","filename":"file2"},{"photo_id":"1394709349","filename":"file4"},{"photo_id":"1394709341","filename":"file1"},{"photo_id":"1394709338","filename":"file0"},{"photo_id":"1394709347","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709341":["hashtag1","hashtag2"]},{"1394709344":["hashtag1","hashtag2"]},{"1394709338":["hashtag1","hashtag2"]},{"1394709349":["hashtag1","hashtag2"]},{"1394709351":["hashtag1","hashtag2"]},{"1394709347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709341, 1394709344, 1394709338, 1394709349, 1394709351, 1394709347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.049259662628174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:21:02.876270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:21:22.252202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_50_2547.jpg', '/home/pi/Desktop/images/16112025/02/21/image_16112025_02_21_14_2637.jpg', '/home/pi/Desktop/images/16112025/02/21/image_16112025_02_21_21_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/20/image_16112025_02_20_50_2547.jpg
/home/pi/Desktop/images/16112025/02/21/image_16112025_02_21_14_2637.jpg
/home/pi/Desktop/images/16112025/02/21/image_16112025_02_21_21_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709360","1394709354","1394709357"],"photo_ids_order":["1394709354","1394709357","1394709360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2988cce818a16e67f632ba7a91f38222.jpg","text":"TemporaryFile(/tmp/multipartBody1221555955407704214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256142813,"filename":"image_16112025_02_21_21_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f81c6322eafd289944164c7703e55826.jpg","text":"TemporaryFile(/tmp/multipartBody1749345987325887438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256142813,"filename":"image_16112025_02_20_50_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00187d2d82554d8ee5e6954bf35819b0.jpg","text":"TemporaryFile(/tmp/multipartBody1783021426655465112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256142813,"filename":"image_16112025_02_21_14_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709360","file1":"1394709357","file0":"1394709354"},"map_files_photo_id_array":[{"photo_id":"1394709360","filename":"file2"},{"photo_id":"1394709357","filename":"file1"},{"photo_id":"1394709354","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709360":["hashtag1","hashtag2"]},{"1394709354":["hashtag1","hashtag2"]},{"1394709357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709360, 1394709354, 1394709357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.5868558883667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:22:02.820755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:22:22.475490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_21_1757.jpg', '/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_25_1639.jpg', '/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_26_1527.jpg', '/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_28_1771.jpg', '/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_31_1616.jpg', '/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_48_17419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_21_1757.jpg
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_25_1639.jpg
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_26_1527.jpg
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_28_1771.jpg
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_31_1616.jpg
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_48_17419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709367","1394709372","1394709369","1394709363","1394709371","1394709365"],"photo_ids_order":["1394709363","1394709365","1394709367","1394709369","1394709371","1394709372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34941561047bf86d2f69380cb6a276ab.jpg","text":"TemporaryFile(/tmp/multipartBody4624793672052420837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256203372,"filename":"image_06112025_13_57_26_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8f1f53706f9678db19a581fb611f2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6045447774723291892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256203372,"filename":"image_06112025_13_57_48_17419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e38ef516187a1ad272c29c5464368e0.jpg","text":"TemporaryFile(/tmp/multipartBody2511896615702334806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256203372,"filename":"image_06112025_13_57_28_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11fa89e8dd27ee04537a40d1cd467a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8723666791448498336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256203372,"filename":"image_06112025_13_57_21_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f5d3b3a73c6209017061c392e2dc17d.jpg","text":"TemporaryFile(/tmp/multipartBody5842691718692386468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256203372,"filename":"image_06112025_13_57_31_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/597bf3e842aaa9d569780af4c86bea07.jpg","text":"TemporaryFile(/tmp/multipartBody956640665429464083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256203372,"filename":"image_06112025_13_57_25_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709367","file1":"1394709365","file0":"1394709363","file4":"1394709371","file5":"1394709372","file3":"1394709369"},"map_files_photo_id_array":[{"photo_id":"1394709372","filename":"file5"},{"photo_id":"1394709367","filename":"file2"},{"photo_id":"1394709371","filename":"file4"},{"photo_id":"1394709365","filename":"file1"},{"photo_id":"1394709363","filename":"file0"},{"photo_id":"1394709369","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709367":["hashtag1","hashtag2"]},{"1394709372":["hashtag1","hashtag2"]},{"1394709369":["hashtag1","hashtag2"]},{"1394709363":["hashtag1","hashtag2"]},{"1394709371":["hashtag1","hashtag2"]},{"1394709365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709367, 1394709372, 1394709369, 1394709363, 1394709371, 1394709365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.273958921432495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:23:03.451096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:23:22.640090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/21/image_16112025_02_21_23_2662.jpg', '/home/pi/Desktop/images/16112025/02/23/image_16112025_02_23_44_2684.jpg', '/home/pi/Desktop/images/16112025/02/23/image_16112025_02_23_47_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/21/image_16112025_02_21_23_2662.jpg
/home/pi/Desktop/images/16112025/02/23/image_16112025_02_23_44_2684.jpg
/home/pi/Desktop/images/16112025/02/23/image_16112025_02_23_47_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709376","1394709375","1394709377"],"photo_ids_order":["1394709375","1394709376","1394709377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c84d69744f4fbd3cff0ac0797a6114d.jpg","text":"TemporaryFile(/tmp/multipartBody1309986607629660115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256263200,"filename":"image_16112025_02_23_44_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3021f6c791d725e2b180123b5e67d304.jpg","text":"TemporaryFile(/tmp/multipartBody1056836345981545778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256263200,"filename":"image_16112025_02_21_23_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a35daa71a189ddac99e22ec0edbb6a7c.jpg","text":"TemporaryFile(/tmp/multipartBody2113216621303690107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256263200,"filename":"image_16112025_02_23_47_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709377","file1":"1394709376","file0":"1394709375"},"map_files_photo_id_array":[{"photo_id":"1394709377","filename":"file2"},{"photo_id":"1394709376","filename":"file1"},{"photo_id":"1394709375","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709376":["hashtag1","hashtag2"]},{"1394709375":["hashtag1","hashtag2"]},{"1394709377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709376, 1394709375, 1394709377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.486740350723267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:24:02.649275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:24:21.944834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/23/image_16112025_02_23_59_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/23/image_16112025_02_23_59_2622.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.3987157344818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:24:41.958515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/23/image_16112025_02_23_59_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/23/image_16112025_02_23_59_2622.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709392"],"photo_id":"1394709392","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5312f05e1acbb4af7db941d4ae362143.jpg","text":"TemporaryFile(/tmp/multipartBody5026355901637043965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256342444,"filename":"image_16112025_02_23_59_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709392"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709392"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.299905061721802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:25:02.836482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:25:22.233524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_50_1618.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_03_13239.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_05_1673.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_07_1832.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_08_1598.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_10_1827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_50_1618.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_03_13239.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_05_1673.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_07_1832.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_08_1598.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_10_1827.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.7942156791687012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:25:42.310758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:26:02.975685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:26:22.526504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/24/image_16112025_02_24_05_2573.jpg', '/home/pi/Desktop/images/16112025/02/26/image_16112025_02_26_34_2713.jpg', '/home/pi/Desktop/images/16112025/02/26/image_16112025_02_26_50_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/24/image_16112025_02_24_05_2573.jpg
/home/pi/Desktop/images/16112025/02/26/image_16112025_02_26_34_2713.jpg
/home/pi/Desktop/images/16112025/02/26/image_16112025_02_26_50_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709404","1394709406","1394709409"],"photo_ids_order":["1394709404","1394709406","1394709409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a6dccd8cd3f80096b8f66a6416af618.jpg","text":"TemporaryFile(/tmp/multipartBody4546654245096148991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256443092,"filename":"image_16112025_02_24_05_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02e59e1fb0aacefe6904c700eb87e95e.jpg","text":"TemporaryFile(/tmp/multipartBody9023231430343934603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256443092,"filename":"image_16112025_02_26_34_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcf781e296669d0e013e76bc9307d418.jpg","text":"TemporaryFile(/tmp/multipartBody4618159158096433816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256443092,"filename":"image_16112025_02_26_50_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709409","file1":"1394709406","file0":"1394709404"},"map_files_photo_id_array":[{"photo_id":"1394709409","filename":"file2"},{"photo_id":"1394709406","filename":"file1"},{"photo_id":"1394709404","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709404":["hashtag1","hashtag2"]},{"1394709406":["hashtag1","hashtag2"]},{"1394709409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709404, 1394709406, 1394709409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.21511173248291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:27:03.507618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:27:22.721149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/26/image_16112025_02_26_59_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/26/image_16112025_02_26_59_2620.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709413"],"photo_id":"1394709413","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6a31d639f13b4347abe16e2a265a38c.jpg","text":"TemporaryFile(/tmp/multipartBody4925865816118502750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256503203,"filename":"image_16112025_02_26_59_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709413"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709413"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.08301591873169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:27:42.718975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:28:02.412335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:28:21.993747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/27/image_16112025_02_27_05_3669.jpg', '/home/pi/Desktop/images/16112025/02/28/image_16112025_02_28_44_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/27/image_16112025_02_27_05_3669.jpg
/home/pi/Desktop/images/16112025/02/28/image_16112025_02_28_44_1685.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709424","1394709421"],"photo_ids_order":["1394709421","1394709424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05ad67782ecb987f4c8dbdcce9548332.jpg","text":"TemporaryFile(/tmp/multipartBody7338251285032186309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256562520,"filename":"image_16112025_02_28_44_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/557f1563a8d39d06e12b4adccdf057b1.jpg","text":"TemporaryFile(/tmp/multipartBody3351755705669622609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256562520,"filename":"image_16112025_02_27_05_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394709424","file0":"1394709421"},"map_files_photo_id_array":[{"photo_id":"1394709424","filename":"file1"},{"photo_id":"1394709421","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709424":["hashtag1","hashtag2"]},{"1394709421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709424, 1394709421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.144888162612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:28:41.929286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:29:03.273948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:29:22.203806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/28/image_16112025_02_28_50_3727.jpg', '/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_20_2756.jpg', '/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_22_2807.jpg', '/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_35_3641.jpg', '/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_40_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/28/image_16112025_02_28_50_3727.jpg
/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_20_2756.jpg
/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_22_2807.jpg
/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_35_3641.jpg
/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_40_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709434","1394709430","1394709433","1394709432","1394709429"],"photo_ids_order":["1394709429","1394709430","1394709432","1394709433","1394709434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff387e50e149fdb4f5efa71893dee33f.jpg","text":"TemporaryFile(/tmp/multipartBody2237049395406448224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256622858,"filename":"image_16112025_02_29_40_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cf389a04aefa96b7e8baa67dd42015e.jpg","text":"TemporaryFile(/tmp/multipartBody1483745768472432320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256622858,"filename":"image_16112025_02_29_20_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95ece91a292250e9ce2cc51b90ce92a1.jpg","text":"TemporaryFile(/tmp/multipartBody5375100656115487433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256622858,"filename":"image_16112025_02_29_35_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/957ee0d603ea0211a9c5569dda6ea170.jpg","text":"TemporaryFile(/tmp/multipartBody5671371562616450490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256622858,"filename":"image_16112025_02_29_22_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/390d40feddf653fe5c7fa654aa083404.jpg","text":"TemporaryFile(/tmp/multipartBody7621253947921128099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256622858,"filename":"image_16112025_02_28_50_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709432","file1":"1394709430","file0":"1394709429","file4":"1394709434","file3":"1394709433"},"map_files_photo_id_array":[{"photo_id":"1394709432","filename":"file2"},{"photo_id":"1394709434","filename":"file4"},{"photo_id":"1394709430","filename":"file1"},{"photo_id":"1394709429","filename":"file0"},{"photo_id":"1394709433","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709434":["hashtag1","hashtag2"]},{"1394709430":["hashtag1","hashtag2"]},{"1394709433":["hashtag1","hashtag2"]},{"1394709432":["hashtag1","hashtag2"]},{"1394709429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709434, 1394709430, 1394709433, 1394709432, 1394709429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.488625288009644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:30:02.875511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:30:22.396687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_56_2896.jpg', '/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_07_3508.jpg', '/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_46_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_56_2896.jpg
/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_07_3508.jpg
/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_46_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: 0.4741392135620117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:30:42.371857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_56_2896.jpg', '/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_07_3508.jpg', '/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_46_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/29/image_16112025_02_29_56_2896.jpg
/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_07_3508.jpg
/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_46_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709449","1394709450","1394709447"],"photo_ids_order":["1394709447","1394709449","1394709450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7324ea0fa6b4794880e4336e898514c3.jpg","text":"TemporaryFile(/tmp/multipartBody1326782852735767919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256702995,"filename":"image_16112025_02_30_07_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47a59a1090bfff785ffa2d83bac343af.jpg","text":"TemporaryFile(/tmp/multipartBody1598770823730503536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256702995,"filename":"image_16112025_02_30_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/11/16/61d664bab8563d8a743903903971ed05.jpg","text":"TemporaryFile(/tmp/multipartBody3132966624757651363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256702995,"filename":"image_16112025_02_29_56_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709450","file1":"1394709449","file0":"1394709447"},"map_files_photo_id_array":[{"photo_id":"1394709450","filename":"file2"},{"photo_id":"1394709449","filename":"file1"},{"photo_id":"1394709447","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709449":["hashtag1","hashtag2"]},{"1394709450":["hashtag1","hashtag2"]},{"1394709447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709449, 1394709450, 1394709447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.00575828552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:31:22.575542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_58_2552.jpg', '/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_02_3635.jpg', '/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_25_2661.jpg', '/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_28_2530.jpg', '/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_34_2964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/30/image_16112025_02_30_58_2552.jpg
/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_02_3635.jpg
/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_25_2661.jpg
/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_28_2530.jpg
/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_34_2964.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709469","1394709460","1394709463","1394709466","1394709468"],"photo_ids_order":["1394709460","1394709463","1394709466","1394709468","1394709469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2440cb138ce88875ce38a26287c57d52.jpg","text":"TemporaryFile(/tmp/multipartBody1225920805669762983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256743302,"filename":"image_16112025_02_31_34_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f060b792a1bcbadefe33a2e88299b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7688484392768810141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256743302,"filename":"image_16112025_02_30_58_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7486ccf8bc8c72dda96dd7a81bff7475.jpg","text":"TemporaryFile(/tmp/multipartBody8993461058361482869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256743302,"filename":"image_16112025_02_31_02_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33c0f877e6c1e7c9926633800012bfc9.jpg","text":"TemporaryFile(/tmp/multipartBody2471661337074596398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256743302,"filename":"image_16112025_02_31_25_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c075272c1fb48d522df2d77d2749cdbb.jpg","text":"TemporaryFile(/tmp/multipartBody6767270168676280294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256743302,"filename":"image_16112025_02_31_28_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709466","file1":"1394709463","file0":"1394709460","file4":"1394709469","file3":"1394709468"},"map_files_photo_id_array":[{"photo_id":"1394709466","filename":"file2"},{"photo_id":"1394709469","filename":"file4"},{"photo_id":"1394709463","filename":"file1"},{"photo_id":"1394709460","filename":"file0"},{"photo_id":"1394709468","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709469":["hashtag1","hashtag2"]},{"1394709460":["hashtag1","hashtag2"]},{"1394709463":["hashtag1","hashtag2"]},{"1394709466":["hashtag1","hashtag2"]},{"1394709468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709469, 1394709460, 1394709463, 1394709466, 1394709468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.504355430603027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:32:03.317856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:32:22.824218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_53_3670.jpg', '/home/pi/Desktop/images/16112025/02/32/image_16112025_02_32_34_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/31/image_16112025_02_31_53_3670.jpg
/home/pi/Desktop/images/16112025/02/32/image_16112025_02_32_34_2597.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709476","1394709473"],"photo_ids_order":["1394709473","1394709476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b82cddc2d158bad889e81f95dbd2f625.jpg","text":"TemporaryFile(/tmp/multipartBody6174276073559460130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256803341,"filename":"image_16112025_02_32_34_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0497a501f2a94ccc44de837827205ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2242654371222341680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256803341,"filename":"image_16112025_02_31_53_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394709476","file0":"1394709473"},"map_files_photo_id_array":[{"photo_id":"1394709476","filename":"file1"},{"photo_id":"1394709473","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709476":["hashtag1","hashtag2"]},{"1394709473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709476, 1394709473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.037391424179077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:32:42.888746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:33:02.995340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:33:22.093898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/32/image_16112025_02_32_43_2658.jpg', '/home/pi/Desktop/images/16112025/02/33/image_16112025_02_33_13_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/32/image_16112025_02_32_43_2658.jpg
/home/pi/Desktop/images/16112025/02/33/image_16112025_02_33_13_3534.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709481","1394709484"],"photo_ids_order":["1394709481","1394709484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06e73ebd61a0662cd8b87a3d38405cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1613975737057157914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256862626,"filename":"image_16112025_02_32_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/11/16/f5078dad441c3c79e7999e05aaa93d98.jpg","text":"TemporaryFile(/tmp/multipartBody6666225751202312286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256862626,"filename":"image_16112025_02_33_13_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394709484","file0":"1394709481"},"map_files_photo_id_array":[{"photo_id":"1394709484","filename":"file1"},{"photo_id":"1394709481","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709481":["hashtag1","hashtag2"]},{"1394709484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709481, 1394709484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.71234965324402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:33:42.148402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:34:03.059565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:34:22.343403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/33/image_16112025_02_33_58_3661.jpg', '/home/pi/Desktop/images/16112025/02/34/image_16112025_02_34_04_2965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/33/image_16112025_02_33_58_3661.jpg
/home/pi/Desktop/images/16112025/02/34/image_16112025_02_34_04_2965.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709490","1394709491"],"photo_ids_order":["1394709490","1394709491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c33388c468a7a1f64891bd330709e0c.jpg","text":"TemporaryFile(/tmp/multipartBody2528851791420240623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256922931,"filename":"image_16112025_02_33_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/11/16/6d120d75f52e3c305c8502c77bfbe992.jpg","text":"TemporaryFile(/tmp/multipartBody5345865085274963692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763256922931,"filename":"image_16112025_02_34_04_2965.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394709491","file0":"1394709490"},"map_files_photo_id_array":[{"photo_id":"1394709491","filename":"file1"},{"photo_id":"1394709490","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709490":["hashtag1","hashtag2"]},{"1394709491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709490, 1394709491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.40606951713562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:34:42.334866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:35:03.333012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:35:22.504305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/34/image_16112025_02_34_25_3613.jpg', '/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_10_2783.jpg', '/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_28_3633.jpg', '/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_40_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/34/image_16112025_02_34_25_3613.jpg
/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_10_2783.jpg
/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_28_3633.jpg
/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_40_2703.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.5137419700622559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:35:42.602485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/34/image_16112025_02_34_25_3613.jpg', '/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_10_2783.jpg', '/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_28_3633.jpg', '/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_40_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/34/image_16112025_02_34_25_3613.jpg
/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_10_2783.jpg
/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_28_3633.jpg
/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_40_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709503","1394709505","1394709502","1394709504"],"photo_ids_order":["1394709502","1394709503","1394709504","1394709505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/698a3a08812a192758eaa90cc2304e25.jpg","text":"TemporaryFile(/tmp/multipartBody2456666491015315858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257003199,"filename":"image_16112025_02_35_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/11/16/ce87028238896d574a15f0c2b00dd77d.jpg","text":"TemporaryFile(/tmp/multipartBody984433615111957160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257003199,"filename":"image_16112025_02_35_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/11/16/1bcc2f3efc90650295e7f94ed4d1fca2.jpg","text":"TemporaryFile(/tmp/multipartBody6456091768508777347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257003199,"filename":"image_16112025_02_34_25_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a339cee3bfba95545194ac2b59d9fb5.jpg","text":"TemporaryFile(/tmp/multipartBody385898526353674344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257003199,"filename":"image_16112025_02_35_28_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709504","file1":"1394709503","file0":"1394709502","file3":"1394709505"},"map_files_photo_id_array":[{"photo_id":"1394709504","filename":"file2"},{"photo_id":"1394709503","filename":"file1"},{"photo_id":"1394709502","filename":"file0"},{"photo_id":"1394709505","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709503":["hashtag1","hashtag2"]},{"1394709505":["hashtag1","hashtag2"]},{"1394709502":["hashtag1","hashtag2"]},{"1394709504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709503, 1394709505, 1394709502, 1394709504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.587992429733276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:36:21.774150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_46_2763.jpg', '/home/pi/Desktop/images/16112025/02/36/image_16112025_02_36_06_2588.jpg', '/home/pi/Desktop/images/16112025/02/36/image_16112025_02_36_19_3681.jpg', '/home/pi/Desktop/images/16112025/02/36/image_16112025_02_36_31_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/35/image_16112025_02_35_46_2763.jpg
/home/pi/Desktop/images/16112025/02/36/image_16112025_02_36_06_2588.jpg
/home/pi/Desktop/images/16112025/02/36/image_16112025_02_36_19_3681.jpg
/home/pi/Desktop/images/16112025/02/36/image_16112025_02_36_31_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709509","1394709511","1394709508","1394709513"],"photo_ids_order":["1394709508","1394709509","1394709511","1394709513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb698e046ae8194a8bf3a418fa966a16.jpg","text":"TemporaryFile(/tmp/multipartBody2938013188943785047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257042399,"filename":"image_16112025_02_36_06_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36afa013c901e587648ade24f45626f8.jpg","text":"TemporaryFile(/tmp/multipartBody7076877555993544958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257042399,"filename":"image_16112025_02_36_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/11/16/ea0675a6066f3a9ce1c8b9540855efce.jpg","text":"TemporaryFile(/tmp/multipartBody8980550550257360453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257042399,"filename":"image_16112025_02_35_46_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7b5f2ef685876b916f1d9787c52cff5.jpg","text":"TemporaryFile(/tmp/multipartBody1546434321691988071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257042399,"filename":"image_16112025_02_36_31_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709511","file1":"1394709509","file0":"1394709508","file3":"1394709513"},"map_files_photo_id_array":[{"photo_id":"1394709511","filename":"file2"},{"photo_id":"1394709509","filename":"file1"},{"photo_id":"1394709508","filename":"file0"},{"photo_id":"1394709513","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709509":["hashtag1","hashtag2"]},{"1394709511":["hashtag1","hashtag2"]},{"1394709508":["hashtag1","hashtag2"]},{"1394709513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709509, 1394709511, 1394709508, 1394709513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.271491527557373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:37:02.777681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:37:22.034909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/36/image_16112025_02_36_33_2651.jpg', '/home/pi/Desktop/images/16112025/02/37/image_16112025_02_37_31_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/36/image_16112025_02_36_33_2651.jpg
/home/pi/Desktop/images/16112025/02/37/image_16112025_02_37_31_2650.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709523","1394709520"],"photo_ids_order":["1394709520","1394709523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53ac34b47e1673bef09b57b0dc2fe396.jpg","text":"TemporaryFile(/tmp/multipartBody4134009529570046016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257102555,"filename":"image_16112025_02_37_31_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad30d9a0175dee3d863d22dacfffa021.jpg","text":"TemporaryFile(/tmp/multipartBody8266794526524131200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257102555,"filename":"image_16112025_02_36_33_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394709523","file0":"1394709520"},"map_files_photo_id_array":[{"photo_id":"1394709523","filename":"file1"},{"photo_id":"1394709520","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709523":["hashtag1","hashtag2"]},{"1394709520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709523, 1394709520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.353039264678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:37:42.033697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:38:02.786385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:38:22.315568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/37/image_16112025_02_37_33_2659.jpg', '/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_12_2700.jpg', '/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_16_3719.jpg', '/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_19_2623.jpg', '/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_28_2572.jpg', '/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_33_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/37/image_16112025_02_37_33_2659.jpg
/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_12_2700.jpg
/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_16_3719.jpg
/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_19_2623.jpg
/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_28_2572.jpg
/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_33_2860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709536","1394709541","1394709538","1394709540","1394709534","1394709539"],"photo_ids_order":["1394709534","1394709536","1394709538","1394709539","1394709540","1394709541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9427314a9fa235d343c797b227811e7.jpg","text":"TemporaryFile(/tmp/multipartBody2903099195221092878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257163040,"filename":"image_16112025_02_38_12_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c85ddee175beec582fe19712a43b634.jpg","text":"TemporaryFile(/tmp/multipartBody1435954859439842516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257163040,"filename":"image_16112025_02_38_33_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a354cbcd4edcecbda1a56aa4aca3a6d7.jpg","text":"TemporaryFile(/tmp/multipartBody7702379244578515260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257163040,"filename":"image_16112025_02_38_16_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b90494c82b765a412743e453f56733c.jpg","text":"TemporaryFile(/tmp/multipartBody8502982462115187264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257163040,"filename":"image_16112025_02_38_28_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eecaebd62c74eba12377c9d07a152b23.jpg","text":"TemporaryFile(/tmp/multipartBody5299028987719924609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257163040,"filename":"image_16112025_02_37_33_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c919da9af5790c8c1454c6117980bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4898045959570611499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257163040,"filename":"image_16112025_02_38_19_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709538","file1":"1394709536","file0":"1394709534","file4":"1394709540","file5":"1394709541","file3":"1394709539"},"map_files_photo_id_array":[{"photo_id":"1394709541","filename":"file5"},{"photo_id":"1394709538","filename":"file2"},{"photo_id":"1394709540","filename":"file4"},{"photo_id":"1394709536","filename":"file1"},{"photo_id":"1394709534","filename":"file0"},{"photo_id":"1394709539","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709536":["hashtag1","hashtag2"]},{"1394709541":["hashtag1","hashtag2"]},{"1394709538":["hashtag1","hashtag2"]},{"1394709540":["hashtag1","hashtag2"]},{"1394709534":["hashtag1","hashtag2"]},{"1394709539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709536, 1394709541, 1394709538, 1394709540, 1394709534, 1394709539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41759276390076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:39:03.523502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_39_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/38/image_16112025_02_38_39_2688.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709542"],"photo_id":"1394709542","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2e2b7d16f827cc7b569c776b1a72407.jpg","text":"TemporaryFile(/tmp/multipartBody3295577291187227589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257204132,"filename":"image_16112025_02_38_39_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709542"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709542"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.44401502609253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:39:22.413391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/38/image_16112025_02_39_00_2624.jpg', '/home/pi/Desktop/images/16112025/02/39/image_16112025_02_39_12_2745.jpg', '/home/pi/Desktop/images/16112025/02/39/image_16112025_02_39_19_2807.jpg', '/home/pi/Desktop/images/16112025/02/39/image_16112025_02_39_21_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/38/image_16112025_02_39_00_2624.jpg
/home/pi/Desktop/images/16112025/02/39/image_16112025_02_39_12_2745.jpg
/home/pi/Desktop/images/16112025/02/39/image_16112025_02_39_19_2807.jpg
/home/pi/Desktop/images/16112025/02/39/image_16112025_02_39_21_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709544","1394709547","1394709549","1394709543"],"photo_ids_order":["1394709543","1394709544","1394709547","1394709549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a963d2f047562a3fb14859cabde9c75.jpg","text":"TemporaryFile(/tmp/multipartBody5989136247919106373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257223020,"filename":"image_16112025_02_39_12_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/585478863f58b827a35effd0f3eee08e.jpg","text":"TemporaryFile(/tmp/multipartBody439800189738722381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257223020,"filename":"image_16112025_02_39_19_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1740f82bea716bc026b596c122632b8f.jpg","text":"TemporaryFile(/tmp/multipartBody3158323712686314951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257223020,"filename":"image_16112025_02_39_21_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5db673af9246c7871754f10b9dc0b70f.jpg","text":"TemporaryFile(/tmp/multipartBody3347505036163701517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257223020,"filename":"image_16112025_02_39_00_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709547","file1":"1394709544","file0":"1394709543","file3":"1394709549"},"map_files_photo_id_array":[{"photo_id":"1394709547","filename":"file2"},{"photo_id":"1394709544","filename":"file1"},{"photo_id":"1394709543","filename":"file0"},{"photo_id":"1394709549","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709544":["hashtag1","hashtag2"]},{"1394709547":["hashtag1","hashtag2"]},{"1394709549":["hashtag1","hashtag2"]},{"1394709543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709544, 1394709547, 1394709549, 1394709543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.722102880477905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:40:03.126047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:40:22.744068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_50_1618.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_03_13239.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_05_1673.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_07_1832.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_08_1598.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_10_1827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/57/image_06112025_13_57_50_1618.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_03_13239.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_05_1673.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_07_1832.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_08_1598.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_10_1827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709562","1394709565","1394709567","1394709564","1394709563","1394709566"],"photo_ids_order":["1394709562","1394709563","1394709564","1394709565","1394709566","1394709567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72b6c8ed7630563eda61566465b2d528.jpg","text":"TemporaryFile(/tmp/multipartBody6030721727486930503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257283507,"filename":"image_06112025_13_57_50_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71cc315e773f65bf765225a24c9dd7c0.jpg","text":"TemporaryFile(/tmp/multipartBody8940361206711293359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257283507,"filename":"image_06112025_13_58_07_1832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0527c10d673c74f2b1c3f2a3685b1787.jpg","text":"TemporaryFile(/tmp/multipartBody4556433064535788778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257283507,"filename":"image_06112025_13_58_10_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e437558a7ce05e5b441b89db7d476a66.jpg","text":"TemporaryFile(/tmp/multipartBody4870839907389310959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257283507,"filename":"image_06112025_13_58_05_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c75b867b1c68a3a40717a0798bb2bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2515249270412240422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257283507,"filename":"image_06112025_13_58_03_13239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b795181463fc49bf7ba4a5d182fc0c2.jpg","text":"TemporaryFile(/tmp/multipartBody7619863429700995760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257283507,"filename":"image_06112025_13_58_08_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709564","file1":"1394709563","file0":"1394709562","file4":"1394709566","file5":"1394709567","file3":"1394709565"},"map_files_photo_id_array":[{"photo_id":"1394709567","filename":"file5"},{"photo_id":"1394709564","filename":"file2"},{"photo_id":"1394709566","filename":"file4"},{"photo_id":"1394709563","filename":"file1"},{"photo_id":"1394709562","filename":"file0"},{"photo_id":"1394709565","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709562":["hashtag1","hashtag2"]},{"1394709565":["hashtag1","hashtag2"]},{"1394709567":["hashtag1","hashtag2"]},{"1394709564":["hashtag1","hashtag2"]},{"1394709563":["hashtag1","hashtag2"]},{"1394709566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709562, 1394709565, 1394709567, 1394709564, 1394709563, 1394709566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36987543106079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:41:02.527246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:41:21.788056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_12_1772.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_14_1545.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_15_1701.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_19_1583.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_20_1919.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_22_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_12_1772.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_14_1545.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_15_1701.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_19_1583.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_20_1919.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_22_1564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709577","1394709570","1394709573","1394709575","1394709578","1394709572"],"photo_ids_order":["1394709570","1394709572","1394709573","1394709575","1394709577","1394709578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/793f3a645df2ca92ee1e9b1fdeff2d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3158684845921593768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257342656,"filename":"image_06112025_13_58_20_1919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d3b0aba751c7939a03e885855cb61df.jpg","text":"TemporaryFile(/tmp/multipartBody8150323612668042265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257342656,"filename":"image_06112025_13_58_12_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4702a6ad58da22dc386a497972e2640.jpg","text":"TemporaryFile(/tmp/multipartBody3403526402736898370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257342656,"filename":"image_06112025_13_58_15_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29588c68d14a5e0c1f38d97c93aa0d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6464374465694948944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257342656,"filename":"image_06112025_13_58_19_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3b748240358001a3aa6355a36ed4a52.jpg","text":"TemporaryFile(/tmp/multipartBody8044273226045344349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257342656,"filename":"image_06112025_13_58_22_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13a5e4ea9948c5d00e5fef044d3e5c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6292729319136852012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257342656,"filename":"image_06112025_13_58_14_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709573","file1":"1394709572","file0":"1394709570","file4":"1394709577","file5":"1394709578","file3":"1394709575"},"map_files_photo_id_array":[{"photo_id":"1394709578","filename":"file5"},{"photo_id":"1394709573","filename":"file2"},{"photo_id":"1394709577","filename":"file4"},{"photo_id":"1394709572","filename":"file1"},{"photo_id":"1394709570","filename":"file0"},{"photo_id":"1394709575","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709577":["hashtag1","hashtag2"]},{"1394709570":["hashtag1","hashtag2"]},{"1394709573":["hashtag1","hashtag2"]},{"1394709575":["hashtag1","hashtag2"]},{"1394709578":["hashtag1","hashtag2"]},{"1394709572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709577, 1394709570, 1394709573, 1394709575, 1394709578, 1394709572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.818695306777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:42:02.438293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:42:22.067381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/39/image_16112025_02_39_37_3593.jpg', '/home/pi/Desktop/images/16112025/02/42/image_16112025_02_42_03_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/39/image_16112025_02_39_37_3593.jpg
/home/pi/Desktop/images/16112025/02/42/image_16112025_02_42_03_2668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709586","1394709585"],"photo_ids_order":["1394709585","1394709586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b359c46c9e343b4e43fe657444fc4c8.jpg","text":"TemporaryFile(/tmp/multipartBody2756277653066908579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257402594,"filename":"image_16112025_02_42_03_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5d17de14849bd810a4a1fd13b796c97.jpg","text":"TemporaryFile(/tmp/multipartBody8611785245710124570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257402594,"filename":"image_16112025_02_39_37_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394709586","file0":"1394709585"},"map_files_photo_id_array":[{"photo_id":"1394709586","filename":"file1"},{"photo_id":"1394709585","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709586":["hashtag1","hashtag2"]},{"1394709585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709586, 1394709585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.244496822357178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:42:41.944432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:43:02.804136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:43:22.189990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/42/image_16112025_02_42_10_3791.jpg', '/home/pi/Desktop/images/16112025/02/43/image_16112025_02_43_54_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/42/image_16112025_02_42_10_3791.jpg
/home/pi/Desktop/images/16112025/02/43/image_16112025_02_43_54_2548.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709635","1394709636"],"photo_ids_order":["1394709635","1394709636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cd00c5d895aaaf541cc0d9ea0c17f0c.jpg","text":"TemporaryFile(/tmp/multipartBody9124358196072163943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257462752,"filename":"image_16112025_02_42_10_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a14b44b523ea7b5d6576fea8e9acaf7b.jpg","text":"TemporaryFile(/tmp/multipartBody5758554035243205490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257462752,"filename":"image_16112025_02_43_54_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394709636","file0":"1394709635"},"map_files_photo_id_array":[{"photo_id":"1394709636","filename":"file1"},{"photo_id":"1394709635","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709635":["hashtag1","hashtag2"]},{"1394709636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709635, 1394709636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.610638856887817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:43:42.244496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:44:03.245993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:44:22.463305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/43/image_16112025_02_44_00_2667.jpg', '/home/pi/Desktop/images/16112025/02/44/image_16112025_02_44_03_2865.jpg', '/home/pi/Desktop/images/16112025/02/44/image_16112025_02_44_22_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/43/image_16112025_02_44_00_2667.jpg
/home/pi/Desktop/images/16112025/02/44/image_16112025_02_44_03_2865.jpg
/home/pi/Desktop/images/16112025/02/44/image_16112025_02_44_22_9762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709642","1394709639","1394709644"],"photo_ids_order":["1394709639","1394709642","1394709644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e57b964937ba22dd4141595e3f0e8837.jpg","text":"TemporaryFile(/tmp/multipartBody560479515255126889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257523028,"filename":"image_16112025_02_44_03_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd67ce464de89fe7960913cbaad19266.jpg","text":"TemporaryFile(/tmp/multipartBody5782218593244209043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257523028,"filename":"image_16112025_02_44_00_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbb027bdb7e1a9c9edff5f132da56982.jpg","text":"TemporaryFile(/tmp/multipartBody6567745817866404105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257523028,"filename":"image_16112025_02_44_22_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709644","file1":"1394709642","file0":"1394709639"},"map_files_photo_id_array":[{"photo_id":"1394709644","filename":"file2"},{"photo_id":"1394709642","filename":"file1"},{"photo_id":"1394709639","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709642":["hashtag1","hashtag2"]},{"1394709639":["hashtag1","hashtag2"]},{"1394709644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709642, 1394709639, 1394709644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.80886936187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:45:03.410822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:45:22.677402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_24_1850.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_45_19216.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_46_1657.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_48_1689.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_50_1536.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_51_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_24_1850.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_45_19216.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_46_1657.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_48_1689.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_50_1536.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_51_1714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709655","1394709658","1394709660","1394709657","1394709656","1394709659"],"photo_ids_order":["1394709655","1394709656","1394709657","1394709658","1394709659","1394709660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f2c1ed14924c6632bd023ff073d8978.jpg","text":"TemporaryFile(/tmp/multipartBody8252554793477761432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257583559,"filename":"image_06112025_13_58_24_1850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89666089d714237c9f883cf8039e8966.jpg","text":"TemporaryFile(/tmp/multipartBody612498858486123723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257583559,"filename":"image_06112025_13_58_48_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae6690c8ccf249bd2101a5eeb758e781.jpg","text":"TemporaryFile(/tmp/multipartBody8507420884882848536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257583559,"filename":"image_06112025_13_58_51_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0dde9404b8f049c64997da801011ba9.jpg","text":"TemporaryFile(/tmp/multipartBody5939232603877120738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257583559,"filename":"image_06112025_13_58_46_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1985c1e64af2e9243473505bcb404925.jpg","text":"TemporaryFile(/tmp/multipartBody4081788997170692832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257583559,"filename":"image_06112025_13_58_45_19216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f0e41b3c9c088c5d581c4d79e3d8d38.jpg","text":"TemporaryFile(/tmp/multipartBody3760138489170171602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257583559,"filename":"image_06112025_13_58_50_1536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709657","file1":"1394709656","file0":"1394709655","file4":"1394709659","file5":"1394709660","file3":"1394709658"},"map_files_photo_id_array":[{"photo_id":"1394709660","filename":"file5"},{"photo_id":"1394709657","filename":"file2"},{"photo_id":"1394709659","filename":"file4"},{"photo_id":"1394709656","filename":"file1"},{"photo_id":"1394709655","filename":"file0"},{"photo_id":"1394709658","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709655":["hashtag1","hashtag2"]},{"1394709658":["hashtag1","hashtag2"]},{"1394709660":["hashtag1","hashtag2"]},{"1394709657":["hashtag1","hashtag2"]},{"1394709656":["hashtag1","hashtag2"]},{"1394709659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709655, 1394709658, 1394709660, 1394709657, 1394709656, 1394709659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86114168167114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:46:02.420803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:46:21.861242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_53_1699.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_55_1686.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_56_1670.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_58_1528.jpg', '/home/pi/Desktop/images/06112025/13/58/image_06112025_13_59_00_1752.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_06_6261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_53_1699.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_55_1686.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_56_1670.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_58_58_1528.jpg
/home/pi/Desktop/images/06112025/13/58/image_06112025_13_59_00_1752.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_06_6261.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709673","1394709667","1394709675","1394709669","1394709671","1394709665"],"photo_ids_order":["1394709665","1394709667","1394709669","1394709671","1394709673","1394709675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a46f87dc3cd63d942be1bfd57932a90f.jpg","text":"TemporaryFile(/tmp/multipartBody1433482364522015367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257642758,"filename":"image_06112025_13_59_00_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/207324ff3ccad0ee68d34bca412fad71.jpg","text":"TemporaryFile(/tmp/multipartBody1964743870784996214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257642758,"filename":"image_06112025_13_58_55_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fbd28eab4737b14d45a72271c5d4ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1409593090345651166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257642758,"filename":"image_06112025_13_59_06_6261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc0b0f99950f6db5fc4d6ef8dd9d9fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1203972763599288518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257642758,"filename":"image_06112025_13_58_56_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db8b4a2b1511204d953673c13f009545.jpg","text":"TemporaryFile(/tmp/multipartBody3572526479707171147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257642758,"filename":"image_06112025_13_58_58_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ed5d2e286e0a8e2fb2feb8d537c6046.jpg","text":"TemporaryFile(/tmp/multipartBody1109475508812075187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257642758,"filename":"image_06112025_13_58_53_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709669","file1":"1394709667","file0":"1394709665","file4":"1394709673","file5":"1394709675","file3":"1394709671"},"map_files_photo_id_array":[{"photo_id":"1394709675","filename":"file5"},{"photo_id":"1394709669","filename":"file2"},{"photo_id":"1394709673","filename":"file4"},{"photo_id":"1394709667","filename":"file1"},{"photo_id":"1394709665","filename":"file0"},{"photo_id":"1394709671","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709673":["hashtag1","hashtag2"]},{"1394709667":["hashtag1","hashtag2"]},{"1394709675":["hashtag1","hashtag2"]},{"1394709669":["hashtag1","hashtag2"]},{"1394709671":["hashtag1","hashtag2"]},{"1394709665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709673, 1394709667, 1394709675, 1394709669, 1394709671, 1394709665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6099534034729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:47:02.834573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:47:22.065726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_08_1615.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_09_1638.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_11_1517.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_12_1632.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_15_2357.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_16_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_08_1615.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_09_1638.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_11_1517.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_12_1632.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_15_2357.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_16_1671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709685","1394709682","1394709676","1394709684","1394709678","1394709680"],"photo_ids_order":["1394709676","1394709678","1394709680","1394709682","1394709684","1394709685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e7fa1e36a8c154a0137f43c35b53c52.jpg","text":"TemporaryFile(/tmp/multipartBody5315467280478421508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257702932,"filename":"image_06112025_13_59_16_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60feec5e9703450e2151ccc1f5dff59d.jpg","text":"TemporaryFile(/tmp/multipartBody6606968339267727568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257702932,"filename":"image_06112025_13_59_12_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55086eed10642a67eb753a8be05f37ad.jpg","text":"TemporaryFile(/tmp/multipartBody5586197718152034534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257702932,"filename":"image_06112025_13_59_08_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6caa0fe629e4ed8d0a748a621d5c2292.jpg","text":"TemporaryFile(/tmp/multipartBody7174411785994058414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257702932,"filename":"image_06112025_13_59_15_2357.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15fd89f4aa2d8bcc1456538a61bb2c04.jpg","text":"TemporaryFile(/tmp/multipartBody7282827453392200384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257702932,"filename":"image_06112025_13_59_09_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8428f06e79877aa097b0affd79c87fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2558987494727802513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257702932,"filename":"image_06112025_13_59_11_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709680","file1":"1394709678","file0":"1394709676","file4":"1394709684","file5":"1394709685","file3":"1394709682"},"map_files_photo_id_array":[{"photo_id":"1394709685","filename":"file5"},{"photo_id":"1394709680","filename":"file2"},{"photo_id":"1394709684","filename":"file4"},{"photo_id":"1394709678","filename":"file1"},{"photo_id":"1394709676","filename":"file0"},{"photo_id":"1394709682","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709685":["hashtag1","hashtag2"]},{"1394709682":["hashtag1","hashtag2"]},{"1394709676":["hashtag1","hashtag2"]},{"1394709684":["hashtag1","hashtag2"]},{"1394709678":["hashtag1","hashtag2"]},{"1394709680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709685, 1394709682, 1394709676, 1394709684, 1394709678, 1394709680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.971248149871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:48:02.847304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:48:22.300613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_18_1671.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_23_5076.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_35_11611.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_56_21008.jpg', '/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_57_1562.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_07_3345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_18_1671.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_23_5076.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_35_11611.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_56_21008.jpg
/home/pi/Desktop/images/06112025/13/59/image_06112025_13_59_57_1562.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_07_3345.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709710","1394709713","1394709733","1394709712","1394709732","1394709708"],"photo_ids_order":["1394709708","1394709710","1394709712","1394709713","1394709732","1394709733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f52720c0fb05e0ca23549b76ada7177.jpg","text":"TemporaryFile(/tmp/multipartBody24136303481198105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257763182,"filename":"image_06112025_13_59_23_5076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b08c4991b6875f2ee9320a74dbc6b9c8.jpg","text":"TemporaryFile(/tmp/multipartBody1920047486731025576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257763182,"filename":"image_06112025_13_59_56_21008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/418d09c6267a492211d7c5532c240ede.jpg","text":"TemporaryFile(/tmp/multipartBody8520036662588067050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257763182,"filename":"image_06112025_14_01_07_3345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da03fbe696f320074d994d2bde4d379b.jpg","text":"TemporaryFile(/tmp/multipartBody113500076105044766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257763182,"filename":"image_06112025_13_59_35_11611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed2f8aa7a50eeb253935410b66968d36.jpg","text":"TemporaryFile(/tmp/multipartBody4109279915039432413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257763182,"filename":"image_06112025_13_59_57_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f8cf33472461c36c61c9355bef09a02.jpg","text":"TemporaryFile(/tmp/multipartBody3509329845898854676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257763182,"filename":"image_06112025_13_59_18_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709712","file1":"1394709710","file0":"1394709708","file4":"1394709732","file5":"1394709733","file3":"1394709713"},"map_files_photo_id_array":[{"photo_id":"1394709733","filename":"file5"},{"photo_id":"1394709712","filename":"file2"},{"photo_id":"1394709732","filename":"file4"},{"photo_id":"1394709710","filename":"file1"},{"photo_id":"1394709708","filename":"file0"},{"photo_id":"1394709713","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709710":["hashtag1","hashtag2"]},{"1394709713":["hashtag1","hashtag2"]},{"1394709733":["hashtag1","hashtag2"]},{"1394709712":["hashtag1","hashtag2"]},{"1394709732":["hashtag1","hashtag2"]},{"1394709708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709710, 1394709713, 1394709733, 1394709712, 1394709732, 1394709708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74125051498413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:49:03.409281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:49:22.533538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_09_2672.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_13_3785.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_16_2530.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_21_5242.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_23_1882.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_30_6966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_09_2672.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_13_3785.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_16_2530.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_21_5242.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_23_1882.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_30_6966.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709740","1394709748","1394709745","1394709750","1394709747","1394709743"],"photo_ids_order":["1394709740","1394709743","1394709745","1394709747","1394709748","1394709750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/404966bcd449f5a9666b0ab281b63bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1498499896309796626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257823400,"filename":"image_06112025_14_01_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/11/16/e244c07ba8fa477e3d4a4add424eda7d.jpg","text":"TemporaryFile(/tmp/multipartBody2441147901457097035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257823400,"filename":"image_06112025_14_01_23_1882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b91840493ad03c3a1ec1203f3ad5780c.jpg","text":"TemporaryFile(/tmp/multipartBody8685217715749930515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257823400,"filename":"image_06112025_14_01_16_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b5215e5b6386e7abbaf73bc83dcb5c4.jpg","text":"TemporaryFile(/tmp/multipartBody4643252606955780421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257823400,"filename":"image_06112025_14_01_30_6966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/845d9728e9a7c8e857791d321e4cfa12.jpg","text":"TemporaryFile(/tmp/multipartBody5845086799471083070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257823400,"filename":"image_06112025_14_01_21_5242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae63b8d658314b5f9b9800eeb712f6b1.jpg","text":"TemporaryFile(/tmp/multipartBody1804301932744735941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257823400,"filename":"image_06112025_14_01_13_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709745","file1":"1394709743","file0":"1394709740","file4":"1394709748","file5":"1394709750","file3":"1394709747"},"map_files_photo_id_array":[{"photo_id":"1394709750","filename":"file5"},{"photo_id":"1394709745","filename":"file2"},{"photo_id":"1394709748","filename":"file4"},{"photo_id":"1394709743","filename":"file1"},{"photo_id":"1394709740","filename":"file0"},{"photo_id":"1394709747","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394709740":["hashtag1","hashtag2"]},{"1394709748":["hashtag1","hashtag2"]},{"1394709745":["hashtag1","hashtag2"]},{"1394709750":["hashtag1","hashtag2"]},{"1394709747":["hashtag1","hashtag2"]},{"1394709743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394709740, 1394709748, 1394709745, 1394709750, 1394709747, 1394709743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97881460189819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:50:02.419406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:50:22.029607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/44/image_16112025_02_44_48_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/44/image_16112025_02_44_48_2728.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.42114710807800293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:50:41.881173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/44/image_16112025_02_44_48_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/44/image_16112025_02_44_48_2728.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709762"],"photo_id":"1394709762","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbd055cb2119be89bba1273e1056fc59.jpg","text":"TemporaryFile(/tmp/multipartBody7598384064694971176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257902365,"filename":"image_16112025_02_44_48_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709762"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709762"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.455635070800781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:51:02.762346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:51:22.114505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/50/image_16112025_02_50_50_2671.jpg', '/home/pi/Desktop/images/16112025/02/51/image_16112025_02_51_20_2728.jpg', '/home/pi/Desktop/images/16112025/02/51/image_16112025_02_51_36_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/50/image_16112025_02_50_50_2671.jpg
/home/pi/Desktop/images/16112025/02/51/image_16112025_02_51_20_2728.jpg
/home/pi/Desktop/images/16112025/02/51/image_16112025_02_51_36_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709766","1394709768","1394709764"],"photo_ids_order":["1394709764","1394709766","1394709768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69da0c93ba14d4c028b8ce2dd3759fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5702242072666658011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257942672,"filename":"image_16112025_02_51_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/11/16/3fc005941256ccf6eb83db9bebce97a5.jpg","text":"TemporaryFile(/tmp/multipartBody2228038545804467757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257942672,"filename":"image_16112025_02_51_36_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e801bb0d4037da00ccd64b6d7080e271.jpg","text":"TemporaryFile(/tmp/multipartBody470653276324333675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763257942672,"filename":"image_16112025_02_50_50_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709768","file1":"1394709766","file0":"1394709764"},"map_files_photo_id_array":[{"photo_id":"1394709768","filename":"file2"},{"photo_id":"1394709766","filename":"file1"},{"photo_id":"1394709764","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709766":["hashtag1","hashtag2"]},{"1394709768":["hashtag1","hashtag2"]},{"1394709764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709766, 1394709768, 1394709764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.659311771392822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:52:02.754922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:52:22.360534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/51/image_16112025_02_52_00_3762.jpg', '/home/pi/Desktop/images/16112025/02/52/image_16112025_02_52_09_3761.jpg', '/home/pi/Desktop/images/16112025/02/52/image_16112025_02_52_11_2764.jpg', '/home/pi/Desktop/images/16112025/02/52/image_16112025_02_52_32_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/51/image_16112025_02_52_00_3762.jpg
/home/pi/Desktop/images/16112025/02/52/image_16112025_02_52_09_3761.jpg
/home/pi/Desktop/images/16112025/02/52/image_16112025_02_52_11_2764.jpg
/home/pi/Desktop/images/16112025/02/52/image_16112025_02_52_32_2511.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709775","1394709783","1394709785","1394709779"],"photo_ids_order":["1394709775","1394709779","1394709783","1394709785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3201ee7723fc6f3a59e5b84f91c46ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6008249799011517999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258002994,"filename":"image_16112025_02_52_00_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a4813d75133c5c42c277b28dd1a0b89.jpg","text":"TemporaryFile(/tmp/multipartBody4274932910811248716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258002994,"filename":"image_16112025_02_52_11_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5d655fef4d2c389f014fb62bd9ccdf4.jpg","text":"TemporaryFile(/tmp/multipartBody8925125096112351707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258002994,"filename":"image_16112025_02_52_32_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21055035098f8a379fe489ff0d80da59.jpg","text":"TemporaryFile(/tmp/multipartBody558784144455648095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258002994,"filename":"image_16112025_02_52_09_3761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709783","file1":"1394709779","file0":"1394709775","file3":"1394709785"},"map_files_photo_id_array":[{"photo_id":"1394709783","filename":"file2"},{"photo_id":"1394709779","filename":"file1"},{"photo_id":"1394709775","filename":"file0"},{"photo_id":"1394709785","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709775":["hashtag1","hashtag2"]},{"1394709783":["hashtag1","hashtag2"]},{"1394709785":["hashtag1","hashtag2"]},{"1394709779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709775, 1394709783, 1394709785, 1394709779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.67485737800598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:53:03.388474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:53:22.564554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/52/image_16112025_02_52_50_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/52/image_16112025_02_52_50_2793.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709790"],"photo_id":"1394709790","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fa70b7cbb03e39f39d694e77b41b6bb.jpg","text":"TemporaryFile(/tmp/multipartBody1785128077798270766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258063040,"filename":"image_16112025_02_52_50_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709790"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709790"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.36940336227417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:53:42.514721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:54:03.545626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:54:22.742983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/53/image_16112025_02_53_29_2636.jpg', '/home/pi/Desktop/images/16112025/02/54/image_16112025_02_54_05_3765.jpg', '/home/pi/Desktop/images/16112025/02/54/image_16112025_02_54_32_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/53/image_16112025_02_53_29_2636.jpg
/home/pi/Desktop/images/16112025/02/54/image_16112025_02_54_05_3765.jpg
/home/pi/Desktop/images/16112025/02/54/image_16112025_02_54_32_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709803","1394709802","1394709804"],"photo_ids_order":["1394709802","1394709803","1394709804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd8fefdc141b5cf7a84564faa0e57ae7.jpg","text":"TemporaryFile(/tmp/multipartBody8671369477776535817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258123320,"filename":"image_16112025_02_54_05_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/915e525debed6ae6e26cf29ab7359bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5366709944769515665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258123320,"filename":"image_16112025_02_53_29_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba4326a4e05541a0e9cb4604528b637b.jpg","text":"TemporaryFile(/tmp/multipartBody901333463598746905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258123320,"filename":"image_16112025_02_54_32_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709804","file1":"1394709803","file0":"1394709802"},"map_files_photo_id_array":[{"photo_id":"1394709804","filename":"file2"},{"photo_id":"1394709803","filename":"file1"},{"photo_id":"1394709802","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709803":["hashtag1","hashtag2"]},{"1394709802":["hashtag1","hashtag2"]},{"1394709804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709803, 1394709802, 1394709804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.055107593536377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:55:02.716756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:55:21.891022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/54/image_16112025_02_54_56_2729.jpg', '/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_20_3683.jpg', '/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_41_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/54/image_16112025_02_54_56_2729.jpg
/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_20_3683.jpg
/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_41_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.1463510990142822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:55:41.925579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/54/image_16112025_02_54_56_2729.jpg', '/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_20_3683.jpg', '/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_41_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/54/image_16112025_02_54_56_2729.jpg
/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_20_3683.jpg
/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_41_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709848","1394709850","1394709846"],"photo_ids_order":["1394709846","1394709848","1394709850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/446375b403955042d0b4ab01cbf23500.jpg","text":"TemporaryFile(/tmp/multipartBody995682054675714489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258202497,"filename":"image_16112025_02_55_20_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/677c11f89e80e5446f82b3b041ff70c4.jpg","text":"TemporaryFile(/tmp/multipartBody4932691135208297512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258202497,"filename":"image_16112025_02_55_41_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ca088321f1bf4921a46b94a975037d3.jpg","text":"TemporaryFile(/tmp/multipartBody3778197577501296270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258202497,"filename":"image_16112025_02_54_56_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709850","file1":"1394709848","file0":"1394709846"},"map_files_photo_id_array":[{"photo_id":"1394709850","filename":"file2"},{"photo_id":"1394709848","filename":"file1"},{"photo_id":"1394709846","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709848":["hashtag1","hashtag2"]},{"1394709850":["hashtag1","hashtag2"]},{"1394709846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709848, 1394709850, 1394709846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.34323024749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:56:22.199351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_59_2757.jpg', '/home/pi/Desktop/images/16112025/02/56/image_16112025_02_56_17_3658.jpg', '/home/pi/Desktop/images/16112025/02/56/image_16112025_02_56_26_3753.jpg', '/home/pi/Desktop/images/16112025/02/56/image_16112025_02_56_49_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/55/image_16112025_02_55_59_2757.jpg
/home/pi/Desktop/images/16112025/02/56/image_16112025_02_56_17_3658.jpg
/home/pi/Desktop/images/16112025/02/56/image_16112025_02_56_26_3753.jpg
/home/pi/Desktop/images/16112025/02/56/image_16112025_02_56_49_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709853","1394709856","1394709858","1394709852"],"photo_ids_order":["1394709852","1394709853","1394709856","1394709858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da4d0e7a1c3b71f7f7a5208749925e7f.jpg","text":"TemporaryFile(/tmp/multipartBody293986242248766146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258242829,"filename":"image_16112025_02_56_17_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b4a79f039c0465bc3bc281b078e7f02.jpg","text":"TemporaryFile(/tmp/multipartBody3048709612983734494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258242829,"filename":"image_16112025_02_56_26_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72ff53080c4eb243f8ff3d36dce83f12.jpg","text":"TemporaryFile(/tmp/multipartBody6749430904169133961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258242829,"filename":"image_16112025_02_56_49_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/729f24fcdbc6cd5c702fc5ff27d379a7.jpg","text":"TemporaryFile(/tmp/multipartBody6423418485396136285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258242829,"filename":"image_16112025_02_55_59_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709856","file1":"1394709853","file0":"1394709852","file3":"1394709858"},"map_files_photo_id_array":[{"photo_id":"1394709856","filename":"file2"},{"photo_id":"1394709853","filename":"file1"},{"photo_id":"1394709852","filename":"file0"},{"photo_id":"1394709858","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709853":["hashtag1","hashtag2"]},{"1394709856":["hashtag1","hashtag2"]},{"1394709858":["hashtag1","hashtag2"]},{"1394709852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709853, 1394709856, 1394709858, 1394709852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.470335960388184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:57:03.207792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:57:22.484397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/56/image_16112025_02_56_58_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/56/image_16112025_02_56_58_2648.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709872"],"photo_id":"1394709872","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac7ec6d99cab851466574ac14b60c353.jpg","text":"TemporaryFile(/tmp/multipartBody5006304807765803960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258302975,"filename":"image_16112025_02_56_58_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709872"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709872"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.297017097473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 02:57:42.490351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 02:59:02.992345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/57/image_16112025_02_57_59_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/57/image_16112025_02_57_59_3519.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709880"],"photo_id":"1394709880","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5da41069512073d8159584a7f2f6fc78.jpg","text":"TemporaryFile(/tmp/multipartBody1875339270225221459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258403663,"filename":"image_16112025_02_57_59_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394709880"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394709880"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.748103618621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 02:59:22.111760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/58/image_16112025_02_58_02_2829.jpg', '/home/pi/Desktop/images/16112025/02/59/image_16112025_02_59_20_3602.jpg', '/home/pi/Desktop/images/16112025/02/59/image_16112025_02_59_34_2646.jpg', '/home/pi/Desktop/images/16112025/02/59/image_16112025_02_59_38_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/58/image_16112025_02_58_02_2829.jpg
/home/pi/Desktop/images/16112025/02/59/image_16112025_02_59_20_3602.jpg
/home/pi/Desktop/images/16112025/02/59/image_16112025_02_59_34_2646.jpg
/home/pi/Desktop/images/16112025/02/59/image_16112025_02_59_38_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394709892","1394709886","1394709888","1394709891"],"photo_ids_order":["1394709886","1394709888","1394709891","1394709892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6632fc54a4ae7064b5658a3ca046a7ea.jpg","text":"TemporaryFile(/tmp/multipartBody2623622443329716519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258422712,"filename":"image_16112025_02_59_38_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf2a5418300cee29807e22c53874babf.jpg","text":"TemporaryFile(/tmp/multipartBody513724220531975666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258422712,"filename":"image_16112025_02_58_02_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3a5529ac14ab7d45820a81270c66bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6491034687471492340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258422712,"filename":"image_16112025_02_59_20_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d301837c51baa1b1ccde4f249c2eb27.jpg","text":"TemporaryFile(/tmp/multipartBody5981217197297530080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258422712,"filename":"image_16112025_02_59_34_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394709891","file1":"1394709888","file0":"1394709886","file3":"1394709892"},"map_files_photo_id_array":[{"photo_id":"1394709891","filename":"file2"},{"photo_id":"1394709888","filename":"file1"},{"photo_id":"1394709886","filename":"file0"},{"photo_id":"1394709892","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394709892":["hashtag1","hashtag2"]},{"1394709886":["hashtag1","hashtag2"]},{"1394709888":["hashtag1","hashtag2"]},{"1394709891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394709892, 1394709886, 1394709888, 1394709891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.69230580329895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:00:02.619343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:00:22.272825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_33_2890.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_34_1691.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_36_1713.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_38_1636.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_40_2570.jpg', '/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_43_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_33_2890.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_34_1691.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_36_1713.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_38_1636.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_40_2570.jpg
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_43_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394710463","1394710259","1394710424","1394710383","1394710303","1394710347"],"photo_ids_order":["1394710259","1394710303","1394710347","1394710383","1394710424","1394710463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a6d2514da9fa0e478f5e0c81b262a55.jpg","text":"TemporaryFile(/tmp/multipartBody6013407949520204612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258483409,"filename":"image_06112025_14_01_43_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c1f2fb39e8eea0b53436e75e824ac7a.jpg","text":"TemporaryFile(/tmp/multipartBody9005821551033762934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258483409,"filename":"image_06112025_14_01_33_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6b3faeb723a9a0771fa0dd3f4d1f5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3194805790127901730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258483409,"filename":"image_06112025_14_01_40_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4dcda9f3ec53f95c7538b05d09533ce.jpg","text":"TemporaryFile(/tmp/multipartBody4427065986617991317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258483409,"filename":"image_06112025_14_01_38_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/483a548c93a1b3b0e74703a55c4c1607.jpg","text":"TemporaryFile(/tmp/multipartBody1644937529533333125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258483409,"filename":"image_06112025_14_01_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/11/16/bf6885dccc7d5ae088c9587370dc7072.jpg","text":"TemporaryFile(/tmp/multipartBody6632330512410909514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258483409,"filename":"image_06112025_14_01_36_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394710347","file1":"1394710303","file0":"1394710259","file4":"1394710424","file5":"1394710463","file3":"1394710383"},"map_files_photo_id_array":[{"photo_id":"1394710463","filename":"file5"},{"photo_id":"1394710347","filename":"file2"},{"photo_id":"1394710424","filename":"file4"},{"photo_id":"1394710303","filename":"file1"},{"photo_id":"1394710259","filename":"file0"},{"photo_id":"1394710383","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394710463":["hashtag1","hashtag2"]},{"1394710259":["hashtag1","hashtag2"]},{"1394710424":["hashtag1","hashtag2"]},{"1394710383":["hashtag1","hashtag2"]},{"1394710303":["hashtag1","hashtag2"]},{"1394710347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394710463, 1394710259, 1394710424, 1394710383, 1394710303, 1394710347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.817439794540405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:01:03.355967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:01:22.605859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_46_2604.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_07_3018.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_11_3582.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_13_2637.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_17_3516.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_19_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/01/image_06112025_14_01_46_2604.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_07_3018.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_11_3582.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_13_2637.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_17_3516.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_19_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394710928","1394710798","1394710870","1394710834","1394710758","1394710908"],"photo_ids_order":["1394710758","1394710798","1394710834","1394710870","1394710908","1394710928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc4e27ab551dd852cf45a9a70ad8f794.jpg","text":"TemporaryFile(/tmp/multipartBody3311735882752161761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258543489,"filename":"image_06112025_14_03_19_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2602a2261d1b09bf52bf76ab9af5e3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4231660622899013172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258543489,"filename":"image_06112025_14_03_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/11/16/58b74f0454e3ef3b392ad4a3be884724.jpg","text":"TemporaryFile(/tmp/multipartBody1674462617665917241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258543489,"filename":"image_06112025_14_03_13_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f77caff024c8301d6d508c61fb78f590.jpg","text":"TemporaryFile(/tmp/multipartBody691141615650989123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258543489,"filename":"image_06112025_14_03_11_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/222c54d68683937700e9dd552d5d0fdb.jpg","text":"TemporaryFile(/tmp/multipartBody5757744739918788048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258543489,"filename":"image_06112025_14_01_46_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1abb06e7a4bd44aadee85acc50e6bec6.jpg","text":"TemporaryFile(/tmp/multipartBody2403411499763157129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258543489,"filename":"image_06112025_14_03_17_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394710834","file1":"1394710798","file0":"1394710758","file4":"1394710908","file5":"1394710928","file3":"1394710870"},"map_files_photo_id_array":[{"photo_id":"1394710928","filename":"file5"},{"photo_id":"1394710834","filename":"file2"},{"photo_id":"1394710908","filename":"file4"},{"photo_id":"1394710798","filename":"file1"},{"photo_id":"1394710758","filename":"file0"},{"photo_id":"1394710870","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394710928":["hashtag1","hashtag2"]},{"1394710798":["hashtag1","hashtag2"]},{"1394710870":["hashtag1","hashtag2"]},{"1394710834":["hashtag1","hashtag2"]},{"1394710758":["hashtag1","hashtag2"]},{"1394710908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394710928, 1394710798, 1394710870, 1394710834, 1394710758, 1394710908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31585764884949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:02:03.262771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:02:22.795281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_22_2598.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_26_3694.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_33_6989.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_34_1576.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_36_1655.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_38_1705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_22_2598.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_26_3694.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_33_6989.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_34_1576.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_36_1655.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_38_1705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711108","1394710990","1394711029","1394710954","1394710932","1394711066"],"photo_ids_order":["1394710932","1394710954","1394710990","1394711029","1394711066","1394711108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1b8ed20b8f7faaa4bed0e587c0b35ae.jpg","text":"TemporaryFile(/tmp/multipartBody3872932549941122321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258603713,"filename":"image_06112025_14_03_38_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/510dfca79db9894b7988df954aac4908.jpg","text":"TemporaryFile(/tmp/multipartBody2534617108817082671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258603713,"filename":"image_06112025_14_03_33_6989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1445c866baf631d633cfb5ce4944cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3582980004268174833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258603713,"filename":"image_06112025_14_03_34_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/505c8b74159d1ca12db00f3f57189c83.jpg","text":"TemporaryFile(/tmp/multipartBody2330165743847050717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258603713,"filename":"image_06112025_14_03_26_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d7e18120f53d7e7445f223126d5f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody8576034226454189877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258603713,"filename":"image_06112025_14_03_22_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ec41eb5d0270597c1b34d0a11afc4c5.jpg","text":"TemporaryFile(/tmp/multipartBody2435609652576116044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258603713,"filename":"image_06112025_14_03_36_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394710990","file1":"1394710954","file0":"1394710932","file4":"1394711066","file5":"1394711108","file3":"1394711029"},"map_files_photo_id_array":[{"photo_id":"1394711108","filename":"file5"},{"photo_id":"1394710990","filename":"file2"},{"photo_id":"1394711066","filename":"file4"},{"photo_id":"1394710954","filename":"file1"},{"photo_id":"1394710932","filename":"file0"},{"photo_id":"1394711029","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711108":["hashtag1","hashtag2"]},{"1394710990":["hashtag1","hashtag2"]},{"1394711029":["hashtag1","hashtag2"]},{"1394710954":["hashtag1","hashtag2"]},{"1394710932":["hashtag1","hashtag2"]},{"1394711066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711108, 1394710990, 1394711029, 1394710954, 1394710932, 1394711066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48569345474243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:03:02.759981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:03:21.985975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_40_2594.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_44_3662.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_47_2648.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_49_2637.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_53_3684.jpg', '/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_56_2903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_40_2594.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_44_3662.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_47_2648.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_49_2637.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_53_3684.jpg
/home/pi/Desktop/images/06112025/14/03/image_06112025_14_03_56_2903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711267","1394711240","1394711265","1394711241","1394711244","1394711243"],"photo_ids_order":["1394711240","1394711241","1394711243","1394711244","1394711265","1394711267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a8d4a88604b005db0f1cdacdbf84d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8635745745757035985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258662847,"filename":"image_06112025_14_03_56_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58a33e7e7ac8e2c24ff53448a8babe2b.jpg","text":"TemporaryFile(/tmp/multipartBody1856356535526376145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258662847,"filename":"image_06112025_14_03_40_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9eb935a560631f5cd3f1cb9b3236edc.jpg","text":"TemporaryFile(/tmp/multipartBody1723463385629106208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258662847,"filename":"image_06112025_14_03_53_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fc4b7f31d56a40453e6e02cb9e6e78f.jpg","text":"TemporaryFile(/tmp/multipartBody6531093130778408821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258662847,"filename":"image_06112025_14_03_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/11/16/b4a0e84535c7ef1e760269c8b4574b7a.jpg","text":"TemporaryFile(/tmp/multipartBody4282908418540274237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258662847,"filename":"image_06112025_14_03_49_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eeb3369f62237bc59335bcf3fefa8630.jpg","text":"TemporaryFile(/tmp/multipartBody4257472360918066819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258662847,"filename":"image_06112025_14_03_47_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711243","file1":"1394711241","file0":"1394711240","file4":"1394711265","file5":"1394711267","file3":"1394711244"},"map_files_photo_id_array":[{"photo_id":"1394711267","filename":"file5"},{"photo_id":"1394711243","filename":"file2"},{"photo_id":"1394711265","filename":"file4"},{"photo_id":"1394711241","filename":"file1"},{"photo_id":"1394711240","filename":"file0"},{"photo_id":"1394711244","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711267":["hashtag1","hashtag2"]},{"1394711240":["hashtag1","hashtag2"]},{"1394711265":["hashtag1","hashtag2"]},{"1394711241":["hashtag1","hashtag2"]},{"1394711244":["hashtag1","hashtag2"]},{"1394711243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711267, 1394711240, 1394711265, 1394711241, 1394711244, 1394711243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80587100982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:04:03.079412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:04:22.352799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_12_16258.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_16_3889.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_18_1582.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_19_1698.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_21_1632.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_23_2047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_12_16258.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_16_3889.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_18_1582.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_19_1698.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_21_1632.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_23_2047.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.7746365070343018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:04:42.360707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:05:03.337392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:05:22.542719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/02/59/image_16112025_02_59_40_2645.jpg', '/home/pi/Desktop/images/16112025/03/05/image_16112025_03_05_48_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/02/59/image_16112025_02_59_40_2645.jpg
/home/pi/Desktop/images/16112025/03/05/image_16112025_03_05_48_2711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711287","1394711283"],"photo_ids_order":["1394711283","1394711287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa008fa606bf4824e6894c211936e59a.jpg","text":"TemporaryFile(/tmp/multipartBody4386104779783474856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258783056,"filename":"image_16112025_03_05_48_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c13d0f3d892eb6b511a952115fa5e65.jpg","text":"TemporaryFile(/tmp/multipartBody4440157755048551484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258783056,"filename":"image_16112025_02_59_40_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394711287","file0":"1394711283"},"map_files_photo_id_array":[{"photo_id":"1394711287","filename":"file1"},{"photo_id":"1394711283","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711287":["hashtag1","hashtag2"]},{"1394711283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711287, 1394711283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.240893840789795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:05:42.526539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:06:03.211184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:06:22.826300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_12_16258.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_16_3889.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_18_1582.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_19_1698.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_21_1632.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_23_2047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_12_16258.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_16_3889.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_18_1582.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_19_1698.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_21_1632.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_23_2047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711324","1394711327","1394711320","1394711323","1394711326","1394711325"],"photo_ids_order":["1394711320","1394711323","1394711324","1394711325","1394711326","1394711327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8eea3c8dffa9268dd9ccf68be56d66c.jpg","text":"TemporaryFile(/tmp/multipartBody2407654793756343372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258843613,"filename":"image_06112025_14_04_18_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d632caeabc35dfe549deaf8d72b521b.jpg","text":"TemporaryFile(/tmp/multipartBody2872871410751028402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258843613,"filename":"image_06112025_14_04_23_2047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6d831eba0a971d408281390848741cb.jpg","text":"TemporaryFile(/tmp/multipartBody8453684430866055357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258843613,"filename":"image_06112025_14_04_12_16258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3993c60f7234085f967f4b9ea45af904.jpg","text":"TemporaryFile(/tmp/multipartBody8769804636777527271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258843613,"filename":"image_06112025_14_04_16_3889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/253dbb79ab8dda444983e6544a5f6362.jpg","text":"TemporaryFile(/tmp/multipartBody4740666612100730909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258843613,"filename":"image_06112025_14_04_21_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61305caadce69ff44d984b81a464e721.jpg","text":"TemporaryFile(/tmp/multipartBody3058570244190573350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258843613,"filename":"image_06112025_14_04_19_1698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711324","file1":"1394711323","file0":"1394711320","file4":"1394711326","file5":"1394711327","file3":"1394711325"},"map_files_photo_id_array":[{"photo_id":"1394711327","filename":"file5"},{"photo_id":"1394711324","filename":"file2"},{"photo_id":"1394711326","filename":"file4"},{"photo_id":"1394711323","filename":"file1"},{"photo_id":"1394711320","filename":"file0"},{"photo_id":"1394711325","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711324":["hashtag1","hashtag2"]},{"1394711327":["hashtag1","hashtag2"]},{"1394711320":["hashtag1","hashtag2"]},{"1394711323":["hashtag1","hashtag2"]},{"1394711326":["hashtag1","hashtag2"]},{"1394711325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711324, 1394711327, 1394711320, 1394711323, 1394711326, 1394711325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.806267976760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:07:02.842206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:07:21.982664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_25_1778.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_26_1642.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_28_1676.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_30_1632.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_32_1853.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_33_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_25_1778.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_26_1642.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_28_1676.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_30_1632.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_32_1853.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_33_1613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711333","1394711335","1394711329","1394711331","1394711337","1394711336"],"photo_ids_order":["1394711329","1394711331","1394711333","1394711335","1394711336","1394711337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71d3385c1a0fa0c471219fd1c1641147.jpg","text":"TemporaryFile(/tmp/multipartBody3928117286090998724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258902842,"filename":"image_06112025_14_04_28_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fce0fb42abc3506ea490a2bc394a7d2.jpg","text":"TemporaryFile(/tmp/multipartBody8991171149674526776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258902842,"filename":"image_06112025_14_04_30_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd5309d302e89fae7e26bc7c22c266a3.jpg","text":"TemporaryFile(/tmp/multipartBody8927652268188447147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258902842,"filename":"image_06112025_14_04_25_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f30c47d3d1f44f53bd17a8619d05e96c.jpg","text":"TemporaryFile(/tmp/multipartBody2771670277921383023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258902842,"filename":"image_06112025_14_04_26_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86e9174a42278706ae4c350ad810e272.jpg","text":"TemporaryFile(/tmp/multipartBody4311108046434521878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258902842,"filename":"image_06112025_14_04_33_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d1341a52a7d9074c6c4a368a5cdab9b.jpg","text":"TemporaryFile(/tmp/multipartBody3036623432593942417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258902842,"filename":"image_06112025_14_04_32_1853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711333","file1":"1394711331","file0":"1394711329","file4":"1394711336","file5":"1394711337","file3":"1394711335"},"map_files_photo_id_array":[{"photo_id":"1394711337","filename":"file5"},{"photo_id":"1394711333","filename":"file2"},{"photo_id":"1394711336","filename":"file4"},{"photo_id":"1394711331","filename":"file1"},{"photo_id":"1394711329","filename":"file0"},{"photo_id":"1394711335","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711333":["hashtag1","hashtag2"]},{"1394711335":["hashtag1","hashtag2"]},{"1394711329":["hashtag1","hashtag2"]},{"1394711331":["hashtag1","hashtag2"]},{"1394711337":["hashtag1","hashtag2"]},{"1394711336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711333, 1394711335, 1394711329, 1394711331, 1394711337, 1394711336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46018600463867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:08:02.575094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:08:22.205779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_35_1664.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_37_2583.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_40_2572.jpg', '/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_52_12364.jpg', '/home/pi/Desktop/images/06112025/14/05/image_06112025_14_05_07_14657.jpg', '/home/pi/Desktop/images/06112025/14/05/image_06112025_14_05_09_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_35_1664.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_37_2583.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_40_2572.jpg
/home/pi/Desktop/images/06112025/14/04/image_06112025_14_04_52_12364.jpg
/home/pi/Desktop/images/06112025/14/05/image_06112025_14_05_07_14657.jpg
/home/pi/Desktop/images/06112025/14/05/image_06112025_14_05_09_1574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711347","1394711344","1394711352","1394711361","1394711349","1394711354"],"photo_ids_order":["1394711344","1394711347","1394711349","1394711352","1394711354","1394711361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97de2cf598c7e39addc45c1816abae66.jpg","text":"TemporaryFile(/tmp/multipartBody1392143374184167350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258963075,"filename":"image_06112025_14_04_37_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d92934bfbc2fab64f4db7691d36c73c5.jpg","text":"TemporaryFile(/tmp/multipartBody7834297805902082655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258963075,"filename":"image_06112025_14_04_35_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6120fbe3ae5e8f7580fcd1a4b5bdcb1.jpg","text":"TemporaryFile(/tmp/multipartBody6607497325999114940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258963075,"filename":"image_06112025_14_04_52_12364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b40604636e14da27e7cd8ec5aeda9afc.jpg","text":"TemporaryFile(/tmp/multipartBody3550235906064142698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258963075,"filename":"image_06112025_14_05_09_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dac9a980346e7d5714444dcb9b1f10d1.jpg","text":"TemporaryFile(/tmp/multipartBody3508036684617404713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258963075,"filename":"image_06112025_14_04_40_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d6c0f91b8c174e70c99ae98eb691753.jpg","text":"TemporaryFile(/tmp/multipartBody8172247628347605340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763258963075,"filename":"image_06112025_14_05_07_14657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711349","file1":"1394711347","file0":"1394711344","file4":"1394711354","file5":"1394711361","file3":"1394711352"},"map_files_photo_id_array":[{"photo_id":"1394711361","filename":"file5"},{"photo_id":"1394711349","filename":"file2"},{"photo_id":"1394711354","filename":"file4"},{"photo_id":"1394711347","filename":"file1"},{"photo_id":"1394711344","filename":"file0"},{"photo_id":"1394711352","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711347":["hashtag1","hashtag2"]},{"1394711344":["hashtag1","hashtag2"]},{"1394711352":["hashtag1","hashtag2"]},{"1394711361":["hashtag1","hashtag2"]},{"1394711349":["hashtag1","hashtag2"]},{"1394711354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711347, 1394711344, 1394711352, 1394711361, 1394711349, 1394711354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95548629760742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:09:03.438578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:09:22.427945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/05/image_06112025_14_05_10_1640.jpg', '/home/pi/Desktop/images/06112025/14/05/image_06112025_14_05_12_1647.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_07_3011.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_10_3595.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_13_2797.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_16_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/05/image_06112025_14_05_10_1640.jpg
/home/pi/Desktop/images/06112025/14/05/image_06112025_14_05_12_1647.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_07_3011.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_10_3595.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_13_2797.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_16_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711380","1394711401","1394711379","1394711399","1394711403","1394711381"],"photo_ids_order":["1394711379","1394711380","1394711381","1394711399","1394711401","1394711403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4eeb6ffab67eeb0184e4f0490d6918b.jpg","text":"TemporaryFile(/tmp/multipartBody2671131407590554403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259023306,"filename":"image_06112025_14_05_12_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7e1e4b720cbba6936bf7249fce84205.jpg","text":"TemporaryFile(/tmp/multipartBody4806679192211932362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259023306,"filename":"image_06112025_14_06_13_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61b7f5f5d2f7db95808f2a9034219c60.jpg","text":"TemporaryFile(/tmp/multipartBody6124941042909032236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259023306,"filename":"image_06112025_14_05_10_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75f8311d185dbd206dfeefbc9a5032fd.jpg","text":"TemporaryFile(/tmp/multipartBody9003516282085238080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259023306,"filename":"image_06112025_14_06_10_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf590013e16c2539b9320d850af093f4.jpg","text":"TemporaryFile(/tmp/multipartBody325782204536507284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259023306,"filename":"image_06112025_14_06_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/11/16/1b65ffbf9e7d77b5b3d59f5480d61ab7.jpg","text":"TemporaryFile(/tmp/multipartBody7711383884385746371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259023306,"filename":"image_06112025_14_06_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711381","file1":"1394711380","file0":"1394711379","file4":"1394711401","file5":"1394711403","file3":"1394711399"},"map_files_photo_id_array":[{"photo_id":"1394711403","filename":"file5"},{"photo_id":"1394711381","filename":"file2"},{"photo_id":"1394711401","filename":"file4"},{"photo_id":"1394711380","filename":"file1"},{"photo_id":"1394711379","filename":"file0"},{"photo_id":"1394711399","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711380":["hashtag1","hashtag2"]},{"1394711401":["hashtag1","hashtag2"]},{"1394711379":["hashtag1","hashtag2"]},{"1394711399":["hashtag1","hashtag2"]},{"1394711403":["hashtag1","hashtag2"]},{"1394711381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711380, 1394711401, 1394711379, 1394711399, 1394711403, 1394711381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50050950050354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:10:03.124252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:10:22.676189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_20_3700.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_22_2663.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_25_2795.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_29_3652.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_31_2696.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_34_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_20_3700.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_22_2663.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_25_2795.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_29_3652.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_31_2696.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_34_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711411","1394711408","1394711410","1394711412","1394711409","1394711406"],"photo_ids_order":["1394711406","1394711408","1394711409","1394711410","1394711411","1394711412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39123a4428bbfa368e1466afcbd8ed7b.jpg","text":"TemporaryFile(/tmp/multipartBody8351708012637531547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259083547,"filename":"image_06112025_14_06_31_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44c71e8aff38fbbd2d8be551f4451897.jpg","text":"TemporaryFile(/tmp/multipartBody8672265051163031505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259083547,"filename":"image_06112025_14_06_22_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/148e10de4aae39b459c4c97cce062d0e.jpg","text":"TemporaryFile(/tmp/multipartBody8485492523861530688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259083547,"filename":"image_06112025_14_06_29_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71068534977e926adb66ac99abf09005.jpg","text":"TemporaryFile(/tmp/multipartBody2742760375797130410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259083547,"filename":"image_06112025_14_06_34_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13f21331e555fa8259ab1a347b4df567.jpg","text":"TemporaryFile(/tmp/multipartBody6306424652008739411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259083547,"filename":"image_06112025_14_06_25_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de23a6c98adbddf6fbc4ece5090f20ba.jpg","text":"TemporaryFile(/tmp/multipartBody5266354414094458224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259083547,"filename":"image_06112025_14_06_20_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711409","file1":"1394711408","file0":"1394711406","file4":"1394711411","file5":"1394711412","file3":"1394711410"},"map_files_photo_id_array":[{"photo_id":"1394711412","filename":"file5"},{"photo_id":"1394711409","filename":"file2"},{"photo_id":"1394711411","filename":"file4"},{"photo_id":"1394711408","filename":"file1"},{"photo_id":"1394711406","filename":"file0"},{"photo_id":"1394711410","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711411":["hashtag1","hashtag2"]},{"1394711408":["hashtag1","hashtag2"]},{"1394711410":["hashtag1","hashtag2"]},{"1394711412":["hashtag1","hashtag2"]},{"1394711409":["hashtag1","hashtag2"]},{"1394711406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711411, 1394711408, 1394711410, 1394711412, 1394711409, 1394711406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00222706794739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:11:02.528403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:11:21.961923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/05/image_16112025_03_05_55_2774.jpg', '/home/pi/Desktop/images/16112025/03/11/image_16112025_03_11_04_2639.jpg', '/home/pi/Desktop/images/16112025/03/11/image_16112025_03_11_07_2692.jpg', '/home/pi/Desktop/images/16112025/03/11/image_16112025_03_11_43_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/05/image_16112025_03_05_55_2774.jpg
/home/pi/Desktop/images/16112025/03/11/image_16112025_03_11_04_2639.jpg
/home/pi/Desktop/images/16112025/03/11/image_16112025_03_11_07_2692.jpg
/home/pi/Desktop/images/16112025/03/11/image_16112025_03_11_43_3744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711417","1394711420","1394711419","1394711415"],"photo_ids_order":["1394711415","1394711417","1394711419","1394711420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/370971b74cfdb72a4a625c3554256f53.jpg","text":"TemporaryFile(/tmp/multipartBody5411537999578400739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259142561,"filename":"image_16112025_03_11_04_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f69e2f9533205bfdb6cda69f4575962.jpg","text":"TemporaryFile(/tmp/multipartBody7032711145604586040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259142561,"filename":"image_16112025_03_11_43_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e39effb844337fee2b30c59504d21739.jpg","text":"TemporaryFile(/tmp/multipartBody5340839744112834919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259142561,"filename":"image_16112025_03_11_07_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcad1e91b622bee3dc5e25eaeb19d511.jpg","text":"TemporaryFile(/tmp/multipartBody1611013343458756477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259142561,"filename":"image_16112025_03_05_55_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711419","file1":"1394711417","file0":"1394711415","file3":"1394711420"},"map_files_photo_id_array":[{"photo_id":"1394711419","filename":"file2"},{"photo_id":"1394711417","filename":"file1"},{"photo_id":"1394711415","filename":"file0"},{"photo_id":"1394711420","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711417":["hashtag1","hashtag2"]},{"1394711420":["hashtag1","hashtag2"]},{"1394711419":["hashtag1","hashtag2"]},{"1394711415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711417, 1394711420, 1394711419, 1394711415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.17611861228943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:12:02.986224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:12:22.454667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_38_3590.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_40_2636.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_43_2854.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_46_2661.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_51_4965.jpg', '/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_52_1522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_38_3590.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_40_2636.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_43_2854.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_46_2661.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_51_4965.jpg
/home/pi/Desktop/images/06112025/14/06/image_06112025_14_06_52_1522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711450","1394711452","1394711455","1394711454","1394711453","1394711456"],"photo_ids_order":["1394711450","1394711452","1394711453","1394711454","1394711455","1394711456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b69bcbcfa6a996560b086ce46bd05a9a.jpg","text":"TemporaryFile(/tmp/multipartBody8365686784610688552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259204887,"filename":"image_06112025_14_06_38_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35a63fe22ab9a6ff81a1b221ec3d9a15.jpg","text":"TemporaryFile(/tmp/multipartBody3013869947923363755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259204887,"filename":"image_06112025_14_06_40_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38f4d3fb29087214f1d2ce993ce156e7.jpg","text":"TemporaryFile(/tmp/multipartBody8889275237489022812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259204887,"filename":"image_06112025_14_06_51_4965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55a416cc7139fbaa32de11ca0a83710a.jpg","text":"TemporaryFile(/tmp/multipartBody6757559789301136217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259204887,"filename":"image_06112025_14_06_46_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/edd9d206a09b495ab0c6fc0ecad2b2b7.jpg","text":"TemporaryFile(/tmp/multipartBody3585406936122941769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259204887,"filename":"image_06112025_14_06_43_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ccbd97c72f743a4e1bcc2be0702e810.jpg","text":"TemporaryFile(/tmp/multipartBody7481579926734680534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259204887,"filename":"image_06112025_14_06_52_1522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711453","file1":"1394711452","file0":"1394711450","file4":"1394711455","file5":"1394711456","file3":"1394711454"},"map_files_photo_id_array":[{"photo_id":"1394711456","filename":"file5"},{"photo_id":"1394711453","filename":"file2"},{"photo_id":"1394711455","filename":"file4"},{"photo_id":"1394711452","filename":"file1"},{"photo_id":"1394711450","filename":"file0"},{"photo_id":"1394711454","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711450":["hashtag1","hashtag2"]},{"1394711452":["hashtag1","hashtag2"]},{"1394711455":["hashtag1","hashtag2"]},{"1394711454":["hashtag1","hashtag2"]},{"1394711453":["hashtag1","hashtag2"]},{"1394711456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711450, 1394711452, 1394711455, 1394711454, 1394711453, 1394711456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.018962144851685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:13:03.319423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:13:22.609817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_12_19261.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_13_1548.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_15_1731.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_17_1831.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_18_1681.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_20_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_12_19261.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_13_1548.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_15_1731.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_17_1831.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_18_1681.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_20_1594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711465","1394711459","1394711467","1394711461","1394711463","1394711466"],"photo_ids_order":["1394711459","1394711461","1394711463","1394711465","1394711466","1394711467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d887c2f5c099e1c249b6d716c1c0736.jpg","text":"TemporaryFile(/tmp/multipartBody4835677988655766788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259263469,"filename":"image_06112025_14_07_17_1831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e1e0c6ec4713d674addfb20d23a5991.jpg","text":"TemporaryFile(/tmp/multipartBody1495982291500089610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259263469,"filename":"image_06112025_14_07_12_19261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94d87cb557942f68a9550697afa9aa2e.jpg","text":"TemporaryFile(/tmp/multipartBody8879200938858851239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259263469,"filename":"image_06112025_14_07_20_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96dcf8a2158e6c66121284bd536c5f2b.jpg","text":"TemporaryFile(/tmp/multipartBody7320470982828925298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259263469,"filename":"image_06112025_14_07_13_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac14d3161213ff3700c54016501b81e6.jpg","text":"TemporaryFile(/tmp/multipartBody4402397464942710391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259263469,"filename":"image_06112025_14_07_15_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f45523ebdfa7187712f96cd02995837.jpg","text":"TemporaryFile(/tmp/multipartBody554532453892818027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259263469,"filename":"image_06112025_14_07_18_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711463","file1":"1394711461","file0":"1394711459","file4":"1394711466","file5":"1394711467","file3":"1394711465"},"map_files_photo_id_array":[{"photo_id":"1394711467","filename":"file5"},{"photo_id":"1394711463","filename":"file2"},{"photo_id":"1394711466","filename":"file4"},{"photo_id":"1394711461","filename":"file1"},{"photo_id":"1394711459","filename":"file0"},{"photo_id":"1394711465","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711465":["hashtag1","hashtag2"]},{"1394711459":["hashtag1","hashtag2"]},{"1394711467":["hashtag1","hashtag2"]},{"1394711461":["hashtag1","hashtag2"]},{"1394711463":["hashtag1","hashtag2"]},{"1394711466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711465, 1394711459, 1394711467, 1394711461, 1394711463, 1394711466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.537967920303345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:14:02.594061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:14:21.830600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/11/image_16112025_03_11_45_2794.jpg', '/home/pi/Desktop/images/16112025/03/14/image_16112025_03_14_12_2758.jpg', '/home/pi/Desktop/images/16112025/03/14/image_16112025_03_14_15_2853.jpg', '/home/pi/Desktop/images/16112025/03/14/image_16112025_03_14_36_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/11/image_16112025_03_11_45_2794.jpg
/home/pi/Desktop/images/16112025/03/14/image_16112025_03_14_12_2758.jpg
/home/pi/Desktop/images/16112025/03/14/image_16112025_03_14_15_2853.jpg
/home/pi/Desktop/images/16112025/03/14/image_16112025_03_14_36_3536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711470","1394711475","1394711472","1394711477"],"photo_ids_order":["1394711470","1394711472","1394711475","1394711477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/183a53a214d8a0915b8a4d349cbef863.jpg","text":"TemporaryFile(/tmp/multipartBody3397791023734644372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259322429,"filename":"image_16112025_03_11_45_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8654309d099f797c8e636d2e5dc82f01.jpg","text":"TemporaryFile(/tmp/multipartBody3133512476067969347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259322429,"filename":"image_16112025_03_14_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/11/16/a0138760b161855bcc625bcf9e4f70d3.jpg","text":"TemporaryFile(/tmp/multipartBody4493292537877455228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259322429,"filename":"image_16112025_03_14_12_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4fc14e0b6579a7d8665f8e54a53d990.jpg","text":"TemporaryFile(/tmp/multipartBody2324201954422839969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259322429,"filename":"image_16112025_03_14_36_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711475","file1":"1394711472","file0":"1394711470","file3":"1394711477"},"map_files_photo_id_array":[{"photo_id":"1394711475","filename":"file2"},{"photo_id":"1394711472","filename":"file1"},{"photo_id":"1394711470","filename":"file0"},{"photo_id":"1394711477","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711470":["hashtag1","hashtag2"]},{"1394711475":["hashtag1","hashtag2"]},{"1394711472":["hashtag1","hashtag2"]},{"1394711477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711470, 1394711475, 1394711472, 1394711477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.436708211898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:15:02.824376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:15:22.078527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/14/image_16112025_03_15_00_2575.jpg', '/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_18_2695.jpg', '/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_30_2667.jpg', '/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_45_3691.jpg', '/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_53_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/14/image_16112025_03_15_00_2575.jpg
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_18_2695.jpg
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_30_2667.jpg
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_45_3691.jpg
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_53_2755.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.5641820430755615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:15:42.058130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/14/image_16112025_03_15_00_2575.jpg', '/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_18_2695.jpg', '/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_30_2667.jpg', '/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_45_3691.jpg', '/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_53_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/14/image_16112025_03_15_00_2575.jpg
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_18_2695.jpg
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_30_2667.jpg
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_45_3691.jpg
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_15_53_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711525","1394711527","1394711524","1394711526","1394711523"],"photo_ids_order":["1394711523","1394711524","1394711525","1394711526","1394711527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91f7b68e7d3078d40782cb279a767bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5154765536542254293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259402704,"filename":"image_16112025_03_15_30_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/237e35a92e459c82798022c4bd1b0f41.jpg","text":"TemporaryFile(/tmp/multipartBody8653289692154834454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259402704,"filename":"image_16112025_03_15_53_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0365815e3c137339f93d41ee44538093.jpg","text":"TemporaryFile(/tmp/multipartBody4831758047181798234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259402704,"filename":"image_16112025_03_15_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/11/16/4d064570c6de34fae3df31a97d63f612.jpg","text":"TemporaryFile(/tmp/multipartBody149314276582465073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259402704,"filename":"image_16112025_03_15_45_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec4811fd07a9a667396bb228af62c805.jpg","text":"TemporaryFile(/tmp/multipartBody8598429888931465107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259402704,"filename":"image_16112025_03_15_00_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711525","file1":"1394711524","file0":"1394711523","file4":"1394711527","file3":"1394711526"},"map_files_photo_id_array":[{"photo_id":"1394711525","filename":"file2"},{"photo_id":"1394711527","filename":"file4"},{"photo_id":"1394711524","filename":"file1"},{"photo_id":"1394711523","filename":"file0"},{"photo_id":"1394711526","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711525":["hashtag1","hashtag2"]},{"1394711527":["hashtag1","hashtag2"]},{"1394711524":["hashtag1","hashtag2"]},{"1394711526":["hashtag1","hashtag2"]},{"1394711523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711525, 1394711527, 1394711524, 1394711526, 1394711523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.262964725494385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:16:22.239436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/15/image_16112025_03_16_00_2713.jpg', '/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_02_2686.jpg', '/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_06_3642.jpg', '/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_09_2629.jpg', '/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_11_2739.jpg', '/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_27_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/15/image_16112025_03_16_00_2713.jpg
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_02_2686.jpg
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_06_3642.jpg
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_09_2629.jpg
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_11_2739.jpg
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_27_3712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711531","1394711533","1394711530","1394711532","1394711535","1394711529"],"photo_ids_order":["1394711529","1394711530","1394711531","1394711532","1394711533","1394711535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4a84b2b1532339a4ec01d11f68c29d2.jpg","text":"TemporaryFile(/tmp/multipartBody3009839105373789114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259442994,"filename":"image_16112025_03_16_06_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b26c9f6fdea332bd7667dc42378d1e6c.jpg","text":"TemporaryFile(/tmp/multipartBody7679448785708633004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259442994,"filename":"image_16112025_03_16_11_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da13a9e54a43e7883c282132aece006b.jpg","text":"TemporaryFile(/tmp/multipartBody3664213410597929365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259442994,"filename":"image_16112025_03_16_02_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/235762c757c3706effb04825962175de.jpg","text":"TemporaryFile(/tmp/multipartBody6701385712553367015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259442994,"filename":"image_16112025_03_16_09_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96a089c856fe8f6b26020200864bbdc5.jpg","text":"TemporaryFile(/tmp/multipartBody1156518923273067649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259442994,"filename":"image_16112025_03_16_27_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/017cfa6dc6c48c380da81cd89c71833a.jpg","text":"TemporaryFile(/tmp/multipartBody5771587656121752923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259442994,"filename":"image_16112025_03_16_00_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711531","file1":"1394711530","file0":"1394711529","file4":"1394711533","file5":"1394711535","file3":"1394711532"},"map_files_photo_id_array":[{"photo_id":"1394711535","filename":"file5"},{"photo_id":"1394711531","filename":"file2"},{"photo_id":"1394711533","filename":"file4"},{"photo_id":"1394711530","filename":"file1"},{"photo_id":"1394711529","filename":"file0"},{"photo_id":"1394711532","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711531":["hashtag1","hashtag2"]},{"1394711533":["hashtag1","hashtag2"]},{"1394711530":["hashtag1","hashtag2"]},{"1394711532":["hashtag1","hashtag2"]},{"1394711535":["hashtag1","hashtag2"]},{"1394711529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711531, 1394711533, 1394711530, 1394711532, 1394711535, 1394711529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.671586990356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:17:03.258362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_42_3586.jpg', '/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_48_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_42_3586.jpg
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_48_2687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711537","1394711536"],"photo_ids_order":["1394711536","1394711537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c03118b859ddffc3536c2ecc843e2ec.jpg","text":"TemporaryFile(/tmp/multipartBody1451210670722939706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259483857,"filename":"image_16112025_03_16_48_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41c81c94be3e6d3617ca9b0bfa731ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2027070422303452492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259483857,"filename":"image_16112025_03_16_42_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394711537","file0":"1394711536"},"map_files_photo_id_array":[{"photo_id":"1394711537","filename":"file1"},{"photo_id":"1394711536","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711537":["hashtag1","hashtag2"]},{"1394711536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711537, 1394711536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.68895959854126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:17:22.505521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_54_3577.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_30_2801.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_36_3645.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_39_2623.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_41_2607.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_45_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_54_3577.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_30_2801.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_36_3645.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_39_2623.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_41_2607.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_45_3682.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.6428983211517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:17:42.554597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_54_3577.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_30_2801.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_36_3645.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_39_2623.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_41_2607.jpg', '/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_45_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/16/image_16112025_03_16_54_3577.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_30_2801.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_36_3645.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_39_2623.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_41_2607.jpg
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_45_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711551","1394711554","1394711550","1394711553","1394711552","1394711549"],"photo_ids_order":["1394711549","1394711550","1394711551","1394711552","1394711553","1394711554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65993c41965a3d9e6531f84a00c05c58.jpg","text":"TemporaryFile(/tmp/multipartBody8148262592984641955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259523282,"filename":"image_16112025_03_17_36_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c0954d02b3d09d0a5c6ec5a128b4443.jpg","text":"TemporaryFile(/tmp/multipartBody2089767418609577537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259523282,"filename":"image_16112025_03_17_45_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/425786d0fe4aaf1a7528221f43c0f79f.jpg","text":"TemporaryFile(/tmp/multipartBody3237775323513530470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259523282,"filename":"image_16112025_03_17_30_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9819738b8a2cf00e3503e16ac25d4dbb.jpg","text":"TemporaryFile(/tmp/multipartBody352594087627796484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259523282,"filename":"image_16112025_03_17_41_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27c361ae07a0f1c1aa05af9517954225.jpg","text":"TemporaryFile(/tmp/multipartBody7339886520196619370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259523282,"filename":"image_16112025_03_17_39_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a47c3c2cb80ce2a330b797c78eebfe1.jpg","text":"TemporaryFile(/tmp/multipartBody4501837519807905222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259523282,"filename":"image_16112025_03_16_54_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711551","file1":"1394711550","file0":"1394711549","file4":"1394711553","file5":"1394711554","file3":"1394711552"},"map_files_photo_id_array":[{"photo_id":"1394711554","filename":"file5"},{"photo_id":"1394711551","filename":"file2"},{"photo_id":"1394711553","filename":"file4"},{"photo_id":"1394711550","filename":"file1"},{"photo_id":"1394711549","filename":"file0"},{"photo_id":"1394711552","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711551":["hashtag1","hashtag2"]},{"1394711554":["hashtag1","hashtag2"]},{"1394711550":["hashtag1","hashtag2"]},{"1394711553":["hashtag1","hashtag2"]},{"1394711552":["hashtag1","hashtag2"]},{"1394711549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711551, 1394711554, 1394711550, 1394711553, 1394711552, 1394711549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18782019615173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:18:22.838174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_59_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/17/image_16112025_03_17_59_1775.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711562"],"photo_id":"1394711562","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac4b7467c042b14d22164db0f9e14382.jpg","text":"TemporaryFile(/tmp/multipartBody5562562087588280109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259563338,"filename":"image_16112025_03_17_59_1775.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394711562"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394711562"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.406426668167114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:18:42.814531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:19:03.027003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:19:21.957569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/18/image_16112025_03_18_39_3684.jpg', '/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_02_2621.jpg', '/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_23_2773.jpg', '/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_26_2635.jpg', '/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_30_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/18/image_16112025_03_18_39_3684.jpg
/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_02_2621.jpg
/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_23_2773.jpg
/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_26_2635.jpg
/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_30_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711590","1394711586","1394711589","1394711585","1394711588"],"photo_ids_order":["1394711585","1394711586","1394711588","1394711589","1394711590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/070a03ac7cccf20d7bfae4d1bb414e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7697379799838072765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259622604,"filename":"image_16112025_03_19_30_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afaebc72501338cea5576e327a492b1f.jpg","text":"TemporaryFile(/tmp/multipartBody7003515539587307107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259622604,"filename":"image_16112025_03_19_02_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4d0442b99c7cae03b0e1166c341f6a1.jpg","text":"TemporaryFile(/tmp/multipartBody6060901771399264863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259622604,"filename":"image_16112025_03_19_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/11/16/0fd578017eee65e1992b251dfe9c30a9.jpg","text":"TemporaryFile(/tmp/multipartBody3384754841014470491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259622604,"filename":"image_16112025_03_18_39_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1eb2242e3cc228e0496970199a0bd9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2221205549292471374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259622604,"filename":"image_16112025_03_19_23_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711588","file1":"1394711586","file0":"1394711585","file4":"1394711590","file3":"1394711589"},"map_files_photo_id_array":[{"photo_id":"1394711588","filename":"file2"},{"photo_id":"1394711590","filename":"file4"},{"photo_id":"1394711586","filename":"file1"},{"photo_id":"1394711585","filename":"file0"},{"photo_id":"1394711589","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711590":["hashtag1","hashtag2"]},{"1394711586":["hashtag1","hashtag2"]},{"1394711589":["hashtag1","hashtag2"]},{"1394711585":["hashtag1","hashtag2"]},{"1394711588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711590, 1394711586, 1394711589, 1394711585, 1394711588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.900768041610718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:20:02.733609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:20:22.346362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_39_3700.jpg', '/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_02_2769.jpg', '/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_08_2680.jpg', '/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_11_2602.jpg', '/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_15_3658.jpg', '/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_18_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/19/image_16112025_03_19_39_3700.jpg
/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_02_2769.jpg
/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_08_2680.jpg
/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_11_2602.jpg
/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_15_3658.jpg
/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_18_2851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711609","1394711600","1394711608","1394711610","1394711604","1394711607"],"photo_ids_order":["1394711600","1394711604","1394711607","1394711608","1394711609","1394711610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35a02c7d6fd9e578bbe13752769d1c23.jpg","text":"TemporaryFile(/tmp/multipartBody4117617150124527023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259683053,"filename":"image_16112025_03_20_15_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f913a6087af792228574ee79272186b7.jpg","text":"TemporaryFile(/tmp/multipartBody8307921512233205657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259683053,"filename":"image_16112025_03_19_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/11/16/adeac7b067f8554446b149bcd741b8bc.jpg","text":"TemporaryFile(/tmp/multipartBody47616136183187735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259683053,"filename":"image_16112025_03_20_11_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcc4f422cd9460f5ea74475f4d814935.jpg","text":"TemporaryFile(/tmp/multipartBody6340142877077502313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259683053,"filename":"image_16112025_03_20_18_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/231701a795a021ff22be8994a92abed6.jpg","text":"TemporaryFile(/tmp/multipartBody7083340018755058452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259683053,"filename":"image_16112025_03_20_02_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25f0029172c623047cac9cbb9623f5a1.jpg","text":"TemporaryFile(/tmp/multipartBody4232979871799333776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259683053,"filename":"image_16112025_03_20_08_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711607","file1":"1394711604","file0":"1394711600","file4":"1394711609","file5":"1394711610","file3":"1394711608"},"map_files_photo_id_array":[{"photo_id":"1394711610","filename":"file5"},{"photo_id":"1394711607","filename":"file2"},{"photo_id":"1394711609","filename":"file4"},{"photo_id":"1394711604","filename":"file1"},{"photo_id":"1394711600","filename":"file0"},{"photo_id":"1394711608","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711609":["hashtag1","hashtag2"]},{"1394711600":["hashtag1","hashtag2"]},{"1394711608":["hashtag1","hashtag2"]},{"1394711610":["hashtag1","hashtag2"]},{"1394711604":["hashtag1","hashtag2"]},{"1394711607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711609, 1394711600, 1394711608, 1394711610, 1394711604, 1394711607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67048788070679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:21:03.437960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_26_2556.jpg', '/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_45_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_26_2556.jpg
/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_45_3583.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711612","1394711611"],"photo_ids_order":["1394711611","1394711612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77772d3b4ce4c384bafbc527bde8110c.jpg","text":"TemporaryFile(/tmp/multipartBody4546885096538264323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259724035,"filename":"image_16112025_03_20_45_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb50da76e3f9dc02249ae981e5230605.jpg","text":"TemporaryFile(/tmp/multipartBody875929709309640928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259724035,"filename":"image_16112025_03_20_26_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394711612","file0":"1394711611"},"map_files_photo_id_array":[{"photo_id":"1394711612","filename":"file1"},{"photo_id":"1394711611","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711612":["hashtag1","hashtag2"]},{"1394711611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711612, 1394711611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.823484897613525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:21:22.614270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_56_2628.jpg', '/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_02_2951.jpg', '/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_06_3778.jpg', '/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_11_2734.jpg', '/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_15_3570.jpg', '/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_17_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/20/image_16112025_03_20_56_2628.jpg
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_02_2951.jpg
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_06_3778.jpg
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_11_2734.jpg
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_15_3570.jpg
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_17_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711621","1394711615","1394711618","1394711620","1394711622","1394711619"],"photo_ids_order":["1394711615","1394711618","1394711619","1394711620","1394711621","1394711622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e369df0e1f9a6bc815784941c799f852.jpg","text":"TemporaryFile(/tmp/multipartBody4729472417626447180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259743320,"filename":"image_16112025_03_21_15_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c68678df9e51c431d139ba848d878294.jpg","text":"TemporaryFile(/tmp/multipartBody7620260770905573052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259743320,"filename":"image_16112025_03_20_56_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af904eea4d519fb86b993b97ecaae03e.jpg","text":"TemporaryFile(/tmp/multipartBody5528741343341014543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259743320,"filename":"image_16112025_03_21_02_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da31e625a6cc8df7625bf13d2a17ccc7.jpg","text":"TemporaryFile(/tmp/multipartBody8019733709886362528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259743320,"filename":"image_16112025_03_21_11_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16d62f072fd4468a110a20571061b8f3.jpg","text":"TemporaryFile(/tmp/multipartBody3995250532818758172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259743320,"filename":"image_16112025_03_21_17_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0788f71f95d57b5752314604c9c85fd.jpg","text":"TemporaryFile(/tmp/multipartBody1954831361683491265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259743320,"filename":"image_16112025_03_21_06_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711619","file1":"1394711618","file0":"1394711615","file4":"1394711621","file5":"1394711622","file3":"1394711620"},"map_files_photo_id_array":[{"photo_id":"1394711622","filename":"file5"},{"photo_id":"1394711619","filename":"file2"},{"photo_id":"1394711621","filename":"file4"},{"photo_id":"1394711618","filename":"file1"},{"photo_id":"1394711615","filename":"file0"},{"photo_id":"1394711620","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711621":["hashtag1","hashtag2"]},{"1394711615":["hashtag1","hashtag2"]},{"1394711618":["hashtag1","hashtag2"]},{"1394711620":["hashtag1","hashtag2"]},{"1394711622":["hashtag1","hashtag2"]},{"1394711619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711621, 1394711615, 1394711618, 1394711620, 1394711622, 1394711619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2935311794281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:22:02.362619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_27_2755.jpg', '/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_38_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_27_2755.jpg
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_38_2696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711624","1394711626"],"photo_ids_order":["1394711624","1394711626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcf03a1736e97a68f913d16025db5513.jpg","text":"TemporaryFile(/tmp/multipartBody6992923132274504169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259782924,"filename":"image_16112025_03_21_27_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c96a0beb65a34402a150b211ac2ddd1f.jpg","text":"TemporaryFile(/tmp/multipartBody6429036297834268959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259782924,"filename":"image_16112025_03_21_38_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394711626","file0":"1394711624"},"map_files_photo_id_array":[{"photo_id":"1394711626","filename":"file1"},{"photo_id":"1394711624","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711624":["hashtag1","hashtag2"]},{"1394711626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711624, 1394711626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.101726055145264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:22:21.815727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_47_2671.jpg', '/home/pi/Desktop/images/16112025/03/22/image_16112025_03_22_26_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_47_2671.jpg
/home/pi/Desktop/images/16112025/03/22/image_16112025_03_22_26_2631.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.4628739356994629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:22:41.792614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_47_2671.jpg', '/home/pi/Desktop/images/16112025/03/22/image_16112025_03_22_26_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/21/image_16112025_03_21_47_2671.jpg
/home/pi/Desktop/images/16112025/03/22/image_16112025_03_22_26_2631.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711641","1394711643"],"photo_ids_order":["1394711641","1394711643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acbc4a6093a794c3e987f80aa19c01d5.jpg","text":"TemporaryFile(/tmp/multipartBody1541248545819840979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259822384,"filename":"image_16112025_03_21_47_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14889ea6a13e0c7a5d5d408ec8c1daad.jpg","text":"TemporaryFile(/tmp/multipartBody6451286196185352679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259822384,"filename":"image_16112025_03_22_26_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394711643","file0":"1394711641"},"map_files_photo_id_array":[{"photo_id":"1394711643","filename":"file1"},{"photo_id":"1394711641","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711641":["hashtag1","hashtag2"]},{"1394711643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711641, 1394711643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.467702388763428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:23:02.634395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:23:22.124224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/22/image_16112025_03_22_47_2763.jpg', '/home/pi/Desktop/images/16112025/03/23/image_16112025_03_23_02_2624.jpg', '/home/pi/Desktop/images/16112025/03/23/image_16112025_03_23_32_2613.jpg', '/home/pi/Desktop/images/16112025/03/23/image_16112025_03_23_35_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/22/image_16112025_03_22_47_2763.jpg
/home/pi/Desktop/images/16112025/03/23/image_16112025_03_23_02_2624.jpg
/home/pi/Desktop/images/16112025/03/23/image_16112025_03_23_32_2613.jpg
/home/pi/Desktop/images/16112025/03/23/image_16112025_03_23_35_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711645","1394711650","1394711647","1394711652"],"photo_ids_order":["1394711645","1394711647","1394711650","1394711652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23f3e05743b9c6c0c3226cca3935aa0e.jpg","text":"TemporaryFile(/tmp/multipartBody3343022913007040835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259862735,"filename":"image_16112025_03_22_47_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0948e801713a9716b512dc3dfc45bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8180345005589739968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259862735,"filename":"image_16112025_03_23_32_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58346e84b0d96c2e2e28b6181290a781.jpg","text":"TemporaryFile(/tmp/multipartBody2756158028866834154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259862735,"filename":"image_16112025_03_23_02_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f9a593b02fd86981b1cafe1bf91ca4e.jpg","text":"TemporaryFile(/tmp/multipartBody8199626388585127619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259862735,"filename":"image_16112025_03_23_35_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711650","file1":"1394711647","file0":"1394711645","file3":"1394711652"},"map_files_photo_id_array":[{"photo_id":"1394711650","filename":"file2"},{"photo_id":"1394711647","filename":"file1"},{"photo_id":"1394711645","filename":"file0"},{"photo_id":"1394711652","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711645":["hashtag1","hashtag2"]},{"1394711650":["hashtag1","hashtag2"]},{"1394711647":["hashtag1","hashtag2"]},{"1394711652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711645, 1394711650, 1394711647, 1394711652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.366925954818726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:24:02.936125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:24:22.245886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/23/image_16112025_03_23_41_2758.jpg', '/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_05_2823.jpg', '/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_14_3663.jpg', '/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_17_2562.jpg', '/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_32_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/23/image_16112025_03_23_41_2758.jpg
/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_05_2823.jpg
/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_14_3663.jpg
/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_17_2562.jpg
/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_32_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711663","1394711665","1394711661","1394711664","1394711666"],"photo_ids_order":["1394711661","1394711663","1394711664","1394711665","1394711666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69f013d888f3f300fdab00f7698ba26d.jpg","text":"TemporaryFile(/tmp/multipartBody4590408467805755011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259922946,"filename":"image_16112025_03_24_05_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ee2ab666945e95426b512e7d78401b6.jpg","text":"TemporaryFile(/tmp/multipartBody529742849540395843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259922946,"filename":"image_16112025_03_24_17_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9a8b1a17289c21f2c3a6bf6e35e61ba.jpg","text":"TemporaryFile(/tmp/multipartBody6207930578524407648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259922946,"filename":"image_16112025_03_23_41_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58ab0d61dff8da5b84e522fc5e88184e.jpg","text":"TemporaryFile(/tmp/multipartBody4262755955748795195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259922946,"filename":"image_16112025_03_24_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/11/16/720aa6c8c9af6c57b4feb3839258307e.jpg","text":"TemporaryFile(/tmp/multipartBody6460514750791970837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259922946,"filename":"image_16112025_03_24_32_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711664","file1":"1394711663","file0":"1394711661","file4":"1394711666","file3":"1394711665"},"map_files_photo_id_array":[{"photo_id":"1394711664","filename":"file2"},{"photo_id":"1394711666","filename":"file4"},{"photo_id":"1394711663","filename":"file1"},{"photo_id":"1394711661","filename":"file0"},{"photo_id":"1394711665","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711663":["hashtag1","hashtag2"]},{"1394711665":["hashtag1","hashtag2"]},{"1394711661":["hashtag1","hashtag2"]},{"1394711664":["hashtag1","hashtag2"]},{"1394711666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711663, 1394711665, 1394711661, 1394711664, 1394711666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.502315998077393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:25:03.155219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:25:22.414580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_49_2715.jpg', '/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_35_2621.jpg', '/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_37_2726.jpg', '/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_41_3713.jpg', '/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_44_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/24/image_16112025_03_24_49_2715.jpg
/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_35_2621.jpg
/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_37_2726.jpg
/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_41_3713.jpg
/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_44_2852.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711674","1394711682","1394711670","1394711684","1394711678"],"photo_ids_order":["1394711670","1394711674","1394711678","1394711682","1394711684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/341cc0997557ebf4fefd6a57738ee1fd.jpg","text":"TemporaryFile(/tmp/multipartBody6188262899145807565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259983065,"filename":"image_16112025_03_25_35_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51dfa0739f04b01a1f3c6e5c995e2106.jpg","text":"TemporaryFile(/tmp/multipartBody2589421884847152752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259983065,"filename":"image_16112025_03_25_41_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63aa70ec1fc79da63f911321ac89a46c.jpg","text":"TemporaryFile(/tmp/multipartBody5997818725899918819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259983065,"filename":"image_16112025_03_24_49_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d941d709e3324e3837812dd2bae2b27.jpg","text":"TemporaryFile(/tmp/multipartBody2275076249378089396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259983065,"filename":"image_16112025_03_25_44_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf0d8b2dba68f4db42b2dab048cf609f.jpg","text":"TemporaryFile(/tmp/multipartBody4813781564441248890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763259983065,"filename":"image_16112025_03_25_37_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711678","file1":"1394711674","file0":"1394711670","file4":"1394711684","file3":"1394711682"},"map_files_photo_id_array":[{"photo_id":"1394711678","filename":"file2"},{"photo_id":"1394711684","filename":"file4"},{"photo_id":"1394711674","filename":"file1"},{"photo_id":"1394711670","filename":"file0"},{"photo_id":"1394711682","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711674":["hashtag1","hashtag2"]},{"1394711682":["hashtag1","hashtag2"]},{"1394711670":["hashtag1","hashtag2"]},{"1394711684":["hashtag1","hashtag2"]},{"1394711678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711674, 1394711682, 1394711670, 1394711684, 1394711678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.230308771133423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:26:03.116684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:26:22.772759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_50_3602.jpg', '/home/pi/Desktop/images/16112025/03/26/image_16112025_03_26_02_2716.jpg', '/home/pi/Desktop/images/16112025/03/26/image_16112025_03_26_08_3635.jpg', '/home/pi/Desktop/images/16112025/03/26/image_16112025_03_26_14_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/25/image_16112025_03_25_50_3602.jpg
/home/pi/Desktop/images/16112025/03/26/image_16112025_03_26_02_2716.jpg
/home/pi/Desktop/images/16112025/03/26/image_16112025_03_26_08_3635.jpg
/home/pi/Desktop/images/16112025/03/26/image_16112025_03_26_14_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711692","1394711695","1394711689","1394711693"],"photo_ids_order":["1394711689","1394711692","1394711693","1394711695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdbe1bc58773ce04724dabe01721ef49.jpg","text":"TemporaryFile(/tmp/multipartBody1475350979189326071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260043411,"filename":"image_16112025_03_26_02_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47b27f557354565c2fc3c1512ffa5824.jpg","text":"TemporaryFile(/tmp/multipartBody4163780820257771290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260043411,"filename":"image_16112025_03_26_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/11/16/5ba94a92e3df883703d22cbb5303c466.jpg","text":"TemporaryFile(/tmp/multipartBody9129931093722784785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260043411,"filename":"image_16112025_03_25_50_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/866de7616d7366110025e091bbb699f7.jpg","text":"TemporaryFile(/tmp/multipartBody2049919297746949959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260043411,"filename":"image_16112025_03_26_08_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711693","file1":"1394711692","file0":"1394711689","file3":"1394711695"},"map_files_photo_id_array":[{"photo_id":"1394711693","filename":"file2"},{"photo_id":"1394711692","filename":"file1"},{"photo_id":"1394711689","filename":"file0"},{"photo_id":"1394711695","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711692":["hashtag1","hashtag2"]},{"1394711695":["hashtag1","hashtag2"]},{"1394711689":["hashtag1","hashtag2"]},{"1394711693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711692, 1394711695, 1394711689, 1394711693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.211360931396484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:27:02.782486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 03:27:22.259267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/26/image_16112025_03_26_58_2668.jpg', '/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_02_3718.jpg', '/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_05_2559.jpg', '/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_07_2613.jpg', '/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_41_2659.jpg', '/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_44_3115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/26/image_16112025_03_26_58_2668.jpg
/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_02_3718.jpg
/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_05_2559.jpg
/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_07_2613.jpg
/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_41_2659.jpg
/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_44_3115.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711705","1394711708","1394711707","1394711703","1394711706","1394711700"],"photo_ids_order":["1394711700","1394711703","1394711705","1394711706","1394711707","1394711708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08667e9ad61d72d6a1a96a54a213a2a7.jpg","text":"TemporaryFile(/tmp/multipartBody1055601097170684395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260102946,"filename":"image_16112025_03_27_05_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb455ab0be8765f77caa7e4b3f6a3eee.jpg","text":"TemporaryFile(/tmp/multipartBody7533423826763130086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260102946,"filename":"image_16112025_03_27_44_3115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cdf56725dd274e557857e486c640aec.jpg","text":"TemporaryFile(/tmp/multipartBody3427885326846339843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260102946,"filename":"image_16112025_03_27_41_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e92f68ded908dc8c2323f11d14c4004c.jpg","text":"TemporaryFile(/tmp/multipartBody485371647699246802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260102946,"filename":"image_16112025_03_27_02_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cc88c16dd0aee27d8c77d0b4b96cb1d.jpg","text":"TemporaryFile(/tmp/multipartBody3389005641060058490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260102946,"filename":"image_16112025_03_27_07_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95cac64fcb22066203497f09ae17040f.jpg","text":"TemporaryFile(/tmp/multipartBody3646984654917347905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260102946,"filename":"image_16112025_03_26_58_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711705","file1":"1394711703","file0":"1394711700","file4":"1394711707","file5":"1394711708","file3":"1394711706"},"map_files_photo_id_array":[{"photo_id":"1394711708","filename":"file5"},{"photo_id":"1394711705","filename":"file2"},{"photo_id":"1394711707","filename":"file4"},{"photo_id":"1394711703","filename":"file1"},{"photo_id":"1394711700","filename":"file0"},{"photo_id":"1394711706","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711705":["hashtag1","hashtag2"]},{"1394711708":["hashtag1","hashtag2"]},{"1394711707":["hashtag1","hashtag2"]},{"1394711703":["hashtag1","hashtag2"]},{"1394711706":["hashtag1","hashtag2"]},{"1394711700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711705, 1394711708, 1394711707, 1394711703, 1394711706, 1394711700)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.72448682785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:28:22.886073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_53_9298.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_53_9298.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711713"],"photo_id":"1394711713","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f32aff99e04116ac38159c85ee6c012a.jpg","text":"TemporaryFile(/tmp/multipartBody1088660265666893199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260165332,"filename":"image_16112025_03_27_53_9298.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394711713"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394711713"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.586373090744019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:28:42.910353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:29:06.798822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 03:29:23.545957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 03:29:41.945238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:30:02.674540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 03:30:22.347214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_22_1602.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_23_1714.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_25_1530.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_26_1546.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_28_1635.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_30_1778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_22_1602.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_23_1714.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_25_1530.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_26_1546.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_28_1635.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_30_1778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711735","1394711746","1394711734","1394711736","1394711745","1394711747"],"photo_ids_order":["1394711734","1394711735","1394711736","1394711745","1394711746","1394711747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84b09a03cef5a22e6d8353519b1c48b6.jpg","text":"TemporaryFile(/tmp/multipartBody6029455489007627407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260283370,"filename":"image_06112025_14_07_23_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acf0f75e5210878c7afb55ed505b7c53.jpg","text":"TemporaryFile(/tmp/multipartBody789783144597928234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260283370,"filename":"image_06112025_14_07_28_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40a17153f9c6563ce21e734359fbb589.jpg","text":"TemporaryFile(/tmp/multipartBody8736863892511407437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260283370,"filename":"image_06112025_14_07_22_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7635bae901b6363b7584b39f2a78fa82.jpg","text":"TemporaryFile(/tmp/multipartBody8226640031653639997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260283370,"filename":"image_06112025_14_07_25_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4c8678423831d319563df2906441861.jpg","text":"TemporaryFile(/tmp/multipartBody6709875796672325973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260283370,"filename":"image_06112025_14_07_26_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97bf3ae843f5b1d32022d9b765c81056.jpg","text":"TemporaryFile(/tmp/multipartBody3627434045499475787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260283370,"filename":"image_06112025_14_07_30_1778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711736","file1":"1394711735","file0":"1394711734","file4":"1394711746","file5":"1394711747","file3":"1394711745"},"map_files_photo_id_array":[{"photo_id":"1394711747","filename":"file5"},{"photo_id":"1394711736","filename":"file2"},{"photo_id":"1394711746","filename":"file4"},{"photo_id":"1394711735","filename":"file1"},{"photo_id":"1394711734","filename":"file0"},{"photo_id":"1394711745","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394711735":["hashtag1","hashtag2"]},{"1394711746":["hashtag1","hashtag2"]},{"1394711734":["hashtag1","hashtag2"]},{"1394711736":["hashtag1","hashtag2"]},{"1394711745":["hashtag1","hashtag2"]},{"1394711747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394711735, 1394711746, 1394711734, 1394711736, 1394711745, 1394711747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11159348487854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:31:03.040208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_55_1558.jpg', '/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_02_4005.jpg', '/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_07_1570.jpg', '/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_31_2641.jpg', '/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_38_3381.jpg', '/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_43_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/27/image_16112025_03_27_55_1558.jpg
/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_02_4005.jpg
/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_07_1570.jpg
/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_31_2641.jpg
/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_38_3381.jpg
/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_43_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711749","1394711754","1394711748","1394711757","1394711751","1394711750"],"photo_ids_order":["1394711748","1394711749","1394711750","1394711751","1394711754","1394711757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71378af8cd58f0eb01a01f3086ccabba.jpg","text":"TemporaryFile(/tmp/multipartBody870013562370313870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260323921,"filename":"image_16112025_03_28_02_4005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16d064e6a813550c068e3bdf2d7f4090.jpg","text":"TemporaryFile(/tmp/multipartBody4334289440253792058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260323921,"filename":"image_16112025_03_28_38_3381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0917740b0e0e5bf8d3563774a9c58d37.jpg","text":"TemporaryFile(/tmp/multipartBody5219374881777133872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260323921,"filename":"image_16112025_03_27_55_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94764c19b800720da0b9dac6f55827a6.jpg","text":"TemporaryFile(/tmp/multipartBody497385859257129527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260323921,"filename":"image_16112025_03_28_43_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/387e0709c50e6947e83b633b6d236c97.jpg","text":"TemporaryFile(/tmp/multipartBody6937809528776453354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260323921,"filename":"image_16112025_03_28_31_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d5467150cc25d696d6481134be14ca0.jpg","text":"TemporaryFile(/tmp/multipartBody5588703181142001447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260323921,"filename":"image_16112025_03_28_07_1570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711750","file1":"1394711749","file0":"1394711748","file4":"1394711754","file5":"1394711757","file3":"1394711751"},"map_files_photo_id_array":[{"photo_id":"1394711757","filename":"file5"},{"photo_id":"1394711750","filename":"file2"},{"photo_id":"1394711754","filename":"file4"},{"photo_id":"1394711749","filename":"file1"},{"photo_id":"1394711748","filename":"file0"},{"photo_id":"1394711751","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711749":["hashtag1","hashtag2"]},{"1394711754":["hashtag1","hashtag2"]},{"1394711748":["hashtag1","hashtag2"]},{"1394711757":["hashtag1","hashtag2"]},{"1394711751":["hashtag1","hashtag2"]},{"1394711750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711749, 1394711754, 1394711748, 1394711757, 1394711751, 1394711750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50831723213196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:31:42.429581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_50_3647.jpg', '/home/pi/Desktop/images/16112025/03/29/image_16112025_03_29_11_2520.jpg', '/home/pi/Desktop/images/16112025/03/29/image_16112025_03_29_14_1673.jpg', '/home/pi/Desktop/images/16112025/03/29/image_16112025_03_29_18_3521.jpg', '/home/pi/Desktop/images/16112025/03/29/image_16112025_03_29_31_2724.jpg', '/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_01_4954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/28/image_16112025_03_28_50_3647.jpg
/home/pi/Desktop/images/16112025/03/29/image_16112025_03_29_11_2520.jpg
/home/pi/Desktop/images/16112025/03/29/image_16112025_03_29_14_1673.jpg
/home/pi/Desktop/images/16112025/03/29/image_16112025_03_29_18_3521.jpg
/home/pi/Desktop/images/16112025/03/29/image_16112025_03_29_31_2724.jpg
/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_01_4954.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711770","1394711772","1394711766","1394711775","1394711777","1394711768"],"photo_ids_order":["1394711766","1394711768","1394711770","1394711772","1394711775","1394711777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/838cff2257db774a0c27d9d8e38b2ec4.jpg","text":"TemporaryFile(/tmp/multipartBody7701466793561364874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260363149,"filename":"image_16112025_03_29_14_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c767d6d315c96887e4d6b382546b8dca.jpg","text":"TemporaryFile(/tmp/multipartBody6446222784229221378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260363149,"filename":"image_16112025_03_29_18_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7d09e426edd974c09978cd8ded0066e.jpg","text":"TemporaryFile(/tmp/multipartBody7045275091515947741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260363149,"filename":"image_16112025_03_28_50_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b936009ed7430d8b8c29a7ae182cd389.jpg","text":"TemporaryFile(/tmp/multipartBody7011335401438906557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260363149,"filename":"image_16112025_03_29_31_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b88b0a5a5ee246e9fd03a939b014fbf3.jpg","text":"TemporaryFile(/tmp/multipartBody6076347600184168800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260363149,"filename":"image_16112025_03_30_01_4954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c41e09512262c9ec5e858acdbf617f69.jpg","text":"TemporaryFile(/tmp/multipartBody1489630745207391491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260363149,"filename":"image_16112025_03_29_11_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711770","file1":"1394711768","file0":"1394711766","file4":"1394711775","file5":"1394711777","file3":"1394711772"},"map_files_photo_id_array":[{"photo_id":"1394711777","filename":"file5"},{"photo_id":"1394711770","filename":"file2"},{"photo_id":"1394711775","filename":"file4"},{"photo_id":"1394711768","filename":"file1"},{"photo_id":"1394711766","filename":"file0"},{"photo_id":"1394711772","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711770":["hashtag1","hashtag2"]},{"1394711772":["hashtag1","hashtag2"]},{"1394711766":["hashtag1","hashtag2"]},{"1394711775":["hashtag1","hashtag2"]},{"1394711777":["hashtag1","hashtag2"]},{"1394711768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711770, 1394711772, 1394711766, 1394711775, 1394711777, 1394711768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95539927482605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:32:22.554754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_07_5911.jpg', '/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_37_1739.jpg', '/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_41_1861.jpg', '/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_47_1822.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_02_4850.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_14_8628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_07_5911.jpg
/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_37_1739.jpg
/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_41_1861.jpg
/home/pi/Desktop/images/16112025/03/30/image_16112025_03_30_47_1822.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_02_4850.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_14_8628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711785","1394711784","1394711787","1394711781","1394711783","1394711786"],"photo_ids_order":["1394711781","1394711783","1394711784","1394711785","1394711786","1394711787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8cf3861eee82822ba916885aa726875.jpg","text":"TemporaryFile(/tmp/multipartBody6069645722656167488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260403246,"filename":"image_16112025_03_30_47_1822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2975acba5ec32f18b21f2dbf5a6b5d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1186670100446829987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260403246,"filename":"image_16112025_03_30_41_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/103a9bcaa9b3bed4632e2e38dd1251b7.jpg","text":"TemporaryFile(/tmp/multipartBody3749708318743315483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260403246,"filename":"image_16112025_03_31_14_8628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84f961474c878eec4958b28fe54b6161.jpg","text":"TemporaryFile(/tmp/multipartBody4224472579632066827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260403246,"filename":"image_16112025_03_30_07_5911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e291509ffd57e9dcf4f2ed0c57cfbd6f.jpg","text":"TemporaryFile(/tmp/multipartBody370365353651633886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260403246,"filename":"image_16112025_03_30_37_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1573ec83ae5d1fc345e9b33292154c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7209838683000756394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260403246,"filename":"image_16112025_03_31_02_4850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711784","file1":"1394711783","file0":"1394711781","file4":"1394711786","file5":"1394711787","file3":"1394711785"},"map_files_photo_id_array":[{"photo_id":"1394711787","filename":"file5"},{"photo_id":"1394711784","filename":"file2"},{"photo_id":"1394711786","filename":"file4"},{"photo_id":"1394711783","filename":"file1"},{"photo_id":"1394711781","filename":"file0"},{"photo_id":"1394711785","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711785":["hashtag1","hashtag2"]},{"1394711784":["hashtag1","hashtag2"]},{"1394711787":["hashtag1","hashtag2"]},{"1394711781":["hashtag1","hashtag2"]},{"1394711783":["hashtag1","hashtag2"]},{"1394711786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711785, 1394711784, 1394711787, 1394711781, 1394711783, 1394711786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87395119667053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:33:02.470013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_24_1686.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_36_8529.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_40_1727.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_43_1588.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_45_1754.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_46_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_24_1686.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_36_8529.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_40_1727.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_43_1588.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_45_1754.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_46_1606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711791","1394711794","1394711788","1394711790","1394711789","1394711798"],"photo_ids_order":["1394711788","1394711789","1394711790","1394711791","1394711794","1394711798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0011f0a57adb871368b5248607ffad6.jpg","text":"TemporaryFile(/tmp/multipartBody254664090005437960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260444413,"filename":"image_16112025_03_31_43_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25292c8a9defbcdbed42ae5d28f9667c.jpg","text":"TemporaryFile(/tmp/multipartBody1044053628935721461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260444413,"filename":"image_16112025_03_31_45_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28893133f761b5c7334c59137f2c4965.jpg","text":"TemporaryFile(/tmp/multipartBody2456170753308574685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260444413,"filename":"image_16112025_03_31_24_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd06827f6608e52e74c31732162616b2.jpg","text":"TemporaryFile(/tmp/multipartBody9183255220582963325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260444413,"filename":"image_16112025_03_31_40_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/115ea10795ed4caf0d1bb2f9c093a883.jpg","text":"TemporaryFile(/tmp/multipartBody901972841960449158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260444413,"filename":"image_16112025_03_31_36_8529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afe2351524ea738e8146fb89ec9a437e.jpg","text":"TemporaryFile(/tmp/multipartBody8384231279872051434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260444413,"filename":"image_16112025_03_31_46_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711790","file1":"1394711789","file0":"1394711788","file4":"1394711794","file5":"1394711798","file3":"1394711791"},"map_files_photo_id_array":[{"photo_id":"1394711798","filename":"file5"},{"photo_id":"1394711790","filename":"file2"},{"photo_id":"1394711794","filename":"file4"},{"photo_id":"1394711789","filename":"file1"},{"photo_id":"1394711788","filename":"file0"},{"photo_id":"1394711791","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711791":["hashtag1","hashtag2"]},{"1394711794":["hashtag1","hashtag2"]},{"1394711788":["hashtag1","hashtag2"]},{"1394711790":["hashtag1","hashtag2"]},{"1394711789":["hashtag1","hashtag2"]},{"1394711798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711791, 1394711794, 1394711788, 1394711790, 1394711789, 1394711798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53757619857788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:33:41.855498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_49_2558.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_53_3790.jpg', '/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_58_2831.jpg', '/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_07_2734.jpg', '/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_13_2700.jpg', '/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_19_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_49_2558.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_53_3790.jpg
/home/pi/Desktop/images/16112025/03/31/image_16112025_03_31_58_2831.jpg
/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_07_2734.jpg
/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_13_2700.jpg
/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_19_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711810","1394711807","1394711809","1394711811","1394711805","1394711808"],"photo_ids_order":["1394711805","1394711807","1394711808","1394711809","1394711810","1394711811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5544e6d92752e821923d386d25f99a63.jpg","text":"TemporaryFile(/tmp/multipartBody3476954753709894691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260482543,"filename":"image_16112025_03_32_13_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a24c1660dcc063e2c6de5b2a31cf482a.jpg","text":"TemporaryFile(/tmp/multipartBody7201667670794240024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260482543,"filename":"image_16112025_03_31_53_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0aed3e5f4d6a91e14ea07f7e85e34ba4.jpg","text":"TemporaryFile(/tmp/multipartBody7547016470884792872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260482543,"filename":"image_16112025_03_32_07_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/804759cd224252303e9dfd250aae14ac.jpg","text":"TemporaryFile(/tmp/multipartBody1035097117132841807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260482543,"filename":"image_16112025_03_32_19_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8abc5da73e49a806e293703b5e7a37ff.jpg","text":"TemporaryFile(/tmp/multipartBody3005973051610240942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260482543,"filename":"image_16112025_03_31_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/11/16/6b5d45b9714d3a35a1c932b538e2882f.jpg","text":"TemporaryFile(/tmp/multipartBody1657209255240630681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260482543,"filename":"image_16112025_03_31_58_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711808","file1":"1394711807","file0":"1394711805","file4":"1394711810","file5":"1394711811","file3":"1394711809"},"map_files_photo_id_array":[{"photo_id":"1394711811","filename":"file5"},{"photo_id":"1394711808","filename":"file2"},{"photo_id":"1394711810","filename":"file4"},{"photo_id":"1394711807","filename":"file1"},{"photo_id":"1394711805","filename":"file0"},{"photo_id":"1394711809","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711810":["hashtag1","hashtag2"]},{"1394711807":["hashtag1","hashtag2"]},{"1394711809":["hashtag1","hashtag2"]},{"1394711811":["hashtag1","hashtag2"]},{"1394711805":["hashtag1","hashtag2"]},{"1394711808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711810, 1394711807, 1394711809, 1394711811, 1394711805, 1394711808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40754008293152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:34:22.107505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_26_3687.jpg', '/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_28_2579.jpg', '/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_31_2646.jpg', '/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_40_2664.jpg', '/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_49_2681.jpg', '/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_07_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_26_3687.jpg
/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_28_2579.jpg
/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_31_2646.jpg
/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_40_2664.jpg
/home/pi/Desktop/images/16112025/03/32/image_16112025_03_32_49_2681.jpg
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_07_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711822","1394711825","1394711819","1394711824","1394711815","1394711823"],"photo_ids_order":["1394711815","1394711819","1394711822","1394711823","1394711824","1394711825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6a568f58997d2b4b31801e2c72fe0be.jpg","text":"TemporaryFile(/tmp/multipartBody9014140112201638325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260522854,"filename":"image_16112025_03_32_31_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f0ba69c196f9334efe62ff32c12d247.jpg","text":"TemporaryFile(/tmp/multipartBody2967393564523164375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260522854,"filename":"image_16112025_03_33_07_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e36725b52a257b7c8e48aaa339a5fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8849673592515467168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260522854,"filename":"image_16112025_03_32_28_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96c8e6635de54af61625b03f67fd81d9.jpg","text":"TemporaryFile(/tmp/multipartBody7753146673319597235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260522854,"filename":"image_16112025_03_32_49_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0903a94348e194a5b7b0e658cf4ff85d.jpg","text":"TemporaryFile(/tmp/multipartBody375711260904811763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260522854,"filename":"image_16112025_03_32_26_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a293047901ddbb1f62acfe8008fd662a.jpg","text":"TemporaryFile(/tmp/multipartBody3645209485158320168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260522854,"filename":"image_16112025_03_32_40_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711822","file1":"1394711819","file0":"1394711815","file4":"1394711824","file5":"1394711825","file3":"1394711823"},"map_files_photo_id_array":[{"photo_id":"1394711825","filename":"file5"},{"photo_id":"1394711822","filename":"file2"},{"photo_id":"1394711824","filename":"file4"},{"photo_id":"1394711819","filename":"file1"},{"photo_id":"1394711815","filename":"file0"},{"photo_id":"1394711823","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711822":["hashtag1","hashtag2"]},{"1394711825":["hashtag1","hashtag2"]},{"1394711819":["hashtag1","hashtag2"]},{"1394711824":["hashtag1","hashtag2"]},{"1394711815":["hashtag1","hashtag2"]},{"1394711823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711822, 1394711825, 1394711819, 1394711824, 1394711815, 1394711823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.800376176834106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:35:03.325600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_10_2694.jpg', '/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_16_2679.jpg', '/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_19_2693.jpg', '/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_25_3513.jpg', '/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_31_2763.jpg', '/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_37_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_10_2694.jpg
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_16_2679.jpg
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_19_2693.jpg
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_25_3513.jpg
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_31_2763.jpg
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_37_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711828","1394711839","1394711830","1394711833","1394711835","1394711832"],"photo_ids_order":["1394711828","1394711830","1394711832","1394711833","1394711835","1394711839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a011d20a1a9bcf02b55ba71a8762437a.jpg","text":"TemporaryFile(/tmp/multipartBody3847896764901609572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260564103,"filename":"image_16112025_03_33_10_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05e15656953b085262e47927de229968.jpg","text":"TemporaryFile(/tmp/multipartBody8488562405780779200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260564103,"filename":"image_16112025_03_33_37_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30ad7ba804b2cf95e44a38fec0145b72.jpg","text":"TemporaryFile(/tmp/multipartBody2449116667191043324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260564103,"filename":"image_16112025_03_33_16_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7553ce7d6931cba5254e3434e513078c.jpg","text":"TemporaryFile(/tmp/multipartBody4435555207305420060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260564103,"filename":"image_16112025_03_33_25_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ef0ab20569544f16a0ac31bca4905eb.jpg","text":"TemporaryFile(/tmp/multipartBody1040252367879367383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260564103,"filename":"image_16112025_03_33_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/11/16/230d54a83189600d5a0211fc4e6057c3.jpg","text":"TemporaryFile(/tmp/multipartBody918918301845049454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260564103,"filename":"image_16112025_03_33_19_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711832","file1":"1394711830","file0":"1394711828","file4":"1394711835","file5":"1394711839","file3":"1394711833"},"map_files_photo_id_array":[{"photo_id":"1394711839","filename":"file5"},{"photo_id":"1394711832","filename":"file2"},{"photo_id":"1394711835","filename":"file4"},{"photo_id":"1394711830","filename":"file1"},{"photo_id":"1394711828","filename":"file0"},{"photo_id":"1394711833","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711828":["hashtag1","hashtag2"]},{"1394711839":["hashtag1","hashtag2"]},{"1394711830":["hashtag1","hashtag2"]},{"1394711833":["hashtag1","hashtag2"]},{"1394711835":["hashtag1","hashtag2"]},{"1394711832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711828, 1394711839, 1394711830, 1394711833, 1394711835, 1394711832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68226909637451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:35:42.544707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_40_2648.jpg', '/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_43_3646.jpg', '/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_49_3670.jpg', '/home/pi/Desktop/images/16112025/03/34/image_16112025_03_34_46_2730.jpg', '/home/pi/Desktop/images/16112025/03/34/image_16112025_03_34_49_2694.jpg', '/home/pi/Desktop/images/16112025/03/34/image_16112025_03_34_58_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_40_2648.jpg
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_43_3646.jpg
/home/pi/Desktop/images/16112025/03/33/image_16112025_03_33_49_3670.jpg
/home/pi/Desktop/images/16112025/03/34/image_16112025_03_34_46_2730.jpg
/home/pi/Desktop/images/16112025/03/34/image_16112025_03_34_49_2694.jpg
/home/pi/Desktop/images/16112025/03/34/image_16112025_03_34_58_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711849","1394711848","1394711850","1394711844","1394711852","1394711846"],"photo_ids_order":["1394711844","1394711846","1394711848","1394711849","1394711850","1394711852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55245b1dac313b258e889c54d6323b65.jpg","text":"TemporaryFile(/tmp/multipartBody6198830137984783235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260603278,"filename":"image_16112025_03_34_46_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a28e35039a1f1880ae18648455d1fe91.jpg","text":"TemporaryFile(/tmp/multipartBody8720084985972173134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260603278,"filename":"image_16112025_03_33_49_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b91f68617213c1e7f43f6f541b61001a.jpg","text":"TemporaryFile(/tmp/multipartBody453722730582943847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260603278,"filename":"image_16112025_03_34_49_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cd6fd2430a486e034ccb93ed87e9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5119236625731096546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260603278,"filename":"image_16112025_03_33_40_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9e23ed4776cc389ceec09d44576fdb9.jpg","text":"TemporaryFile(/tmp/multipartBody1267456959027468178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260603278,"filename":"image_16112025_03_34_58_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d1d5c889cb0a09e3241ed7b91da2bee.jpg","text":"TemporaryFile(/tmp/multipartBody4014492533029687163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260603278,"filename":"image_16112025_03_33_43_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711848","file1":"1394711846","file0":"1394711844","file4":"1394711850","file5":"1394711852","file3":"1394711849"},"map_files_photo_id_array":[{"photo_id":"1394711852","filename":"file5"},{"photo_id":"1394711848","filename":"file2"},{"photo_id":"1394711850","filename":"file4"},{"photo_id":"1394711846","filename":"file1"},{"photo_id":"1394711844","filename":"file0"},{"photo_id":"1394711849","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711849":["hashtag1","hashtag2"]},{"1394711848":["hashtag1","hashtag2"]},{"1394711850":["hashtag1","hashtag2"]},{"1394711844":["hashtag1","hashtag2"]},{"1394711852":["hashtag1","hashtag2"]},{"1394711846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711849, 1394711848, 1394711850, 1394711844, 1394711852, 1394711846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.596760272979736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:36:22.860221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_04_3710.jpg', '/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_07_2722.jpg', '/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_16_2566.jpg', '/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_19_3594.jpg', '/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_25_2567.jpg', '/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_27_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_04_3710.jpg
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_07_2722.jpg
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_16_2566.jpg
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_19_3594.jpg
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_25_2567.jpg
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_27_2863.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711855","1394711860","1394711857","1394711862","1394711859","1394711858"],"photo_ids_order":["1394711855","1394711857","1394711858","1394711859","1394711860","1394711862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d673ce068879a68c45b59de4aad64b3.jpg","text":"TemporaryFile(/tmp/multipartBody5416206841010564864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260643570,"filename":"image_16112025_03_35_04_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26f2750896b351540ed52a1625ae075f.jpg","text":"TemporaryFile(/tmp/multipartBody4293675476371568589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260643570,"filename":"image_16112025_03_35_25_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16d3d6b4b09f913011836cdaf8daae60.jpg","text":"TemporaryFile(/tmp/multipartBody7137982954161725751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260643570,"filename":"image_16112025_03_35_07_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29826abedfaaf3b7341ea4107105f39b.jpg","text":"TemporaryFile(/tmp/multipartBody9125836260804003551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260643570,"filename":"image_16112025_03_35_27_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae68e8009f11cab0581fb988dab8f581.jpg","text":"TemporaryFile(/tmp/multipartBody7489714667003561581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260643570,"filename":"image_16112025_03_35_19_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/512c19af76ef49d2592b2ce7e9a05a72.jpg","text":"TemporaryFile(/tmp/multipartBody1589065725993928305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260643570,"filename":"image_16112025_03_35_16_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711858","file1":"1394711857","file0":"1394711855","file4":"1394711860","file5":"1394711862","file3":"1394711859"},"map_files_photo_id_array":[{"photo_id":"1394711862","filename":"file5"},{"photo_id":"1394711858","filename":"file2"},{"photo_id":"1394711860","filename":"file4"},{"photo_id":"1394711857","filename":"file1"},{"photo_id":"1394711855","filename":"file0"},{"photo_id":"1394711859","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711855":["hashtag1","hashtag2"]},{"1394711860":["hashtag1","hashtag2"]},{"1394711857":["hashtag1","hashtag2"]},{"1394711862":["hashtag1","hashtag2"]},{"1394711859":["hashtag1","hashtag2"]},{"1394711858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711855, 1394711860, 1394711857, 1394711862, 1394711859, 1394711858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92031240463257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:37:02.732322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_34_2686.jpg', '/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_46_2641.jpg', '/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_49_3739.jpg', '/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_55_2921.jpg', '/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_07_2618.jpg', '/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_16_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_34_2686.jpg
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_46_2641.jpg
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_49_3739.jpg
/home/pi/Desktop/images/16112025/03/35/image_16112025_03_35_55_2921.jpg
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_07_2618.jpg
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_16_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1394711872","1394711869","1394711866","1394711865","1394711864","1394711867"],"photo_ids_order":["1394711864","1394711865","1394711866","1394711867","1394711869","1394711872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/713458b858cf39f0462090db6faf4ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5180660616203228691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260683616,"filename":"image_16112025_03_36_16_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eed65a9b5c16c1c9d4f713cf9b714147.jpg","text":"TemporaryFile(/tmp/multipartBody227460092274285672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260683616,"filename":"image_16112025_03_36_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/11/16/044b51485fdbea02793834215ef3dbe9.jpg","text":"TemporaryFile(/tmp/multipartBody8118058054474903287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260683616,"filename":"image_16112025_03_35_49_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a329c5d68748d175656dccf81a27707.jpg","text":"TemporaryFile(/tmp/multipartBody1930327267070612673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260683616,"filename":"image_16112025_03_35_46_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04e45427962716d0b56d364407c20153.jpg","text":"TemporaryFile(/tmp/multipartBody633146158326553811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260683616,"filename":"image_16112025_03_35_34_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05db47addd850206a29ea257ae97e758.jpg","text":"TemporaryFile(/tmp/multipartBody1907376031115158021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260683616,"filename":"image_16112025_03_35_55_2921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711866","file1":"1394711865","file0":"1394711864","file4":"1394711869","file5":"1394711872","file3":"1394711867"},"map_files_photo_id_array":[{"photo_id":"1394711872","filename":"file5"},{"photo_id":"1394711866","filename":"file2"},{"photo_id":"1394711869","filename":"file4"},{"photo_id":"1394711865","filename":"file1"},{"photo_id":"1394711864","filename":"file0"},{"photo_id":"1394711867","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711872":["hashtag1","hashtag2"]},{"1394711869":["hashtag1","hashtag2"]},{"1394711866":["hashtag1","hashtag2"]},{"1394711865":["hashtag1","hashtag2"]},{"1394711864":["hashtag1","hashtag2"]},{"1394711867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711872, 1394711869, 1394711866, 1394711865, 1394711864, 1394711867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53666377067566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:38:02.913718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_18_2764.jpg', '/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_25_2710.jpg', '/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_48_2755.jpg', '/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_52_3700.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_01_2539.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_03_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_18_2764.jpg
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_25_2710.jpg
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_48_2755.jpg
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_52_3700.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_01_2539.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_03_2689.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.6817638874053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:38:22.423146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_18_2764.jpg', '/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_25_2710.jpg', '/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_48_2755.jpg', '/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_52_3700.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_01_2539.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_03_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_18_2764.jpg
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_25_2710.jpg
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_48_2755.jpg
/home/pi/Desktop/images/16112025/03/36/image_16112025_03_36_52_3700.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_01_2539.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_03_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711890","1394711893","1394711887","1394711892","1394711894","1394711891"],"photo_ids_order":["1394711887","1394711890","1394711891","1394711892","1394711893","1394711894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75fb58efaddecde8e2f35716becc3a4e.jpg","text":"TemporaryFile(/tmp/multipartBody255158904596651013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260763108,"filename":"image_16112025_03_36_25_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5e8e645eaffadc75de0ff774d95867c.jpg","text":"TemporaryFile(/tmp/multipartBody4596020348313759399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260763108,"filename":"image_16112025_03_37_01_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84a58202fbf833787d10eefe7726d9bf.jpg","text":"TemporaryFile(/tmp/multipartBody4900561789366885690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260763108,"filename":"image_16112025_03_36_18_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a01ab8e11a70ce592f86bd4e60844528.jpg","text":"TemporaryFile(/tmp/multipartBody4531326537740280505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260763108,"filename":"image_16112025_03_36_52_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45852a0bafa120a3b062867c5cb92d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8756076631154569602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260763108,"filename":"image_16112025_03_37_03_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9878201a42740de848fd9a254422e47f.jpg","text":"TemporaryFile(/tmp/multipartBody6755564068845118523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260763108,"filename":"image_16112025_03_36_48_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711891","file1":"1394711890","file0":"1394711887","file4":"1394711893","file5":"1394711894","file3":"1394711892"},"map_files_photo_id_array":[{"photo_id":"1394711894","filename":"file5"},{"photo_id":"1394711891","filename":"file2"},{"photo_id":"1394711893","filename":"file4"},{"photo_id":"1394711890","filename":"file1"},{"photo_id":"1394711887","filename":"file0"},{"photo_id":"1394711892","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711890":["hashtag1","hashtag2"]},{"1394711893":["hashtag1","hashtag2"]},{"1394711887":["hashtag1","hashtag2"]},{"1394711892":["hashtag1","hashtag2"]},{"1394711894":["hashtag1","hashtag2"]},{"1394711891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711890, 1394711893, 1394711887, 1394711892, 1394711894, 1394711891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.366637229919434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:39:03.700368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_07_3706.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_10_2633.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_12_2687.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_16_3669.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_19_2693.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_21_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_07_3706.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_10_2633.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_12_2687.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_16_3669.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_19_2693.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_21_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711900","1394711896","1394711898","1394711895","1394711904","1394711897"],"photo_ids_order":["1394711895","1394711896","1394711897","1394711898","1394711900","1394711904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9c4f005d3721e49a0f91a861198e15e.jpg","text":"TemporaryFile(/tmp/multipartBody8109041099743303036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260804588,"filename":"image_16112025_03_37_19_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5eaeb8617ba7031e1cbee3c6a9cd4cfe.jpg","text":"TemporaryFile(/tmp/multipartBody1728009931256145700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260804588,"filename":"image_16112025_03_37_10_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a453f8fb24fe318182372a3df0f0af5.jpg","text":"TemporaryFile(/tmp/multipartBody2709893650045961392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260804588,"filename":"image_16112025_03_37_16_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/601e43a79b6291bd99052f0450874357.jpg","text":"TemporaryFile(/tmp/multipartBody9054179559532834984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260804588,"filename":"image_16112025_03_37_07_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b85712a4728d55102f66b28ea0454572.jpg","text":"TemporaryFile(/tmp/multipartBody1143913066688550480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260804588,"filename":"image_16112025_03_37_21_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf5e12aac8367c3da93473148d9cb2fb.jpg","text":"TemporaryFile(/tmp/multipartBody4261817133265923717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260804588,"filename":"image_16112025_03_37_12_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711897","file1":"1394711896","file0":"1394711895","file4":"1394711900","file5":"1394711904","file3":"1394711898"},"map_files_photo_id_array":[{"photo_id":"1394711904","filename":"file5"},{"photo_id":"1394711897","filename":"file2"},{"photo_id":"1394711900","filename":"file4"},{"photo_id":"1394711896","filename":"file1"},{"photo_id":"1394711895","filename":"file0"},{"photo_id":"1394711898","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711900":["hashtag1","hashtag2"]},{"1394711896":["hashtag1","hashtag2"]},{"1394711898":["hashtag1","hashtag2"]},{"1394711895":["hashtag1","hashtag2"]},{"1394711904":["hashtag1","hashtag2"]},{"1394711897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711900, 1394711896, 1394711898, 1394711895, 1394711904, 1394711897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24304485321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:39:42.702919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_31_2850.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_34_3613.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_40_2859.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_42_2687.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_46_3703.jpg', '/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_49_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_31_2850.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_34_3613.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_40_2859.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_42_2687.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_46_3703.jpg
/home/pi/Desktop/images/16112025/03/37/image_16112025_03_37_49_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711915","1394711909","1394711911","1394711914","1394711916","1394711913"],"photo_ids_order":["1394711909","1394711911","1394711913","1394711914","1394711915","1394711916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b8ef50f28a5ef9626d37485a2dc06be.jpg","text":"TemporaryFile(/tmp/multipartBody9057159620536663123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260843448,"filename":"image_16112025_03_37_46_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f63b34ef80b4f2d45f53dd993070e70.jpg","text":"TemporaryFile(/tmp/multipartBody3490124944462338426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260843448,"filename":"image_16112025_03_37_31_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ab536b80fbf24486ffeee63f6d9b3f1.jpg","text":"TemporaryFile(/tmp/multipartBody8428446902308864669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260843448,"filename":"image_16112025_03_37_34_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c2cbad25861809319fa8ab68bbce122.jpg","text":"TemporaryFile(/tmp/multipartBody8492425750147447627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260843448,"filename":"image_16112025_03_37_42_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ca708d49aa70a749c026a88cdee85de.jpg","text":"TemporaryFile(/tmp/multipartBody4280173619211578250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260843448,"filename":"image_16112025_03_37_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/11/16/55c19efd4062a9f3c9b94090c161158f.jpg","text":"TemporaryFile(/tmp/multipartBody8051144810041567929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260843448,"filename":"image_16112025_03_37_40_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711913","file1":"1394711911","file0":"1394711909","file4":"1394711915","file5":"1394711916","file3":"1394711914"},"map_files_photo_id_array":[{"photo_id":"1394711916","filename":"file5"},{"photo_id":"1394711913","filename":"file2"},{"photo_id":"1394711915","filename":"file4"},{"photo_id":"1394711911","filename":"file1"},{"photo_id":"1394711909","filename":"file0"},{"photo_id":"1394711914","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711915":["hashtag1","hashtag2"]},{"1394711909":["hashtag1","hashtag2"]},{"1394711911":["hashtag1","hashtag2"]},{"1394711914":["hashtag1","hashtag2"]},{"1394711916":["hashtag1","hashtag2"]},{"1394711913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711915, 1394711909, 1394711911, 1394711914, 1394711916, 1394711913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.080607652664185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:40:22.025919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_01_2887.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_03_2583.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_07_3770.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_12_2626.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_21_2678.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_34_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_01_2887.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_03_2583.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_07_3770.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_12_2626.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_21_2678.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_34_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711921","1394711918","1394711926","1394711920","1394711928","1394711924"],"photo_ids_order":["1394711918","1394711920","1394711921","1394711924","1394711926","1394711928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/156db8100be82e7770684abbfc682a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6681114313537995372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260882742,"filename":"image_16112025_03_38_07_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b71a5a4efd05ab5df77b48b75f76406.jpg","text":"TemporaryFile(/tmp/multipartBody7140976102108215912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260882742,"filename":"image_16112025_03_38_01_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/858ac3521bf03a045d1b539706e67d0e.jpg","text":"TemporaryFile(/tmp/multipartBody97974299192681558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260882742,"filename":"image_16112025_03_38_21_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c897009701f80ff83bec12b1f4196ea7.jpg","text":"TemporaryFile(/tmp/multipartBody5343525499064985328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260882742,"filename":"image_16112025_03_38_03_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59e4ad714cde9c40066aff1ddb13bcd9.jpg","text":"TemporaryFile(/tmp/multipartBody8956879168690926036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260882742,"filename":"image_16112025_03_38_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/11/16/50e2003d027e4750dc20e75b70d381ad.jpg","text":"TemporaryFile(/tmp/multipartBody6445379523453137423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260882742,"filename":"image_16112025_03_38_12_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711921","file1":"1394711920","file0":"1394711918","file4":"1394711926","file5":"1394711928","file3":"1394711924"},"map_files_photo_id_array":[{"photo_id":"1394711928","filename":"file5"},{"photo_id":"1394711921","filename":"file2"},{"photo_id":"1394711926","filename":"file4"},{"photo_id":"1394711920","filename":"file1"},{"photo_id":"1394711918","filename":"file0"},{"photo_id":"1394711924","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711921":["hashtag1","hashtag2"]},{"1394711918":["hashtag1","hashtag2"]},{"1394711926":["hashtag1","hashtag2"]},{"1394711920":["hashtag1","hashtag2"]},{"1394711928":["hashtag1","hashtag2"]},{"1394711924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711921, 1394711918, 1394711926, 1394711920, 1394711928, 1394711924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88143014907837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:41:02.853823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_42_8087.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_44_1640.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_47_1629.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_51_2764.jpg', '/home/pi/Desktop/images/16112025/03/38/image_16112025_03_39_00_2676.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_03_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_42_8087.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_44_1640.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_47_1629.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_38_51_2764.jpg
/home/pi/Desktop/images/16112025/03/38/image_16112025_03_39_00_2676.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_03_2539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711933","1394711936","1394711932","1394711934","1394711931","1394711939"],"photo_ids_order":["1394711931","1394711932","1394711933","1394711934","1394711936","1394711939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f08cf9cb21151b5fad822a613fe9dabf.jpg","text":"TemporaryFile(/tmp/multipartBody7238759637905755361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260923656,"filename":"image_16112025_03_38_47_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13aeafc0fc4d488b176aa789a2f02a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4559507191012504167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260923656,"filename":"image_16112025_03_39_00_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/236a76d1131f73f054aaa635cdd3fa3f.jpg","text":"TemporaryFile(/tmp/multipartBody548578406944021304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260923656,"filename":"image_16112025_03_38_44_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6161bdfc3036a6a851ebe11bc02f8463.jpg","text":"TemporaryFile(/tmp/multipartBody4344295125997751680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260923656,"filename":"image_16112025_03_38_51_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3eebc197146a95588774de6d826fc099.jpg","text":"TemporaryFile(/tmp/multipartBody5262311233717792336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260923656,"filename":"image_16112025_03_38_42_8087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7354f458dc9b1ce0ec599722c6ba661c.jpg","text":"TemporaryFile(/tmp/multipartBody2507977520834092138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260923656,"filename":"image_16112025_03_39_03_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711933","file1":"1394711932","file0":"1394711931","file4":"1394711936","file5":"1394711939","file3":"1394711934"},"map_files_photo_id_array":[{"photo_id":"1394711939","filename":"file5"},{"photo_id":"1394711933","filename":"file2"},{"photo_id":"1394711936","filename":"file4"},{"photo_id":"1394711932","filename":"file1"},{"photo_id":"1394711931","filename":"file0"},{"photo_id":"1394711934","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711933":["hashtag1","hashtag2"]},{"1394711936":["hashtag1","hashtag2"]},{"1394711932":["hashtag1","hashtag2"]},{"1394711934":["hashtag1","hashtag2"]},{"1394711931":["hashtag1","hashtag2"]},{"1394711939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711933, 1394711936, 1394711932, 1394711934, 1394711931, 1394711939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76672410964966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:41:42.224595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_07_3656.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_16_9511.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_18_1545.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_21_1739.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_23_1744.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_31_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_07_3656.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_16_9511.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_18_1545.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_21_1739.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_23_1744.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_31_3601.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.5987350940704346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:42:02.986094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_07_3656.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_16_9511.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_18_1545.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_21_1739.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_23_1744.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_31_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_07_3656.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_16_9511.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_18_1545.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_21_1739.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_23_1744.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_31_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711954","1394711956","1394711947","1394711946","1394711949","1394711951"],"photo_ids_order":["1394711946","1394711947","1394711949","1394711951","1394711954","1394711956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cf87d7779bd605e495124298c9ddb38.jpg","text":"TemporaryFile(/tmp/multipartBody4268355569879643251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260983734,"filename":"image_16112025_03_39_23_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac2b1a65db21cfdf2087df3847246330.jpg","text":"TemporaryFile(/tmp/multipartBody377406373380407906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260983734,"filename":"image_16112025_03_39_31_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/299365f8e57a38271cdea1d75d6787a7.jpg","text":"TemporaryFile(/tmp/multipartBody5105154907999803325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260983734,"filename":"image_16112025_03_39_16_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bbc13a7ba0451ee8f909a921befa531.jpg","text":"TemporaryFile(/tmp/multipartBody1912885041646294026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260983734,"filename":"image_16112025_03_39_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/11/16/6e0a4ca444a605df477c6235a093bce1.jpg","text":"TemporaryFile(/tmp/multipartBody524278044383529447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260983734,"filename":"image_16112025_03_39_18_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5c1809467b0a5fc3338da36afb3e503.jpg","text":"TemporaryFile(/tmp/multipartBody7348182472117434757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763260983734,"filename":"image_16112025_03_39_21_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711949","file1":"1394711947","file0":"1394711946","file4":"1394711954","file5":"1394711956","file3":"1394711951"},"map_files_photo_id_array":[{"photo_id":"1394711956","filename":"file5"},{"photo_id":"1394711949","filename":"file2"},{"photo_id":"1394711954","filename":"file4"},{"photo_id":"1394711947","filename":"file1"},{"photo_id":"1394711946","filename":"file0"},{"photo_id":"1394711951","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711954":["hashtag1","hashtag2"]},{"1394711956":["hashtag1","hashtag2"]},{"1394711947":["hashtag1","hashtag2"]},{"1394711946":["hashtag1","hashtag2"]},{"1394711949":["hashtag1","hashtag2"]},{"1394711951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711954, 1394711956, 1394711947, 1394711946, 1394711949, 1394711951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68983817100525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:42:42.578276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_36_2784.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_48_2703.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_52_3617.jpg', '/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_54_2706.jpg', '/home/pi/Desktop/images/16112025/03/40/image_16112025_03_40_13_3585.jpg', '/home/pi/Desktop/images/16112025/03/40/image_16112025_03_40_27_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_36_2784.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_48_2703.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_52_3617.jpg
/home/pi/Desktop/images/16112025/03/39/image_16112025_03_39_54_2706.jpg
/home/pi/Desktop/images/16112025/03/40/image_16112025_03_40_13_3585.jpg
/home/pi/Desktop/images/16112025/03/40/image_16112025_03_40_27_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711962","1394711965","1394711959","1394711964","1394711961","1394711963"],"photo_ids_order":["1394711959","1394711961","1394711962","1394711963","1394711964","1394711965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be9dd7b68251d9639e060b1a96b0b002.jpg","text":"TemporaryFile(/tmp/multipartBody2571202289962798734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261023314,"filename":"image_16112025_03_39_52_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d93a16ceecf8d11231b2485e207b5f8c.jpg","text":"TemporaryFile(/tmp/multipartBody507144363128754780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261023314,"filename":"image_16112025_03_40_27_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3137894a4ac2812cd93dfb28c69211ce.jpg","text":"TemporaryFile(/tmp/multipartBody7988872657999558227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261023314,"filename":"image_16112025_03_39_36_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86f59ecfc1e8356a39d3ca7ab2c4bc54.jpg","text":"TemporaryFile(/tmp/multipartBody181663352398584781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261023314,"filename":"image_16112025_03_40_13_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0126b3866a2e6180de4386128dc6b327.jpg","text":"TemporaryFile(/tmp/multipartBody1096845912246487279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261023314,"filename":"image_16112025_03_39_48_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d42c316d92ec98458042229002eb27c.jpg","text":"TemporaryFile(/tmp/multipartBody1420334228562042634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261023314,"filename":"image_16112025_03_39_54_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711962","file1":"1394711961","file0":"1394711959","file4":"1394711964","file5":"1394711965","file3":"1394711963"},"map_files_photo_id_array":[{"photo_id":"1394711965","filename":"file5"},{"photo_id":"1394711962","filename":"file2"},{"photo_id":"1394711964","filename":"file4"},{"photo_id":"1394711961","filename":"file1"},{"photo_id":"1394711959","filename":"file0"},{"photo_id":"1394711963","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711962":["hashtag1","hashtag2"]},{"1394711965":["hashtag1","hashtag2"]},{"1394711959":["hashtag1","hashtag2"]},{"1394711964":["hashtag1","hashtag2"]},{"1394711961":["hashtag1","hashtag2"]},{"1394711963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711962, 1394711965, 1394711959, 1394711964, 1394711961, 1394711963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18600821495056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:43:21.884204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/40/image_16112025_03_40_43_3667.jpg', '/home/pi/Desktop/images/16112025/03/40/image_16112025_03_40_54_2637.jpg', '/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_16_2857.jpg', '/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_18_2722.jpg', '/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_21_2652.jpg', '/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_27_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/40/image_16112025_03_40_43_3667.jpg
/home/pi/Desktop/images/16112025/03/40/image_16112025_03_40_54_2637.jpg
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_16_2857.jpg
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_18_2722.jpg
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_21_2652.jpg
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_27_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711971","1394711974","1394711968","1394711977","1394711979","1394711981"],"photo_ids_order":["1394711968","1394711971","1394711974","1394711977","1394711979","1394711981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac50a474a0785b91fb5f583dd8400d8e.jpg","text":"TemporaryFile(/tmp/multipartBody6617035808713243505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261062580,"filename":"image_16112025_03_40_54_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aba0c4919787d482cc1146ae763779d0.jpg","text":"TemporaryFile(/tmp/multipartBody1170684041181643943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261062580,"filename":"image_16112025_03_41_16_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca0f00e640c586b0acb3a7ab82071304.jpg","text":"TemporaryFile(/tmp/multipartBody1679874708772874642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261062580,"filename":"image_16112025_03_40_43_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a24987f8c9d31a907999a8ab0248206c.jpg","text":"TemporaryFile(/tmp/multipartBody8001106940068904359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261062580,"filename":"image_16112025_03_41_18_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f1884b2b32f945180df1f12ec07ee49.jpg","text":"TemporaryFile(/tmp/multipartBody1599852470361598210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261062580,"filename":"image_16112025_03_41_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/11/16/64a98d0721b28d898c60dd06c651b04f.jpg","text":"TemporaryFile(/tmp/multipartBody221229739187496892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261062580,"filename":"image_16112025_03_41_27_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711974","file1":"1394711971","file0":"1394711968","file4":"1394711979","file5":"1394711981","file3":"1394711977"},"map_files_photo_id_array":[{"photo_id":"1394711981","filename":"file5"},{"photo_id":"1394711974","filename":"file2"},{"photo_id":"1394711979","filename":"file4"},{"photo_id":"1394711971","filename":"file1"},{"photo_id":"1394711968","filename":"file0"},{"photo_id":"1394711977","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711971":["hashtag1","hashtag2"]},{"1394711974":["hashtag1","hashtag2"]},{"1394711968":["hashtag1","hashtag2"]},{"1394711977":["hashtag1","hashtag2"]},{"1394711979":["hashtag1","hashtag2"]},{"1394711981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711971, 1394711974, 1394711968, 1394711977, 1394711979, 1394711981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15904211997986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:44:02.775694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_33_2905.jpg', '/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_42_3542.jpg', '/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_45_2816.jpg', '/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_54_2573.jpg', '/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_57_2881.jpg', '/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_03_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_33_2905.jpg
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_42_3542.jpg
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_45_2816.jpg
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_54_2573.jpg
/home/pi/Desktop/images/16112025/03/41/image_16112025_03_41_57_2881.jpg
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_03_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394711989","1394711991","1394711988","1394711993","1394711987","1394711996"],"photo_ids_order":["1394711987","1394711988","1394711989","1394711991","1394711993","1394711996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bc17393b695c49f833f9a182ad6cee8.jpg","text":"TemporaryFile(/tmp/multipartBody6539644402143158762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261103577,"filename":"image_16112025_03_41_45_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e6c21b38618f86d845b1bf95107564f.jpg","text":"TemporaryFile(/tmp/multipartBody6228983652584964548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261103577,"filename":"image_16112025_03_41_54_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ec6c003ce3522932c3f3feb95870c34.jpg","text":"TemporaryFile(/tmp/multipartBody9192887695280706598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261103577,"filename":"image_16112025_03_41_42_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69dbec9ef5531c69303b0e0aa615d925.jpg","text":"TemporaryFile(/tmp/multipartBody6361756708283800771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261103577,"filename":"image_16112025_03_41_57_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bafc08d41f2d2806db6abd55dc181570.jpg","text":"TemporaryFile(/tmp/multipartBody7971304303069078592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261103577,"filename":"image_16112025_03_41_33_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99503d6478c7834d95743b9cb40584a5.jpg","text":"TemporaryFile(/tmp/multipartBody7906760456350984152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261103577,"filename":"image_16112025_03_42_03_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394711989","file1":"1394711988","file0":"1394711987","file4":"1394711993","file5":"1394711996","file3":"1394711991"},"map_files_photo_id_array":[{"photo_id":"1394711996","filename":"file5"},{"photo_id":"1394711989","filename":"file2"},{"photo_id":"1394711993","filename":"file4"},{"photo_id":"1394711988","filename":"file1"},{"photo_id":"1394711987","filename":"file0"},{"photo_id":"1394711991","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394711989":["hashtag1","hashtag2"]},{"1394711991":["hashtag1","hashtag2"]},{"1394711988":["hashtag1","hashtag2"]},{"1394711993":["hashtag1","hashtag2"]},{"1394711987":["hashtag1","hashtag2"]},{"1394711996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394711989, 1394711991, 1394711988, 1394711993, 1394711987, 1394711996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56863045692444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:44:42.120500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_06_2630.jpg', '/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_09_2743.jpg', '/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_27_2636.jpg', '/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_30_3698.jpg', '/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_42_2521.jpg', '/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_46_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_06_2630.jpg
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_09_2743.jpg
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_27_2636.jpg
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_30_3698.jpg
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_42_2521.jpg
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_46_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712013","1394712009","1394712003","1394712006","1394712011","1394712014"],"photo_ids_order":["1394712003","1394712006","1394712009","1394712011","1394712013","1394712014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7990ae891bebfc371d6022ee9be3b843.jpg","text":"TemporaryFile(/tmp/multipartBody1311142027357521503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261142851,"filename":"image_16112025_03_42_42_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/872f449e3554c7c23276250a5ec65555.jpg","text":"TemporaryFile(/tmp/multipartBody644874272650810036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261142851,"filename":"image_16112025_03_42_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/11/16/21d26bedad992c38a6c51f626fa17460.jpg","text":"TemporaryFile(/tmp/multipartBody5533757486131153229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261142851,"filename":"image_16112025_03_42_06_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22b9491af6732aa91036e2067e010fd1.jpg","text":"TemporaryFile(/tmp/multipartBody764928746322994653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261142851,"filename":"image_16112025_03_42_09_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3f9525668690791eb90ac7f91dfed14.jpg","text":"TemporaryFile(/tmp/multipartBody8749739371168341969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261142851,"filename":"image_16112025_03_42_30_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78d1c70916b1799c51988289ef6e26a6.jpg","text":"TemporaryFile(/tmp/multipartBody4188581316636257805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261142851,"filename":"image_16112025_03_42_46_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712009","file1":"1394712006","file0":"1394712003","file4":"1394712013","file5":"1394712014","file3":"1394712011"},"map_files_photo_id_array":[{"photo_id":"1394712014","filename":"file5"},{"photo_id":"1394712009","filename":"file2"},{"photo_id":"1394712013","filename":"file4"},{"photo_id":"1394712006","filename":"file1"},{"photo_id":"1394712003","filename":"file0"},{"photo_id":"1394712011","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712013":["hashtag1","hashtag2"]},{"1394712009":["hashtag1","hashtag2"]},{"1394712003":["hashtag1","hashtag2"]},{"1394712006":["hashtag1","hashtag2"]},{"1394712011":["hashtag1","hashtag2"]},{"1394712014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712013, 1394712009, 1394712003, 1394712006, 1394712011, 1394712014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.203293800354004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:45:22.359077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_51_2738.jpg', '/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_58_3812.jpg', '/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_03_2633.jpg', '/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_07_3682.jpg', '/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_21_2565.jpg', '/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_24_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_51_2738.jpg
/home/pi/Desktop/images/16112025/03/42/image_16112025_03_42_58_3812.jpg
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_03_2633.jpg
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_07_3682.jpg
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_21_2565.jpg
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_24_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712017","1394712022","1394712027","1394712024","1394712026","1394712020"],"photo_ids_order":["1394712017","1394712020","1394712022","1394712024","1394712026","1394712027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31b3d7dd807d3dd6b0d87bbc42f229fe.jpg","text":"TemporaryFile(/tmp/multipartBody2946374429951220816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261183055,"filename":"image_16112025_03_42_51_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ee349a0aa3fc5a3f73c06daa3dfa383.jpg","text":"TemporaryFile(/tmp/multipartBody134550525049245343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261183055,"filename":"image_16112025_03_43_03_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a0021c4de0069206a70bfa5db2b3aac.jpg","text":"TemporaryFile(/tmp/multipartBody3014846353325481839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261183055,"filename":"image_16112025_03_43_24_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4f1514bde611ca3166077de5ad6f730.jpg","text":"TemporaryFile(/tmp/multipartBody1770467316163978649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261183055,"filename":"image_16112025_03_43_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/11/16/253a7291345963989ae583a0a6caa14c.jpg","text":"TemporaryFile(/tmp/multipartBody5405544430763693052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261183055,"filename":"image_16112025_03_43_21_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b774315aadcb622a8ab3170de65c5012.jpg","text":"TemporaryFile(/tmp/multipartBody3830413865558109307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261183055,"filename":"image_16112025_03_42_58_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712022","file1":"1394712020","file0":"1394712017","file4":"1394712026","file5":"1394712027","file3":"1394712024"},"map_files_photo_id_array":[{"photo_id":"1394712027","filename":"file5"},{"photo_id":"1394712022","filename":"file2"},{"photo_id":"1394712026","filename":"file4"},{"photo_id":"1394712020","filename":"file1"},{"photo_id":"1394712017","filename":"file0"},{"photo_id":"1394712024","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712017":["hashtag1","hashtag2"]},{"1394712022":["hashtag1","hashtag2"]},{"1394712027":["hashtag1","hashtag2"]},{"1394712024":["hashtag1","hashtag2"]},{"1394712026":["hashtag1","hashtag2"]},{"1394712020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712017, 1394712022, 1394712027, 1394712024, 1394712026, 1394712020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25127100944519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:46:03.118072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_27_2545.jpg', '/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_30_2701.jpg', '/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_33_3729.jpg', '/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_45_2802.jpg', '/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_54_3740.jpg', '/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_21_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_27_2545.jpg
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_30_2701.jpg
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_33_3729.jpg
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_45_2802.jpg
/home/pi/Desktop/images/16112025/03/43/image_16112025_03_43_54_3740.jpg
/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_21_3558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712031","1394712028","1394712033","1394712030","1394712035","1394712029"],"photo_ids_order":["1394712028","1394712029","1394712030","1394712031","1394712033","1394712035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d66d6892560c1c1c8fce31940507b61.jpg","text":"TemporaryFile(/tmp/multipartBody3324024861649897538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261223918,"filename":"image_16112025_03_43_45_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67cac16df0f78007162dac4d3158c005.jpg","text":"TemporaryFile(/tmp/multipartBody8138846229111118026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261223918,"filename":"image_16112025_03_43_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/11/16/5bf79523ae55a81b6eb92ccba81bd185.jpg","text":"TemporaryFile(/tmp/multipartBody4002465638467539724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261223918,"filename":"image_16112025_03_43_54_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dacfd57af091b4a475913971b52170d8.jpg","text":"TemporaryFile(/tmp/multipartBody1274355356168684543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261223918,"filename":"image_16112025_03_43_33_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fda50cf918d0dc64cbee3ce9fe101d0.jpg","text":"TemporaryFile(/tmp/multipartBody5015792091662206958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261223918,"filename":"image_16112025_03_44_21_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/339907e5c58bb8064b710c912b28247e.jpg","text":"TemporaryFile(/tmp/multipartBody3919590074070295170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261223918,"filename":"image_16112025_03_43_30_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712030","file1":"1394712029","file0":"1394712028","file4":"1394712033","file5":"1394712035","file3":"1394712031"},"map_files_photo_id_array":[{"photo_id":"1394712035","filename":"file5"},{"photo_id":"1394712030","filename":"file2"},{"photo_id":"1394712033","filename":"file4"},{"photo_id":"1394712029","filename":"file1"},{"photo_id":"1394712028","filename":"file0"},{"photo_id":"1394712031","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712031":["hashtag1","hashtag2"]},{"1394712028":["hashtag1","hashtag2"]},{"1394712033":["hashtag1","hashtag2"]},{"1394712030":["hashtag1","hashtag2"]},{"1394712035":["hashtag1","hashtag2"]},{"1394712029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712031, 1394712028, 1394712033, 1394712030, 1394712035, 1394712029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91897392272949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:46:42.713852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_24_2603.jpg', '/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_27_2549.jpg', '/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_30_3874.jpg', '/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_57_2655.jpg', '/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_06_2665.jpg', '/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_08_2935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_24_2603.jpg
/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_27_2549.jpg
/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_30_3874.jpg
/home/pi/Desktop/images/16112025/03/44/image_16112025_03_44_57_2655.jpg
/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_06_2665.jpg
/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_08_2935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712052","1394712049","1394712058","1394712045","1394712054","1394712056"],"photo_ids_order":["1394712045","1394712049","1394712052","1394712054","1394712056","1394712058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf88e5afd1d497231bf72555e66085eb.jpg","text":"TemporaryFile(/tmp/multipartBody695203873650440602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261263410,"filename":"image_16112025_03_44_30_3874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34bb2ddce390a4779a4cf633547c3cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1726085879306311668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261263410,"filename":"image_16112025_03_44_27_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a490dc1546d84c62dd53b4e9418a294b.jpg","text":"TemporaryFile(/tmp/multipartBody8872376277556076074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261263410,"filename":"image_16112025_03_45_08_2935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9776165797959cd63497b4208924715f.jpg","text":"TemporaryFile(/tmp/multipartBody2133115462830091159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261263410,"filename":"image_16112025_03_44_24_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0be4fdc326add9b551ed3a5a060442dc.jpg","text":"TemporaryFile(/tmp/multipartBody8483588693942433710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261263410,"filename":"image_16112025_03_44_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/11/16/6352daae4fc7349f12b297d374344cab.jpg","text":"TemporaryFile(/tmp/multipartBody1306592327705985602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261263410,"filename":"image_16112025_03_45_06_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712052","file1":"1394712049","file0":"1394712045","file4":"1394712056","file5":"1394712058","file3":"1394712054"},"map_files_photo_id_array":[{"photo_id":"1394712058","filename":"file5"},{"photo_id":"1394712052","filename":"file2"},{"photo_id":"1394712056","filename":"file4"},{"photo_id":"1394712049","filename":"file1"},{"photo_id":"1394712045","filename":"file0"},{"photo_id":"1394712054","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712052":["hashtag1","hashtag2"]},{"1394712049":["hashtag1","hashtag2"]},{"1394712058":["hashtag1","hashtag2"]},{"1394712045":["hashtag1","hashtag2"]},{"1394712054":["hashtag1","hashtag2"]},{"1394712056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712052, 1394712049, 1394712058, 1394712045, 1394712054, 1394712056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51574206352234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:47:21.854960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_18_2620.jpg', '/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_27_2710.jpg', '/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_42_2618.jpg', '/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_03_2851.jpg', '/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_24_2618.jpg', '/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_30_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_18_2620.jpg
/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_27_2710.jpg
/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_42_2618.jpg
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_03_2851.jpg
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_24_2618.jpg
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_30_2651.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.6407959461212158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:47:41.801709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_18_2620.jpg', '/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_27_2710.jpg', '/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_42_2618.jpg', '/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_03_2851.jpg', '/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_24_2618.jpg', '/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_30_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_18_2620.jpg
/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_27_2710.jpg
/home/pi/Desktop/images/16112025/03/45/image_16112025_03_45_42_2618.jpg
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_03_2851.jpg
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_24_2618.jpg
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_30_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712079","1394712076","1394712078","1394712072","1394712074","1394712077"],"photo_ids_order":["1394712072","1394712074","1394712076","1394712077","1394712078","1394712079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fb726343d8600f829733dbe648780be.jpg","text":"TemporaryFile(/tmp/multipartBody2556906335934454541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261322496,"filename":"image_16112025_03_46_30_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd0debf1965493183b4f55a2544ace55.jpg","text":"TemporaryFile(/tmp/multipartBody8119367171778095347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261322496,"filename":"image_16112025_03_45_42_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa6a56056e4a6a13fe2efd55bfc866ee.jpg","text":"TemporaryFile(/tmp/multipartBody2436334009967232909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261322496,"filename":"image_16112025_03_46_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/11/16/4db28c56d16ee1d14f0994ebfce5fba2.jpg","text":"TemporaryFile(/tmp/multipartBody3350546787497544875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261322496,"filename":"image_16112025_03_45_18_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f46af228d6d009fdf4c9c6665f4a928.jpg","text":"TemporaryFile(/tmp/multipartBody1680549276156974344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261322496,"filename":"image_16112025_03_45_27_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43af069e66ffae4454a0537a574850d3.jpg","text":"TemporaryFile(/tmp/multipartBody6139163705376746522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261322496,"filename":"image_16112025_03_46_03_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712076","file1":"1394712074","file0":"1394712072","file4":"1394712078","file5":"1394712079","file3":"1394712077"},"map_files_photo_id_array":[{"photo_id":"1394712079","filename":"file5"},{"photo_id":"1394712076","filename":"file2"},{"photo_id":"1394712078","filename":"file4"},{"photo_id":"1394712074","filename":"file1"},{"photo_id":"1394712072","filename":"file0"},{"photo_id":"1394712077","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712079":["hashtag1","hashtag2"]},{"1394712076":["hashtag1","hashtag2"]},{"1394712078":["hashtag1","hashtag2"]},{"1394712072":["hashtag1","hashtag2"]},{"1394712074":["hashtag1","hashtag2"]},{"1394712077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712079, 1394712076, 1394712078, 1394712072, 1394712074, 1394712077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95225167274475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:48:21.988618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_32_2592.jpg', '/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_39_2828.jpg', '/home/pi/Desktop/images/16112025/03/46/image_16112025_03_47_00_2655.jpg', '/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_03_2755.jpg', '/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_05_2807.jpg', '/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_30_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_32_2592.jpg
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_46_39_2828.jpg
/home/pi/Desktop/images/16112025/03/46/image_16112025_03_47_00_2655.jpg
/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_03_2755.jpg
/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_05_2807.jpg
/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_30_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712085","1394712088","1394712090","1394712087","1394712089","1394712083"],"photo_ids_order":["1394712083","1394712085","1394712087","1394712088","1394712089","1394712090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aaf1970021adae909ff6d98b2990c54c.jpg","text":"TemporaryFile(/tmp/multipartBody3671582861182373424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261362716,"filename":"image_16112025_03_46_39_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca22016e5c469b3172c344be59b9d9c9.jpg","text":"TemporaryFile(/tmp/multipartBody1801641418071207920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261362716,"filename":"image_16112025_03_47_03_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a53c756840c6f33b20eb1ce49762a739.jpg","text":"TemporaryFile(/tmp/multipartBody302718855692570483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261362716,"filename":"image_16112025_03_47_30_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d14d3b27d3a58d3b5e6c2937870a78c5.jpg","text":"TemporaryFile(/tmp/multipartBody7987195364015682011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261362716,"filename":"image_16112025_03_47_00_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd8f92bc4f464c9026c7a9d2a35c02be.jpg","text":"TemporaryFile(/tmp/multipartBody6538741093154300789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261362716,"filename":"image_16112025_03_47_05_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3383c3f89d9c057b5e2406afd4ca7fea.jpg","text":"TemporaryFile(/tmp/multipartBody4819357634613650075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261362716,"filename":"image_16112025_03_46_32_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712087","file1":"1394712085","file0":"1394712083","file4":"1394712089","file5":"1394712090","file3":"1394712088"},"map_files_photo_id_array":[{"photo_id":"1394712090","filename":"file5"},{"photo_id":"1394712087","filename":"file2"},{"photo_id":"1394712089","filename":"file4"},{"photo_id":"1394712085","filename":"file1"},{"photo_id":"1394712083","filename":"file0"},{"photo_id":"1394712088","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712085":["hashtag1","hashtag2"]},{"1394712088":["hashtag1","hashtag2"]},{"1394712090":["hashtag1","hashtag2"]},{"1394712087":["hashtag1","hashtag2"]},{"1394712089":["hashtag1","hashtag2"]},{"1394712083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712085, 1394712088, 1394712090, 1394712087, 1394712089, 1394712083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81200408935547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:49:03.197813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_45_3651.jpg', '/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_48_2828.jpg', '/home/pi/Desktop/images/16112025/03/47/image_16112025_03_48_00_3628.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_08_2899.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_15_2621.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_17_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_45_3651.jpg
/home/pi/Desktop/images/16112025/03/47/image_16112025_03_47_48_2828.jpg
/home/pi/Desktop/images/16112025/03/47/image_16112025_03_48_00_3628.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_08_2899.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_15_2621.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_17_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712101","1394712091","1394712096","1394712093","1394712095","1394712104"],"photo_ids_order":["1394712091","1394712093","1394712095","1394712096","1394712101","1394712104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84948746d9006bcf37b358128bf6ad66.jpg","text":"TemporaryFile(/tmp/multipartBody4812663469822516164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261404190,"filename":"image_16112025_03_48_15_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b290ebee18d3b45f1bb7977f5db2551b.jpg","text":"TemporaryFile(/tmp/multipartBody6460487765208892572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261404190,"filename":"image_16112025_03_47_45_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c3ab25fe0c1888122944f6e0ed6bf0c.jpg","text":"TemporaryFile(/tmp/multipartBody1131058760516149201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261404190,"filename":"image_16112025_03_48_08_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89522696d9c46590ccc538a9b2bfce80.jpg","text":"TemporaryFile(/tmp/multipartBody5239401494330571031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261404190,"filename":"image_16112025_03_47_48_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bae39d1d2d078ab0d36457ca1872df0a.jpg","text":"TemporaryFile(/tmp/multipartBody1278902952773135849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261404190,"filename":"image_16112025_03_48_00_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/239da9b7f015068201e9561ce836fe41.jpg","text":"TemporaryFile(/tmp/multipartBody3318838547946636442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261404190,"filename":"image_16112025_03_48_17_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712095","file1":"1394712093","file0":"1394712091","file4":"1394712101","file5":"1394712104","file3":"1394712096"},"map_files_photo_id_array":[{"photo_id":"1394712104","filename":"file5"},{"photo_id":"1394712095","filename":"file2"},{"photo_id":"1394712101","filename":"file4"},{"photo_id":"1394712093","filename":"file1"},{"photo_id":"1394712091","filename":"file0"},{"photo_id":"1394712096","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712101":["hashtag1","hashtag2"]},{"1394712091":["hashtag1","hashtag2"]},{"1394712096":["hashtag1","hashtag2"]},{"1394712093":["hashtag1","hashtag2"]},{"1394712095":["hashtag1","hashtag2"]},{"1394712104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712101, 1394712091, 1394712096, 1394712093, 1394712095, 1394712104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38163733482361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:49:42.201198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_21_3819.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_24_2705.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_30_3697.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_39_3683.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_44_2749.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_53_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_21_3819.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_24_2705.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_30_3697.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_39_3683.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_44_2749.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_53_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: 0.6068410873413086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:50:02.935820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_21_3819.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_24_2705.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_30_3697.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_39_3683.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_44_2749.jpg', '/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_53_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_21_3819.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_24_2705.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_30_3697.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_39_3683.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_44_2749.jpg
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_53_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712116","1394712115","1394712118","1394712112","1394712114","1394712122"],"photo_ids_order":["1394712112","1394712114","1394712115","1394712116","1394712118","1394712122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9a2dd91338d6eeeafee10e6220641a4.jpg","text":"TemporaryFile(/tmp/multipartBody7235011257980134503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261463731,"filename":"image_16112025_03_48_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/11/16/6a47ca02911fc6f0f1cd86387d772508.jpg","text":"TemporaryFile(/tmp/multipartBody3404536823787036679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261463731,"filename":"image_16112025_03_48_30_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b3090cbcfed04fb7868f477c35e2ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2203706851955275609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261463731,"filename":"image_16112025_03_48_44_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13003a5c46ca319beb8bfdc94baa83a6.jpg","text":"TemporaryFile(/tmp/multipartBody2725284883146556856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261463731,"filename":"image_16112025_03_48_21_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/420554795ef1a24750b527f2f38423bc.jpg","text":"TemporaryFile(/tmp/multipartBody6044309514741683017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261463731,"filename":"image_16112025_03_48_24_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5c5026e806b5dade776f26f91bc994d.jpg","text":"TemporaryFile(/tmp/multipartBody6948074669354352820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261463731,"filename":"image_16112025_03_48_53_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712115","file1":"1394712114","file0":"1394712112","file4":"1394712118","file5":"1394712122","file3":"1394712116"},"map_files_photo_id_array":[{"photo_id":"1394712122","filename":"file5"},{"photo_id":"1394712115","filename":"file2"},{"photo_id":"1394712118","filename":"file4"},{"photo_id":"1394712114","filename":"file1"},{"photo_id":"1394712112","filename":"file0"},{"photo_id":"1394712116","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712116":["hashtag1","hashtag2"]},{"1394712115":["hashtag1","hashtag2"]},{"1394712118":["hashtag1","hashtag2"]},{"1394712112":["hashtag1","hashtag2"]},{"1394712114":["hashtag1","hashtag2"]},{"1394712122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712116, 1394712115, 1394712118, 1394712112, 1394712114, 1394712122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3416907787323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:50:42.408292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_56_2665.jpg', '/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_03_2827.jpg', '/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_12_3739.jpg', '/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_14_2597.jpg', '/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_30_3677.jpg', '/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_35_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/48/image_16112025_03_48_56_2665.jpg
/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_03_2827.jpg
/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_12_3739.jpg
/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_14_2597.jpg
/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_30_3677.jpg
/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_35_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712124","1394712127","1394712126","1394712129","1394712125","1394712128"],"photo_ids_order":["1394712124","1394712125","1394712126","1394712127","1394712128","1394712129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1d86ab678793de00b31c5f4e4a48df2.jpg","text":"TemporaryFile(/tmp/multipartBody8566113172866023491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261503140,"filename":"image_16112025_03_48_56_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6811fa36402133f66046308f626bb1b3.jpg","text":"TemporaryFile(/tmp/multipartBody8751264318513075750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261503140,"filename":"image_16112025_03_49_14_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57ae4b737153f824a2352b58e8b0f37b.jpg","text":"TemporaryFile(/tmp/multipartBody5213801422286416992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261503140,"filename":"image_16112025_03_49_12_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8dc680e9f75286251fb1cab96e29febd.jpg","text":"TemporaryFile(/tmp/multipartBody1554636243720268365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261503140,"filename":"image_16112025_03_49_35_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f16bdf31caa9525a76acfcbd68c250c.jpg","text":"TemporaryFile(/tmp/multipartBody1117723028835190531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261503140,"filename":"image_16112025_03_49_03_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0a1f97c6f386859da7c91527aeb1c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7026549162100531487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261503140,"filename":"image_16112025_03_49_30_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712126","file1":"1394712125","file0":"1394712124","file4":"1394712128","file5":"1394712129","file3":"1394712127"},"map_files_photo_id_array":[{"photo_id":"1394712129","filename":"file5"},{"photo_id":"1394712126","filename":"file2"},{"photo_id":"1394712128","filename":"file4"},{"photo_id":"1394712125","filename":"file1"},{"photo_id":"1394712124","filename":"file0"},{"photo_id":"1394712127","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712124":["hashtag1","hashtag2"]},{"1394712127":["hashtag1","hashtag2"]},{"1394712126":["hashtag1","hashtag2"]},{"1394712129":["hashtag1","hashtag2"]},{"1394712125":["hashtag1","hashtag2"]},{"1394712128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712124, 1394712127, 1394712126, 1394712129, 1394712125, 1394712128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14335346221924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:51:22.765914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_42_3684.jpg', '/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_50_2757.jpg', '/home/pi/Desktop/images/16112025/03/50/image_16112025_03_50_38_2712.jpg', '/home/pi/Desktop/images/16112025/03/50/image_16112025_03_50_42_3561.jpg', '/home/pi/Desktop/images/16112025/03/50/image_16112025_03_50_50_3646.jpg', '/home/pi/Desktop/images/16112025/03/50/image_16112025_03_51_00_3809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_42_3684.jpg
/home/pi/Desktop/images/16112025/03/49/image_16112025_03_49_50_2757.jpg
/home/pi/Desktop/images/16112025/03/50/image_16112025_03_50_38_2712.jpg
/home/pi/Desktop/images/16112025/03/50/image_16112025_03_50_42_3561.jpg
/home/pi/Desktop/images/16112025/03/50/image_16112025_03_50_50_3646.jpg
/home/pi/Desktop/images/16112025/03/50/image_16112025_03_51_00_3809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712136","1394712138","1394712132","1394712135","1394712137","1394712134"],"photo_ids_order":["1394712132","1394712134","1394712135","1394712136","1394712137","1394712138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d307c140e13d70c4b82e983323e8c04.jpg","text":"TemporaryFile(/tmp/multipartBody3384228480538314988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261543463,"filename":"image_16112025_03_50_42_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1034e58b1ca25d672609869ba639385.jpg","text":"TemporaryFile(/tmp/multipartBody6393480160362645160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261543463,"filename":"image_16112025_03_51_00_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c3c75fee6f04006fb909559cb0ea534.jpg","text":"TemporaryFile(/tmp/multipartBody8253589856952910331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261543463,"filename":"image_16112025_03_49_42_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b48fc69bcb0c69515449ab28ab87c16b.jpg","text":"TemporaryFile(/tmp/multipartBody1970975028122414577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261543463,"filename":"image_16112025_03_50_38_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67174f6209c44f9bfc6bc1f2fd30c6f0.jpg","text":"TemporaryFile(/tmp/multipartBody861967079223749597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261543463,"filename":"image_16112025_03_50_50_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ba6c875e47e8663ba07f4dd04244059.jpg","text":"TemporaryFile(/tmp/multipartBody2516549089991835574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261543463,"filename":"image_16112025_03_49_50_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712135","file1":"1394712134","file0":"1394712132","file4":"1394712137","file5":"1394712138","file3":"1394712136"},"map_files_photo_id_array":[{"photo_id":"1394712138","filename":"file5"},{"photo_id":"1394712135","filename":"file2"},{"photo_id":"1394712137","filename":"file4"},{"photo_id":"1394712134","filename":"file1"},{"photo_id":"1394712132","filename":"file0"},{"photo_id":"1394712136","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712136":["hashtag1","hashtag2"]},{"1394712138":["hashtag1","hashtag2"]},{"1394712132":["hashtag1","hashtag2"]},{"1394712135":["hashtag1","hashtag2"]},{"1394712137":["hashtag1","hashtag2"]},{"1394712134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712136, 1394712138, 1394712132, 1394712135, 1394712137, 1394712134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.078742265701294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:52:02.417014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/51/image_16112025_03_51_35_2635.jpg', '/home/pi/Desktop/images/16112025/03/51/image_16112025_03_51_38_2674.jpg', '/home/pi/Desktop/images/16112025/03/51/image_16112025_03_51_44_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/51/image_16112025_03_51_35_2635.jpg
/home/pi/Desktop/images/16112025/03/51/image_16112025_03_51_38_2674.jpg
/home/pi/Desktop/images/16112025/03/51/image_16112025_03_51_44_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712139","1394712141","1394712140"],"photo_ids_order":["1394712139","1394712140","1394712141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c67bcff7a749e0c6d0e84ca6324ae92e.jpg","text":"TemporaryFile(/tmp/multipartBody3293882507414934510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261583048,"filename":"image_16112025_03_51_35_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/467532174baf5915833f0b4028a92ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1474549602976508074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261583048,"filename":"image_16112025_03_51_44_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcad6bd3bebe09c8036dce7b26901f4c.jpg","text":"TemporaryFile(/tmp/multipartBody992109096213624751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261583048,"filename":"image_16112025_03_51_38_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712141","file1":"1394712140","file0":"1394712139"},"map_files_photo_id_array":[{"photo_id":"1394712141","filename":"file2"},{"photo_id":"1394712140","filename":"file1"},{"photo_id":"1394712139","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712139":["hashtag1","hashtag2"]},{"1394712141":["hashtag1","hashtag2"]},{"1394712140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712139, 1394712141, 1394712140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.38788866996765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:52:42.002602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/51/image_16112025_03_51_51_3692.jpg', '/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_05_2688.jpg', '/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_11_3181.jpg', '/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_14_2701.jpg', '/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_20_2680.jpg', '/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_27_3804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/51/image_16112025_03_51_51_3692.jpg
/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_05_2688.jpg
/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_11_3181.jpg
/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_14_2701.jpg
/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_20_2680.jpg
/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_27_3804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712151","1394712154","1394712148","1394712150","1394712153","1394712149"],"photo_ids_order":["1394712148","1394712149","1394712150","1394712151","1394712153","1394712154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e38dce0b2c4314ccb6eee18b7768ebd9.jpg","text":"TemporaryFile(/tmp/multipartBody1980040985019775358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261622688,"filename":"image_16112025_03_52_14_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e373f354e8f7108317a58f749ece8785.jpg","text":"TemporaryFile(/tmp/multipartBody6103221506575645948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261622688,"filename":"image_16112025_03_52_27_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5ed6b8caf636983c7a02384dad9033e.jpg","text":"TemporaryFile(/tmp/multipartBody1517464099369660003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261622688,"filename":"image_16112025_03_51_51_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/988d2c087e3f88511d3fb37929c8f557.jpg","text":"TemporaryFile(/tmp/multipartBody5926525242220249615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261622688,"filename":"image_16112025_03_52_11_3181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d105a1de8616530b224a791a41e4a7c.jpg","text":"TemporaryFile(/tmp/multipartBody2066308660244401595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261622688,"filename":"image_16112025_03_52_20_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b19fc63aeb70685a1f8b725e555ea2a.jpg","text":"TemporaryFile(/tmp/multipartBody8781199351113784918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261622688,"filename":"image_16112025_03_52_05_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712150","file1":"1394712149","file0":"1394712148","file4":"1394712153","file5":"1394712154","file3":"1394712151"},"map_files_photo_id_array":[{"photo_id":"1394712154","filename":"file5"},{"photo_id":"1394712150","filename":"file2"},{"photo_id":"1394712153","filename":"file4"},{"photo_id":"1394712149","filename":"file1"},{"photo_id":"1394712148","filename":"file0"},{"photo_id":"1394712151","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712151":["hashtag1","hashtag2"]},{"1394712154":["hashtag1","hashtag2"]},{"1394712148":["hashtag1","hashtag2"]},{"1394712150":["hashtag1","hashtag2"]},{"1394712153":["hashtag1","hashtag2"]},{"1394712149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712151, 1394712154, 1394712148, 1394712150, 1394712153, 1394712149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.749924659729004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:53:22.230146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_59_2845.jpg', '/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_11_2917.jpg', '/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_14_3640.jpg', '/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_20_2809.jpg', '/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_50_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/52/image_16112025_03_52_59_2845.jpg
/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_11_2917.jpg
/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_14_3640.jpg
/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_20_2809.jpg
/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_50_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712169","1394712168","1394712167","1394712161","1394712164"],"photo_ids_order":["1394712161","1394712164","1394712167","1394712168","1394712169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a2e0b91a91e974a775e7dea88e44c09.jpg","text":"TemporaryFile(/tmp/multipartBody2669716498039626767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261662931,"filename":"image_16112025_03_53_50_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6212e224cce20154057e84ec7f45f96.jpg","text":"TemporaryFile(/tmp/multipartBody8235490898760770526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261662931,"filename":"image_16112025_03_53_20_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26653d7f7c3988213b091e4e78ad4b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4415710014125179147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261662931,"filename":"image_16112025_03_53_14_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d64d88aa5f2969271a7b7318b4c899fc.jpg","text":"TemporaryFile(/tmp/multipartBody3268299808340614440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261662931,"filename":"image_16112025_03_52_59_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e952eec02b92ce25d8da0bf52ec5d63e.jpg","text":"TemporaryFile(/tmp/multipartBody3337784099710209648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261662931,"filename":"image_16112025_03_53_11_2917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712167","file1":"1394712164","file0":"1394712161","file4":"1394712169","file3":"1394712168"},"map_files_photo_id_array":[{"photo_id":"1394712167","filename":"file2"},{"photo_id":"1394712169","filename":"file4"},{"photo_id":"1394712164","filename":"file1"},{"photo_id":"1394712161","filename":"file0"},{"photo_id":"1394712168","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712169":["hashtag1","hashtag2"]},{"1394712168":["hashtag1","hashtag2"]},{"1394712167":["hashtag1","hashtag2"]},{"1394712161":["hashtag1","hashtag2"]},{"1394712164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712169, 1394712168, 1394712167, 1394712161, 1394712164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.704392910003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:54:03.232798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:54:22.458155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_57_3651.jpg', '/home/pi/Desktop/images/16112025/03/54/image_16112025_03_54_23_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/53/image_16112025_03_53_57_3651.jpg
/home/pi/Desktop/images/16112025/03/54/image_16112025_03_54_23_2832.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712174","1394712177"],"photo_ids_order":["1394712174","1394712177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61ff98e85c16919d3836f624fe3d35c7.jpg","text":"TemporaryFile(/tmp/multipartBody350127021800527702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261722994,"filename":"image_16112025_03_53_57_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3853d737f2c223bc5a281132a07c3f05.jpg","text":"TemporaryFile(/tmp/multipartBody5055160559731238444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261722994,"filename":"image_16112025_03_54_23_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394712177","file0":"1394712174"},"map_files_photo_id_array":[{"photo_id":"1394712177","filename":"file1"},{"photo_id":"1394712174","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712174":["hashtag1","hashtag2"]},{"1394712177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712174, 1394712177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.993641138076782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:54:42.435840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:55:03.307821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:55:22.691507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/54/image_16112025_03_54_29_3826.jpg', '/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_19_2808.jpg', '/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_23_3754.jpg', '/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_26_2629.jpg', '/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_29_2698.jpg', '/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_32_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/54/image_16112025_03_54_29_3826.jpg
/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_19_2808.jpg
/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_23_3754.jpg
/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_26_2629.jpg
/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_29_2698.jpg
/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_32_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712199","1394712195","1394712191","1394712194","1394712197","1394712196"],"photo_ids_order":["1394712191","1394712194","1394712195","1394712196","1394712197","1394712199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c38a95b731f6b0c5fad3e3a1327a4d9f.jpg","text":"TemporaryFile(/tmp/multipartBody4553165152442776261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261783471,"filename":"image_16112025_03_55_32_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00f4617afb4b5ac78944f9c64d432a11.jpg","text":"TemporaryFile(/tmp/multipartBody3476133380787335640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261783471,"filename":"image_16112025_03_55_23_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24c0e70b30d536e19662a080ea165910.jpg","text":"TemporaryFile(/tmp/multipartBody6731538999340009614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261783471,"filename":"image_16112025_03_54_29_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3017c0869d126ff5c0ff82253c51edb.jpg","text":"TemporaryFile(/tmp/multipartBody8868539452875860479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261783471,"filename":"image_16112025_03_55_19_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c0578b3a80acda09c89f5a902c89691.jpg","text":"TemporaryFile(/tmp/multipartBody5708363144004259028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261783471,"filename":"image_16112025_03_55_29_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c87796c9cf063242e1a609681df7340.jpg","text":"TemporaryFile(/tmp/multipartBody4988001123880739812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261783471,"filename":"image_16112025_03_55_26_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712195","file1":"1394712194","file0":"1394712191","file4":"1394712197","file5":"1394712199","file3":"1394712196"},"map_files_photo_id_array":[{"photo_id":"1394712199","filename":"file5"},{"photo_id":"1394712195","filename":"file2"},{"photo_id":"1394712197","filename":"file4"},{"photo_id":"1394712194","filename":"file1"},{"photo_id":"1394712191","filename":"file0"},{"photo_id":"1394712196","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712199":["hashtag1","hashtag2"]},{"1394712195":["hashtag1","hashtag2"]},{"1394712191":["hashtag1","hashtag2"]},{"1394712194":["hashtag1","hashtag2"]},{"1394712197":["hashtag1","hashtag2"]},{"1394712196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712199, 1394712195, 1394712191, 1394712194, 1394712197, 1394712196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22282791137695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:56:02.390875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:56:21.926874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_59_2738.jpg', '/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_04_2779.jpg', '/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_14_2739.jpg', '/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_26_3778.jpg', '/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_41_2609.jpg', '/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_47_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/55/image_16112025_03_55_59_2738.jpg
/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_04_2779.jpg
/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_14_2739.jpg
/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_26_3778.jpg
/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_41_2609.jpg
/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_47_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712209","1394712214","1394712211","1394712213","1394712204","1394712206"],"photo_ids_order":["1394712204","1394712206","1394712209","1394712211","1394712213","1394712214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/510ab6814c80fc60d2a26f15a57e72ac.jpg","text":"TemporaryFile(/tmp/multipartBody8810419845191449100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261842628,"filename":"image_16112025_03_56_14_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/468ced3ddde22e908b5543cc46d68b4c.jpg","text":"TemporaryFile(/tmp/multipartBody3854853212302153707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261842628,"filename":"image_16112025_03_56_47_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/582a71b5ac66e7f1f808f332a9a021f1.jpg","text":"TemporaryFile(/tmp/multipartBody2143661592890576462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261842628,"filename":"image_16112025_03_56_26_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6212ce89bd066f4181352a92db6b4666.jpg","text":"TemporaryFile(/tmp/multipartBody7053375446797318214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261842628,"filename":"image_16112025_03_56_41_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9161690ea007ad747853d2c8aa180719.jpg","text":"TemporaryFile(/tmp/multipartBody7049571702904527388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261842628,"filename":"image_16112025_03_55_59_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b695c6bfe9134ae66656ce0dfdd6f66d.jpg","text":"TemporaryFile(/tmp/multipartBody594800952631311069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261842628,"filename":"image_16112025_03_56_04_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712209","file1":"1394712206","file0":"1394712204","file4":"1394712213","file5":"1394712214","file3":"1394712211"},"map_files_photo_id_array":[{"photo_id":"1394712214","filename":"file5"},{"photo_id":"1394712209","filename":"file2"},{"photo_id":"1394712213","filename":"file4"},{"photo_id":"1394712206","filename":"file1"},{"photo_id":"1394712204","filename":"file0"},{"photo_id":"1394712211","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712209":["hashtag1","hashtag2"]},{"1394712214":["hashtag1","hashtag2"]},{"1394712211":["hashtag1","hashtag2"]},{"1394712213":["hashtag1","hashtag2"]},{"1394712204":["hashtag1","hashtag2"]},{"1394712206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712209, 1394712214, 1394712211, 1394712213, 1394712204, 1394712206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83804154396057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:57:02.713551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 03:57:22.076587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_59_2713.jpg', '/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_17_3832.jpg', '/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_20_2735.jpg', '/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_22_2600.jpg', '/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_41_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/56/image_16112025_03_56_59_2713.jpg
/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_17_3832.jpg
/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_20_2735.jpg
/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_22_2600.jpg
/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_41_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394712220","1394712223","1394712222","1394712221","1394712224"],"photo_ids_order":["1394712220","1394712221","1394712222","1394712223","1394712224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfbd17847aa2274b8a650ce892792c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8615073044111118309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261902718,"filename":"image_16112025_03_56_59_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9c11049dfc51212ff77cb1c6bb8d817.jpg","text":"TemporaryFile(/tmp/multipartBody7954092208057896444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261902718,"filename":"image_16112025_03_57_22_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/539964fbf421b5fe4cacd3bf248bb115.jpg","text":"TemporaryFile(/tmp/multipartBody8029105480535239388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261902718,"filename":"image_16112025_03_57_20_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/198d40f0282ea239201dac3ddb8ef10a.jpg","text":"TemporaryFile(/tmp/multipartBody8962378296806031122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261902718,"filename":"image_16112025_03_57_17_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51f67d7bb86d48173f68edd51d6840df.jpg","text":"TemporaryFile(/tmp/multipartBody998056252905923125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763261902718,"filename":"image_16112025_03_57_41_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394712222","file1":"1394712221","file0":"1394712220","file4":"1394712224","file3":"1394712223"},"map_files_photo_id_array":[{"photo_id":"1394712222","filename":"file2"},{"photo_id":"1394712224","filename":"file4"},{"photo_id":"1394712221","filename":"file1"},{"photo_id":"1394712220","filename":"file0"},{"photo_id":"1394712223","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394712220":["hashtag1","hashtag2"]},{"1394712223":["hashtag1","hashtag2"]},{"1394712222":["hashtag1","hashtag2"]},{"1394712221":["hashtag1","hashtag2"]},{"1394712224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394712220, 1394712223, 1394712222, 1394712221, 1394712224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.222842931747437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 03:59:03.473193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_47_3871.jpg', '/home/pi/Desktop/images/16112025/03/58/image_16112025_03_58_22_2514.jpg', '/home/pi/Desktop/images/16112025/03/58/image_16112025_03_58_28_2563.jpg', '/home/pi/Desktop/images/16112025/03/58/image_16112025_03_58_44_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/57/image_16112025_03_57_47_3871.jpg
/home/pi/Desktop/images/16112025/03/58/image_16112025_03_58_22_2514.jpg
/home/pi/Desktop/images/16112025/03/58/image_16112025_03_58_28_2563.jpg
/home/pi/Desktop/images/16112025/03/58/image_16112025_03_58_44_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394713204","1394713197","1394713166","1394713055"],"photo_ids_order":["1394713055","1394713166","1394713197","1394713204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19c6f3aaa4b4102da30b586a65971886.jpg","text":"TemporaryFile(/tmp/multipartBody4477903102148345227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262004268,"filename":"image_16112025_03_58_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/11/16/548de901a92b6b67c7e228fb7d4900f8.jpg","text":"TemporaryFile(/tmp/multipartBody4923651281568965433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262004268,"filename":"image_16112025_03_58_28_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/130088c987577287cd7a18ab98fd408c.jpg","text":"TemporaryFile(/tmp/multipartBody3032413650584204490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262004268,"filename":"image_16112025_03_58_22_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c65b9ab7e7c8e0ec5d9c85602908f60a.jpg","text":"TemporaryFile(/tmp/multipartBody2734905702570116573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262004268,"filename":"image_16112025_03_57_47_3871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394713197","file1":"1394713166","file0":"1394713055","file3":"1394713204"},"map_files_photo_id_array":[{"photo_id":"1394713197","filename":"file2"},{"photo_id":"1394713166","filename":"file1"},{"photo_id":"1394713055","filename":"file0"},{"photo_id":"1394713204","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394713204":["hashtag1","hashtag2"]},{"1394713197":["hashtag1","hashtag2"]},{"1394713166":["hashtag1","hashtag2"]},{"1394713055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394713204, 1394713197, 1394713166, 1394713055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.372003316879272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 03:59:42.555425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/58/image_16112025_03_58_49_2717.jpg', '/home/pi/Desktop/images/16112025/03/59/image_16112025_03_59_25_2626.jpg', '/home/pi/Desktop/images/16112025/03/59/image_16112025_03_59_29_3645.jpg', '/home/pi/Desktop/images/16112025/03/59/image_16112025_03_59_46_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/58/image_16112025_03_58_49_2717.jpg
/home/pi/Desktop/images/16112025/03/59/image_16112025_03_59_25_2626.jpg
/home/pi/Desktop/images/16112025/03/59/image_16112025_03_59_29_3645.jpg
/home/pi/Desktop/images/16112025/03/59/image_16112025_03_59_46_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394713353","1394713373","1394713400","1394713396"],"photo_ids_order":["1394713353","1394713373","1394713396","1394713400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17710c3b4e86c688eb2dd24b12f7e42c.jpg","text":"TemporaryFile(/tmp/multipartBody1001998084439365671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262043162,"filename":"image_16112025_03_58_49_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86f5947f2d6f51a0cf8351c86b9bd9ed.jpg","text":"TemporaryFile(/tmp/multipartBody7700078845331714082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262043162,"filename":"image_16112025_03_59_25_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/773521752ed862d0d767ccec4fe30f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5145611688435817559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262043162,"filename":"image_16112025_03_59_46_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8ec9565e7dba3e27fc7515ab4516866.jpg","text":"TemporaryFile(/tmp/multipartBody839054973610306317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262043162,"filename":"image_16112025_03_59_29_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394713396","file1":"1394713373","file0":"1394713353","file3":"1394713400"},"map_files_photo_id_array":[{"photo_id":"1394713396","filename":"file2"},{"photo_id":"1394713373","filename":"file1"},{"photo_id":"1394713353","filename":"file0"},{"photo_id":"1394713400","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394713353":["hashtag1","hashtag2"]},{"1394713373":["hashtag1","hashtag2"]},{"1394713400":["hashtag1","hashtag2"]},{"1394713396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394713353, 1394713373, 1394713400, 1394713396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.6726291179657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:00:22.799253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/03/59/image_16112025_03_59_52_2638.jpg', '/home/pi/Desktop/images/16112025/04/00/image_16112025_04_00_13_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/03/59/image_16112025_03_59_52_2638.jpg
/home/pi/Desktop/images/16112025/04/00/image_16112025_04_00_13_2735.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394713606","1394713684"],"photo_ids_order":["1394713606","1394713684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/154ac0aecbc592587fa22eade34f678a.jpg","text":"TemporaryFile(/tmp/multipartBody7802297968180953969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262083333,"filename":"image_16112025_03_59_52_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec0a7ff4a69dc3286505705106094c09.jpg","text":"TemporaryFile(/tmp/multipartBody6761124070367751149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262083333,"filename":"image_16112025_04_00_13_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394713684","file0":"1394713606"},"map_files_photo_id_array":[{"photo_id":"1394713684","filename":"file1"},{"photo_id":"1394713606","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394713606":["hashtag1","hashtag2"]},{"1394713684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394713606, 1394713684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.752939224243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:00:42.733644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:01:02.643462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:01:22.007888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/00/image_16112025_04_00_34_2625.jpg', '/home/pi/Desktop/images/16112025/04/01/image_16112025_04_01_01_2701.jpg', '/home/pi/Desktop/images/16112025/04/01/image_16112025_04_01_08_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/00/image_16112025_04_00_34_2625.jpg
/home/pi/Desktop/images/16112025/04/01/image_16112025_04_01_01_2701.jpg
/home/pi/Desktop/images/16112025/04/01/image_16112025_04_01_08_3753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714471","1394714408","1394714518"],"photo_ids_order":["1394714408","1394714471","1394714518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dd09cf81562f6705ee970a1c775cc82.jpg","text":"TemporaryFile(/tmp/multipartBody3732194740220328547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262142583,"filename":"image_16112025_04_01_01_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e582fbbf3377d8f7944e1b5f9304c2a8.jpg","text":"TemporaryFile(/tmp/multipartBody6731604626345413425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262142583,"filename":"image_16112025_04_00_34_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bced3ed5245abc34010484699270307e.jpg","text":"TemporaryFile(/tmp/multipartBody5518806826943203599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262142583,"filename":"image_16112025_04_01_08_3753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394714518","file1":"1394714471","file0":"1394714408"},"map_files_photo_id_array":[{"photo_id":"1394714518","filename":"file2"},{"photo_id":"1394714471","filename":"file1"},{"photo_id":"1394714408","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714471":["hashtag1","hashtag2"]},{"1394714408":["hashtag1","hashtag2"]},{"1394714518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714471, 1394714408, 1394714518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.58994436264038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:02:02.764359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:02:22.267719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/01/image_16112025_04_01_10_2679.jpg', '/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_13_2727.jpg', '/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_19_2710.jpg', '/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_28_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/01/image_16112025_04_01_10_2679.jpg
/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_13_2727.jpg
/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_19_2710.jpg
/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_28_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714789","1394714773","1394714761","1394714815"],"photo_ids_order":["1394714761","1394714773","1394714789","1394714815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/458945b4c3f1aedac0947e1ed5fd6425.jpg","text":"TemporaryFile(/tmp/multipartBody315282828825251456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262202925,"filename":"image_16112025_04_02_19_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81bd5a64da98794b52f1515723526649.jpg","text":"TemporaryFile(/tmp/multipartBody6915888908127071059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262202925,"filename":"image_16112025_04_02_13_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ccc516e417e5e52d5320f0158010099e.jpg","text":"TemporaryFile(/tmp/multipartBody3895520726505595820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262202925,"filename":"image_16112025_04_01_10_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcfd13ee576cd49c64c820a3126fb818.jpg","text":"TemporaryFile(/tmp/multipartBody6092589366373355381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262202925,"filename":"image_16112025_04_02_28_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394714789","file1":"1394714773","file0":"1394714761","file3":"1394714815"},"map_files_photo_id_array":[{"photo_id":"1394714789","filename":"file2"},{"photo_id":"1394714773","filename":"file1"},{"photo_id":"1394714761","filename":"file0"},{"photo_id":"1394714815","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714789":["hashtag1","hashtag2"]},{"1394714773":["hashtag1","hashtag2"]},{"1394714761":["hashtag1","hashtag2"]},{"1394714815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714789, 1394714773, 1394714761, 1394714815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.05946660041809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:03:03.158569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:03:22.424794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_44_3743.jpg', '/home/pi/Desktop/images/16112025/04/03/image_16112025_04_03_52_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_44_3743.jpg
/home/pi/Desktop/images/16112025/04/03/image_16112025_04_03_52_3570.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.43104076385498047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:03:42.409359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_44_3743.jpg', '/home/pi/Desktop/images/16112025/04/03/image_16112025_04_03_52_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/02/image_16112025_04_02_44_3743.jpg
/home/pi/Desktop/images/16112025/04/03/image_16112025_04_03_52_3570.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714842","1394714839"],"photo_ids_order":["1394714839","1394714842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d893e33af57369f56b8ebc574588b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8619739724398448913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262282929,"filename":"image_16112025_04_03_52_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3c43601180074b1ce786225a989b15f.jpg","text":"TemporaryFile(/tmp/multipartBody2694321570392191947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262282929,"filename":"image_16112025_04_02_44_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394714842","file0":"1394714839"},"map_files_photo_id_array":[{"photo_id":"1394714842","filename":"file1"},{"photo_id":"1394714839","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714842":["hashtag1","hashtag2"]},{"1394714839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714842, 1394714839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.042409658432007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:04:03.460534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:04:22.593461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/03/image_16112025_04_04_01_3714.jpg', '/home/pi/Desktop/images/16112025/04/04/image_16112025_04_04_16_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/03/image_16112025_04_04_01_3714.jpg
/home/pi/Desktop/images/16112025/04/04/image_16112025_04_04_16_2846.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714853","1394714849"],"photo_ids_order":["1394714849","1394714853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79866395dc39309fcd025821f3d141e7.jpg","text":"TemporaryFile(/tmp/multipartBody6251119809629220748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262323127,"filename":"image_16112025_04_04_16_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86a4efd69a2eba084bae7a8394ce1802.jpg","text":"TemporaryFile(/tmp/multipartBody1367019576841578965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262323127,"filename":"image_16112025_04_04_01_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394714853","file0":"1394714849"},"map_files_photo_id_array":[{"photo_id":"1394714853","filename":"file1"},{"photo_id":"1394714849","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714853":["hashtag1","hashtag2"]},{"1394714849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714853, 1394714849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.408997535705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:04:42.741827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:05:02.626277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:05:22.024376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/04/image_16112025_04_04_25_2516.jpg', '/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_13_2790.jpg', '/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_16_2656.jpg', '/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_19_3625.jpg', '/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_22_2682.jpg', '/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_37_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/04/image_16112025_04_04_25_2516.jpg
/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_13_2790.jpg
/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_16_2656.jpg
/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_19_3625.jpg
/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_22_2682.jpg
/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_37_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714871","1394714880","1394714874","1394714868","1394714876","1394714878"],"photo_ids_order":["1394714868","1394714871","1394714874","1394714876","1394714878","1394714880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/740e2bf2c73bb404acf270119d67ec11.jpg","text":"TemporaryFile(/tmp/multipartBody3615722242865212923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262382756,"filename":"image_16112025_04_05_13_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7097b8f63e07c02f1021764a0d93cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1774303970100213513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262382756,"filename":"image_16112025_04_05_37_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01cf08f30e5e9abea6fb9f21598b5cf2.jpg","text":"TemporaryFile(/tmp/multipartBody9173788018785688749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262382756,"filename":"image_16112025_04_05_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/11/16/91c0ddda192f622b8e1cf9fe37eff6ad.jpg","text":"TemporaryFile(/tmp/multipartBody5922366771118453139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262382756,"filename":"image_16112025_04_04_25_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9747b3c9c61c36a0565e0182b46109a.jpg","text":"TemporaryFile(/tmp/multipartBody5444630328545322553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262382756,"filename":"image_16112025_04_05_19_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef7fc4d09eff015dad8d6adea8ed8009.jpg","text":"TemporaryFile(/tmp/multipartBody7549417512071717527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262382756,"filename":"image_16112025_04_05_22_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394714874","file1":"1394714871","file0":"1394714868","file4":"1394714878","file5":"1394714880","file3":"1394714876"},"map_files_photo_id_array":[{"photo_id":"1394714880","filename":"file5"},{"photo_id":"1394714874","filename":"file2"},{"photo_id":"1394714878","filename":"file4"},{"photo_id":"1394714871","filename":"file1"},{"photo_id":"1394714868","filename":"file0"},{"photo_id":"1394714876","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714871":["hashtag1","hashtag2"]},{"1394714880":["hashtag1","hashtag2"]},{"1394714874":["hashtag1","hashtag2"]},{"1394714868":["hashtag1","hashtag2"]},{"1394714876":["hashtag1","hashtag2"]},{"1394714878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714871, 1394714880, 1394714874, 1394714868, 1394714876, 1394714878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78998923301697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:06:02.811440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:06:22.241278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_49_3528.jpg', '/home/pi/Desktop/images/16112025/04/06/image_16112025_04_06_01_2632.jpg', '/home/pi/Desktop/images/16112025/04/06/image_16112025_04_06_55_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/05/image_16112025_04_05_49_3528.jpg
/home/pi/Desktop/images/16112025/04/06/image_16112025_04_06_01_2632.jpg
/home/pi/Desktop/images/16112025/04/06/image_16112025_04_06_55_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714897","1394714890","1394714893"],"photo_ids_order":["1394714890","1394714893","1394714897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4eaf996183be67eea739b807045c4cf.jpg","text":"TemporaryFile(/tmp/multipartBody715870242007210983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262442803,"filename":"image_16112025_04_06_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/11/16/db760b02b7bb16ca94883ce1e2ad1103.jpg","text":"TemporaryFile(/tmp/multipartBody1525768038386755812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262442803,"filename":"image_16112025_04_05_49_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a789105ab0009c2959a96b7c80d2c9e5.jpg","text":"TemporaryFile(/tmp/multipartBody8537941211523461916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262442803,"filename":"image_16112025_04_06_01_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394714897","file1":"1394714893","file0":"1394714890"},"map_files_photo_id_array":[{"photo_id":"1394714897","filename":"file2"},{"photo_id":"1394714893","filename":"file1"},{"photo_id":"1394714890","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714897":["hashtag1","hashtag2"]},{"1394714890":["hashtag1","hashtag2"]},{"1394714893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714897, 1394714890, 1394714893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.039329290390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:07:03.217511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:07:22.462654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/06/image_16112025_04_06_58_2543.jpg', '/home/pi/Desktop/images/16112025/04/07/image_16112025_04_07_31_2649.jpg', '/home/pi/Desktop/images/16112025/04/07/image_16112025_04_07_33_2606.jpg', '/home/pi/Desktop/images/16112025/04/07/image_16112025_04_07_40_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/06/image_16112025_04_06_58_2543.jpg
/home/pi/Desktop/images/16112025/04/07/image_16112025_04_07_31_2649.jpg
/home/pi/Desktop/images/16112025/04/07/image_16112025_04_07_33_2606.jpg
/home/pi/Desktop/images/16112025/04/07/image_16112025_04_07_40_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714917","1394714911","1394714914","1394714908"],"photo_ids_order":["1394714908","1394714911","1394714914","1394714917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0aa6a5892e43baf577b845191bb591f9.jpg","text":"TemporaryFile(/tmp/multipartBody5952412409312135507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262503096,"filename":"image_16112025_04_07_40_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b322539ce87dd68e9047a55fd1cf8fd5.jpg","text":"TemporaryFile(/tmp/multipartBody514095050602071704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262503096,"filename":"image_16112025_04_07_31_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c490415d3147c7318b2d74a64749706.jpg","text":"TemporaryFile(/tmp/multipartBody8269761481169880750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262503096,"filename":"image_16112025_04_07_33_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ad377901c0ddc8573767d52cf77634f.jpg","text":"TemporaryFile(/tmp/multipartBody8222968187448051174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262503096,"filename":"image_16112025_04_06_58_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394714914","file1":"1394714911","file0":"1394714908","file3":"1394714917"},"map_files_photo_id_array":[{"photo_id":"1394714914","filename":"file2"},{"photo_id":"1394714911","filename":"file1"},{"photo_id":"1394714908","filename":"file0"},{"photo_id":"1394714917","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714917":["hashtag1","hashtag2"]},{"1394714911":["hashtag1","hashtag2"]},{"1394714914":["hashtag1","hashtag2"]},{"1394714908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714917, 1394714911, 1394714914, 1394714908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.568958282470703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:08:03.191522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:08:22.606387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/07/image_16112025_04_07_46_3591.jpg', '/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_07_3842.jpg', '/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_10_2659.jpg', '/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_30_2663.jpg', '/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_34_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/07/image_16112025_04_07_46_3591.jpg
/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_07_3842.jpg
/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_10_2659.jpg
/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_30_2663.jpg
/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_34_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714940","1394714939","1394714936","1394714941","1394714938"],"photo_ids_order":["1394714936","1394714938","1394714939","1394714940","1394714941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f25c2276b1463b977486047493e6ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5325015379439950085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262563263,"filename":"image_16112025_04_08_30_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3dd073ad7d0292cd80c501c0f33d00d.jpg","text":"TemporaryFile(/tmp/multipartBody118553889251103372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262563263,"filename":"image_16112025_04_08_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/11/16/6312859d66a62be094950734d27defcc.jpg","text":"TemporaryFile(/tmp/multipartBody4350529452246750377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262563263,"filename":"image_16112025_04_07_46_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35215ff8f1c79c0f4e3128776b7f3f41.jpg","text":"TemporaryFile(/tmp/multipartBody993222665124043992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262563263,"filename":"image_16112025_04_08_34_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fbc3d459cc4299103ac75441ed264ae.jpg","text":"TemporaryFile(/tmp/multipartBody3433277740414009918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262563263,"filename":"image_16112025_04_08_07_3842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394714939","file1":"1394714938","file0":"1394714936","file4":"1394714941","file3":"1394714940"},"map_files_photo_id_array":[{"photo_id":"1394714939","filename":"file2"},{"photo_id":"1394714941","filename":"file4"},{"photo_id":"1394714938","filename":"file1"},{"photo_id":"1394714936","filename":"file0"},{"photo_id":"1394714940","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714940":["hashtag1","hashtag2"]},{"1394714939":["hashtag1","hashtag2"]},{"1394714936":["hashtag1","hashtag2"]},{"1394714941":["hashtag1","hashtag2"]},{"1394714938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714940, 1394714939, 1394714936, 1394714941, 1394714938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.914563179016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:09:02.929520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:09:21.819728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_49_2946.jpg', '/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_10_2780.jpg', '/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_21_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_49_2946.jpg
/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_10_2780.jpg
/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_21_2676.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.4721944332122803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:09:41.933407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_49_2946.jpg', '/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_10_2780.jpg', '/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_21_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/08/image_16112025_04_08_49_2946.jpg
/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_10_2780.jpg
/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_21_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714964","1394714967","1394714962"],"photo_ids_order":["1394714962","1394714964","1394714967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf42b34022274c6f8dbf039ff8a72d1f.jpg","text":"TemporaryFile(/tmp/multipartBody5196950876122630701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262642560,"filename":"image_16112025_04_09_10_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa58ec7bcec988a75be9e7e50664514c.jpg","text":"TemporaryFile(/tmp/multipartBody1947106423971038371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262642560,"filename":"image_16112025_04_09_21_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1474c9e8c4a05277c5809a4b6b85bdef.jpg","text":"TemporaryFile(/tmp/multipartBody7024174782939197640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262642560,"filename":"image_16112025_04_08_49_2946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394714967","file1":"1394714964","file0":"1394714962"},"map_files_photo_id_array":[{"photo_id":"1394714967","filename":"file2"},{"photo_id":"1394714964","filename":"file1"},{"photo_id":"1394714962","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394714964":["hashtag1","hashtag2"]},{"1394714967":["hashtag1","hashtag2"]},{"1394714962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394714964, 1394714967, 1394714962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.684289932250977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:10:22.249171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_31_1743.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_34_2647.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_37_2626.jpg', '/home/pi/Desktop/images/06112025/14/07/image_06112025_14_08_00_6141.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_02_1499.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_04_1856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_31_1743.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_34_2647.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_07_37_2626.jpg
/home/pi/Desktop/images/06112025/14/07/image_06112025_14_08_00_6141.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_02_1499.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_04_1856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394714985","1394714979","1394714987","1394714981","1394714984","1394714983"],"photo_ids_order":["1394714979","1394714981","1394714983","1394714984","1394714985","1394714987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52aa37f04bed12c08b90a1a2f5097dac.jpg","text":"TemporaryFile(/tmp/multipartBody435576346813954481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262683262,"filename":"image_06112025_14_08_02_1499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b21f9ce9723d190b58c9690791f80b2.jpg","text":"TemporaryFile(/tmp/multipartBody7829006018283509238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262683262,"filename":"image_06112025_14_07_31_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35db4b80432d5a2295cfc433aff59450.jpg","text":"TemporaryFile(/tmp/multipartBody3373281462144974444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262683262,"filename":"image_06112025_14_08_04_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6aad748b623151c90e1b2d2a7a5ec44e.jpg","text":"TemporaryFile(/tmp/multipartBody2477335003615827671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262683262,"filename":"image_06112025_14_07_34_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/395609bf6ac08bee2ff7cd3a1ee660ed.jpg","text":"TemporaryFile(/tmp/multipartBody7660870599064427380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262683262,"filename":"image_06112025_14_08_00_6141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cf7b8fdf2704b4ca81cc4ec0f9acf35.jpg","text":"TemporaryFile(/tmp/multipartBody8014961312909041495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262683262,"filename":"image_06112025_14_07_37_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394714983","file1":"1394714981","file0":"1394714979","file4":"1394714985","file5":"1394714987","file3":"1394714984"},"map_files_photo_id_array":[{"photo_id":"1394714987","filename":"file5"},{"photo_id":"1394714983","filename":"file2"},{"photo_id":"1394714985","filename":"file4"},{"photo_id":"1394714981","filename":"file1"},{"photo_id":"1394714979","filename":"file0"},{"photo_id":"1394714984","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394714985":["hashtag1","hashtag2"]},{"1394714979":["hashtag1","hashtag2"]},{"1394714987":["hashtag1","hashtag2"]},{"1394714981":["hashtag1","hashtag2"]},{"1394714984":["hashtag1","hashtag2"]},{"1394714983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394714985, 1394714979, 1394714987, 1394714981, 1394714984, 1394714983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65383243560791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:11:03.365759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:11:22.469056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_24_2718.jpg', '/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_09_2600.jpg', '/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_13_3696.jpg', '/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_15_2688.jpg', '/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_18_2713.jpg', '/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_34_2945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/09/image_16112025_04_09_24_2718.jpg
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_09_2600.jpg
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_13_3696.jpg
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_15_2688.jpg
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_18_2713.jpg
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_34_2945.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715000","1394715003","1394715006","1394715002","1394715004","1394715001"],"photo_ids_order":["1394715000","1394715001","1394715002","1394715003","1394715004","1394715006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a33371039a9ab3f5a29356c40fe93f73.jpg","text":"TemporaryFile(/tmp/multipartBody7399625162959880737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262743151,"filename":"image_16112025_04_09_24_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f7feae30d17ce082e560a048e913bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4520946214297460002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262743151,"filename":"image_16112025_04_11_15_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15b58d275408d59efd84d2626a2cf050.jpg","text":"TemporaryFile(/tmp/multipartBody3626732981468833330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262743151,"filename":"image_16112025_04_11_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/11/16/98b1a012bfa860a01a2ad78ea024e661.jpg","text":"TemporaryFile(/tmp/multipartBody2369475812024975291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262743151,"filename":"image_16112025_04_11_13_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18e61be0aa73073d2fc2b15270373483.jpg","text":"TemporaryFile(/tmp/multipartBody7143020642262230305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262743151,"filename":"image_16112025_04_11_18_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9281ef4f72ad4e5e4aa1a32b7a7ccc85.jpg","text":"TemporaryFile(/tmp/multipartBody2904136974174019831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262743151,"filename":"image_16112025_04_11_09_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715002","file1":"1394715001","file0":"1394715000","file4":"1394715004","file5":"1394715006","file3":"1394715003"},"map_files_photo_id_array":[{"photo_id":"1394715006","filename":"file5"},{"photo_id":"1394715002","filename":"file2"},{"photo_id":"1394715004","filename":"file4"},{"photo_id":"1394715001","filename":"file1"},{"photo_id":"1394715000","filename":"file0"},{"photo_id":"1394715003","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715000":["hashtag1","hashtag2"]},{"1394715003":["hashtag1","hashtag2"]},{"1394715006":["hashtag1","hashtag2"]},{"1394715002":["hashtag1","hashtag2"]},{"1394715004":["hashtag1","hashtag2"]},{"1394715001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715000, 1394715003, 1394715006, 1394715002, 1394715004, 1394715001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10886216163635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:12:03.125131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_43_3592.jpg', '/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_45_2713.jpg', '/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_54_2672.jpg', '/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_57_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_43_3592.jpg
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_45_2713.jpg
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_54_2672.jpg
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_11_57_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715014","1394715017","1394715016","1394715013"],"photo_ids_order":["1394715013","1394715014","1394715016","1394715017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b28dcfa1166acd1517e9599499e440e5.jpg","text":"TemporaryFile(/tmp/multipartBody1542598270072847954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262783785,"filename":"image_16112025_04_11_45_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6011a8815ca28d1c6e4bff6509b06d4.jpg","text":"TemporaryFile(/tmp/multipartBody5197982645953344516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262783785,"filename":"image_16112025_04_11_57_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24f16191f7b700f4222bae83aaa1c66b.jpg","text":"TemporaryFile(/tmp/multipartBody3915754689746096787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262783785,"filename":"image_16112025_04_11_54_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e60c20e94a46fd2f4648ed5dd80c13e.jpg","text":"TemporaryFile(/tmp/multipartBody4895851005703496507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262783785,"filename":"image_16112025_04_11_43_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715016","file1":"1394715014","file0":"1394715013","file3":"1394715017"},"map_files_photo_id_array":[{"photo_id":"1394715016","filename":"file2"},{"photo_id":"1394715014","filename":"file1"},{"photo_id":"1394715013","filename":"file0"},{"photo_id":"1394715017","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715014":["hashtag1","hashtag2"]},{"1394715017":["hashtag1","hashtag2"]},{"1394715016":["hashtag1","hashtag2"]},{"1394715013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715014, 1394715017, 1394715016, 1394715013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.852309226989746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:12:42.686686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/11/image_16112025_04_12_01_3590.jpg', '/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_03_2840.jpg', '/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_06_2644.jpg', '/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_15_2656.jpg', '/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_18_2657.jpg', '/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_38_7673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/11/image_16112025_04_12_01_3590.jpg
/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_03_2840.jpg
/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_06_2644.jpg
/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_15_2656.jpg
/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_18_2657.jpg
/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_38_7673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715036","1394715032","1394715026","1394715034","1394715028","1394715030"],"photo_ids_order":["1394715026","1394715028","1394715030","1394715032","1394715034","1394715036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65f4047deed1c00e2005204ad7fb830b.jpg","text":"TemporaryFile(/tmp/multipartBody6195608656780219787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262823383,"filename":"image_16112025_04_12_38_7673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77cb5ad8d85364094210a13d809dc74f.jpg","text":"TemporaryFile(/tmp/multipartBody8316709575855965491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262823383,"filename":"image_16112025_04_12_15_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3b1a9da676add80f4ba52e8e0591e17.jpg","text":"TemporaryFile(/tmp/multipartBody2242223934142992294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262823383,"filename":"image_16112025_04_12_01_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4580e4f28b7a629f0d6a4ba4a2a3f61c.jpg","text":"TemporaryFile(/tmp/multipartBody7158916599608255513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262823383,"filename":"image_16112025_04_12_18_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b46de2a6518aa457af1e816f0c070e8.jpg","text":"TemporaryFile(/tmp/multipartBody1640078552240103814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262823383,"filename":"image_16112025_04_12_03_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7e3d18b74e880efc0ebc9bc848bc140.jpg","text":"TemporaryFile(/tmp/multipartBody5041213031905194413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262823383,"filename":"image_16112025_04_12_06_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715030","file1":"1394715028","file0":"1394715026","file4":"1394715034","file5":"1394715036","file3":"1394715032"},"map_files_photo_id_array":[{"photo_id":"1394715036","filename":"file5"},{"photo_id":"1394715030","filename":"file2"},{"photo_id":"1394715034","filename":"file4"},{"photo_id":"1394715028","filename":"file1"},{"photo_id":"1394715026","filename":"file0"},{"photo_id":"1394715032","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715036":["hashtag1","hashtag2"]},{"1394715032":["hashtag1","hashtag2"]},{"1394715026":["hashtag1","hashtag2"]},{"1394715034":["hashtag1","hashtag2"]},{"1394715028":["hashtag1","hashtag2"]},{"1394715030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715036, 1394715032, 1394715026, 1394715034, 1394715028, 1394715030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41971731185913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:13:21.999758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_45_1734.jpg', '/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_51_3611.jpg', '/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_54_2757.jpg', '/home/pi/Desktop/images/16112025/04/13/image_16112025_04_13_16_3798.jpg', '/home/pi/Desktop/images/16112025/04/13/image_16112025_04_13_45_2943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_45_1734.jpg
/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_51_3611.jpg
/home/pi/Desktop/images/16112025/04/12/image_16112025_04_12_54_2757.jpg
/home/pi/Desktop/images/16112025/04/13/image_16112025_04_13_16_3798.jpg
/home/pi/Desktop/images/16112025/04/13/image_16112025_04_13_45_2943.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715042","1394715041","1394715044","1394715043","1394715039"],"photo_ids_order":["1394715039","1394715041","1394715042","1394715043","1394715044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa003fb74ce50e2a6bf5640595bd7518.jpg","text":"TemporaryFile(/tmp/multipartBody8577834583710535150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262862699,"filename":"image_16112025_04_12_54_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b515e105e06d587f23c5f0fe771d4aec.jpg","text":"TemporaryFile(/tmp/multipartBody6708013580975047186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262862699,"filename":"image_16112025_04_12_51_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd349c7384d231e17b55c3598de0ceed.jpg","text":"TemporaryFile(/tmp/multipartBody3129482429247159271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262862699,"filename":"image_16112025_04_13_45_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb60205f54a0dd7fc27dbbc52b863ea2.jpg","text":"TemporaryFile(/tmp/multipartBody1365101477256365743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262862699,"filename":"image_16112025_04_13_16_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8aa6fc1c3d8194163d12f52126d6c76e.jpg","text":"TemporaryFile(/tmp/multipartBody5270270639328682871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262862699,"filename":"image_16112025_04_12_45_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715042","file1":"1394715041","file0":"1394715039","file4":"1394715044","file3":"1394715043"},"map_files_photo_id_array":[{"photo_id":"1394715042","filename":"file2"},{"photo_id":"1394715044","filename":"file4"},{"photo_id":"1394715041","filename":"file1"},{"photo_id":"1394715039","filename":"file0"},{"photo_id":"1394715043","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715042":["hashtag1","hashtag2"]},{"1394715041":["hashtag1","hashtag2"]},{"1394715044":["hashtag1","hashtag2"]},{"1394715043":["hashtag1","hashtag2"]},{"1394715039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715042, 1394715041, 1394715044, 1394715043, 1394715039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.923995971679688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:14:03.006049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:14:22.161348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/13/image_16112025_04_13_51_2678.jpg', '/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_15_2654.jpg', '/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_21_3625.jpg', '/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_27_2624.jpg', '/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_36_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/13/image_16112025_04_13_51_2678.jpg
/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_15_2654.jpg
/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_21_3625.jpg
/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_27_2624.jpg
/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_36_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715054","1394715056","1394715059","1394715061","1394715063"],"photo_ids_order":["1394715054","1394715056","1394715059","1394715061","1394715063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69f8b04cc47b73f10bdbfae3af742881.jpg","text":"TemporaryFile(/tmp/multipartBody5633270543260112531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262922806,"filename":"image_16112025_04_13_51_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9399c068411aad3b1cb60eb9fb9c30fe.jpg","text":"TemporaryFile(/tmp/multipartBody2751054982970879899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262922806,"filename":"image_16112025_04_14_15_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b1e2292376faed6c15a8bbec673a78a.jpg","text":"TemporaryFile(/tmp/multipartBody4125701242645843890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262922806,"filename":"image_16112025_04_14_21_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4816cd71a553708c41547332c5bcf0f.jpg","text":"TemporaryFile(/tmp/multipartBody8871416614676281012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262922806,"filename":"image_16112025_04_14_27_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d56aa17e109b5c3c11f04b99f00f00d.jpg","text":"TemporaryFile(/tmp/multipartBody811508284017849361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262922806,"filename":"image_16112025_04_14_36_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715059","file1":"1394715056","file0":"1394715054","file4":"1394715063","file3":"1394715061"},"map_files_photo_id_array":[{"photo_id":"1394715059","filename":"file2"},{"photo_id":"1394715063","filename":"file4"},{"photo_id":"1394715056","filename":"file1"},{"photo_id":"1394715054","filename":"file0"},{"photo_id":"1394715061","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715054":["hashtag1","hashtag2"]},{"1394715056":["hashtag1","hashtag2"]},{"1394715059":["hashtag1","hashtag2"]},{"1394715061":["hashtag1","hashtag2"]},{"1394715063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715054, 1394715056, 1394715059, 1394715061, 1394715063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.67351460456848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:15:03.061300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:15:25.138316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_39_3699.jpg', '/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_18_3566.jpg', '/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_21_2760.jpg', '/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_24_2677.jpg', '/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_27_2723.jpg', '/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_30_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/14/image_16112025_04_14_39_3699.jpg
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_18_3566.jpg
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_21_2760.jpg
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_24_2677.jpg
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_27_2723.jpg
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_30_3642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715074","1394715077","1394715082","1394715085","1394715079","1394715078"],"photo_ids_order":["1394715074","1394715077","1394715078","1394715079","1394715082","1394715085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1780c0e51caf67960405e83563f97e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3540686227124739948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262985855,"filename":"image_16112025_04_14_39_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9b12ffa9e4e5719d9b2eb6f5c103cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4613673693383989713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262985855,"filename":"image_16112025_04_15_18_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcd306f209230868bebc78a3843b500d.jpg","text":"TemporaryFile(/tmp/multipartBody3251654677911857183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262985855,"filename":"image_16112025_04_15_27_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/839ba101e2e3f72bcaf0bbd8c57158c3.jpg","text":"TemporaryFile(/tmp/multipartBody2036936304310816600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262985855,"filename":"image_16112025_04_15_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/11/16/226e700cf525edca4841905f30668c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1756845917008192469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262985855,"filename":"image_16112025_04_15_24_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25baf0924d455f9149f4f2aef7859f27.jpg","text":"TemporaryFile(/tmp/multipartBody3236986523419917688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763262985855,"filename":"image_16112025_04_15_21_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715078","file1":"1394715077","file0":"1394715074","file4":"1394715082","file5":"1394715085","file3":"1394715079"},"map_files_photo_id_array":[{"photo_id":"1394715085","filename":"file5"},{"photo_id":"1394715078","filename":"file2"},{"photo_id":"1394715082","filename":"file4"},{"photo_id":"1394715077","filename":"file1"},{"photo_id":"1394715074","filename":"file0"},{"photo_id":"1394715079","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715074":["hashtag1","hashtag2"]},{"1394715077":["hashtag1","hashtag2"]},{"1394715082":["hashtag1","hashtag2"]},{"1394715085":["hashtag1","hashtag2"]},{"1394715079":["hashtag1","hashtag2"]},{"1394715078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715074, 1394715077, 1394715082, 1394715085, 1394715079, 1394715078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71605086326599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:16:03.134594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_33_2613.jpg', '/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_36_2811.jpg', '/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_45_2557.jpg', '/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_49_4408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_33_2613.jpg
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_36_2811.jpg
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_45_2557.jpg
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_15_49_4408.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715091","1394715094","1394715093","1394715090"],"photo_ids_order":["1394715090","1394715091","1394715093","1394715094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e97aed2892484f86d836b292bf20646.jpg","text":"TemporaryFile(/tmp/multipartBody7434358168424382088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263023790,"filename":"image_16112025_04_15_36_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80fcde05bc6541bf57bf74a998fa39ed.jpg","text":"TemporaryFile(/tmp/multipartBody6374051079372889010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263023790,"filename":"image_16112025_04_15_49_4408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b76edc3d1a36817bc55e0cd0dd302502.jpg","text":"TemporaryFile(/tmp/multipartBody8633096580627141244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263023790,"filename":"image_16112025_04_15_45_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e196846d9f9e5ffc1a095eefd77a25bd.jpg","text":"TemporaryFile(/tmp/multipartBody7686847641622216113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263023790,"filename":"image_16112025_04_15_33_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715093","file1":"1394715091","file0":"1394715090","file3":"1394715094"},"map_files_photo_id_array":[{"photo_id":"1394715093","filename":"file2"},{"photo_id":"1394715091","filename":"file1"},{"photo_id":"1394715090","filename":"file0"},{"photo_id":"1394715094","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715091":["hashtag1","hashtag2"]},{"1394715094":["hashtag1","hashtag2"]},{"1394715093":["hashtag1","hashtag2"]},{"1394715090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715091, 1394715094, 1394715093, 1394715090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.895172357559204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:16:42.511846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/15/image_16112025_04_16_00_2680.jpg', '/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_02_2848.jpg', '/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_06_3625.jpg', '/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_09_2625.jpg', '/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_11_2783.jpg', '/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_25_4325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/15/image_16112025_04_16_00_2680.jpg
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_02_2848.jpg
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_06_3625.jpg
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_09_2625.jpg
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_11_2783.jpg
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_25_4325.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715102","1394715104","1394715107","1394715101","1394715109","1394715112"],"photo_ids_order":["1394715101","1394715102","1394715104","1394715107","1394715109","1394715112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fd70ac2aa0db735966ec573683226aa.jpg","text":"TemporaryFile(/tmp/multipartBody7464607601275100666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263063200,"filename":"image_16112025_04_16_02_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46296a0511caf2f7ce004244a53b07f9.jpg","text":"TemporaryFile(/tmp/multipartBody3872349413391146707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263063200,"filename":"image_16112025_04_16_06_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2565a06cf55cfab3be27bc39dc53da29.jpg","text":"TemporaryFile(/tmp/multipartBody5130426867664690126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263063200,"filename":"image_16112025_04_16_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/11/16/e8fe1dcf96d103f041a109bb0f5caa4e.jpg","text":"TemporaryFile(/tmp/multipartBody7276343921244574186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263063200,"filename":"image_16112025_04_16_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/11/16/d04c0bcf8b3f27760b9b3abfcdad4e5f.jpg","text":"TemporaryFile(/tmp/multipartBody9142093149192138868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263063200,"filename":"image_16112025_04_16_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/11/16/ce10a6542be245bcbe074065aa0ee195.jpg","text":"TemporaryFile(/tmp/multipartBody6857831832947410358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263063200,"filename":"image_16112025_04_16_25_4325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715104","file1":"1394715102","file0":"1394715101","file4":"1394715109","file5":"1394715112","file3":"1394715107"},"map_files_photo_id_array":[{"photo_id":"1394715112","filename":"file5"},{"photo_id":"1394715104","filename":"file2"},{"photo_id":"1394715109","filename":"file4"},{"photo_id":"1394715102","filename":"file1"},{"photo_id":"1394715101","filename":"file0"},{"photo_id":"1394715107","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715102":["hashtag1","hashtag2"]},{"1394715104":["hashtag1","hashtag2"]},{"1394715107":["hashtag1","hashtag2"]},{"1394715101":["hashtag1","hashtag2"]},{"1394715109":["hashtag1","hashtag2"]},{"1394715112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715102, 1394715104, 1394715107, 1394715101, 1394715109, 1394715112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.770904302597046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:17:25.101855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_27_1672.jpg', '/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_29_2652.jpg', '/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_33_3605.jpg', '/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_56_2662.jpg', '/home/pi/Desktop/images/16112025/04/17/image_16112025_04_17_03_2664.jpg', '/home/pi/Desktop/images/16112025/04/17/image_16112025_04_17_11_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_27_1672.jpg
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_29_2652.jpg
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_33_3605.jpg
/home/pi/Desktop/images/16112025/04/16/image_16112025_04_16_56_2662.jpg
/home/pi/Desktop/images/16112025/04/17/image_16112025_04_17_03_2664.jpg
/home/pi/Desktop/images/16112025/04/17/image_16112025_04_17_11_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715126","1394715129","1394715122","1394715125","1394715121","1394715124"],"photo_ids_order":["1394715121","1394715122","1394715124","1394715125","1394715126","1394715129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0e2314a39127bcfed5e4f09fcbd7ce4.jpg","text":"TemporaryFile(/tmp/multipartBody8685604808442135658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263105821,"filename":"image_16112025_04_17_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/11/16/3c081bd77ba40d50956ca9b38845ecdf.jpg","text":"TemporaryFile(/tmp/multipartBody5992614166600288341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263105821,"filename":"image_16112025_04_17_11_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a04ef91a3bb97e45168c0854b7a3a514.jpg","text":"TemporaryFile(/tmp/multipartBody8095270739403968817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263105821,"filename":"image_16112025_04_16_29_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b0718d20ebc965a4b290d1a09e7fba3.jpg","text":"TemporaryFile(/tmp/multipartBody7951835176937121409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263105821,"filename":"image_16112025_04_16_56_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bccfaeaf9f7ccacd4d96926fe800f97e.jpg","text":"TemporaryFile(/tmp/multipartBody4868964335658682033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263105821,"filename":"image_16112025_04_16_27_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/440f8c5523cf53f250eede680e9f1b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6946062532909596550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263105821,"filename":"image_16112025_04_16_33_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715124","file1":"1394715122","file0":"1394715121","file4":"1394715126","file5":"1394715129","file3":"1394715125"},"map_files_photo_id_array":[{"photo_id":"1394715129","filename":"file5"},{"photo_id":"1394715124","filename":"file2"},{"photo_id":"1394715126","filename":"file4"},{"photo_id":"1394715122","filename":"file1"},{"photo_id":"1394715121","filename":"file0"},{"photo_id":"1394715125","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715126":["hashtag1","hashtag2"]},{"1394715129":["hashtag1","hashtag2"]},{"1394715122":["hashtag1","hashtag2"]},{"1394715125":["hashtag1","hashtag2"]},{"1394715121":["hashtag1","hashtag2"]},{"1394715124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715126, 1394715129, 1394715122, 1394715125, 1394715121, 1394715124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46090126037598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:18:02.367213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/17/image_16112025_04_17_14_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/17/image_16112025_04_17_14_2759.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715133"],"photo_id":"1394715133","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d27b519f7a02f9343507696819aa0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1179365321781891904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263142879,"filename":"image_16112025_04_17_14_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394715133"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394715133"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.67706537246704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:18:21.966460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/17/image_16112025_04_17_30_2664.jpg', '/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_06_3897.jpg', '/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_09_2675.jpg', '/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_15_3582.jpg', '/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_29_2621.jpg', '/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_41_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/17/image_16112025_04_17_30_2664.jpg
/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_06_3897.jpg
/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_09_2675.jpg
/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_15_3582.jpg
/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_29_2621.jpg
/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_41_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715140","1394715143","1394715146","1394715142","1394715144","1394715138"],"photo_ids_order":["1394715138","1394715140","1394715142","1394715143","1394715144","1394715146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/825a616f61975647949c32c3a8629cd1.jpg","text":"TemporaryFile(/tmp/multipartBody4691063764130876901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263162688,"filename":"image_16112025_04_18_06_3897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c8e92ba209bbd0931c9d14f2bf6329c.jpg","text":"TemporaryFile(/tmp/multipartBody8521104760425176916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263162688,"filename":"image_16112025_04_18_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/11/16/f55a0416344a292794a0a18e9aff6941.jpg","text":"TemporaryFile(/tmp/multipartBody875677877777172583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263162688,"filename":"image_16112025_04_18_41_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc1e091a033d77f15b68ae04b0c4d216.jpg","text":"TemporaryFile(/tmp/multipartBody8505679704726153854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263162688,"filename":"image_16112025_04_18_09_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95ba5e859f8f66aa34d23c1cd0ef4a01.jpg","text":"TemporaryFile(/tmp/multipartBody7125147911622261602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263162688,"filename":"image_16112025_04_18_29_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a407cce1ab2d45768b23a9c5bc81714.jpg","text":"TemporaryFile(/tmp/multipartBody5314002458401654205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263162688,"filename":"image_16112025_04_17_30_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715142","file1":"1394715140","file0":"1394715138","file4":"1394715144","file5":"1394715146","file3":"1394715143"},"map_files_photo_id_array":[{"photo_id":"1394715146","filename":"file5"},{"photo_id":"1394715142","filename":"file2"},{"photo_id":"1394715144","filename":"file4"},{"photo_id":"1394715140","filename":"file1"},{"photo_id":"1394715138","filename":"file0"},{"photo_id":"1394715143","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715140":["hashtag1","hashtag2"]},{"1394715143":["hashtag1","hashtag2"]},{"1394715146":["hashtag1","hashtag2"]},{"1394715142":["hashtag1","hashtag2"]},{"1394715144":["hashtag1","hashtag2"]},{"1394715138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715140, 1394715143, 1394715146, 1394715142, 1394715144, 1394715138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.178690671920776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:19:03.307569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_46_4775.jpg', '/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_54_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_46_4775.jpg
/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_54_3686.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715153","1394715152"],"photo_ids_order":["1394715152","1394715153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/deb4f537a742f8092791540c8f2580a8.jpg","text":"TemporaryFile(/tmp/multipartBody4105567090158221743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263204049,"filename":"image_16112025_04_18_54_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4551877fdbaeaa8c791321d6ef656db.jpg","text":"TemporaryFile(/tmp/multipartBody4324017823694798808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263204049,"filename":"image_16112025_04_18_46_4775.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394715153","file0":"1394715152"},"map_files_photo_id_array":[{"photo_id":"1394715153","filename":"file1"},{"photo_id":"1394715152","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715153":["hashtag1","hashtag2"]},{"1394715152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715153, 1394715152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.08042001724243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:19:22.187545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_56_2579.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_05_2689.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_12_3712.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_15_3073.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_18_2613.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_21_3072.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/18/image_16112025_04_18_56_2579.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_05_2689.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_12_3712.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_15_3073.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_18_2613.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_21_3072.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715158","1394715163","1394715160","1394715162","1394715156","1394715165"],"photo_ids_order":["1394715156","1394715158","1394715160","1394715162","1394715163","1394715165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82c0ef1ff737c8918a01bf36e0ab5f23.jpg","text":"TemporaryFile(/tmp/multipartBody3109009120742338695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263222878,"filename":"image_16112025_04_19_05_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12fd1ad2072e4885242306971379abe8.jpg","text":"TemporaryFile(/tmp/multipartBody227985443033593250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263222878,"filename":"image_16112025_04_19_18_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8155782dfc36db5029980f7a729f4d7.jpg","text":"TemporaryFile(/tmp/multipartBody7975763929734960120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263222878,"filename":"image_16112025_04_19_12_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5dac2157344d36df418e4ae58f83bd1.jpg","text":"TemporaryFile(/tmp/multipartBody6953068822434664031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263222878,"filename":"image_16112025_04_19_15_3073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5eedd2801c918584d82b7ec2f8160451.jpg","text":"TemporaryFile(/tmp/multipartBody180755080208403122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263222878,"filename":"image_16112025_04_18_56_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79934fd1a31f85ed9f6ec12dd8b1cfbf.jpg","text":"TemporaryFile(/tmp/multipartBody4059417706999534371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263222878,"filename":"image_16112025_04_19_21_3072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715160","file1":"1394715158","file0":"1394715156","file4":"1394715163","file5":"1394715165","file3":"1394715162"},"map_files_photo_id_array":[{"photo_id":"1394715165","filename":"file5"},{"photo_id":"1394715160","filename":"file2"},{"photo_id":"1394715163","filename":"file4"},{"photo_id":"1394715158","filename":"file1"},{"photo_id":"1394715156","filename":"file0"},{"photo_id":"1394715162","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715158":["hashtag1","hashtag2"]},{"1394715163":["hashtag1","hashtag2"]},{"1394715160":["hashtag1","hashtag2"]},{"1394715162":["hashtag1","hashtag2"]},{"1394715156":["hashtag1","hashtag2"]},{"1394715165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715158, 1394715163, 1394715160, 1394715162, 1394715156, 1394715165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63940954208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:20:02.861673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_23_2665.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_26_2696.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_30_3697.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_32_2604.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_35_2693.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_39_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_23_2665.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_26_2696.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_30_3697.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_32_2604.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_35_2693.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_39_3749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715179","1394715176","1394715181","1394715172","1394715174","1394715171"],"photo_ids_order":["1394715171","1394715172","1394715174","1394715176","1394715179","1394715181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5eadeceec38d3c68ebc01e702ca970d6.jpg","text":"TemporaryFile(/tmp/multipartBody7727726439193252330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263263628,"filename":"image_16112025_04_19_35_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b87763c81690ff50379efc30cccbbb3.jpg","text":"TemporaryFile(/tmp/multipartBody6825667753920865265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263263628,"filename":"image_16112025_04_19_32_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4581164c0d97a60db294471e4eaaa28b.jpg","text":"TemporaryFile(/tmp/multipartBody1483317887879465726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263263628,"filename":"image_16112025_04_19_39_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/607ddf8bb629a02db2fbc91e0a28919e.jpg","text":"TemporaryFile(/tmp/multipartBody7140141747464032620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263263628,"filename":"image_16112025_04_19_26_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88a23acc0a646494f9e8981a9c71893e.jpg","text":"TemporaryFile(/tmp/multipartBody9026249174729416296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263263628,"filename":"image_16112025_04_19_30_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8569b486b54dc21aaaad668d910d37c.jpg","text":"TemporaryFile(/tmp/multipartBody954096408445955592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263263628,"filename":"image_16112025_04_19_23_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715174","file1":"1394715172","file0":"1394715171","file4":"1394715179","file5":"1394715181","file3":"1394715176"},"map_files_photo_id_array":[{"photo_id":"1394715181","filename":"file5"},{"photo_id":"1394715174","filename":"file2"},{"photo_id":"1394715179","filename":"file4"},{"photo_id":"1394715172","filename":"file1"},{"photo_id":"1394715171","filename":"file0"},{"photo_id":"1394715176","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715179":["hashtag1","hashtag2"]},{"1394715176":["hashtag1","hashtag2"]},{"1394715181":["hashtag1","hashtag2"]},{"1394715172":["hashtag1","hashtag2"]},{"1394715174":["hashtag1","hashtag2"]},{"1394715171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715179, 1394715176, 1394715181, 1394715172, 1394715174, 1394715171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.828593730926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:20:42.351185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_44_2840.jpg', '/home/pi/Desktop/images/16112025/04/19/image_16112025_04_20_00_3685.jpg', '/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_05_2798.jpg', '/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_09_3654.jpg', '/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_11_2586.jpg', '/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_23_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_19_44_2840.jpg
/home/pi/Desktop/images/16112025/04/19/image_16112025_04_20_00_3685.jpg
/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_05_2798.jpg
/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_09_3654.jpg
/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_11_2586.jpg
/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_23_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715197","1394715201","1394715188","1394715190","1394715193","1394715195"],"photo_ids_order":["1394715188","1394715190","1394715193","1394715195","1394715197","1394715201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11c3ad222ce33384667c7892ce38b7f5.jpg","text":"TemporaryFile(/tmp/multipartBody3893467042850504641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263303092,"filename":"image_16112025_04_20_11_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e822465ac0b851efa5eca4c8d51163d7.jpg","text":"TemporaryFile(/tmp/multipartBody3315508676502020038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263303092,"filename":"image_16112025_04_20_23_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2db91cee6527a0cc53b2b529e489622e.jpg","text":"TemporaryFile(/tmp/multipartBody8923102832857940427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263303092,"filename":"image_16112025_04_19_44_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/924cdb84408bc8e8c8b5888da947fe41.jpg","text":"TemporaryFile(/tmp/multipartBody3936866361984367636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263303092,"filename":"image_16112025_04_20_00_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09b2de8a353b4f79b36eafcaaa7bdc87.jpg","text":"TemporaryFile(/tmp/multipartBody2936998113901804279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263303092,"filename":"image_16112025_04_20_05_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4737a79698d7e79b57cd776a0d9416d.jpg","text":"TemporaryFile(/tmp/multipartBody1513773228405679188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263303092,"filename":"image_16112025_04_20_09_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715193","file1":"1394715190","file0":"1394715188","file4":"1394715197","file5":"1394715201","file3":"1394715195"},"map_files_photo_id_array":[{"photo_id":"1394715201","filename":"file5"},{"photo_id":"1394715193","filename":"file2"},{"photo_id":"1394715197","filename":"file4"},{"photo_id":"1394715190","filename":"file1"},{"photo_id":"1394715188","filename":"file0"},{"photo_id":"1394715195","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715197":["hashtag1","hashtag2"]},{"1394715201":["hashtag1","hashtag2"]},{"1394715188":["hashtag1","hashtag2"]},{"1394715190":["hashtag1","hashtag2"]},{"1394715193":["hashtag1","hashtag2"]},{"1394715195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715197, 1394715201, 1394715188, 1394715190, 1394715193, 1394715195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35272836685181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:21:22.544721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_32_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_32_2641.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715205"],"photo_id":"1394715205","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8ae2fde695a6454292539837c60bcfd.jpg","text":"TemporaryFile(/tmp/multipartBody4999799832510488363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263343085,"filename":"image_16112025_04_20_32_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394715205"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394715205"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.70436692237854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:21:42.574319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:22:02.207295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:22:21.830755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_39_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_39_2720.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.4450697898864746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:22:41.849121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_39_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/20/image_16112025_04_20_39_2720.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715226"],"photo_id":"1394715226","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82ae1c103fb2f78eae460484690ff2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6139168587039068718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263422337,"filename":"image_16112025_04_20_39_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394715226"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394715226"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.641680717468262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:23:02.868294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:23:22.022372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/22/image_16112025_04_22_56_2537.jpg', '/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_03_3787.jpg', '/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_05_2596.jpg', '/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_14_2529.jpg', '/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_24_3865.jpg', '/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_29_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/22/image_16112025_04_22_56_2537.jpg
/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_03_3787.jpg
/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_05_2596.jpg
/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_14_2529.jpg
/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_24_3865.jpg
/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_29_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715246","1394715242","1394715239","1394715235","1394715243","1394715237"],"photo_ids_order":["1394715235","1394715237","1394715239","1394715242","1394715243","1394715246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98ac98de3961d2a21bffbe933ca6785d.jpg","text":"TemporaryFile(/tmp/multipartBody7676770444502335918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263462707,"filename":"image_16112025_04_23_29_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e3422e2d4a82a15a262041bf0fd2e1e.jpg","text":"TemporaryFile(/tmp/multipartBody2562492196203730399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263462707,"filename":"image_16112025_04_23_14_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a864ecb6724573f6b4ca43103e8c98e4.jpg","text":"TemporaryFile(/tmp/multipartBody674776197457749984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263462707,"filename":"image_16112025_04_23_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/11/16/37fd171519d51205bff3f7e4ad157bce.jpg","text":"TemporaryFile(/tmp/multipartBody4778408113372004997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263462707,"filename":"image_16112025_04_22_56_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d86851b779e3340bd474cb104c0deec.jpg","text":"TemporaryFile(/tmp/multipartBody3609160747276707721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263462707,"filename":"image_16112025_04_23_24_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97049510fd288510352264813d81ed83.jpg","text":"TemporaryFile(/tmp/multipartBody8255830489378160401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263462707,"filename":"image_16112025_04_23_03_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715239","file1":"1394715237","file0":"1394715235","file4":"1394715243","file5":"1394715246","file3":"1394715242"},"map_files_photo_id_array":[{"photo_id":"1394715246","filename":"file5"},{"photo_id":"1394715239","filename":"file2"},{"photo_id":"1394715243","filename":"file4"},{"photo_id":"1394715237","filename":"file1"},{"photo_id":"1394715235","filename":"file0"},{"photo_id":"1394715242","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715246":["hashtag1","hashtag2"]},{"1394715242":["hashtag1","hashtag2"]},{"1394715239":["hashtag1","hashtag2"]},{"1394715235":["hashtag1","hashtag2"]},{"1394715243":["hashtag1","hashtag2"]},{"1394715237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715246, 1394715242, 1394715239, 1394715235, 1394715243, 1394715237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49846410751343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:24:02.891577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_50_3743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_50_3743.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715254"],"photo_id":"1394715254","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e68a3c338f884d316cceabf1c4a18691.jpg","text":"TemporaryFile(/tmp/multipartBody8340489201325874640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263503421,"filename":"image_16112025_04_23_50_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394715254"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394715254"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.176998138427734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:24:22.361081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_53_2626.jpg', '/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_02_2712.jpg', '/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_08_2724.jpg', '/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_14_2932.jpg', '/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_17_2717.jpg', '/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_29_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/23/image_16112025_04_23_53_2626.jpg
/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_02_2712.jpg
/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_08_2724.jpg
/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_14_2932.jpg
/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_17_2717.jpg
/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_29_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715263","1394715265","1394715267","1394715261","1394715264","1394715258"],"photo_ids_order":["1394715258","1394715261","1394715263","1394715264","1394715265","1394715267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d80f21d69e37dbe460ad3b785e91e9c.jpg","text":"TemporaryFile(/tmp/multipartBody3798410859150247085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263523055,"filename":"image_16112025_04_24_08_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92933386d53b538f5fb6d3bdb81b8f62.jpg","text":"TemporaryFile(/tmp/multipartBody1621105589597417409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263523055,"filename":"image_16112025_04_24_17_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/693715ecbd47bb60359c58da50535791.jpg","text":"TemporaryFile(/tmp/multipartBody6472743579252606011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263523055,"filename":"image_16112025_04_24_29_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4adf5d5c96d2c97fd00eb15d08f1f585.jpg","text":"TemporaryFile(/tmp/multipartBody8863521973299414210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263523055,"filename":"image_16112025_04_24_02_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1158f99ae5723d0d3369ec14817020d.jpg","text":"TemporaryFile(/tmp/multipartBody8758891782074524275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263523055,"filename":"image_16112025_04_24_14_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5189bf43a9ac2ed8c666095abe85c465.jpg","text":"TemporaryFile(/tmp/multipartBody6558686473949295831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263523055,"filename":"image_16112025_04_23_53_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715263","file1":"1394715261","file0":"1394715258","file4":"1394715265","file5":"1394715267","file3":"1394715264"},"map_files_photo_id_array":[{"photo_id":"1394715267","filename":"file5"},{"photo_id":"1394715263","filename":"file2"},{"photo_id":"1394715265","filename":"file4"},{"photo_id":"1394715261","filename":"file1"},{"photo_id":"1394715258","filename":"file0"},{"photo_id":"1394715264","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715263":["hashtag1","hashtag2"]},{"1394715265":["hashtag1","hashtag2"]},{"1394715267":["hashtag1","hashtag2"]},{"1394715261":["hashtag1","hashtag2"]},{"1394715264":["hashtag1","hashtag2"]},{"1394715258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715263, 1394715265, 1394715267, 1394715261, 1394715264, 1394715258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65563654899597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:25:03.357947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_31_2700.jpg', '/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_41_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_31_2700.jpg
/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_41_3800.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715274","1394715273"],"photo_ids_order":["1394715273","1394715274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25bb94dd2b118c2956ad1bd7eda01264.jpg","text":"TemporaryFile(/tmp/multipartBody3725408487120787896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263563951,"filename":"image_16112025_04_24_41_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e40d42fc3ed8b18fad6774d89b540508.jpg","text":"TemporaryFile(/tmp/multipartBody3727620902805790225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263563951,"filename":"image_16112025_04_24_31_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394715274","file0":"1394715273"},"map_files_photo_id_array":[{"photo_id":"1394715274","filename":"file1"},{"photo_id":"1394715273","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715274":["hashtag1","hashtag2"]},{"1394715273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715274, 1394715273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.109171152114868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:25:22.437688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_53_3636.jpg', '/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_02_3647.jpg', '/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_05_2564.jpg', '/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_20_3594.jpg', '/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_23_2586.jpg', '/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_32_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/24/image_16112025_04_24_53_3636.jpg
/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_02_3647.jpg
/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_05_2564.jpg
/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_20_3594.jpg
/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_23_2586.jpg
/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_32_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715284","1394715283","1394715286","1394715285","1394715282","1394715279"],"photo_ids_order":["1394715279","1394715282","1394715283","1394715284","1394715285","1394715286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35bf99c3367c447bd55407e7590740cd.jpg","text":"TemporaryFile(/tmp/multipartBody6127518123024533125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263583177,"filename":"image_16112025_04_25_20_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a1d2ca595cdffe83230ef45ae0d8ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3071736237935140195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263583177,"filename":"image_16112025_04_25_05_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aba3aee8bc7f79a529ad78a48b2891b1.jpg","text":"TemporaryFile(/tmp/multipartBody9156175699660229971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263583177,"filename":"image_16112025_04_25_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/11/16/e111eb6d08eb027388b38f023c31c630.jpg","text":"TemporaryFile(/tmp/multipartBody8143804553525112730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263583177,"filename":"image_16112025_04_25_23_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8665d36155f117ad2c3265fd1a541d7.jpg","text":"TemporaryFile(/tmp/multipartBody1815897466638917254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263583177,"filename":"image_16112025_04_25_02_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d333e0a49ca70fad2a6317e3193fb8f.jpg","text":"TemporaryFile(/tmp/multipartBody2424787397054708129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263583177,"filename":"image_16112025_04_24_53_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715283","file1":"1394715282","file0":"1394715279","file4":"1394715285","file5":"1394715286","file3":"1394715284"},"map_files_photo_id_array":[{"photo_id":"1394715286","filename":"file5"},{"photo_id":"1394715283","filename":"file2"},{"photo_id":"1394715285","filename":"file4"},{"photo_id":"1394715282","filename":"file1"},{"photo_id":"1394715279","filename":"file0"},{"photo_id":"1394715284","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715284":["hashtag1","hashtag2"]},{"1394715283":["hashtag1","hashtag2"]},{"1394715286":["hashtag1","hashtag2"]},{"1394715285":["hashtag1","hashtag2"]},{"1394715282":["hashtag1","hashtag2"]},{"1394715279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715284, 1394715283, 1394715286, 1394715285, 1394715282, 1394715279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27931022644043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:26:03.371752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_38_3520.jpg', '/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_44_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_38_3520.jpg
/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_44_2621.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715296","1394715292"],"photo_ids_order":["1394715292","1394715296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4c768c89158f7a486f49620ec9e460a.jpg","text":"TemporaryFile(/tmp/multipartBody4978105899749257751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263623939,"filename":"image_16112025_04_25_44_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b006ddb0137d4cab6dc0b0dca7df86ef.jpg","text":"TemporaryFile(/tmp/multipartBody5161549063497259794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263623939,"filename":"image_16112025_04_25_38_3520.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394715296","file0":"1394715292"},"map_files_photo_id_array":[{"photo_id":"1394715296","filename":"file1"},{"photo_id":"1394715292","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715296":["hashtag1","hashtag2"]},{"1394715292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715296, 1394715292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.919606685638428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:26:22.877842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_47_3602.jpg', '/home/pi/Desktop/images/16112025/04/26/image_16112025_04_26_11_2723.jpg', '/home/pi/Desktop/images/16112025/04/26/image_16112025_04_26_14_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/25/image_16112025_04_25_47_3602.jpg
/home/pi/Desktop/images/16112025/04/26/image_16112025_04_26_11_2723.jpg
/home/pi/Desktop/images/16112025/04/26/image_16112025_04_26_14_2837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715306","1394715303","1394715308"],"photo_ids_order":["1394715303","1394715306","1394715308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eb84cd7cc649817ec4cc320493c4f46.jpg","text":"TemporaryFile(/tmp/multipartBody855842370508903333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263643465,"filename":"image_16112025_04_26_11_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/285c17f84c5b8fa0fcbe7f77e01ba36c.jpg","text":"TemporaryFile(/tmp/multipartBody308354814275259869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263643465,"filename":"image_16112025_04_25_47_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8e2c6858ae4081d36b0079d509fca42.jpg","text":"TemporaryFile(/tmp/multipartBody8871653830288267769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263643465,"filename":"image_16112025_04_26_14_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715308","file1":"1394715306","file0":"1394715303"},"map_files_photo_id_array":[{"photo_id":"1394715308","filename":"file2"},{"photo_id":"1394715306","filename":"file1"},{"photo_id":"1394715303","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715306":["hashtag1","hashtag2"]},{"1394715303":["hashtag1","hashtag2"]},{"1394715308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715306, 1394715303, 1394715308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.216665744781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:27:07.483212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 04:27:21.824432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/26/image_16112025_04_26_23_2621.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_08_2601.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_14_3668.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_17_2667.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_20_3576.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_23_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/26/image_16112025_04_26_23_2621.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_08_2601.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_14_3668.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_17_2667.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_20_3576.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_23_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715320","1394715323","1394715326","1394715331","1394715325","1394715328"],"photo_ids_order":["1394715320","1394715323","1394715325","1394715326","1394715328","1394715331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d43495a0b83ce96f5562dd254fb34f5.jpg","text":"TemporaryFile(/tmp/multipartBody2949817993806374125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263704802,"filename":"image_16112025_04_26_23_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11f91ee4d3b008e821647511bb4c6f1a.jpg","text":"TemporaryFile(/tmp/multipartBody9208649701298777515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263704802,"filename":"image_16112025_04_27_08_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf0faf6a1ef27f434b0ceeeda9b22d33.jpg","text":"TemporaryFile(/tmp/multipartBody2885859349349282084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263704802,"filename":"image_16112025_04_27_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/11/16/843233ba705ae0659928f7ad12e5c1fc.jpg","text":"TemporaryFile(/tmp/multipartBody2414578136832923321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263704802,"filename":"image_16112025_04_27_23_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf9b01ec6fab5a96a5a62ae98aadd294.jpg","text":"TemporaryFile(/tmp/multipartBody6406690371172528172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263704802,"filename":"image_16112025_04_27_14_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/589400954fbe007423c82463437e3897.jpg","text":"TemporaryFile(/tmp/multipartBody2696033112694102337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263704802,"filename":"image_16112025_04_27_20_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715325","file1":"1394715323","file0":"1394715320","file4":"1394715328","file5":"1394715331","file3":"1394715326"},"map_files_photo_id_array":[{"photo_id":"1394715331","filename":"file5"},{"photo_id":"1394715325","filename":"file2"},{"photo_id":"1394715328","filename":"file4"},{"photo_id":"1394715323","filename":"file1"},{"photo_id":"1394715320","filename":"file0"},{"photo_id":"1394715326","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715320":["hashtag1","hashtag2"]},{"1394715323":["hashtag1","hashtag2"]},{"1394715326":["hashtag1","hashtag2"]},{"1394715331":["hashtag1","hashtag2"]},{"1394715325":["hashtag1","hashtag2"]},{"1394715328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715320, 1394715323, 1394715326, 1394715331, 1394715325, 1394715328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75253963470459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:28:02.628307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_29_2702.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_44_2725.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_46_2707.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_50_3876.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_53_2652.jpg', '/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_56_2957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_29_2702.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_44_2725.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_46_2707.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_50_3876.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_53_2652.jpg
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_56_2957.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715344","1394715343","1394715346","1394715349","1394715340","1394715342"],"photo_ids_order":["1394715340","1394715342","1394715343","1394715344","1394715346","1394715349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/885184005539376a6bc9ff3490a73c6d.jpg","text":"TemporaryFile(/tmp/multipartBody7144668995293806581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263743418,"filename":"image_16112025_04_27_50_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74ef5da3b2082819ed68f4e833278e15.jpg","text":"TemporaryFile(/tmp/multipartBody1201884285281283612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263743418,"filename":"image_16112025_04_27_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/11/16/2bb6a8bfdbe32e1060304cbb0be2b6c6.jpg","text":"TemporaryFile(/tmp/multipartBody2875855909955722174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263743418,"filename":"image_16112025_04_27_53_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19f26618253d09293a0d8c34d58790f2.jpg","text":"TemporaryFile(/tmp/multipartBody3355844465055982762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263743418,"filename":"image_16112025_04_27_56_2957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/094316c66da7dc8aed9dc6f295c13d1b.jpg","text":"TemporaryFile(/tmp/multipartBody7123560554785717923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263743418,"filename":"image_16112025_04_27_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/11/16/3a86485c0350b9c71f06a78bb6803274.jpg","text":"TemporaryFile(/tmp/multipartBody9074152280451314464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263743418,"filename":"image_16112025_04_27_44_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715343","file1":"1394715342","file0":"1394715340","file4":"1394715346","file5":"1394715349","file3":"1394715344"},"map_files_photo_id_array":[{"photo_id":"1394715349","filename":"file5"},{"photo_id":"1394715343","filename":"file2"},{"photo_id":"1394715346","filename":"file4"},{"photo_id":"1394715342","filename":"file1"},{"photo_id":"1394715340","filename":"file0"},{"photo_id":"1394715344","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715344":["hashtag1","hashtag2"]},{"1394715343":["hashtag1","hashtag2"]},{"1394715346":["hashtag1","hashtag2"]},{"1394715349":["hashtag1","hashtag2"]},{"1394715340":["hashtag1","hashtag2"]},{"1394715342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715344, 1394715343, 1394715346, 1394715349, 1394715340, 1394715342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.133931159973145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:28:42.058886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_59_3389.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_02_2711.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_08_6378.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_17_2987.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_20_2654.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_26_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/27/image_16112025_04_27_59_3389.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_02_2711.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_08_6378.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_17_2987.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_20_2654.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_26_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715365","1394715359","1394715361","1394715355","1394715363","1394715357"],"photo_ids_order":["1394715355","1394715357","1394715359","1394715361","1394715363","1394715365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/618d69a38a4cdd7276a5a074b64c497c.jpg","text":"TemporaryFile(/tmp/multipartBody7674443404974662694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263782801,"filename":"image_16112025_04_28_26_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cdb2e43f0c8462f7af15e7e75508bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8024923139061764756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263782801,"filename":"image_16112025_04_28_08_6378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a372f6b056a14d8d036ba2c7295d96d4.jpg","text":"TemporaryFile(/tmp/multipartBody8663112576046730880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263782801,"filename":"image_16112025_04_28_17_2987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8f8a81c139277fb02a468c65ffa66df.jpg","text":"TemporaryFile(/tmp/multipartBody3050186418941158721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263782801,"filename":"image_16112025_04_27_59_3389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64c1d390956ddd85832b5b95b7330576.jpg","text":"TemporaryFile(/tmp/multipartBody8089961997310447858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263782801,"filename":"image_16112025_04_28_20_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4697c5229c42e1bd1807421d778e9916.jpg","text":"TemporaryFile(/tmp/multipartBody1760627232204962747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263782801,"filename":"image_16112025_04_28_02_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715359","file1":"1394715357","file0":"1394715355","file4":"1394715363","file5":"1394715365","file3":"1394715361"},"map_files_photo_id_array":[{"photo_id":"1394715365","filename":"file5"},{"photo_id":"1394715359","filename":"file2"},{"photo_id":"1394715363","filename":"file4"},{"photo_id":"1394715357","filename":"file1"},{"photo_id":"1394715355","filename":"file0"},{"photo_id":"1394715361","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715365":["hashtag1","hashtag2"]},{"1394715359":["hashtag1","hashtag2"]},{"1394715361":["hashtag1","hashtag2"]},{"1394715355":["hashtag1","hashtag2"]},{"1394715363":["hashtag1","hashtag2"]},{"1394715357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715365, 1394715359, 1394715361, 1394715355, 1394715363, 1394715357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37903571128845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:29:22.313532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_33_7226.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_35_1718.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_37_1532.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_38_1828.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_41_2704.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_44_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_33_7226.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_35_1718.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_37_1532.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_38_1828.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_41_2704.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_44_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715377","1394715371","1394715380","1394715374","1394715376","1394715378"],"photo_ids_order":["1394715371","1394715374","1394715376","1394715377","1394715378","1394715380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c15639f443ed06efcf19dc0b6ebe5768.jpg","text":"TemporaryFile(/tmp/multipartBody7297713931179487046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263823001,"filename":"image_16112025_04_28_38_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f00650d26fe9373ed34c51eae7174b1.jpg","text":"TemporaryFile(/tmp/multipartBody2464355681966493517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263823001,"filename":"image_16112025_04_28_33_7226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a7630df00aef98940c0de92516fc760.jpg","text":"TemporaryFile(/tmp/multipartBody1859769071146763733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263823001,"filename":"image_16112025_04_28_44_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77b5ceb48575fe90ea48a91e2c681935.jpg","text":"TemporaryFile(/tmp/multipartBody727823605750329535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263823001,"filename":"image_16112025_04_28_35_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b9032d0b422c0d65521e648397a1cfa.jpg","text":"TemporaryFile(/tmp/multipartBody3246294093796966750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263823001,"filename":"image_16112025_04_28_37_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59d754a6b573dc0f2ae27de1273e04ff.jpg","text":"TemporaryFile(/tmp/multipartBody1560318823679652307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263823001,"filename":"image_16112025_04_28_41_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715376","file1":"1394715374","file0":"1394715371","file4":"1394715378","file5":"1394715380","file3":"1394715377"},"map_files_photo_id_array":[{"photo_id":"1394715380","filename":"file5"},{"photo_id":"1394715376","filename":"file2"},{"photo_id":"1394715378","filename":"file4"},{"photo_id":"1394715374","filename":"file1"},{"photo_id":"1394715371","filename":"file0"},{"photo_id":"1394715377","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715377":["hashtag1","hashtag2"]},{"1394715371":["hashtag1","hashtag2"]},{"1394715380":["hashtag1","hashtag2"]},{"1394715374":["hashtag1","hashtag2"]},{"1394715376":["hashtag1","hashtag2"]},{"1394715378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715377, 1394715371, 1394715380, 1394715374, 1394715376, 1394715378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23103356361389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:30:03.036937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_46_2636.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_56_2778.jpg', '/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_58_2636.jpg', '/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_02_3656.jpg', '/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_10_2833.jpg', '/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_14_3840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_46_2636.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_56_2778.jpg
/home/pi/Desktop/images/16112025/04/28/image_16112025_04_28_58_2636.jpg
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_02_3656.jpg
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_10_2833.jpg
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_14_3840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715402","1394715398","1394715392","1394715394","1394715400","1394715396"],"photo_ids_order":["1394715392","1394715394","1394715396","1394715398","1394715400","1394715402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7358349ea45a56a7568b14d64c87381.jpg","text":"TemporaryFile(/tmp/multipartBody6272429990042726659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263865260,"filename":"image_16112025_04_29_14_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67badce85b3969e7fa5d07a52244c2ce.jpg","text":"TemporaryFile(/tmp/multipartBody3365757037552361007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263865260,"filename":"image_16112025_04_29_02_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/707ccd9b8d5de22831390935ed14f770.jpg","text":"TemporaryFile(/tmp/multipartBody8694383307888898727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263865260,"filename":"image_16112025_04_28_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/11/16/4ffa3d43775c43266f8063a7111152cd.jpg","text":"TemporaryFile(/tmp/multipartBody836495148031611420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263865260,"filename":"image_16112025_04_28_56_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7dede1c94c9aea85765105395e4e31a7.jpg","text":"TemporaryFile(/tmp/multipartBody1995432570967608636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263865260,"filename":"image_16112025_04_29_10_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c97d4bbc9c274912ba9f11b0d0ed43ae.jpg","text":"TemporaryFile(/tmp/multipartBody3773845718940181544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263865260,"filename":"image_16112025_04_28_58_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715396","file1":"1394715394","file0":"1394715392","file4":"1394715400","file5":"1394715402","file3":"1394715398"},"map_files_photo_id_array":[{"photo_id":"1394715402","filename":"file5"},{"photo_id":"1394715396","filename":"file2"},{"photo_id":"1394715400","filename":"file4"},{"photo_id":"1394715394","filename":"file1"},{"photo_id":"1394715392","filename":"file0"},{"photo_id":"1394715398","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715402":["hashtag1","hashtag2"]},{"1394715398":["hashtag1","hashtag2"]},{"1394715392":["hashtag1","hashtag2"]},{"1394715394":["hashtag1","hashtag2"]},{"1394715400":["hashtag1","hashtag2"]},{"1394715396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715402, 1394715398, 1394715392, 1394715394, 1394715400, 1394715396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.361004114151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:30:42.488885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_17_2672.jpg', '/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_19_2711.jpg', '/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_22_2672.jpg', '/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_49_2641.jpg', '/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_53_3818.jpg', '/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_58_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_17_2672.jpg
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_19_2711.jpg
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_22_2672.jpg
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_49_2641.jpg
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_53_3818.jpg
/home/pi/Desktop/images/16112025/04/29/image_16112025_04_29_58_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715423","1394715412","1394715421","1394715415","1394715409","1394715418"],"photo_ids_order":["1394715409","1394715412","1394715415","1394715418","1394715421","1394715423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7845aaa93815a3eec108ef12ed7f25c.jpg","text":"TemporaryFile(/tmp/multipartBody8100699599242787305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263903180,"filename":"image_16112025_04_29_58_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fae3a15de08e6c3d0c8c9edb9046d0f.jpg","text":"TemporaryFile(/tmp/multipartBody7362402180409954428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263903180,"filename":"image_16112025_04_29_19_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4211e924d6008d55c9ee487301100f0f.jpg","text":"TemporaryFile(/tmp/multipartBody2351550776112970159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263903180,"filename":"image_16112025_04_29_53_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f29fd79f83ec860b28ab15e14caa7fd8.jpg","text":"TemporaryFile(/tmp/multipartBody7865446555304305359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263903180,"filename":"image_16112025_04_29_22_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d8bc2afae0249aa09733d8770a4f98c.jpg","text":"TemporaryFile(/tmp/multipartBody8667336031410491161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263903180,"filename":"image_16112025_04_29_17_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60b328fc2c071e22f1bf0b4d95017e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3091610866968628282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263903180,"filename":"image_16112025_04_29_49_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715415","file1":"1394715412","file0":"1394715409","file4":"1394715421","file5":"1394715423","file3":"1394715418"},"map_files_photo_id_array":[{"photo_id":"1394715423","filename":"file5"},{"photo_id":"1394715415","filename":"file2"},{"photo_id":"1394715421","filename":"file4"},{"photo_id":"1394715412","filename":"file1"},{"photo_id":"1394715409","filename":"file0"},{"photo_id":"1394715418","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715423":["hashtag1","hashtag2"]},{"1394715412":["hashtag1","hashtag2"]},{"1394715421":["hashtag1","hashtag2"]},{"1394715415":["hashtag1","hashtag2"]},{"1394715409":["hashtag1","hashtag2"]},{"1394715418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715423, 1394715412, 1394715421, 1394715415, 1394715409, 1394715418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.484126567840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:31:22.703622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_07_2610.jpg', '/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_31_2636.jpg', '/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_35_3579.jpg', '/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_37_2536.jpg', '/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_56_3726.jpg', '/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_05_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_07_2610.jpg
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_31_2636.jpg
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_35_3579.jpg
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_37_2536.jpg
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_56_3726.jpg
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_05_3736.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.6157865524291992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:31:42.812241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_07_2610.jpg', '/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_31_2636.jpg', '/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_35_3579.jpg', '/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_37_2536.jpg', '/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_56_3726.jpg', '/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_05_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_07_2610.jpg
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_31_2636.jpg
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_35_3579.jpg
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_37_2536.jpg
/home/pi/Desktop/images/16112025/04/30/image_16112025_04_30_56_3726.jpg
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_05_3736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715444","1394715446","1394715451","1394715448","1394715453","1394715441"],"photo_ids_order":["1394715441","1394715444","1394715446","1394715448","1394715451","1394715453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe592fb18e71aa23d1edc39eef1696e8.jpg","text":"TemporaryFile(/tmp/multipartBody673829905757263873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263963506,"filename":"image_16112025_04_30_31_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b014f17ff66aad5cdea652f946aedabc.jpg","text":"TemporaryFile(/tmp/multipartBody2924364049248952025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263963506,"filename":"image_16112025_04_30_35_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b40b0d1bb51a501d1be67889ab7b6073.jpg","text":"TemporaryFile(/tmp/multipartBody7736287708209935872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263963506,"filename":"image_16112025_04_30_56_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88f23cefa32fdbf7416a60f2dfdc7cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5819337400609766612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263963506,"filename":"image_16112025_04_30_37_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94945b260331fc029ccd0661e143adf3.jpg","text":"TemporaryFile(/tmp/multipartBody893371322056454333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263963506,"filename":"image_16112025_04_31_05_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/add44061b5d725128a7c235a911bc0f1.jpg","text":"TemporaryFile(/tmp/multipartBody7056407728257198839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763263963506,"filename":"image_16112025_04_30_07_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715446","file1":"1394715444","file0":"1394715441","file4":"1394715451","file5":"1394715453","file3":"1394715448"},"map_files_photo_id_array":[{"photo_id":"1394715453","filename":"file5"},{"photo_id":"1394715446","filename":"file2"},{"photo_id":"1394715451","filename":"file4"},{"photo_id":"1394715444","filename":"file1"},{"photo_id":"1394715441","filename":"file0"},{"photo_id":"1394715448","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715444":["hashtag1","hashtag2"]},{"1394715446":["hashtag1","hashtag2"]},{"1394715451":["hashtag1","hashtag2"]},{"1394715448":["hashtag1","hashtag2"]},{"1394715453":["hashtag1","hashtag2"]},{"1394715441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715444, 1394715446, 1394715451, 1394715448, 1394715453, 1394715441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11553716659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:32:22.013362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_16_2677.jpg', '/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_23_3684.jpg', '/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_28_2681.jpg', '/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_34_2631.jpg', '/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_37_2636.jpg', '/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_49_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_16_2677.jpg
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_23_3684.jpg
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_28_2681.jpg
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_34_2631.jpg
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_37_2636.jpg
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_49_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715459","1394715464","1394715461","1394715463","1394715466","1394715456"],"photo_ids_order":["1394715456","1394715459","1394715461","1394715463","1394715464","1394715466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c873639092dead058cbba9d3d2cf5f3.jpg","text":"TemporaryFile(/tmp/multipartBody4600719690067531901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264002732,"filename":"image_16112025_04_31_23_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0babcdd7eee2f48bed06054e540e44b9.jpg","text":"TemporaryFile(/tmp/multipartBody932762063172535678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264002732,"filename":"image_16112025_04_31_37_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5164ae294832d7fcdf061c347563d76a.jpg","text":"TemporaryFile(/tmp/multipartBody5494233418292723516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264002732,"filename":"image_16112025_04_31_28_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0f216047b88ae4a366531ac0abba769.jpg","text":"TemporaryFile(/tmp/multipartBody3202823829063146634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264002732,"filename":"image_16112025_04_31_34_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d690679bc143f46883ef4115bc4093c.jpg","text":"TemporaryFile(/tmp/multipartBody6583209985200852171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264002732,"filename":"image_16112025_04_31_49_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a1f684c1aadce334643111549b71d16.jpg","text":"TemporaryFile(/tmp/multipartBody6342438327458022398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264002732,"filename":"image_16112025_04_31_16_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715461","file1":"1394715459","file0":"1394715456","file4":"1394715464","file5":"1394715466","file3":"1394715463"},"map_files_photo_id_array":[{"photo_id":"1394715466","filename":"file5"},{"photo_id":"1394715461","filename":"file2"},{"photo_id":"1394715464","filename":"file4"},{"photo_id":"1394715459","filename":"file1"},{"photo_id":"1394715456","filename":"file0"},{"photo_id":"1394715463","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715459":["hashtag1","hashtag2"]},{"1394715464":["hashtag1","hashtag2"]},{"1394715461":["hashtag1","hashtag2"]},{"1394715463":["hashtag1","hashtag2"]},{"1394715466":["hashtag1","hashtag2"]},{"1394715456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715459, 1394715464, 1394715461, 1394715463, 1394715466, 1394715456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39214873313904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:33:02.950519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_53_3541.jpg', '/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_58_2750.jpg', '/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_01_2670.jpg', '/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_13_2778.jpg', '/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_16_2546.jpg', '/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_19_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_53_3541.jpg
/home/pi/Desktop/images/16112025/04/31/image_16112025_04_31_58_2750.jpg
/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_01_2670.jpg
/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_13_2778.jpg
/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_16_2546.jpg
/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_19_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715482","1394715473","1394715475","1394715478","1394715472","1394715474"],"photo_ids_order":["1394715472","1394715473","1394715474","1394715475","1394715478","1394715482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/becac866ab65cee7f2b65a3efdff488d.jpg","text":"TemporaryFile(/tmp/multipartBody597460947831243732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264043823,"filename":"image_16112025_04_32_19_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34b468f4c925a50f21e7d9e50a4b29ea.jpg","text":"TemporaryFile(/tmp/multipartBody8504181715665076564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264043823,"filename":"image_16112025_04_31_58_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b4933c84ddc6f486c3343d2498c3b7b.jpg","text":"TemporaryFile(/tmp/multipartBody6419017230360507752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264043823,"filename":"image_16112025_04_32_13_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97768716fbc2e3f4310e6c3b4d40e58a.jpg","text":"TemporaryFile(/tmp/multipartBody2545363838017618922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264043823,"filename":"image_16112025_04_32_16_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/744bb08750f21119ea9a97550b948b2e.jpg","text":"TemporaryFile(/tmp/multipartBody68010873756357057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264043823,"filename":"image_16112025_04_31_53_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2926476435a5c18c1edb109f752346f3.jpg","text":"TemporaryFile(/tmp/multipartBody7948616447068564555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264043823,"filename":"image_16112025_04_32_01_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715474","file1":"1394715473","file0":"1394715472","file4":"1394715478","file5":"1394715482","file3":"1394715475"},"map_files_photo_id_array":[{"photo_id":"1394715482","filename":"file5"},{"photo_id":"1394715474","filename":"file2"},{"photo_id":"1394715478","filename":"file4"},{"photo_id":"1394715473","filename":"file1"},{"photo_id":"1394715472","filename":"file0"},{"photo_id":"1394715475","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715482":["hashtag1","hashtag2"]},{"1394715473":["hashtag1","hashtag2"]},{"1394715475":["hashtag1","hashtag2"]},{"1394715478":["hashtag1","hashtag2"]},{"1394715472":["hashtag1","hashtag2"]},{"1394715474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715482, 1394715473, 1394715475, 1394715478, 1394715472, 1394715474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14363503456116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:33:42.290366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_22_3748.jpg', '/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_31_3550.jpg', '/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_52_2707.jpg', '/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_58_2702.jpg', '/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_07_2654.jpg', '/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_16_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_22_3748.jpg
/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_31_3550.jpg
/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_52_2707.jpg
/home/pi/Desktop/images/16112025/04/32/image_16112025_04_32_58_2702.jpg
/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_07_2654.jpg
/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_16_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715504","1394715494","1394715500","1394715496","1394715498","1394715502"],"photo_ids_order":["1394715494","1394715496","1394715498","1394715500","1394715502","1394715504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/225747eb8be89666daaf68d0aa6967c0.jpg","text":"TemporaryFile(/tmp/multipartBody8616968379246433913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264082984,"filename":"image_16112025_04_33_16_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3822186e7fa895b32be819de93e514a3.jpg","text":"TemporaryFile(/tmp/multipartBody791674671456190851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264082984,"filename":"image_16112025_04_32_22_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9c51ed594a0878a92ee21d1ccac940a.jpg","text":"TemporaryFile(/tmp/multipartBody3290448959679386766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264082984,"filename":"image_16112025_04_32_58_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ab9baf3fb3d41bc6a4a65c3220e02ca.jpg","text":"TemporaryFile(/tmp/multipartBody5964529164454843183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264082984,"filename":"image_16112025_04_32_31_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e15ab4743d01b2ff0b8d5316d1a0c656.jpg","text":"TemporaryFile(/tmp/multipartBody516209218704327230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264082984,"filename":"image_16112025_04_32_52_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df35309cb713853e41604b630850c63d.jpg","text":"TemporaryFile(/tmp/multipartBody2274498854664239046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264082984,"filename":"image_16112025_04_33_07_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715498","file1":"1394715496","file0":"1394715494","file4":"1394715502","file5":"1394715504","file3":"1394715500"},"map_files_photo_id_array":[{"photo_id":"1394715504","filename":"file5"},{"photo_id":"1394715498","filename":"file2"},{"photo_id":"1394715502","filename":"file4"},{"photo_id":"1394715496","filename":"file1"},{"photo_id":"1394715494","filename":"file0"},{"photo_id":"1394715500","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715504":["hashtag1","hashtag2"]},{"1394715494":["hashtag1","hashtag2"]},{"1394715500":["hashtag1","hashtag2"]},{"1394715496":["hashtag1","hashtag2"]},{"1394715498":["hashtag1","hashtag2"]},{"1394715502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715504, 1394715494, 1394715500, 1394715496, 1394715498, 1394715502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3348183631897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:34:22.492476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_23_3660.jpg', '/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_32_3635.jpg', '/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_40_2699.jpg', '/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_43_3684.jpg', '/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_50_3589.jpg', '/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_07_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_23_3660.jpg
/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_32_3635.jpg
/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_40_2699.jpg
/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_43_3684.jpg
/home/pi/Desktop/images/16112025/04/33/image_16112025_04_33_50_3589.jpg
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_07_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715510","1394715507","1394715512","1394715509","1394715511","1394715514"],"photo_ids_order":["1394715507","1394715509","1394715510","1394715511","1394715512","1394715514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/227395549661e8222ca825953712c702.jpg","text":"TemporaryFile(/tmp/multipartBody1709658214220876439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264123244,"filename":"image_16112025_04_33_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9b1002217d791474a1c82bb55ee2b94.jpg","text":"TemporaryFile(/tmp/multipartBody877816944860519082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264123244,"filename":"image_16112025_04_33_23_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9349f63ea6e334443b57b107e455175.jpg","text":"TemporaryFile(/tmp/multipartBody4022683761692633346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264123244,"filename":"image_16112025_04_33_50_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92b59e3164ffc39db33cbdb762bbcc85.jpg","text":"TemporaryFile(/tmp/multipartBody3888085734887117881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264123244,"filename":"image_16112025_04_33_32_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/988fe85ad37d10d84400753cb748131f.jpg","text":"TemporaryFile(/tmp/multipartBody8008898421929069028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264123244,"filename":"image_16112025_04_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/11/16/304c31ead32a8b00b3688f3326120878.jpg","text":"TemporaryFile(/tmp/multipartBody8405121726558362170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264123244,"filename":"image_16112025_04_34_07_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715510","file1":"1394715509","file0":"1394715507","file4":"1394715512","file5":"1394715514","file3":"1394715511"},"map_files_photo_id_array":[{"photo_id":"1394715514","filename":"file5"},{"photo_id":"1394715510","filename":"file2"},{"photo_id":"1394715512","filename":"file4"},{"photo_id":"1394715509","filename":"file1"},{"photo_id":"1394715507","filename":"file0"},{"photo_id":"1394715511","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715510":["hashtag1","hashtag2"]},{"1394715507":["hashtag1","hashtag2"]},{"1394715512":["hashtag1","hashtag2"]},{"1394715509":["hashtag1","hashtag2"]},{"1394715511":["hashtag1","hashtag2"]},{"1394715514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715510, 1394715507, 1394715512, 1394715509, 1394715511, 1394715514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58919978141785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:35:02.537801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_13_2779.jpg', '/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_16_2886.jpg', '/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_19_3704.jpg', '/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_25_2642.jpg', '/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_49_2802.jpg', '/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_52_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_13_2779.jpg
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_16_2886.jpg
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_19_3704.jpg
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_25_2642.jpg
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_49_2802.jpg
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_52_3605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715522","1394715525","1394715521","1394715523","1394715520","1394715528"],"photo_ids_order":["1394715520","1394715521","1394715522","1394715523","1394715525","1394715528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcdd2f63a833d951f73dda0b3f6b1880.jpg","text":"TemporaryFile(/tmp/multipartBody8759317786477166761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264163941,"filename":"image_16112025_04_34_19_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abebcc63534315500823c92ab103881a.jpg","text":"TemporaryFile(/tmp/multipartBody8670201099191404664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264163941,"filename":"image_16112025_04_34_49_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8120ac9aa8ec10a6d0875a253bbf1d8.jpg","text":"TemporaryFile(/tmp/multipartBody903128661730834122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264163941,"filename":"image_16112025_04_34_16_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e22d9077df4cda7ba7d032b660a4980d.jpg","text":"TemporaryFile(/tmp/multipartBody2465170115551128732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264163941,"filename":"image_16112025_04_34_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/11/16/762501336c86b18d7926d1083ecffc8d.jpg","text":"TemporaryFile(/tmp/multipartBody7077478153758041229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264163941,"filename":"image_16112025_04_34_13_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c024db522693f01684b88b07a2f3457.jpg","text":"TemporaryFile(/tmp/multipartBody4414857305164901160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264163941,"filename":"image_16112025_04_34_52_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715522","file1":"1394715521","file0":"1394715520","file4":"1394715525","file5":"1394715528","file3":"1394715523"},"map_files_photo_id_array":[{"photo_id":"1394715528","filename":"file5"},{"photo_id":"1394715522","filename":"file2"},{"photo_id":"1394715525","filename":"file4"},{"photo_id":"1394715521","filename":"file1"},{"photo_id":"1394715520","filename":"file0"},{"photo_id":"1394715523","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715522":["hashtag1","hashtag2"]},{"1394715525":["hashtag1","hashtag2"]},{"1394715521":["hashtag1","hashtag2"]},{"1394715523":["hashtag1","hashtag2"]},{"1394715520":["hashtag1","hashtag2"]},{"1394715528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715522, 1394715525, 1394715521, 1394715523, 1394715520, 1394715528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98686194419861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:35:41.889834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_55_2740.jpg', '/home/pi/Desktop/images/16112025/04/34/image_16112025_04_35_01_3588.jpg', '/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_13_2613.jpg', '/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_16_2943.jpg', '/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_25_2697.jpg', '/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_27_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_34_55_2740.jpg
/home/pi/Desktop/images/16112025/04/34/image_16112025_04_35_01_3588.jpg
/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_13_2613.jpg
/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_16_2943.jpg
/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_25_2697.jpg
/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_27_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715543","1394715545","1394715539","1394715536","1394715541","1394715532"],"photo_ids_order":["1394715532","1394715536","1394715539","1394715541","1394715543","1394715545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00fed65010d29fe4516ee2944b435494.jpg","text":"TemporaryFile(/tmp/multipartBody6794867184317812498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264202585,"filename":"image_16112025_04_35_25_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8209a8fcbc4e6eead0d89ba5dbd86cab.jpg","text":"TemporaryFile(/tmp/multipartBody5893721000039758056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264202585,"filename":"image_16112025_04_35_27_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f5b977f7262eeaefa96fcac5d2609e2.jpg","text":"TemporaryFile(/tmp/multipartBody4455267895984387707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264202585,"filename":"image_16112025_04_35_13_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0e4af081afde222afa440ef471ef979.jpg","text":"TemporaryFile(/tmp/multipartBody4817633025052686429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264202585,"filename":"image_16112025_04_35_01_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfefe465a604f3c2d19e4047a6887d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4150784957218868219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264202585,"filename":"image_16112025_04_35_16_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aff14ee5c4ab6c18a9064801b45c4c85.jpg","text":"TemporaryFile(/tmp/multipartBody2143122619601637148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264202585,"filename":"image_16112025_04_34_55_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715539","file1":"1394715536","file0":"1394715532","file4":"1394715543","file5":"1394715545","file3":"1394715541"},"map_files_photo_id_array":[{"photo_id":"1394715545","filename":"file5"},{"photo_id":"1394715539","filename":"file2"},{"photo_id":"1394715543","filename":"file4"},{"photo_id":"1394715536","filename":"file1"},{"photo_id":"1394715532","filename":"file0"},{"photo_id":"1394715541","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715543":["hashtag1","hashtag2"]},{"1394715545":["hashtag1","hashtag2"]},{"1394715539":["hashtag1","hashtag2"]},{"1394715536":["hashtag1","hashtag2"]},{"1394715541":["hashtag1","hashtag2"]},{"1394715532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715543, 1394715545, 1394715539, 1394715536, 1394715541, 1394715532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86629319190979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:36:22.111528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_36_2762.jpg', '/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_52_2832.jpg', '/home/pi/Desktop/images/16112025/04/36/image_16112025_04_36_22_3742.jpg', '/home/pi/Desktop/images/16112025/04/36/image_16112025_04_36_25_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_36_2762.jpg
/home/pi/Desktop/images/16112025/04/35/image_16112025_04_35_52_2832.jpg
/home/pi/Desktop/images/16112025/04/36/image_16112025_04_36_22_3742.jpg
/home/pi/Desktop/images/16112025/04/36/image_16112025_04_36_25_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715553","1394715552","1394715555","1394715549"],"photo_ids_order":["1394715549","1394715552","1394715553","1394715555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3735e814ddabf04bc517a57b7d59b053.jpg","text":"TemporaryFile(/tmp/multipartBody1714139717196442745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264242764,"filename":"image_16112025_04_36_22_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05ce398ce287580c55478463304e5c1f.jpg","text":"TemporaryFile(/tmp/multipartBody4603414404972376233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264242764,"filename":"image_16112025_04_35_52_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0397b8bca98c0cd73b4892341bf1be2.jpg","text":"TemporaryFile(/tmp/multipartBody8264314468278603578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264242764,"filename":"image_16112025_04_36_25_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04ebf4befb38f4474deca7723ed50ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1163118950568673688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264242764,"filename":"image_16112025_04_35_36_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715553","file1":"1394715552","file0":"1394715549","file3":"1394715555"},"map_files_photo_id_array":[{"photo_id":"1394715553","filename":"file2"},{"photo_id":"1394715552","filename":"file1"},{"photo_id":"1394715549","filename":"file0"},{"photo_id":"1394715555","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715553":["hashtag1","hashtag2"]},{"1394715552":["hashtag1","hashtag2"]},{"1394715555":["hashtag1","hashtag2"]},{"1394715549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715553, 1394715552, 1394715555, 1394715549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.009531497955322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:37:03.141664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:37:22.325332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/36/image_16112025_04_36_27_2576.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_34_3798.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_37_2691.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_40_3670.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_43_2694.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_46_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/36/image_16112025_04_36_27_2576.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_34_3798.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_37_2691.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_40_3670.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_43_2694.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_46_2637.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.6172726154327393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:37:42.343378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/36/image_16112025_04_36_27_2576.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_34_3798.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_37_2691.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_40_3670.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_43_2694.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_46_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/36/image_16112025_04_36_27_2576.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_34_3798.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_37_2691.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_40_3670.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_43_2694.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_46_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715575","1394715586","1394715589","1394715580","1394715583","1394715577"],"photo_ids_order":["1394715575","1394715577","1394715580","1394715583","1394715586","1394715589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37edb87a019250a491a5d0c2e9558b9d.jpg","text":"TemporaryFile(/tmp/multipartBody1153702698478861318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264323064,"filename":"image_16112025_04_36_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/11/16/998cd60793690cf3e575f94745d19399.jpg","text":"TemporaryFile(/tmp/multipartBody8276863523706678700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264323064,"filename":"image_16112025_04_37_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/11/16/99ca4fc66bb03c7c7fb00b03f0efdc0f.jpg","text":"TemporaryFile(/tmp/multipartBody2964703113538401574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264323064,"filename":"image_16112025_04_37_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/11/16/ccef96ec964c60b8a7dcf7f3eaab5293.jpg","text":"TemporaryFile(/tmp/multipartBody4798593073901152083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264323064,"filename":"image_16112025_04_37_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/11/16/ff8c2e913fdc0b1bf5d616b021a6fcaa.jpg","text":"TemporaryFile(/tmp/multipartBody1749880291796803772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264323064,"filename":"image_16112025_04_37_40_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c19206112e2ae4aed7a44133483951fd.jpg","text":"TemporaryFile(/tmp/multipartBody4448783541024083853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264323064,"filename":"image_16112025_04_37_34_3798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715580","file1":"1394715577","file0":"1394715575","file4":"1394715586","file5":"1394715589","file3":"1394715583"},"map_files_photo_id_array":[{"photo_id":"1394715589","filename":"file5"},{"photo_id":"1394715580","filename":"file2"},{"photo_id":"1394715586","filename":"file4"},{"photo_id":"1394715577","filename":"file1"},{"photo_id":"1394715575","filename":"file0"},{"photo_id":"1394715583","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715575":["hashtag1","hashtag2"]},{"1394715586":["hashtag1","hashtag2"]},{"1394715589":["hashtag1","hashtag2"]},{"1394715580":["hashtag1","hashtag2"]},{"1394715583":["hashtag1","hashtag2"]},{"1394715577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715575, 1394715586, 1394715589, 1394715580, 1394715583, 1394715577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.967196226119995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:38:22.541264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_48_2562.jpg', '/home/pi/Desktop/images/16112025/04/37/image_16112025_04_38_00_2710.jpg', '/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_07_2652.jpg', '/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_09_2714.jpg', '/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_18_2738.jpg', '/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_22_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_37_48_2562.jpg
/home/pi/Desktop/images/16112025/04/37/image_16112025_04_38_00_2710.jpg
/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_07_2652.jpg
/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_09_2714.jpg
/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_18_2738.jpg
/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_22_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715603","1394715596","1394715599","1394715598","1394715597","1394715594"],"photo_ids_order":["1394715594","1394715596","1394715597","1394715598","1394715599","1394715603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07c00f689a57875d7e172dd0439128ca.jpg","text":"TemporaryFile(/tmp/multipartBody8798872313223903870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264363267,"filename":"image_16112025_04_38_22_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d36e2c961705a6604a42125a0bbd503d.jpg","text":"TemporaryFile(/tmp/multipartBody4909755295277693822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264363267,"filename":"image_16112025_04_38_00_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85fbde50568675d1eadf2b4489539ed4.jpg","text":"TemporaryFile(/tmp/multipartBody3549152159072265419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264363267,"filename":"image_16112025_04_38_18_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/919b97e05b09a14c9dde8dead66dc9a6.jpg","text":"TemporaryFile(/tmp/multipartBody4179949124879387683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264363267,"filename":"image_16112025_04_38_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/11/16/84810f114cc4bcb9502f01890f8e63de.jpg","text":"TemporaryFile(/tmp/multipartBody123742029748166388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264363267,"filename":"image_16112025_04_38_07_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b76012dac990063fda27e864c8aabe0.jpg","text":"TemporaryFile(/tmp/multipartBody8588936908211202505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264363267,"filename":"image_16112025_04_37_48_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715597","file1":"1394715596","file0":"1394715594","file4":"1394715599","file5":"1394715603","file3":"1394715598"},"map_files_photo_id_array":[{"photo_id":"1394715603","filename":"file5"},{"photo_id":"1394715597","filename":"file2"},{"photo_id":"1394715599","filename":"file4"},{"photo_id":"1394715596","filename":"file1"},{"photo_id":"1394715594","filename":"file0"},{"photo_id":"1394715598","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715603":["hashtag1","hashtag2"]},{"1394715596":["hashtag1","hashtag2"]},{"1394715599":["hashtag1","hashtag2"]},{"1394715598":["hashtag1","hashtag2"]},{"1394715597":["hashtag1","hashtag2"]},{"1394715594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715603, 1394715596, 1394715599, 1394715598, 1394715597, 1394715594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76093864440918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:39:03.829017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_33_2647.jpg', '/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_36_2622.jpg', '/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_52_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_33_2647.jpg
/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_36_2622.jpg
/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_52_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715612","1394715611","1394715614"],"photo_ids_order":["1394715611","1394715612","1394715614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a45750e4134e0b33f9815ae37b415cf.jpg","text":"TemporaryFile(/tmp/multipartBody5025650097664359443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264404528,"filename":"image_16112025_04_38_36_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/281b83e456a5e3a1d286287e18d69d1c.jpg","text":"TemporaryFile(/tmp/multipartBody7324027712086916382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264404528,"filename":"image_16112025_04_38_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/11/16/64e5e66ac14792bfb1754dbf6165ae66.jpg","text":"TemporaryFile(/tmp/multipartBody7463700845195395906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264404528,"filename":"image_16112025_04_38_52_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715614","file1":"1394715612","file0":"1394715611"},"map_files_photo_id_array":[{"photo_id":"1394715614","filename":"file2"},{"photo_id":"1394715612","filename":"file1"},{"photo_id":"1394715611","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715612":["hashtag1","hashtag2"]},{"1394715611":["hashtag1","hashtag2"]},{"1394715614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715612, 1394715611, 1394715614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.67647361755371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:39:42.753316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_58_3646.jpg', '/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_09_2584.jpg', '/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_21_1746.jpg', '/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_22_1651.jpg', '/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_28_2705.jpg', '/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_46_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/38/image_16112025_04_38_58_3646.jpg
/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_09_2584.jpg
/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_21_1746.jpg
/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_22_1651.jpg
/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_28_2705.jpg
/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_46_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715632","1394715626","1394715629","1394715640","1394715634","1394715637"],"photo_ids_order":["1394715626","1394715629","1394715632","1394715634","1394715637","1394715640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6099bcab258b137e80cddff7ecf0bf98.jpg","text":"TemporaryFile(/tmp/multipartBody8253448972277807713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264443452,"filename":"image_16112025_04_39_21_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f995821ba939a89aaa1bf70d96902b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1905680460444649830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264443452,"filename":"image_16112025_04_38_58_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9a626072d62583821bbd9ba228a604b.jpg","text":"TemporaryFile(/tmp/multipartBody2008133700480504195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264443452,"filename":"image_16112025_04_39_09_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7decfcb22d28e334d5a9935c465a8ef8.jpg","text":"TemporaryFile(/tmp/multipartBody5379544911639963455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264443452,"filename":"image_16112025_04_39_46_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6d0492618fbf10f73c7ba06a4566bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8874965228761105812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264443452,"filename":"image_16112025_04_39_22_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab2a52f90c09d71615208e09266e234f.jpg","text":"TemporaryFile(/tmp/multipartBody6687611641586246928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264443452,"filename":"image_16112025_04_39_28_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715632","file1":"1394715629","file0":"1394715626","file4":"1394715637","file5":"1394715640","file3":"1394715634"},"map_files_photo_id_array":[{"photo_id":"1394715640","filename":"file5"},{"photo_id":"1394715632","filename":"file2"},{"photo_id":"1394715637","filename":"file4"},{"photo_id":"1394715629","filename":"file1"},{"photo_id":"1394715626","filename":"file0"},{"photo_id":"1394715634","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715632":["hashtag1","hashtag2"]},{"1394715626":["hashtag1","hashtag2"]},{"1394715629":["hashtag1","hashtag2"]},{"1394715640":["hashtag1","hashtag2"]},{"1394715634":["hashtag1","hashtag2"]},{"1394715637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715632, 1394715626, 1394715629, 1394715640, 1394715634, 1394715637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01219940185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:40:21.999921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_49_2775.jpg', '/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_51_2670.jpg', '/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_03_2702.jpg', '/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_18_2822.jpg', '/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_22_3749.jpg', '/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_27_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_49_2775.jpg
/home/pi/Desktop/images/16112025/04/39/image_16112025_04_39_51_2670.jpg
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_03_2702.jpg
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_18_2822.jpg
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_22_3749.jpg
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_27_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715656","1394715650","1394715653","1394715647","1394715652","1394715654"],"photo_ids_order":["1394715647","1394715650","1394715652","1394715653","1394715654","1394715656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18777041a6055f14b6136d49fc5b92d8.jpg","text":"TemporaryFile(/tmp/multipartBody2497419885841088330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264482779,"filename":"image_16112025_04_40_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/11/16/aeb9eee525a6146e52af24355357defa.jpg","text":"TemporaryFile(/tmp/multipartBody4486951089526091339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264482779,"filename":"image_16112025_04_39_51_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abcb0b8de33430cfeaa32a125ddcbfab.jpg","text":"TemporaryFile(/tmp/multipartBody2786947196263363403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264482779,"filename":"image_16112025_04_40_18_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7757d35a52c4eb4de89b90934a7919ac.jpg","text":"TemporaryFile(/tmp/multipartBody7451815751725383595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264482779,"filename":"image_16112025_04_39_49_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a403f92db563e25ec52e3258293b5665.jpg","text":"TemporaryFile(/tmp/multipartBody7577640307199001776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264482779,"filename":"image_16112025_04_40_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/11/16/d2e88f51423298a103c9c043f3b97b28.jpg","text":"TemporaryFile(/tmp/multipartBody3168044134542411239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264482779,"filename":"image_16112025_04_40_22_3749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715652","file1":"1394715650","file0":"1394715647","file4":"1394715654","file5":"1394715656","file3":"1394715653"},"map_files_photo_id_array":[{"photo_id":"1394715656","filename":"file5"},{"photo_id":"1394715652","filename":"file2"},{"photo_id":"1394715654","filename":"file4"},{"photo_id":"1394715650","filename":"file1"},{"photo_id":"1394715647","filename":"file0"},{"photo_id":"1394715653","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715656":["hashtag1","hashtag2"]},{"1394715650":["hashtag1","hashtag2"]},{"1394715653":["hashtag1","hashtag2"]},{"1394715647":["hashtag1","hashtag2"]},{"1394715652":["hashtag1","hashtag2"]},{"1394715654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715656, 1394715650, 1394715653, 1394715647, 1394715652, 1394715654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.341649532318115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:41:02.879528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_31_3646.jpg', '/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_33_2546.jpg', '/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_54_2671.jpg', '/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_57_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_31_3646.jpg
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_33_2546.jpg
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_54_2671.jpg
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_40_57_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715662","1394715665","1394715664","1394715663"],"photo_ids_order":["1394715662","1394715663","1394715664","1394715665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac98be05c70e23db98dab11a86c21cb7.jpg","text":"TemporaryFile(/tmp/multipartBody5821390885356426283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264523609,"filename":"image_16112025_04_40_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/11/16/97c318ec084e98c88a521fe58e88633f.jpg","text":"TemporaryFile(/tmp/multipartBody3945639277459773119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264523609,"filename":"image_16112025_04_40_57_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5d1afa31ce83b5e54370d6bfca12136.jpg","text":"TemporaryFile(/tmp/multipartBody8208154607168830722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264523609,"filename":"image_16112025_04_40_54_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c07be571676021592babd2ed0679203.jpg","text":"TemporaryFile(/tmp/multipartBody9126872741708727890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264523609,"filename":"image_16112025_04_40_33_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715664","file1":"1394715663","file0":"1394715662","file3":"1394715665"},"map_files_photo_id_array":[{"photo_id":"1394715664","filename":"file2"},{"photo_id":"1394715663","filename":"file1"},{"photo_id":"1394715662","filename":"file0"},{"photo_id":"1394715665","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715662":["hashtag1","hashtag2"]},{"1394715665":["hashtag1","hashtag2"]},{"1394715664":["hashtag1","hashtag2"]},{"1394715663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715662, 1394715665, 1394715664, 1394715663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.141790628433228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:41:42.150345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/40/image_16112025_04_41_01_3861.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_03_2585.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_10_3688.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_12_2708.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_19_3573.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_21_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/40/image_16112025_04_41_01_3861.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_03_2585.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_10_3688.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_12_2708.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_19_3573.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_21_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715689","1394715683","1394715685","1394715681","1394715687","1394715675"],"photo_ids_order":["1394715675","1394715681","1394715683","1394715685","1394715687","1394715689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54db79570dfda9f327714d7df919a800.jpg","text":"TemporaryFile(/tmp/multipartBody8373952239186404389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264562842,"filename":"image_16112025_04_41_21_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/736e819cb635988f07fea6041084efcb.jpg","text":"TemporaryFile(/tmp/multipartBody2630160144976304487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264562842,"filename":"image_16112025_04_41_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/11/16/7b4054e7d325450fff325ee0023ccb91.jpg","text":"TemporaryFile(/tmp/multipartBody5811910330660981894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264562842,"filename":"image_16112025_04_41_12_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52c3b6296132ab55feed6d9f20c74b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4890585014786074146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264562842,"filename":"image_16112025_04_41_03_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cdc83c5213dbd7a2fb0d7d2a97723c2.jpg","text":"TemporaryFile(/tmp/multipartBody673007087113628381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264562842,"filename":"image_16112025_04_41_19_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31fdb0ef9f66189e6d0b531928215f61.jpg","text":"TemporaryFile(/tmp/multipartBody5244239558328522580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264562842,"filename":"image_16112025_04_41_01_3861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715683","file1":"1394715681","file0":"1394715675","file4":"1394715687","file5":"1394715689","file3":"1394715685"},"map_files_photo_id_array":[{"photo_id":"1394715689","filename":"file5"},{"photo_id":"1394715683","filename":"file2"},{"photo_id":"1394715687","filename":"file4"},{"photo_id":"1394715681","filename":"file1"},{"photo_id":"1394715675","filename":"file0"},{"photo_id":"1394715685","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715689":["hashtag1","hashtag2"]},{"1394715683":["hashtag1","hashtag2"]},{"1394715685":["hashtag1","hashtag2"]},{"1394715681":["hashtag1","hashtag2"]},{"1394715687":["hashtag1","hashtag2"]},{"1394715675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715689, 1394715683, 1394715685, 1394715681, 1394715687, 1394715675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.270899295806885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:42:22.396996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_24_2529.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_30_2730.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_33_2691.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_37_3714.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_39_2650.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_42_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_24_2529.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_30_2730.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_33_2691.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_37_3714.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_39_2650.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_42_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715705","1394715695","1394715697","1394715701","1394715691","1394715699"],"photo_ids_order":["1394715691","1394715695","1394715697","1394715699","1394715701","1394715705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af918389c80c547a923af56e75701d34.jpg","text":"TemporaryFile(/tmp/multipartBody7994720690974421185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264603121,"filename":"image_16112025_04_41_42_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b5405ddacb18677012b4e0a95576190.jpg","text":"TemporaryFile(/tmp/multipartBody6079597717526570819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264603121,"filename":"image_16112025_04_41_30_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e16cee320d6c5f8b1ab1bc2ab4be8fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2586322864175255004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264603121,"filename":"image_16112025_04_41_33_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fdb27b8367aacbca3b48089f5558c09.jpg","text":"TemporaryFile(/tmp/multipartBody6293236903475226067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264603121,"filename":"image_16112025_04_41_39_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53494e0a599b62654ef2885e5d7dc2fb.jpg","text":"TemporaryFile(/tmp/multipartBody3010983230005922082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264603121,"filename":"image_16112025_04_41_24_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/070d7de26ce03c97c929766424f7da5b.jpg","text":"TemporaryFile(/tmp/multipartBody5544502574712731404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264603121,"filename":"image_16112025_04_41_37_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715697","file1":"1394715695","file0":"1394715691","file4":"1394715701","file5":"1394715705","file3":"1394715699"},"map_files_photo_id_array":[{"photo_id":"1394715705","filename":"file5"},{"photo_id":"1394715697","filename":"file2"},{"photo_id":"1394715701","filename":"file4"},{"photo_id":"1394715695","filename":"file1"},{"photo_id":"1394715691","filename":"file0"},{"photo_id":"1394715699","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715705":["hashtag1","hashtag2"]},{"1394715695":["hashtag1","hashtag2"]},{"1394715697":["hashtag1","hashtag2"]},{"1394715701":["hashtag1","hashtag2"]},{"1394715691":["hashtag1","hashtag2"]},{"1394715699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715705, 1394715695, 1394715697, 1394715701, 1394715691, 1394715699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96285915374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:43:03.452171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_46_3835.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_48_2764.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_51_2527.jpg', '/home/pi/Desktop/images/16112025/04/41/image_16112025_04_42_00_2677.jpg', '/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_03_2657.jpg', '/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_15_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_46_3835.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_48_2764.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_41_51_2527.jpg
/home/pi/Desktop/images/16112025/04/41/image_16112025_04_42_00_2677.jpg
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_03_2657.jpg
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_15_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715714","1394715711","1394715719","1394715713","1394715716","1394715712"],"photo_ids_order":["1394715711","1394715712","1394715713","1394715714","1394715716","1394715719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27411bac058bc43964995b5bd80a8be8.jpg","text":"TemporaryFile(/tmp/multipartBody1098934962697625700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264644333,"filename":"image_16112025_04_42_00_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40d477d8bbe5b8a794e0e9e951e918c7.jpg","text":"TemporaryFile(/tmp/multipartBody5886668895134648962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264644333,"filename":"image_16112025_04_41_46_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f46f0a326c6b10b465e96d4ac30a57f6.jpg","text":"TemporaryFile(/tmp/multipartBody5809718195456571980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264644333,"filename":"image_16112025_04_42_15_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/243145fff20dfb01b2f37e00da417fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1780252168241497153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264644333,"filename":"image_16112025_04_41_51_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b78fcbf315fcbb7c8673daa3fda99610.jpg","text":"TemporaryFile(/tmp/multipartBody8151324745709382587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264644333,"filename":"image_16112025_04_42_03_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b2ee2d4869d9936996327d79f00d8aa.jpg","text":"TemporaryFile(/tmp/multipartBody5106510475448511945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264644333,"filename":"image_16112025_04_41_48_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715713","file1":"1394715712","file0":"1394715711","file4":"1394715716","file5":"1394715719","file3":"1394715714"},"map_files_photo_id_array":[{"photo_id":"1394715719","filename":"file5"},{"photo_id":"1394715713","filename":"file2"},{"photo_id":"1394715716","filename":"file4"},{"photo_id":"1394715712","filename":"file1"},{"photo_id":"1394715711","filename":"file0"},{"photo_id":"1394715714","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715714":["hashtag1","hashtag2"]},{"1394715711":["hashtag1","hashtag2"]},{"1394715719":["hashtag1","hashtag2"]},{"1394715713":["hashtag1","hashtag2"]},{"1394715716":["hashtag1","hashtag2"]},{"1394715712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715714, 1394715711, 1394715719, 1394715713, 1394715716, 1394715712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37743520736694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:43:42.619532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_21_2696.jpg', '/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_27_2855.jpg', '/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_36_2633.jpg', '/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_39_3649.jpg', '/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_42_2791.jpg', '/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_51_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_21_2696.jpg
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_27_2855.jpg
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_36_2633.jpg
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_39_3649.jpg
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_42_2791.jpg
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_51_2550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715728","1394715722","1394715730","1394715724","1394715732","1394715726"],"photo_ids_order":["1394715722","1394715724","1394715726","1394715728","1394715730","1394715732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd3859a5ee52727609cd3db32a5a5c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6063830357138977252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264683316,"filename":"image_16112025_04_42_39_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff1a192d6e188de87d930e76f5ffa11f.jpg","text":"TemporaryFile(/tmp/multipartBody293684443996559914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264683316,"filename":"image_16112025_04_42_21_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bba0affabd2e2d3d1a5168943a766218.jpg","text":"TemporaryFile(/tmp/multipartBody2138101181756430787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264683316,"filename":"image_16112025_04_42_42_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40b610c14e4b8fd92c98d508862e2837.jpg","text":"TemporaryFile(/tmp/multipartBody7815169250830731671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264683316,"filename":"image_16112025_04_42_27_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/baf3aeb1d0eeeb68e0caf6e4f804ff6e.jpg","text":"TemporaryFile(/tmp/multipartBody6860987087219747039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264683316,"filename":"image_16112025_04_42_51_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d31d8c23ba2cad742eca181c9af209e4.jpg","text":"TemporaryFile(/tmp/multipartBody1253490237883430425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264683316,"filename":"image_16112025_04_42_36_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715726","file1":"1394715724","file0":"1394715722","file4":"1394715730","file5":"1394715732","file3":"1394715728"},"map_files_photo_id_array":[{"photo_id":"1394715732","filename":"file5"},{"photo_id":"1394715726","filename":"file2"},{"photo_id":"1394715730","filename":"file4"},{"photo_id":"1394715724","filename":"file1"},{"photo_id":"1394715722","filename":"file0"},{"photo_id":"1394715728","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715728":["hashtag1","hashtag2"]},{"1394715722":["hashtag1","hashtag2"]},{"1394715730":["hashtag1","hashtag2"]},{"1394715724":["hashtag1","hashtag2"]},{"1394715732":["hashtag1","hashtag2"]},{"1394715726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715728, 1394715722, 1394715730, 1394715724, 1394715732, 1394715726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14635252952576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:44:22.298811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_54_2762.jpg', '/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_06_3679.jpg', '/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_18_2762.jpg', '/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_21_3612.jpg', '/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_30_2679.jpg', '/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_33_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/42/image_16112025_04_42_54_2762.jpg
/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_06_3679.jpg
/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_18_2762.jpg
/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_21_3612.jpg
/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_30_2679.jpg
/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_33_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715741","1394715743","1394715737","1394715742","1394715745","1394715739"],"photo_ids_order":["1394715737","1394715739","1394715741","1394715742","1394715743","1394715745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/931cf0c22ce2dd199c3e4ef284597bf8.jpg","text":"TemporaryFile(/tmp/multipartBody2297597841860527116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264723002,"filename":"image_16112025_04_43_18_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2bab7089355b61113406af67beec587a.jpg","text":"TemporaryFile(/tmp/multipartBody2781090727603727481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264723002,"filename":"image_16112025_04_43_30_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3b1ff3fe753d031f0e103b982e8d945.jpg","text":"TemporaryFile(/tmp/multipartBody7853990911962087933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264723002,"filename":"image_16112025_04_42_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/11/16/104a24bccb680f971fda56941e4277be.jpg","text":"TemporaryFile(/tmp/multipartBody2586090151899204744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264723002,"filename":"image_16112025_04_43_21_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af4a7c93d8cbb9959cfd83a35af8f182.jpg","text":"TemporaryFile(/tmp/multipartBody7018234844755943910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264723002,"filename":"image_16112025_04_43_33_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a13f6e62c34a450c22b2c28bb93779a.jpg","text":"TemporaryFile(/tmp/multipartBody3139032528460976976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264723002,"filename":"image_16112025_04_43_06_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715741","file1":"1394715739","file0":"1394715737","file4":"1394715743","file5":"1394715745","file3":"1394715742"},"map_files_photo_id_array":[{"photo_id":"1394715745","filename":"file5"},{"photo_id":"1394715741","filename":"file2"},{"photo_id":"1394715743","filename":"file4"},{"photo_id":"1394715739","filename":"file1"},{"photo_id":"1394715737","filename":"file0"},{"photo_id":"1394715742","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715741":["hashtag1","hashtag2"]},{"1394715743":["hashtag1","hashtag2"]},{"1394715737":["hashtag1","hashtag2"]},{"1394715742":["hashtag1","hashtag2"]},{"1394715745":["hashtag1","hashtag2"]},{"1394715739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715741, 1394715743, 1394715737, 1394715742, 1394715745, 1394715739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.894102811813354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:45:03.277481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_39_3822.jpg', '/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_45_2645.jpg', '/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_48_3674.jpg', '/home/pi/Desktop/images/16112025/04/44/image_16112025_04_44_09_3733.jpg', '/home/pi/Desktop/images/16112025/04/44/image_16112025_04_44_15_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_39_3822.jpg
/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_45_2645.jpg
/home/pi/Desktop/images/16112025/04/43/image_16112025_04_43_48_3674.jpg
/home/pi/Desktop/images/16112025/04/44/image_16112025_04_44_09_3733.jpg
/home/pi/Desktop/images/16112025/04/44/image_16112025_04_44_15_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715752","1394715751","1394715754","1394715757","1394715753"],"photo_ids_order":["1394715751","1394715752","1394715753","1394715754","1394715757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93953fbae018c8a65bb007eead078ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4863415113185418965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264764097,"filename":"image_16112025_04_43_45_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24211e9cca894e2993d066cb2ac7b7f0.jpg","text":"TemporaryFile(/tmp/multipartBody8660445115045982389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264764097,"filename":"image_16112025_04_43_39_3822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5fc45e28a99529876a3e14dec05edbe.jpg","text":"TemporaryFile(/tmp/multipartBody2874697281531052757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264764097,"filename":"image_16112025_04_44_09_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e319601a3d2ae191ae0bf35a79a6f378.jpg","text":"TemporaryFile(/tmp/multipartBody8566700764472582741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264764097,"filename":"image_16112025_04_44_15_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8ab8d7ac2cb7941679cd1a71e2463bc.jpg","text":"TemporaryFile(/tmp/multipartBody9165423616449475706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264764097,"filename":"image_16112025_04_43_48_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715753","file1":"1394715752","file0":"1394715751","file4":"1394715757","file3":"1394715754"},"map_files_photo_id_array":[{"photo_id":"1394715753","filename":"file2"},{"photo_id":"1394715757","filename":"file4"},{"photo_id":"1394715752","filename":"file1"},{"photo_id":"1394715751","filename":"file0"},{"photo_id":"1394715754","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715752":["hashtag1","hashtag2"]},{"1394715751":["hashtag1","hashtag2"]},{"1394715754":["hashtag1","hashtag2"]},{"1394715757":["hashtag1","hashtag2"]},{"1394715753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715752, 1394715751, 1394715754, 1394715757, 1394715753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.73605179786682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:45:42.625703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/44/image_16112025_04_44_30_2772.jpg', '/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_05_2662.jpg', '/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_09_3650.jpg', '/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_18_3787.jpg', '/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_24_2808.jpg', '/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_33_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/44/image_16112025_04_44_30_2772.jpg
/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_05_2662.jpg
/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_09_3650.jpg
/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_18_3787.jpg
/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_24_2808.jpg
/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_33_2771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715776","1394715779","1394715781","1394715783","1394715771","1394715774"],"photo_ids_order":["1394715771","1394715774","1394715776","1394715779","1394715781","1394715783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16b233afaab2234dc63cdbc14926cacc.jpg","text":"TemporaryFile(/tmp/multipartBody8842205111583104053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264803327,"filename":"image_16112025_04_45_09_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59a5030f017fa216eb40b031a1df4951.jpg","text":"TemporaryFile(/tmp/multipartBody5401562890819777582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264803327,"filename":"image_16112025_04_45_18_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c2d620d197a2a9cc03a8d2e540af5bf.jpg","text":"TemporaryFile(/tmp/multipartBody1461357667833789781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264803327,"filename":"image_16112025_04_45_24_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3aa4379a498bbfc96b3768f45acfc48e.jpg","text":"TemporaryFile(/tmp/multipartBody2472212417726836044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264803327,"filename":"image_16112025_04_45_33_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcdedaa11988df6b9f24acb5ae8a7894.jpg","text":"TemporaryFile(/tmp/multipartBody6894901835231518392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264803327,"filename":"image_16112025_04_44_30_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/057ca022da576cdc2b7978919b418fca.jpg","text":"TemporaryFile(/tmp/multipartBody8113489178870510202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264803327,"filename":"image_16112025_04_45_05_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715776","file1":"1394715774","file0":"1394715771","file4":"1394715781","file5":"1394715783","file3":"1394715779"},"map_files_photo_id_array":[{"photo_id":"1394715783","filename":"file5"},{"photo_id":"1394715776","filename":"file2"},{"photo_id":"1394715781","filename":"file4"},{"photo_id":"1394715774","filename":"file1"},{"photo_id":"1394715771","filename":"file0"},{"photo_id":"1394715779","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715776":["hashtag1","hashtag2"]},{"1394715779":["hashtag1","hashtag2"]},{"1394715781":["hashtag1","hashtag2"]},{"1394715783":["hashtag1","hashtag2"]},{"1394715771":["hashtag1","hashtag2"]},{"1394715774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715776, 1394715779, 1394715781, 1394715783, 1394715771, 1394715774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59698796272278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:46:21.960374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_36_2677.jpg', '/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_09_2663.jpg', '/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_26_2609.jpg', '/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_30_3690.jpg', '/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_35_2591.jpg', '/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_39_3876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/45/image_16112025_04_45_36_2677.jpg
/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_09_2663.jpg
/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_26_2609.jpg
/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_30_3690.jpg
/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_35_2591.jpg
/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_39_3876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715791","1394715794","1394715796","1394715790","1394715793","1394715792"],"photo_ids_order":["1394715790","1394715791","1394715792","1394715793","1394715794","1394715796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67586e146282247a37737c72a35222a8.jpg","text":"TemporaryFile(/tmp/multipartBody4945592776228754487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264842750,"filename":"image_16112025_04_46_09_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/075ce7c1fe69e985889b11cf26482b1b.jpg","text":"TemporaryFile(/tmp/multipartBody6040057266137563341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264842750,"filename":"image_16112025_04_46_35_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90c4fe0f6836110753438096b706e16e.jpg","text":"TemporaryFile(/tmp/multipartBody4980405575881059367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264842750,"filename":"image_16112025_04_46_39_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9fb3f2fa65d5865335337389b113275.jpg","text":"TemporaryFile(/tmp/multipartBody53049347117529595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264842750,"filename":"image_16112025_04_45_36_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53b38c83b9343d8d2c5f7f79315cba8b.jpg","text":"TemporaryFile(/tmp/multipartBody815293201437807214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264842750,"filename":"image_16112025_04_46_30_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16bc4c7a86e9a7ecd4ad0f34134ad2a6.jpg","text":"TemporaryFile(/tmp/multipartBody1663059032344708711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264842750,"filename":"image_16112025_04_46_26_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715792","file1":"1394715791","file0":"1394715790","file4":"1394715794","file5":"1394715796","file3":"1394715793"},"map_files_photo_id_array":[{"photo_id":"1394715796","filename":"file5"},{"photo_id":"1394715792","filename":"file2"},{"photo_id":"1394715794","filename":"file4"},{"photo_id":"1394715791","filename":"file1"},{"photo_id":"1394715790","filename":"file0"},{"photo_id":"1394715793","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715791":["hashtag1","hashtag2"]},{"1394715794":["hashtag1","hashtag2"]},{"1394715796":["hashtag1","hashtag2"]},{"1394715790":["hashtag1","hashtag2"]},{"1394715793":["hashtag1","hashtag2"]},{"1394715792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715791, 1394715794, 1394715796, 1394715790, 1394715793, 1394715792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40177774429321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:47:05.462428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:47:24.736047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_42_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/46/image_16112025_04_46_42_2726.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715805"],"photo_id":"1394715805","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a157f443976fc265d6b5b73d5a5a53a.jpg","text":"TemporaryFile(/tmp/multipartBody8885349931042455605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264905239,"filename":"image_16112025_04_46_42_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394715805"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394715805"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.197160482406616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:47:44.734518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:48:02.488371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:48:22.005154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_03_2676.jpg', '/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_06_2930.jpg', '/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_17_2723.jpg', '/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_20_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_03_2676.jpg
/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_06_2930.jpg
/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_17_2723.jpg
/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_20_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715834","1394715828","1394715836","1394715831"],"photo_ids_order":["1394715828","1394715831","1394715834","1394715836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57fef691f0920a5a120975ced78c314d.jpg","text":"TemporaryFile(/tmp/multipartBody7912081738873495119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264962695,"filename":"image_16112025_04_48_17_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5a9012a72fd39d4e4a378a4d950e919.jpg","text":"TemporaryFile(/tmp/multipartBody183832078515840640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264962695,"filename":"image_16112025_04_48_03_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/345facc3d52f67740ce600aa3386f08e.jpg","text":"TemporaryFile(/tmp/multipartBody4919459225550303467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264962695,"filename":"image_16112025_04_48_20_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c96c7c8560b8480fd1b20d3095a76ac2.jpg","text":"TemporaryFile(/tmp/multipartBody871485229973997934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763264962695,"filename":"image_16112025_04_48_06_2930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715834","file1":"1394715831","file0":"1394715828","file3":"1394715836"},"map_files_photo_id_array":[{"photo_id":"1394715834","filename":"file2"},{"photo_id":"1394715831","filename":"file1"},{"photo_id":"1394715828","filename":"file0"},{"photo_id":"1394715836","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715834":["hashtag1","hashtag2"]},{"1394715828":["hashtag1","hashtag2"]},{"1394715836":["hashtag1","hashtag2"]},{"1394715831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715834, 1394715828, 1394715836, 1394715831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.189403295516968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:49:03.031450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:49:22.146293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_33_3714.jpg', '/home/pi/Desktop/images/16112025/04/49/image_16112025_04_49_08_2651.jpg', '/home/pi/Desktop/images/16112025/04/49/image_16112025_04_49_11_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/48/image_16112025_04_48_33_3714.jpg
/home/pi/Desktop/images/16112025/04/49/image_16112025_04_49_08_2651.jpg
/home/pi/Desktop/images/16112025/04/49/image_16112025_04_49_11_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715849","1394715854","1394715851"],"photo_ids_order":["1394715849","1394715851","1394715854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8d8aac3f4584623d4021f611ff95684.jpg","text":"TemporaryFile(/tmp/multipartBody3950275449282185411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265022722,"filename":"image_16112025_04_48_33_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df2eadbe104e6234ec7be432a1049ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2190979643326782506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265022722,"filename":"image_16112025_04_49_11_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c4f4b68628d18acd18d87d8eb443d4d.jpg","text":"TemporaryFile(/tmp/multipartBody472657044812167716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265022722,"filename":"image_16112025_04_49_08_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715854","file1":"1394715851","file0":"1394715849"},"map_files_photo_id_array":[{"photo_id":"1394715854","filename":"file2"},{"photo_id":"1394715851","filename":"file1"},{"photo_id":"1394715849","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715849":["hashtag1","hashtag2"]},{"1394715854":["hashtag1","hashtag2"]},{"1394715851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715849, 1394715854, 1394715851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.636685609817505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:50:02.919733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:50:22.327254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/49/image_16112025_04_50_00_3677.jpg', '/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_09_3686.jpg', '/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_14_2701.jpg', '/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_27_3614.jpg', '/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_32_2640.jpg', '/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_44_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/49/image_16112025_04_50_00_3677.jpg
/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_09_3686.jpg
/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_14_2701.jpg
/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_27_3614.jpg
/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_32_2640.jpg
/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_44_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715875","1394715869","1394715877","1394715871","1394715874","1394715873"],"photo_ids_order":["1394715869","1394715871","1394715873","1394715874","1394715875","1394715877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/feccd1b077341a16cfc37cf58586d991.jpg","text":"TemporaryFile(/tmp/multipartBody6683062682452267564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265083086,"filename":"image_16112025_04_50_32_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f006c155ba427796dc1fd8d07270ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1775082479980513797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265083086,"filename":"image_16112025_04_50_00_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a950058441e44767fb9d8d157992169.jpg","text":"TemporaryFile(/tmp/multipartBody5796302342397373035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265083086,"filename":"image_16112025_04_50_44_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0284e540885438dfd78b17c044b1192b.jpg","text":"TemporaryFile(/tmp/multipartBody648144675764090047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265083086,"filename":"image_16112025_04_50_09_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39fc5c140cd45bfb727e43d38e9caf2c.jpg","text":"TemporaryFile(/tmp/multipartBody886967496990062371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265083086,"filename":"image_16112025_04_50_27_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4c90ed9167a5209d76257b5059d3b02.jpg","text":"TemporaryFile(/tmp/multipartBody117529112479797288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265083086,"filename":"image_16112025_04_50_14_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715873","file1":"1394715871","file0":"1394715869","file4":"1394715875","file5":"1394715877","file3":"1394715874"},"map_files_photo_id_array":[{"photo_id":"1394715877","filename":"file5"},{"photo_id":"1394715873","filename":"file2"},{"photo_id":"1394715875","filename":"file4"},{"photo_id":"1394715871","filename":"file1"},{"photo_id":"1394715869","filename":"file0"},{"photo_id":"1394715874","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715875":["hashtag1","hashtag2"]},{"1394715869":["hashtag1","hashtag2"]},{"1394715877":["hashtag1","hashtag2"]},{"1394715871":["hashtag1","hashtag2"]},{"1394715874":["hashtag1","hashtag2"]},{"1394715873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715875, 1394715869, 1394715877, 1394715871, 1394715874, 1394715873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49256205558777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:51:03.492001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_47_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_47_2539.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715883"],"photo_id":"1394715883","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8fc8b6263faf4afc798ea175db5aced.jpg","text":"TemporaryFile(/tmp/multipartBody5997648815468968313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265124042,"filename":"image_16112025_04_50_47_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394715883"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394715883"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.88122820854187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:51:22.777786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_56_2634.jpg', '/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_05_2654.jpg', '/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_12_3711.jpg', '/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_14_2557.jpg', '/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_23_2671.jpg', '/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_27_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/50/image_16112025_04_50_56_2634.jpg
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_05_2654.jpg
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_12_3711.jpg
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_14_2557.jpg
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_23_2671.jpg
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_27_3575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715893","1394715896","1394715892","1394715889","1394715891","1394715894"],"photo_ids_order":["1394715889","1394715891","1394715892","1394715893","1394715894","1394715896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e71eb4e8b90a878ca40fb77e5b8b085a.jpg","text":"TemporaryFile(/tmp/multipartBody5785203292641576365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265143471,"filename":"image_16112025_04_51_14_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89412b717ccd03e22a66c88ba3a29fb0.jpg","text":"TemporaryFile(/tmp/multipartBody9013406192206701915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265143471,"filename":"image_16112025_04_51_27_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96994b40a3a775fda35bcc1c173834ba.jpg","text":"TemporaryFile(/tmp/multipartBody939721020177075727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265143471,"filename":"image_16112025_04_51_12_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/008433ac44228ba740643add5ac6f002.jpg","text":"TemporaryFile(/tmp/multipartBody2247452374621539991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265143471,"filename":"image_16112025_04_50_56_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82340dc43b660bcfa97d2bd4c2cb6ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6120582421112373703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265143471,"filename":"image_16112025_04_51_05_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/075b33430b754dad0e3c06caed7894a5.jpg","text":"TemporaryFile(/tmp/multipartBody6174043874026425831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265143471,"filename":"image_16112025_04_51_23_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715892","file1":"1394715891","file0":"1394715889","file4":"1394715894","file5":"1394715896","file3":"1394715893"},"map_files_photo_id_array":[{"photo_id":"1394715896","filename":"file5"},{"photo_id":"1394715892","filename":"file2"},{"photo_id":"1394715894","filename":"file4"},{"photo_id":"1394715891","filename":"file1"},{"photo_id":"1394715889","filename":"file0"},{"photo_id":"1394715893","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715893":["hashtag1","hashtag2"]},{"1394715896":["hashtag1","hashtag2"]},{"1394715892":["hashtag1","hashtag2"]},{"1394715889":["hashtag1","hashtag2"]},{"1394715891":["hashtag1","hashtag2"]},{"1394715894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715893, 1394715896, 1394715892, 1394715889, 1394715891, 1394715894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01318883895874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:52:02.429334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_30_2783.jpg', '/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_47_2731.jpg', '/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_50_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_30_2783.jpg
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_47_2731.jpg
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_50_3565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715903","1394715901","1394715904"],"photo_ids_order":["1394715901","1394715903","1394715904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcaead0473c6879d9d91b983a6191412.jpg","text":"TemporaryFile(/tmp/multipartBody5791301532676916382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265183044,"filename":"image_16112025_04_51_47_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c909ae7b95a1477f6c60070ab23493dd.jpg","text":"TemporaryFile(/tmp/multipartBody4437304352302930634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265183044,"filename":"image_16112025_04_51_30_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76c707f9b73eb54ad1149882cad0ad00.jpg","text":"TemporaryFile(/tmp/multipartBody593564983760867930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265183044,"filename":"image_16112025_04_51_50_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715904","file1":"1394715903","file0":"1394715901"},"map_files_photo_id_array":[{"photo_id":"1394715904","filename":"file2"},{"photo_id":"1394715903","filename":"file1"},{"photo_id":"1394715901","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715903":["hashtag1","hashtag2"]},{"1394715901":["hashtag1","hashtag2"]},{"1394715904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715903, 1394715901, 1394715904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.87494707107544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:52:41.962636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_53_2554.jpg', '/home/pi/Desktop/images/16112025/04/52/image_16112025_04_52_35_3586.jpg', '/home/pi/Desktop/images/16112025/04/52/image_16112025_04_52_42_3624.jpg', '/home/pi/Desktop/images/16112025/04/52/image_16112025_04_52_50_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/51/image_16112025_04_51_53_2554.jpg
/home/pi/Desktop/images/16112025/04/52/image_16112025_04_52_35_3586.jpg
/home/pi/Desktop/images/16112025/04/52/image_16112025_04_52_42_3624.jpg
/home/pi/Desktop/images/16112025/04/52/image_16112025_04_52_50_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715915","1394715917","1394715913","1394715910"],"photo_ids_order":["1394715910","1394715913","1394715915","1394715917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d511bf2a82c5f7a250392fa753101d0a.jpg","text":"TemporaryFile(/tmp/multipartBody7857435483352773553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265222564,"filename":"image_16112025_04_52_42_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a389f1a64a38f74a86b6b833b484c29.jpg","text":"TemporaryFile(/tmp/multipartBody2383687094066001972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265222564,"filename":"image_16112025_04_52_50_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a48b0ac7c00187d4fb3cb450ed912e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1129832288050046907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265222564,"filename":"image_16112025_04_52_35_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b33b55d28c1868e139a82dc68b2b71b8.jpg","text":"TemporaryFile(/tmp/multipartBody4999216121406810091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265222564,"filename":"image_16112025_04_51_53_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715915","file1":"1394715913","file0":"1394715910","file3":"1394715917"},"map_files_photo_id_array":[{"photo_id":"1394715915","filename":"file2"},{"photo_id":"1394715913","filename":"file1"},{"photo_id":"1394715910","filename":"file0"},{"photo_id":"1394715917","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715915":["hashtag1","hashtag2"]},{"1394715917":["hashtag1","hashtag2"]},{"1394715913":["hashtag1","hashtag2"]},{"1394715910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715915, 1394715917, 1394715913, 1394715910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.46216106414795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:53:22.211436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/52/image_16112025_04_52_56_2627.jpg', '/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_08_2588.jpg', '/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_17_2913.jpg', '/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_20_2612.jpg', '/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_32_2608.jpg', '/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_38_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/52/image_16112025_04_52_56_2627.jpg
/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_08_2588.jpg
/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_17_2913.jpg
/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_20_2612.jpg
/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_32_2608.jpg
/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_38_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715933","1394715927","1394715923","1394715937","1394715925","1394715930"],"photo_ids_order":["1394715923","1394715925","1394715927","1394715930","1394715933","1394715937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b32bd9e97961f8ba941d948a0d92b84.jpg","text":"TemporaryFile(/tmp/multipartBody483643476251767937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265262920,"filename":"image_16112025_04_53_32_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94b8af22040ac59b954073743c6a1dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7425726874127796828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265262920,"filename":"image_16112025_04_53_17_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f11f1e7b8f0027f05528f19338318c3.jpg","text":"TemporaryFile(/tmp/multipartBody71819687703319287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265262920,"filename":"image_16112025_04_52_56_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2e2752b5365fd8d14b5e2bf125da80d.jpg","text":"TemporaryFile(/tmp/multipartBody6654633435190519967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265262920,"filename":"image_16112025_04_53_38_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f5bd4214ca922bfbd5a7baf5d6ac148.jpg","text":"TemporaryFile(/tmp/multipartBody1175347466753278149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265262920,"filename":"image_16112025_04_53_08_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f546d5fc77f291501f00b7ef4c67d02e.jpg","text":"TemporaryFile(/tmp/multipartBody1178593828880199409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265262920,"filename":"image_16112025_04_53_20_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715927","file1":"1394715925","file0":"1394715923","file4":"1394715933","file5":"1394715937","file3":"1394715930"},"map_files_photo_id_array":[{"photo_id":"1394715937","filename":"file5"},{"photo_id":"1394715927","filename":"file2"},{"photo_id":"1394715933","filename":"file4"},{"photo_id":"1394715925","filename":"file1"},{"photo_id":"1394715923","filename":"file0"},{"photo_id":"1394715930","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715933":["hashtag1","hashtag2"]},{"1394715927":["hashtag1","hashtag2"]},{"1394715923":["hashtag1","hashtag2"]},{"1394715937":["hashtag1","hashtag2"]},{"1394715925":["hashtag1","hashtag2"]},{"1394715930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715933, 1394715927, 1394715923, 1394715937, 1394715925, 1394715930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80181646347046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:54:03.063604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_41_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_41_2635.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715948"],"photo_id":"1394715948","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9913144722a4693015f8e0775d9491c2.jpg","text":"TemporaryFile(/tmp/multipartBody1722810382607648746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265303620,"filename":"image_16112025_04_53_41_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394715948"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394715948"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.19332218170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:54:22.487562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_56_3827.jpg', '/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_05_2829.jpg', '/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_11_2655.jpg', '/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_14_2731.jpg', '/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_17_3778.jpg', '/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_20_2954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/53/image_16112025_04_53_56_3827.jpg
/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_05_2829.jpg
/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_11_2655.jpg
/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_14_2731.jpg
/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_17_3778.jpg
/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_20_2954.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715953","1394715962","1394715956","1394715959","1394715964","1394715961"],"photo_ids_order":["1394715953","1394715956","1394715959","1394715961","1394715962","1394715964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3abc0e55a6aa95984a8122a23ccbcea1.jpg","text":"TemporaryFile(/tmp/multipartBody6428891216391205060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265323219,"filename":"image_16112025_04_53_56_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e79ecd0b27498602a19572dc70daa680.jpg","text":"TemporaryFile(/tmp/multipartBody2125607332574898530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265323219,"filename":"image_16112025_04_54_17_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f234c7d460f18a523d7081534acd128.jpg","text":"TemporaryFile(/tmp/multipartBody553448656331864136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265323219,"filename":"image_16112025_04_54_05_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3487a95cf5d44b9faf740a74d9e0f33.jpg","text":"TemporaryFile(/tmp/multipartBody2358774314701233217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265323219,"filename":"image_16112025_04_54_11_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9ab38337d5865d1d85d87a5529f287f.jpg","text":"TemporaryFile(/tmp/multipartBody8149338667789973232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265323219,"filename":"image_16112025_04_54_20_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5da162516af9a95d33efae4854c51f97.jpg","text":"TemporaryFile(/tmp/multipartBody2535697489351796686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265323219,"filename":"image_16112025_04_54_14_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715959","file1":"1394715956","file0":"1394715953","file4":"1394715962","file5":"1394715964","file3":"1394715961"},"map_files_photo_id_array":[{"photo_id":"1394715964","filename":"file5"},{"photo_id":"1394715959","filename":"file2"},{"photo_id":"1394715962","filename":"file4"},{"photo_id":"1394715956","filename":"file1"},{"photo_id":"1394715953","filename":"file0"},{"photo_id":"1394715961","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715953":["hashtag1","hashtag2"]},{"1394715962":["hashtag1","hashtag2"]},{"1394715956":["hashtag1","hashtag2"]},{"1394715959":["hashtag1","hashtag2"]},{"1394715964":["hashtag1","hashtag2"]},{"1394715961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715953, 1394715962, 1394715956, 1394715959, 1394715964, 1394715961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.954607248306274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:55:03.470448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_37_2639.jpg', '/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_56_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_37_2639.jpg
/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_56_2675.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715971","1394715970"],"photo_ids_order":["1394715970","1394715971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3344b40ddebff3a2ae8a55bae8eaa6f9.jpg","text":"TemporaryFile(/tmp/multipartBody6183933970818549653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265364069,"filename":"image_16112025_04_54_56_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38949ae6d48ab4c6a6903ecef479148d.jpg","text":"TemporaryFile(/tmp/multipartBody5627005673205579260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265364069,"filename":"image_16112025_04_54_37_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394715971","file0":"1394715970"},"map_files_photo_id_array":[{"photo_id":"1394715971","filename":"file1"},{"photo_id":"1394715970","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715971":["hashtag1","hashtag2"]},{"1394715970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715971, 1394715970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.948418378829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:55:22.621124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_59_3620.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_02_2576.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_08_3538.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_14_2597.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_17_3609.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_20_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/54/image_16112025_04_54_59_3620.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_02_2576.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_08_3538.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_14_2597.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_17_3609.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_20_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715983","1394715976","1394715985","1394715979","1394715987","1394715981"],"photo_ids_order":["1394715976","1394715979","1394715981","1394715983","1394715985","1394715987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9a80011d8668b53bbd86739ff643fba.jpg","text":"TemporaryFile(/tmp/multipartBody8060795986940239894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265383328,"filename":"image_16112025_04_55_14_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3590425d40792f555dc93ab99f562832.jpg","text":"TemporaryFile(/tmp/multipartBody2741260690618459145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265383328,"filename":"image_16112025_04_54_59_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb1d624cb22eb1db5ef0eb5706ef1270.jpg","text":"TemporaryFile(/tmp/multipartBody3357795029035058497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265383328,"filename":"image_16112025_04_55_17_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d8e421e07badeb8cb05e0a88c09d3fa.jpg","text":"TemporaryFile(/tmp/multipartBody8889143532116209937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265383328,"filename":"image_16112025_04_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/11/16/7de679fad11889d5f2d68bd39e92eaf0.jpg","text":"TemporaryFile(/tmp/multipartBody4106828328273143795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265383328,"filename":"image_16112025_04_55_20_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25d10aa73350104957d25807a9b67e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5146174718716308122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265383328,"filename":"image_16112025_04_55_08_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715981","file1":"1394715979","file0":"1394715976","file4":"1394715985","file5":"1394715987","file3":"1394715983"},"map_files_photo_id_array":[{"photo_id":"1394715987","filename":"file5"},{"photo_id":"1394715981","filename":"file2"},{"photo_id":"1394715985","filename":"file4"},{"photo_id":"1394715979","filename":"file1"},{"photo_id":"1394715976","filename":"file0"},{"photo_id":"1394715983","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715983":["hashtag1","hashtag2"]},{"1394715976":["hashtag1","hashtag2"]},{"1394715985":["hashtag1","hashtag2"]},{"1394715979":["hashtag1","hashtag2"]},{"1394715987":["hashtag1","hashtag2"]},{"1394715981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715983, 1394715976, 1394715985, 1394715979, 1394715987, 1394715981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34442114830017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:56:02.434976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_22_2519.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_41_3625.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_47_2706.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_50_2857.jpg', '/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_56_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_22_2519.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_41_3625.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_47_2706.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_50_2857.jpg
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_56_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394715995","1394715994","1394715999","1394715993","1394715996"],"photo_ids_order":["1394715993","1394715994","1394715995","1394715996","1394715999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86c002418a948603fd37650aaa6b42e3.jpg","text":"TemporaryFile(/tmp/multipartBody451125940770796881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265423140,"filename":"image_16112025_04_55_47_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/289b60767538f873bd964048441ab7e1.jpg","text":"TemporaryFile(/tmp/multipartBody5325149538669208329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265423140,"filename":"image_16112025_04_55_41_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a77e94ee6be9128f61699cc9091ca7bf.jpg","text":"TemporaryFile(/tmp/multipartBody5450540934633995250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265423140,"filename":"image_16112025_04_55_56_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/946ae2219f6d5ac256ce6be74f5ca901.jpg","text":"TemporaryFile(/tmp/multipartBody1524248283782352500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265423140,"filename":"image_16112025_04_55_22_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e701cd22d1f6dcb27943c302084fb414.jpg","text":"TemporaryFile(/tmp/multipartBody4398617789724151993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265423140,"filename":"image_16112025_04_55_50_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394715995","file1":"1394715994","file0":"1394715993","file4":"1394715999","file3":"1394715996"},"map_files_photo_id_array":[{"photo_id":"1394715995","filename":"file2"},{"photo_id":"1394715999","filename":"file4"},{"photo_id":"1394715994","filename":"file1"},{"photo_id":"1394715993","filename":"file0"},{"photo_id":"1394715996","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394715995":["hashtag1","hashtag2"]},{"1394715994":["hashtag1","hashtag2"]},{"1394715999":["hashtag1","hashtag2"]},{"1394715993":["hashtag1","hashtag2"]},{"1394715996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394715995, 1394715994, 1394715999, 1394715993, 1394715996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.317344903945923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:56:41.896606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_58_2592.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_07_2763.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_11_3842.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_23_3656.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_26_2611.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_29_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/55/image_16112025_04_55_58_2592.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_07_2763.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_11_3842.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_23_3656.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_26_2611.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_29_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716019","1394716010","1394716007","1394716012","1394716003","1394716014"],"photo_ids_order":["1394716003","1394716007","1394716010","1394716012","1394716014","1394716019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a545a5900bb92999d444d225ef01bca5.jpg","text":"TemporaryFile(/tmp/multipartBody5962596306270070838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265462631,"filename":"image_16112025_04_56_29_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7608f3e6fa386830fb1cec24a75b191f.jpg","text":"TemporaryFile(/tmp/multipartBody7754564868321842387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265462631,"filename":"image_16112025_04_56_11_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37270c864ecee5969dac98172f80d391.jpg","text":"TemporaryFile(/tmp/multipartBody2802977328343024827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265462631,"filename":"image_16112025_04_56_07_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41aced4f166075453ecedc98c5f3dd8f.jpg","text":"TemporaryFile(/tmp/multipartBody187164850749431560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265462631,"filename":"image_16112025_04_56_23_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85fb25c1be04c55490a3aeb43bc38422.jpg","text":"TemporaryFile(/tmp/multipartBody3992821451351046968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265462631,"filename":"image_16112025_04_55_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/11/16/4ff0e6a635759a02c6d2c756f4b97d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3099689577729431515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265462631,"filename":"image_16112025_04_56_26_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716010","file1":"1394716007","file0":"1394716003","file4":"1394716014","file5":"1394716019","file3":"1394716012"},"map_files_photo_id_array":[{"photo_id":"1394716019","filename":"file5"},{"photo_id":"1394716010","filename":"file2"},{"photo_id":"1394716014","filename":"file4"},{"photo_id":"1394716007","filename":"file1"},{"photo_id":"1394716003","filename":"file0"},{"photo_id":"1394716012","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716019":["hashtag1","hashtag2"]},{"1394716010":["hashtag1","hashtag2"]},{"1394716007":["hashtag1","hashtag2"]},{"1394716012":["hashtag1","hashtag2"]},{"1394716003":["hashtag1","hashtag2"]},{"1394716014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716019, 1394716010, 1394716007, 1394716012, 1394716003, 1394716014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.051873207092285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 04:57:22.127525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_34_2621.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_41_3646.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_44_2740.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_50_3701.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_56_2747.jpg', '/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_59_2903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_34_2621.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_41_3646.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_44_2740.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_50_3701.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_56_2747.jpg
/home/pi/Desktop/images/16112025/04/56/image_16112025_04_56_59_2903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716034","1394716028","1394716031","1394716025","1394716030","1394716023"],"photo_ids_order":["1394716023","1394716025","1394716028","1394716030","1394716031","1394716034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e9b9d30aa7d3666cb735fc7e723d4f9.jpg","text":"TemporaryFile(/tmp/multipartBody6243391551015670907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265502830,"filename":"image_16112025_04_56_59_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8328e4d4949f34b16cfb6552257e0d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1079893635439263708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265502830,"filename":"image_16112025_04_56_44_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50e1bed961eb6930f28184d12b98a4d7.jpg","text":"TemporaryFile(/tmp/multipartBody4033852184397680776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265502830,"filename":"image_16112025_04_56_56_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fec781a7e655d1c99e922573da7b7907.jpg","text":"TemporaryFile(/tmp/multipartBody2121738746245523125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265502830,"filename":"image_16112025_04_56_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/11/16/3a42a187b8aab3a48e383e3f1d17f184.jpg","text":"TemporaryFile(/tmp/multipartBody7327783995053229660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265502830,"filename":"image_16112025_04_56_50_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/063059dbd2106e7157ebedeba02a4016.jpg","text":"TemporaryFile(/tmp/multipartBody3980686795009865501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265502830,"filename":"image_16112025_04_56_34_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716028","file1":"1394716025","file0":"1394716023","file4":"1394716031","file5":"1394716034","file3":"1394716030"},"map_files_photo_id_array":[{"photo_id":"1394716034","filename":"file5"},{"photo_id":"1394716028","filename":"file2"},{"photo_id":"1394716031","filename":"file4"},{"photo_id":"1394716025","filename":"file1"},{"photo_id":"1394716023","filename":"file0"},{"photo_id":"1394716030","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716034":["hashtag1","hashtag2"]},{"1394716028":["hashtag1","hashtag2"]},{"1394716031":["hashtag1","hashtag2"]},{"1394716025":["hashtag1","hashtag2"]},{"1394716030":["hashtag1","hashtag2"]},{"1394716023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716034, 1394716028, 1394716031, 1394716025, 1394716030, 1394716023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68889379501343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 04:59:03.453682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_22_2676.jpg', '/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_26_3557.jpg', '/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_31_2650.jpg', '/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_38_2544.jpg', '/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_44_3795.jpg', '/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_47_2876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_22_2676.jpg
/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_26_3557.jpg
/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_31_2650.jpg
/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_38_2544.jpg
/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_44_3795.jpg
/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_47_2876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716067","1394716052","1394716063","1394716057","1394716060","1394716048"],"photo_ids_order":["1394716048","1394716052","1394716057","1394716060","1394716063","1394716067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8bb01808b3dad01bc8518ff7257cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody2194331237795616418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265604414,"filename":"image_16112025_04_57_47_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/975815c933fac8bf48da61365de920f2.jpg","text":"TemporaryFile(/tmp/multipartBody7142128959290393820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265604414,"filename":"image_16112025_04_57_26_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6bec83e82a86acc2c672730ed09c630.jpg","text":"TemporaryFile(/tmp/multipartBody5002366857676044553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265604414,"filename":"image_16112025_04_57_44_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0023462d0df82de1e23447d7ce289f25.jpg","text":"TemporaryFile(/tmp/multipartBody3975554951586223487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265604414,"filename":"image_16112025_04_57_31_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27e022ff5f1021012e4dba3f934b792e.jpg","text":"TemporaryFile(/tmp/multipartBody1561739250438264588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265604414,"filename":"image_16112025_04_57_38_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8359a968341c3f30944cbc0238f7307.jpg","text":"TemporaryFile(/tmp/multipartBody298048030771429510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265604414,"filename":"image_16112025_04_57_22_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716057","file1":"1394716052","file0":"1394716048","file4":"1394716063","file5":"1394716067","file3":"1394716060"},"map_files_photo_id_array":[{"photo_id":"1394716067","filename":"file5"},{"photo_id":"1394716057","filename":"file2"},{"photo_id":"1394716063","filename":"file4"},{"photo_id":"1394716052","filename":"file1"},{"photo_id":"1394716048","filename":"file0"},{"photo_id":"1394716060","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716067":["hashtag1","hashtag2"]},{"1394716052":["hashtag1","hashtag2"]},{"1394716063":["hashtag1","hashtag2"]},{"1394716057":["hashtag1","hashtag2"]},{"1394716060":["hashtag1","hashtag2"]},{"1394716048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716067, 1394716052, 1394716063, 1394716057, 1394716060, 1394716048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38744068145752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 04:59:42.546387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_56_3827.jpg', '/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_59_2851.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_08_3771.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_11_2649.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_13_2709.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_23_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_56_3827.jpg
/home/pi/Desktop/images/16112025/04/57/image_16112025_04_57_59_2851.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_08_3771.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_11_2649.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_13_2709.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_23_2868.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716090","1394716072","1394716086","1394716074","1394716077","1394716082"],"photo_ids_order":["1394716072","1394716074","1394716077","1394716082","1394716086","1394716090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db9b9020842fdaba18ea4568e786b94c.jpg","text":"TemporaryFile(/tmp/multipartBody4612175946436497874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265643341,"filename":"image_16112025_04_58_23_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d0d813ab9d4adf81d06627dbabb29e1.jpg","text":"TemporaryFile(/tmp/multipartBody6228760941423140883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265643341,"filename":"image_16112025_04_57_56_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be4b803ae4104606f13082123da23000.jpg","text":"TemporaryFile(/tmp/multipartBody6840511644134698839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265643341,"filename":"image_16112025_04_58_13_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/942863d2713fd4e7daf130cfa5b5ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody4550725604515222801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265643341,"filename":"image_16112025_04_57_59_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f7a5fe0cc482fc7cc6a95844243ba4b.jpg","text":"TemporaryFile(/tmp/multipartBody5880471352832510763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265643341,"filename":"image_16112025_04_58_08_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7f8914c952a69208bc18321196c940e.jpg","text":"TemporaryFile(/tmp/multipartBody8375004353035698183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265643341,"filename":"image_16112025_04_58_11_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716077","file1":"1394716074","file0":"1394716072","file4":"1394716086","file5":"1394716090","file3":"1394716082"},"map_files_photo_id_array":[{"photo_id":"1394716090","filename":"file5"},{"photo_id":"1394716077","filename":"file2"},{"photo_id":"1394716086","filename":"file4"},{"photo_id":"1394716074","filename":"file1"},{"photo_id":"1394716072","filename":"file0"},{"photo_id":"1394716082","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716090":["hashtag1","hashtag2"]},{"1394716072":["hashtag1","hashtag2"]},{"1394716086":["hashtag1","hashtag2"]},{"1394716074":["hashtag1","hashtag2"]},{"1394716077":["hashtag1","hashtag2"]},{"1394716082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716090, 1394716072, 1394716086, 1394716074, 1394716077, 1394716082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.487990379333496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:00:22.771018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_28_2718.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_32_3719.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_35_2797.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_41_3655.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_43_2544.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_50_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_28_2718.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_32_3719.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_35_2797.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_41_3655.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_43_2544.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_50_3703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716091","1394716094","1394716103","1394716099","1394716092","1394716097"],"photo_ids_order":["1394716091","1394716092","1394716094","1394716097","1394716099","1394716103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2af64b7f372ddbc463390c6978fa3868.jpg","text":"TemporaryFile(/tmp/multipartBody6962686986288791101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265683528,"filename":"image_16112025_04_58_28_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24c18542895665abf18b15a6f8b121d7.jpg","text":"TemporaryFile(/tmp/multipartBody8013989389337607933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265683528,"filename":"image_16112025_04_58_35_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b1318e33e8631e3d0756120e318025b.jpg","text":"TemporaryFile(/tmp/multipartBody9222559103574048577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265683528,"filename":"image_16112025_04_58_50_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17a4353f5c606e2a17cc631de28e4ace.jpg","text":"TemporaryFile(/tmp/multipartBody5268998193621957129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265683528,"filename":"image_16112025_04_58_43_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cd1e2a1d2ab1368ba63704f33bff80e.jpg","text":"TemporaryFile(/tmp/multipartBody5520590713760960515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265683528,"filename":"image_16112025_04_58_32_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f43c239c9a22a42820fdd60491882966.jpg","text":"TemporaryFile(/tmp/multipartBody7547958752581235439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265683528,"filename":"image_16112025_04_58_41_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716094","file1":"1394716092","file0":"1394716091","file4":"1394716099","file5":"1394716103","file3":"1394716097"},"map_files_photo_id_array":[{"photo_id":"1394716103","filename":"file5"},{"photo_id":"1394716094","filename":"file2"},{"photo_id":"1394716099","filename":"file4"},{"photo_id":"1394716092","filename":"file1"},{"photo_id":"1394716091","filename":"file0"},{"photo_id":"1394716097","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716091":["hashtag1","hashtag2"]},{"1394716094":["hashtag1","hashtag2"]},{"1394716103":["hashtag1","hashtag2"]},{"1394716099":["hashtag1","hashtag2"]},{"1394716092":["hashtag1","hashtag2"]},{"1394716097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716091, 1394716094, 1394716103, 1394716099, 1394716092, 1394716097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07113242149353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:01:02.633739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_53_2659.jpg', '/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_55_2701.jpg', '/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_08_3539.jpg', '/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_13_2749.jpg', '/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_20_3865.jpg', '/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_29_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_53_2659.jpg
/home/pi/Desktop/images/16112025/04/58/image_16112025_04_58_55_2701.jpg
/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_08_3539.jpg
/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_13_2749.jpg
/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_20_3865.jpg
/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_29_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716115","1394716112","1394716111","1394716108","1394716117","1394716110"],"photo_ids_order":["1394716108","1394716110","1394716111","1394716112","1394716115","1394716117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ddd36b636ad1d681a2dee40b68041b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5785689794881807793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265723474,"filename":"image_16112025_04_59_20_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d79ac93e9587c9399ec09f56f3206ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4536040513839639490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265723474,"filename":"image_16112025_04_59_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/11/16/8c0ecfac95888ee4174e200ce4232d4b.jpg","text":"TemporaryFile(/tmp/multipartBody616664583180759610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265723474,"filename":"image_16112025_04_59_08_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4492d654f923c5efefb9fd8317f1a25d.jpg","text":"TemporaryFile(/tmp/multipartBody722134088946385322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265723474,"filename":"image_16112025_04_58_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/11/16/ad011040ad1e8ceb2b321b57b7761f5a.jpg","text":"TemporaryFile(/tmp/multipartBody5752246895379817038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265723474,"filename":"image_16112025_04_59_29_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ae54bd0ff799f234f628d3b8f32923c.jpg","text":"TemporaryFile(/tmp/multipartBody2125169732379027497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265723474,"filename":"image_16112025_04_58_55_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716111","file1":"1394716110","file0":"1394716108","file4":"1394716115","file5":"1394716117","file3":"1394716112"},"map_files_photo_id_array":[{"photo_id":"1394716117","filename":"file5"},{"photo_id":"1394716111","filename":"file2"},{"photo_id":"1394716115","filename":"file4"},{"photo_id":"1394716110","filename":"file1"},{"photo_id":"1394716108","filename":"file0"},{"photo_id":"1394716112","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716115":["hashtag1","hashtag2"]},{"1394716112":["hashtag1","hashtag2"]},{"1394716111":["hashtag1","hashtag2"]},{"1394716108":["hashtag1","hashtag2"]},{"1394716117":["hashtag1","hashtag2"]},{"1394716110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716115, 1394716112, 1394716111, 1394716108, 1394716117, 1394716110)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.86117124557495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:02:02.558435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_52_2645.jpg', '/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_58_2716.jpg', '/home/pi/Desktop/images/16112025/04/59/image_16112025_05_00_01_2728.jpg', '/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_07_2750.jpg', '/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_10_2699.jpg', '/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_19_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_52_2645.jpg
/home/pi/Desktop/images/16112025/04/59/image_16112025_04_59_58_2716.jpg
/home/pi/Desktop/images/16112025/04/59/image_16112025_05_00_01_2728.jpg
/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_07_2750.jpg
/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_10_2699.jpg
/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_19_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716136","1394716138","1394716135","1394716140","1394716134","1394716137"],"photo_ids_order":["1394716134","1394716135","1394716136","1394716137","1394716138","1394716140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aec632b2a590ebd49941464b4c0f106b.jpg","text":"TemporaryFile(/tmp/multipartBody4217503841090177136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265783381,"filename":"image_16112025_05_00_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/11/16/7ecf0536330e8a7f1e4e7d4482bea479.jpg","text":"TemporaryFile(/tmp/multipartBody6987615776054108134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265783381,"filename":"image_16112025_05_00_10_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/174e63af84f7b856c56b4396153eb920.jpg","text":"TemporaryFile(/tmp/multipartBody6666142058487333206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265783381,"filename":"image_16112025_04_59_58_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1caf2684bc897b5c4107001a614e33d.jpg","text":"TemporaryFile(/tmp/multipartBody3908085548760398473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265783381,"filename":"image_16112025_05_00_19_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e29255e6844e24cc8b5c02a07cb2925a.jpg","text":"TemporaryFile(/tmp/multipartBody8884382434475760223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265783381,"filename":"image_16112025_04_59_52_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c145fb7b54014b0c307fcdcc55c425d4.jpg","text":"TemporaryFile(/tmp/multipartBody8563585786206783789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265783381,"filename":"image_16112025_05_00_07_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716136","file1":"1394716135","file0":"1394716134","file4":"1394716138","file5":"1394716140","file3":"1394716137"},"map_files_photo_id_array":[{"photo_id":"1394716140","filename":"file5"},{"photo_id":"1394716136","filename":"file2"},{"photo_id":"1394716138","filename":"file4"},{"photo_id":"1394716135","filename":"file1"},{"photo_id":"1394716134","filename":"file0"},{"photo_id":"1394716137","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716136":["hashtag1","hashtag2"]},{"1394716138":["hashtag1","hashtag2"]},{"1394716135":["hashtag1","hashtag2"]},{"1394716140":["hashtag1","hashtag2"]},{"1394716134":["hashtag1","hashtag2"]},{"1394716137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716136, 1394716138, 1394716135, 1394716140, 1394716134, 1394716137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26248383522034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:02:42.164909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_31_2703.jpg', '/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_37_2619.jpg', '/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_46_2635.jpg', '/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_55_2561.jpg', '/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_58_2780.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_01_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_31_2703.jpg
/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_37_2619.jpg
/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_46_2635.jpg
/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_55_2561.jpg
/home/pi/Desktop/images/16112025/05/00/image_16112025_05_00_58_2780.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_01_2819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716157","1394716159","1394716150","1394716153","1394716155","1394716146"],"photo_ids_order":["1394716146","1394716150","1394716153","1394716155","1394716157","1394716159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f46f021823aac164771fec404ebdd890.jpg","text":"TemporaryFile(/tmp/multipartBody8479452462694608289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265822859,"filename":"image_16112025_05_00_58_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afe9fa184880ecb3b87d9befb61cb74e.jpg","text":"TemporaryFile(/tmp/multipartBody5010312033289060017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265822859,"filename":"image_16112025_05_01_01_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13b33ff30115eec2b088dbd85e594cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6808885458606200854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265822859,"filename":"image_16112025_05_00_37_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/855307fc7b931bbc91fb5f666105db59.jpg","text":"TemporaryFile(/tmp/multipartBody6329793022896553221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265822859,"filename":"image_16112025_05_00_46_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5038ec913f7072f10e714d60899a859b.jpg","text":"TemporaryFile(/tmp/multipartBody2366292183668238993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265822859,"filename":"image_16112025_05_00_55_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ee1bd0b235bee7513384b60d8f5323a.jpg","text":"TemporaryFile(/tmp/multipartBody1137656984223198070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265822859,"filename":"image_16112025_05_00_31_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716153","file1":"1394716150","file0":"1394716146","file4":"1394716157","file5":"1394716159","file3":"1394716155"},"map_files_photo_id_array":[{"photo_id":"1394716159","filename":"file5"},{"photo_id":"1394716153","filename":"file2"},{"photo_id":"1394716157","filename":"file4"},{"photo_id":"1394716150","filename":"file1"},{"photo_id":"1394716146","filename":"file0"},{"photo_id":"1394716155","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716157":["hashtag1","hashtag2"]},{"1394716159":["hashtag1","hashtag2"]},{"1394716150":["hashtag1","hashtag2"]},{"1394716153":["hashtag1","hashtag2"]},{"1394716155":["hashtag1","hashtag2"]},{"1394716146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716157, 1394716159, 1394716150, 1394716153, 1394716155, 1394716146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93269729614258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:03:22.292517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_07_2576.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_10_2763.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_16_2614.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_19_2690.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_23_3714.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_31_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_07_2576.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_10_2763.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_16_2614.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_19_2690.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_23_3714.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_31_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716163","1394716166","1394716169","1394716171","1394716170","1394716173"],"photo_ids_order":["1394716163","1394716166","1394716169","1394716170","1394716171","1394716173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/807c7b55a078d040f10fd0a9db1c0a05.jpg","text":"TemporaryFile(/tmp/multipartBody1108805811247799722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265863004,"filename":"image_16112025_05_01_07_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b87b204d811b6287c66a30a453fefb87.jpg","text":"TemporaryFile(/tmp/multipartBody573197545612014420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265863004,"filename":"image_16112025_05_01_10_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f68a83a67adf37e9b8eeb2bbc274308a.jpg","text":"TemporaryFile(/tmp/multipartBody180948280410349019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265863004,"filename":"image_16112025_05_01_16_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1cd748874753e543711fad97e0311d0.jpg","text":"TemporaryFile(/tmp/multipartBody3048703340968717153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265863004,"filename":"image_16112025_05_01_23_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fc4368115c7c027311f15f569e4a02a.jpg","text":"TemporaryFile(/tmp/multipartBody7326148708195504120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265863004,"filename":"image_16112025_05_01_19_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e0f3e5039cd296a80ea2c6285732539.jpg","text":"TemporaryFile(/tmp/multipartBody1307869027817029597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265863004,"filename":"image_16112025_05_01_31_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716169","file1":"1394716166","file0":"1394716163","file4":"1394716171","file5":"1394716173","file3":"1394716170"},"map_files_photo_id_array":[{"photo_id":"1394716173","filename":"file5"},{"photo_id":"1394716169","filename":"file2"},{"photo_id":"1394716171","filename":"file4"},{"photo_id":"1394716166","filename":"file1"},{"photo_id":"1394716163","filename":"file0"},{"photo_id":"1394716170","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716163":["hashtag1","hashtag2"]},{"1394716166":["hashtag1","hashtag2"]},{"1394716169":["hashtag1","hashtag2"]},{"1394716171":["hashtag1","hashtag2"]},{"1394716170":["hashtag1","hashtag2"]},{"1394716173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716163, 1394716166, 1394716169, 1394716171, 1394716170, 1394716173)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.86359930038452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:04:25.823772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_43_2702.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_46_2664.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_49_2649.jpg', '/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_53_3885.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_02_3681.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_07_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_43_2702.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_46_2664.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_49_2649.jpg
/home/pi/Desktop/images/16112025/05/01/image_16112025_05_01_53_3885.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_02_3681.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_07_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716190","1394716187","1394716192","1394716186","1394716183","1394716188"],"photo_ids_order":["1394716183","1394716186","1394716187","1394716188","1394716190","1394716192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/780b4111037f605ef643c8915b1d31fa.jpg","text":"TemporaryFile(/tmp/multipartBody5422529724994404026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265926602,"filename":"image_16112025_05_02_02_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c2a946352dc3b9229ce0dd69074aae4.jpg","text":"TemporaryFile(/tmp/multipartBody9090760458475897443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265926602,"filename":"image_16112025_05_01_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/11/16/7976fca05626c835b2fd8484347f925a.jpg","text":"TemporaryFile(/tmp/multipartBody6994300446631680440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265926602,"filename":"image_16112025_05_02_07_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63a49afe374f5f151097810459a949b4.jpg","text":"TemporaryFile(/tmp/multipartBody1354482243288569503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265926602,"filename":"image_16112025_05_01_46_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56cb23e0db1f1cb1412fae5b948bc1ec.jpg","text":"TemporaryFile(/tmp/multipartBody8378975335737493854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265926602,"filename":"image_16112025_05_01_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/11/16/2717f57f3543b94d0995a68a0448a4e2.jpg","text":"TemporaryFile(/tmp/multipartBody3810905163745678830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763265926602,"filename":"image_16112025_05_01_53_3885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716187","file1":"1394716186","file0":"1394716183","file4":"1394716190","file5":"1394716192","file3":"1394716188"},"map_files_photo_id_array":[{"photo_id":"1394716192","filename":"file5"},{"photo_id":"1394716187","filename":"file2"},{"photo_id":"1394716190","filename":"file4"},{"photo_id":"1394716186","filename":"file1"},{"photo_id":"1394716183","filename":"file0"},{"photo_id":"1394716188","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716190":["hashtag1","hashtag2"]},{"1394716187":["hashtag1","hashtag2"]},{"1394716192":["hashtag1","hashtag2"]},{"1394716186":["hashtag1","hashtag2"]},{"1394716183":["hashtag1","hashtag2"]},{"1394716188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716190, 1394716187, 1394716192, 1394716186, 1394716183, 1394716188)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.63722276687622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:05:26.129982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_11_3624.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_13_2715.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_23_3776.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_25_2562.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_34_2687.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_47_10100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_11_3624.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_13_2715.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_23_3776.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_25_2562.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_34_2687.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_47_10100.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.6636800765991211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:05:46.154872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_11_3624.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_13_2715.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_23_3776.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_25_2562.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_34_2687.jpg', '/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_47_10100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_11_3624.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_13_2715.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_23_3776.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_25_2562.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_34_2687.jpg
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_47_10100.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716208","1394716211","1394716219","1394716213","1394716215","1394716218"],"photo_ids_order":["1394716208","1394716211","1394716213","1394716215","1394716218","1394716219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ff2cd2e2650e28ee07b5458d3830c03.jpg","text":"TemporaryFile(/tmp/multipartBody7501996725903286779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266006847,"filename":"image_16112025_05_02_11_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11c3c5d162405e7f9816beaaf426aa92.jpg","text":"TemporaryFile(/tmp/multipartBody2084298007100071777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266006847,"filename":"image_16112025_05_02_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/11/16/25e725c0b73f7be88aaa3eadc87b7dcc.jpg","text":"TemporaryFile(/tmp/multipartBody2198592551983416032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266006847,"filename":"image_16112025_05_02_47_10100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ac578b1cab13e8b5c935554eed08ee9.jpg","text":"TemporaryFile(/tmp/multipartBody741989226135064748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266006847,"filename":"image_16112025_05_02_23_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db5fad34ad3d990f70adf78a04a6e3e6.jpg","text":"TemporaryFile(/tmp/multipartBody8263389852332388766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266006847,"filename":"image_16112025_05_02_25_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a5e759e7b8e01c7eab62d580538b5cb.jpg","text":"TemporaryFile(/tmp/multipartBody1416888924721019275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266006847,"filename":"image_16112025_05_02_34_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716213","file1":"1394716211","file0":"1394716208","file4":"1394716218","file5":"1394716219","file3":"1394716215"},"map_files_photo_id_array":[{"photo_id":"1394716219","filename":"file5"},{"photo_id":"1394716213","filename":"file2"},{"photo_id":"1394716218","filename":"file4"},{"photo_id":"1394716211","filename":"file1"},{"photo_id":"1394716208","filename":"file0"},{"photo_id":"1394716215","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716208":["hashtag1","hashtag2"]},{"1394716211":["hashtag1","hashtag2"]},{"1394716219":["hashtag1","hashtag2"]},{"1394716213":["hashtag1","hashtag2"]},{"1394716215":["hashtag1","hashtag2"]},{"1394716218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716208, 1394716211, 1394716219, 1394716213, 1394716215, 1394716218)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.1602303981781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:06:43.257119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_55_1692.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_04_3667.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_14_3613.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_16_2576.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_19_2620.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_22_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_55_1692.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_04_3667.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_14_3613.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_16_2576.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_19_2620.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_22_3667.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.6091256141662598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:07:03.273313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_55_1692.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_04_3667.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_14_3613.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_16_2576.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_19_2620.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_22_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/02/image_16112025_05_02_55_1692.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_04_3667.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_14_3613.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_16_2576.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_19_2620.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_22_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716235","1394716238","1394716237","1394716240","1394716242","1394716236"],"photo_ids_order":["1394716235","1394716236","1394716237","1394716238","1394716240","1394716242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a831811c6057e6dac64312fa8ab56df.jpg","text":"TemporaryFile(/tmp/multipartBody1176388075636382469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266084135,"filename":"image_16112025_05_02_55_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1691567e7bbc6575ecedd229193ada8d.jpg","text":"TemporaryFile(/tmp/multipartBody8841966626294368201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266084135,"filename":"image_16112025_05_03_16_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9affa4c3e0a1ce34e33cb1e12db60fe7.jpg","text":"TemporaryFile(/tmp/multipartBody5994902944873441157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266084135,"filename":"image_16112025_05_03_14_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5628569efc421387dc9143ac914dbec5.jpg","text":"TemporaryFile(/tmp/multipartBody8923987220462488112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266084135,"filename":"image_16112025_05_03_19_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0e9f9bc4aba18a091273d99f75fd41c.jpg","text":"TemporaryFile(/tmp/multipartBody4759628068321699325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266084135,"filename":"image_16112025_05_03_22_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dd982718d05dd2e8ae5627b3437cc1b.jpg","text":"TemporaryFile(/tmp/multipartBody8147513068253750916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266084135,"filename":"image_16112025_05_03_04_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716237","file1":"1394716236","file0":"1394716235","file4":"1394716240","file5":"1394716242","file3":"1394716238"},"map_files_photo_id_array":[{"photo_id":"1394716242","filename":"file5"},{"photo_id":"1394716237","filename":"file2"},{"photo_id":"1394716240","filename":"file4"},{"photo_id":"1394716236","filename":"file1"},{"photo_id":"1394716235","filename":"file0"},{"photo_id":"1394716238","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716235":["hashtag1","hashtag2"]},{"1394716238":["hashtag1","hashtag2"]},{"1394716237":["hashtag1","hashtag2"]},{"1394716240":["hashtag1","hashtag2"]},{"1394716242":["hashtag1","hashtag2"]},{"1394716236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716235, 1394716238, 1394716237, 1394716240, 1394716242, 1394716236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45932674407959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:07:42.419091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_25_2580.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_37_2674.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_47_3746.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_49_1679.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_52_3549.jpg', '/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_55_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_25_2580.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_37_2674.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_47_3746.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_49_1679.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_52_3549.jpg
/home/pi/Desktop/images/16112025/05/03/image_16112025_05_03_55_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716250","1394716249","1394716252","1394716246","1394716251","1394716248"],"photo_ids_order":["1394716246","1394716248","1394716249","1394716250","1394716251","1394716252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ab871d906e4745c6605d19daeb5bb50.jpg","text":"TemporaryFile(/tmp/multipartBody7551196736718937224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266123161,"filename":"image_16112025_05_03_49_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9a7ea2cd378bd5be07f0f13717bc921.jpg","text":"TemporaryFile(/tmp/multipartBody3589306509519955048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266123161,"filename":"image_16112025_05_03_47_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89eaaec5d6fe26ef04cf2e7a8f2646e7.jpg","text":"TemporaryFile(/tmp/multipartBody4267448869287654242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266123161,"filename":"image_16112025_05_03_55_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7499b0edb819cf7166586360bf15e7df.jpg","text":"TemporaryFile(/tmp/multipartBody6150785375688144961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266123161,"filename":"image_16112025_05_03_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/11/16/ac4aebd2606f28789e39bbbfb5ea3d4f.jpg","text":"TemporaryFile(/tmp/multipartBody4702573334236275952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266123161,"filename":"image_16112025_05_03_52_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f0d9dfc994c7c397ba9e93d3632a46d.jpg","text":"TemporaryFile(/tmp/multipartBody2815718013786535165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266123161,"filename":"image_16112025_05_03_37_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716249","file1":"1394716248","file0":"1394716246","file4":"1394716251","file5":"1394716252","file3":"1394716250"},"map_files_photo_id_array":[{"photo_id":"1394716252","filename":"file5"},{"photo_id":"1394716249","filename":"file2"},{"photo_id":"1394716251","filename":"file4"},{"photo_id":"1394716248","filename":"file1"},{"photo_id":"1394716246","filename":"file0"},{"photo_id":"1394716250","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716250":["hashtag1","hashtag2"]},{"1394716249":["hashtag1","hashtag2"]},{"1394716252":["hashtag1","hashtag2"]},{"1394716246":["hashtag1","hashtag2"]},{"1394716251":["hashtag1","hashtag2"]},{"1394716248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716250, 1394716249, 1394716252, 1394716246, 1394716251, 1394716248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.414302110672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:08:22.594438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_01_2540.jpg', '/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_22_2660.jpg', '/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_28_2693.jpg', '/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_34_3630.jpg', '/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_40_2678.jpg', '/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_46_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_01_2540.jpg
/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_22_2660.jpg
/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_28_2693.jpg
/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_34_3630.jpg
/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_40_2678.jpg
/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_46_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716259","1394716261","1394716255","1394716260","1394716263","1394716257"],"photo_ids_order":["1394716255","1394716257","1394716259","1394716260","1394716261","1394716263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1436a86cacf9952c76118a86dbf06ad0.jpg","text":"TemporaryFile(/tmp/multipartBody6868695516199897022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266163290,"filename":"image_16112025_05_04_28_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39e00bcf1f36b7059b297cdc9bff0472.jpg","text":"TemporaryFile(/tmp/multipartBody2099572870123791146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266163290,"filename":"image_16112025_05_04_40_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9bdcad8ed713c915bd698361ab4ea77.jpg","text":"TemporaryFile(/tmp/multipartBody1797777878311536621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266163290,"filename":"image_16112025_05_04_01_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/293910b1b6c81d5fb4143f2825a4b619.jpg","text":"TemporaryFile(/tmp/multipartBody6712509269229073239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266163290,"filename":"image_16112025_05_04_34_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91df7870a64dab0ad2bf2b933ce9a1cb.jpg","text":"TemporaryFile(/tmp/multipartBody5702321726241646981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266163290,"filename":"image_16112025_05_04_46_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/674e7575075d163de14318e58c326010.jpg","text":"TemporaryFile(/tmp/multipartBody47347636992801610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266163290,"filename":"image_16112025_05_04_22_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716259","file1":"1394716257","file0":"1394716255","file4":"1394716261","file5":"1394716263","file3":"1394716260"},"map_files_photo_id_array":[{"photo_id":"1394716263","filename":"file5"},{"photo_id":"1394716259","filename":"file2"},{"photo_id":"1394716261","filename":"file4"},{"photo_id":"1394716257","filename":"file1"},{"photo_id":"1394716255","filename":"file0"},{"photo_id":"1394716260","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716259":["hashtag1","hashtag2"]},{"1394716261":["hashtag1","hashtag2"]},{"1394716255":["hashtag1","hashtag2"]},{"1394716260":["hashtag1","hashtag2"]},{"1394716263":["hashtag1","hashtag2"]},{"1394716257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716259, 1394716261, 1394716255, 1394716260, 1394716263, 1394716257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07946825027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:09:02.889206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_50_4492.jpg', '/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_52_1722.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_03_10573.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_24_9041.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_28_1712.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_32_1932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_50_4492.jpg
/home/pi/Desktop/images/16112025/05/04/image_16112025_05_04_52_1722.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_03_10573.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_24_9041.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_28_1712.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_32_1932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716265","1394716268","1394716270","1394716264","1394716266","1394716275"],"photo_ids_order":["1394716264","1394716265","1394716266","1394716268","1394716270","1394716275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afd28f7066d6414b12f5d657bde740f4.jpg","text":"TemporaryFile(/tmp/multipartBody1365945848338859748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266203880,"filename":"image_16112025_05_04_52_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2356574307e0cb0a6417447d12d64f62.jpg","text":"TemporaryFile(/tmp/multipartBody3190194571892432774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266203880,"filename":"image_16112025_05_05_24_9041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/623b479db84bc86af05d6ef65e2c8730.jpg","text":"TemporaryFile(/tmp/multipartBody8796133431296023900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266203880,"filename":"image_16112025_05_05_28_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c261753eeaa68ed48336ad614efd962.jpg","text":"TemporaryFile(/tmp/multipartBody1286343934373153987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266203880,"filename":"image_16112025_05_04_50_4492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60f0e5404691849df839ece4dfc1a81f.jpg","text":"TemporaryFile(/tmp/multipartBody8556676817117516804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266203880,"filename":"image_16112025_05_05_03_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39806700c59abd563953ff684bc417e0.jpg","text":"TemporaryFile(/tmp/multipartBody6683157822882281118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266203880,"filename":"image_16112025_05_05_32_1932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716266","file1":"1394716265","file0":"1394716264","file4":"1394716270","file5":"1394716275","file3":"1394716268"},"map_files_photo_id_array":[{"photo_id":"1394716275","filename":"file5"},{"photo_id":"1394716266","filename":"file2"},{"photo_id":"1394716270","filename":"file4"},{"photo_id":"1394716265","filename":"file1"},{"photo_id":"1394716264","filename":"file0"},{"photo_id":"1394716268","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716265":["hashtag1","hashtag2"]},{"1394716268":["hashtag1","hashtag2"]},{"1394716270":["hashtag1","hashtag2"]},{"1394716264":["hashtag1","hashtag2"]},{"1394716266":["hashtag1","hashtag2"]},{"1394716275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716265, 1394716268, 1394716270, 1394716264, 1394716266, 1394716275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.701452016830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:09:41.821788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_40_5904.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_43_1736.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_46_3417.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_48_1705.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_50_1589.jpg', '/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_53_1802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_40_5904.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_43_1736.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_46_3417.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_48_1705.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_50_1589.jpg
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_53_1802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716283","1394716285","1394716288","1394716290","1394716287","1394716289"],"photo_ids_order":["1394716283","1394716285","1394716287","1394716288","1394716289","1394716290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59cc8c435b64047c124a3c3767e7927f.jpg","text":"TemporaryFile(/tmp/multipartBody7376813552317409472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266242504,"filename":"image_16112025_05_05_40_5904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebae233580bf53c059ffa25826033f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8935227445183486097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266242504,"filename":"image_16112025_05_05_43_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ebdf7a0069aa80c1e1da9c957aed5c6.jpg","text":"TemporaryFile(/tmp/multipartBody4455199732476889182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266242504,"filename":"image_16112025_05_05_48_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/824944e8de1d6609c91d5f4ba8e1c62f.jpg","text":"TemporaryFile(/tmp/multipartBody3495960352750632156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266242504,"filename":"image_16112025_05_05_53_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96dd3b1f6b306b687707e22f52e8189e.jpg","text":"TemporaryFile(/tmp/multipartBody1604396188055543301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266242504,"filename":"image_16112025_05_05_46_3417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/085c70e04526c3dcefee348df6e7352e.jpg","text":"TemporaryFile(/tmp/multipartBody5093460627688110855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266242504,"filename":"image_16112025_05_05_50_1589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716287","file1":"1394716285","file0":"1394716283","file4":"1394716289","file5":"1394716290","file3":"1394716288"},"map_files_photo_id_array":[{"photo_id":"1394716290","filename":"file5"},{"photo_id":"1394716287","filename":"file2"},{"photo_id":"1394716289","filename":"file4"},{"photo_id":"1394716285","filename":"file1"},{"photo_id":"1394716283","filename":"file0"},{"photo_id":"1394716288","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716283":["hashtag1","hashtag2"]},{"1394716285":["hashtag1","hashtag2"]},{"1394716288":["hashtag1","hashtag2"]},{"1394716290":["hashtag1","hashtag2"]},{"1394716287":["hashtag1","hashtag2"]},{"1394716289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716283, 1394716285, 1394716288, 1394716290, 1394716287, 1394716289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84441041946411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:10:22.040239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_57_3502.jpg', '/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_18_9031.jpg', '/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_24_5954.jpg', '/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_32_1626.jpg', '/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_34_1688.jpg', '/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_39_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/05/image_16112025_05_05_57_3502.jpg
/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_18_9031.jpg
/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_24_5954.jpg
/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_32_1626.jpg
/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_34_1688.jpg
/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_39_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716308","1394716301","1394716294","1394716303","1394716299","1394716305"],"photo_ids_order":["1394716294","1394716299","1394716301","1394716303","1394716305","1394716308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de7f4fb825daf399a6dbdefbaf4b3d2c.jpg","text":"TemporaryFile(/tmp/multipartBody3339546343445515962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266282767,"filename":"image_16112025_05_06_39_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b88eb67c125122b5acc44b5cd5c958eb.jpg","text":"TemporaryFile(/tmp/multipartBody62579627329298965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266282767,"filename":"image_16112025_05_06_24_5954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1295440514193c143d1a39b48ccd3a7c.jpg","text":"TemporaryFile(/tmp/multipartBody1117313384747927165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266282767,"filename":"image_16112025_05_05_57_3502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c537552d99cdc68928a21ab3fce8a5ce.jpg","text":"TemporaryFile(/tmp/multipartBody3962922433916489874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266282767,"filename":"image_16112025_05_06_32_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eaad258c011e1f423a7a43825b4f6d04.jpg","text":"TemporaryFile(/tmp/multipartBody3928125455409690034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266282767,"filename":"image_16112025_05_06_18_9031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e17b3503e4a94f5de54ce326737d7224.jpg","text":"TemporaryFile(/tmp/multipartBody8330000953221980088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266282767,"filename":"image_16112025_05_06_34_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716301","file1":"1394716299","file0":"1394716294","file4":"1394716305","file5":"1394716308","file3":"1394716303"},"map_files_photo_id_array":[{"photo_id":"1394716308","filename":"file5"},{"photo_id":"1394716301","filename":"file2"},{"photo_id":"1394716305","filename":"file4"},{"photo_id":"1394716299","filename":"file1"},{"photo_id":"1394716294","filename":"file0"},{"photo_id":"1394716303","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716308":["hashtag1","hashtag2"]},{"1394716301":["hashtag1","hashtag2"]},{"1394716294":["hashtag1","hashtag2"]},{"1394716303":["hashtag1","hashtag2"]},{"1394716299":["hashtag1","hashtag2"]},{"1394716305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716308, 1394716301, 1394716294, 1394716303, 1394716299, 1394716305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83989119529724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:11:03.058314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_41_1708.jpg', '/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_52_6885.jpg', '/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_12_5166.jpg', '/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_14_1703.jpg', '/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_39_2583.jpg', '/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_43_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_41_1708.jpg
/home/pi/Desktop/images/16112025/05/06/image_16112025_05_06_52_6885.jpg
/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_12_5166.jpg
/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_14_1703.jpg
/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_39_2583.jpg
/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_43_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716313","1394716310","1394716312","1394716315","1394716317","1394716311"],"photo_ids_order":["1394716310","1394716311","1394716312","1394716313","1394716315","1394716317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51289c271915602a889da5c65da0994f.jpg","text":"TemporaryFile(/tmp/multipartBody8840902620203451228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266323890,"filename":"image_16112025_05_07_14_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1ba1e738eae1cc1eb33ece6d7af16dc.jpg","text":"TemporaryFile(/tmp/multipartBody7140408582207941883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266323890,"filename":"image_16112025_05_06_41_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99b20a25c2ec7ce579f0569c75c005b4.jpg","text":"TemporaryFile(/tmp/multipartBody6666736513197163069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266323890,"filename":"image_16112025_05_07_12_5166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1495351611324cc91070303d9b33b930.jpg","text":"TemporaryFile(/tmp/multipartBody4959538182400045682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266323890,"filename":"image_16112025_05_07_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/11/16/42396d631aaf516613ba0c4b9e7ff1a3.jpg","text":"TemporaryFile(/tmp/multipartBody2761767043168500463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266323890,"filename":"image_16112025_05_07_43_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54fb0281eea3108618ec0beb38c59d91.jpg","text":"TemporaryFile(/tmp/multipartBody6304577103266130089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266323890,"filename":"image_16112025_05_06_52_6885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716312","file1":"1394716311","file0":"1394716310","file4":"1394716315","file5":"1394716317","file3":"1394716313"},"map_files_photo_id_array":[{"photo_id":"1394716317","filename":"file5"},{"photo_id":"1394716312","filename":"file2"},{"photo_id":"1394716315","filename":"file4"},{"photo_id":"1394716311","filename":"file1"},{"photo_id":"1394716310","filename":"file0"},{"photo_id":"1394716313","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716313":["hashtag1","hashtag2"]},{"1394716310":["hashtag1","hashtag2"]},{"1394716312":["hashtag1","hashtag2"]},{"1394716315":["hashtag1","hashtag2"]},{"1394716317":["hashtag1","hashtag2"]},{"1394716311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716313, 1394716310, 1394716312, 1394716315, 1394716317, 1394716311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06175351142883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:11:42.408529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_48_2660.jpg', '/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_52_3567.jpg', '/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_01_2770.jpg', '/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_10_3552.jpg', '/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_13_2717.jpg', '/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_15_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_48_2660.jpg
/home/pi/Desktop/images/16112025/05/07/image_16112025_05_07_52_3567.jpg
/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_01_2770.jpg
/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_10_3552.jpg
/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_13_2717.jpg
/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_15_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716331","1394716328","1394716322","1394716327","1394716329","1394716326"],"photo_ids_order":["1394716322","1394716326","1394716327","1394716328","1394716329","1394716331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db33eb341721f3837e20afb56181460b.jpg","text":"TemporaryFile(/tmp/multipartBody5591778284734738166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266363097,"filename":"image_16112025_05_08_15_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b2eff460fe559c0211ca1485b730168.jpg","text":"TemporaryFile(/tmp/multipartBody7490142856897654795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266363097,"filename":"image_16112025_05_08_10_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c049e7a8d0a59d5a73c27781ee208fa9.jpg","text":"TemporaryFile(/tmp/multipartBody5259876702194278099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266363097,"filename":"image_16112025_05_07_48_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e435f3605350824dd3bd0397ac26832b.jpg","text":"TemporaryFile(/tmp/multipartBody5870685504535977175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266363097,"filename":"image_16112025_05_08_01_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/403a43dca0adb667e36ada4c5ada9e98.jpg","text":"TemporaryFile(/tmp/multipartBody1674939627134575160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266363097,"filename":"image_16112025_05_08_13_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69f22ce29b8b07998f9e5479f813925d.jpg","text":"TemporaryFile(/tmp/multipartBody6149238576430107258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266363097,"filename":"image_16112025_05_07_52_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716327","file1":"1394716326","file0":"1394716322","file4":"1394716329","file5":"1394716331","file3":"1394716328"},"map_files_photo_id_array":[{"photo_id":"1394716331","filename":"file5"},{"photo_id":"1394716327","filename":"file2"},{"photo_id":"1394716329","filename":"file4"},{"photo_id":"1394716326","filename":"file1"},{"photo_id":"1394716322","filename":"file0"},{"photo_id":"1394716328","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716331":["hashtag1","hashtag2"]},{"1394716328":["hashtag1","hashtag2"]},{"1394716322":["hashtag1","hashtag2"]},{"1394716327":["hashtag1","hashtag2"]},{"1394716329":["hashtag1","hashtag2"]},{"1394716326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716331, 1394716328, 1394716322, 1394716327, 1394716329, 1394716326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97359776496887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:12:22.718834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_24_2612.jpg', '/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_31_3678.jpg', '/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_40_3650.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_07_3764.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_12_2695.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_15_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_24_2612.jpg
/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_31_3678.jpg
/home/pi/Desktop/images/16112025/05/08/image_16112025_05_08_40_3650.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_07_3764.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_12_2695.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_15_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716337","1394716346","1394716340","1394716342","1394716339","1394716344"],"photo_ids_order":["1394716337","1394716339","1394716340","1394716342","1394716344","1394716346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9634ec8d7b0b3db0232257bf557702e9.jpg","text":"TemporaryFile(/tmp/multipartBody1368957265869948356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266403447,"filename":"image_16112025_05_08_24_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/969c3ee8f219f647618a83f3875eab4f.jpg","text":"TemporaryFile(/tmp/multipartBody4803805478380512359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266403447,"filename":"image_16112025_05_09_15_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa32401be10f4be8c00913bb80659515.jpg","text":"TemporaryFile(/tmp/multipartBody4627600173373817224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266403447,"filename":"image_16112025_05_08_40_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcf4fb2967088244c49e05fd22c2eca9.jpg","text":"TemporaryFile(/tmp/multipartBody3853082226570875317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266403447,"filename":"image_16112025_05_09_07_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8bcaedbb7e33981e05969dbdde3be28e.jpg","text":"TemporaryFile(/tmp/multipartBody173014877971072429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266403447,"filename":"image_16112025_05_08_31_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cce94d67dcf5f613e290927bcc94c96.jpg","text":"TemporaryFile(/tmp/multipartBody4629862426107027742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266403447,"filename":"image_16112025_05_09_12_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716340","file1":"1394716339","file0":"1394716337","file4":"1394716344","file5":"1394716346","file3":"1394716342"},"map_files_photo_id_array":[{"photo_id":"1394716346","filename":"file5"},{"photo_id":"1394716340","filename":"file2"},{"photo_id":"1394716344","filename":"file4"},{"photo_id":"1394716339","filename":"file1"},{"photo_id":"1394716337","filename":"file0"},{"photo_id":"1394716342","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716337":["hashtag1","hashtag2"]},{"1394716346":["hashtag1","hashtag2"]},{"1394716340":["hashtag1","hashtag2"]},{"1394716342":["hashtag1","hashtag2"]},{"1394716339":["hashtag1","hashtag2"]},{"1394716344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716337, 1394716346, 1394716340, 1394716342, 1394716339, 1394716344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92447519302368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:13:02.628501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_21_2656.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_28_3673.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_36_2887.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_42_2657.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_45_2675.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_49_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_21_2656.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_28_3673.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_36_2887.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_42_2657.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_45_2675.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_49_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716355","1394716352","1394716360","1394716354","1394716357","1394716350"],"photo_ids_order":["1394716350","1394716352","1394716354","1394716355","1394716357","1394716360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70f258a1e959e377698968f45ccfec5c.jpg","text":"TemporaryFile(/tmp/multipartBody6294859536534311408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266443478,"filename":"image_16112025_05_09_42_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e18f62b92d73b71cfc24be2254d1a8e.jpg","text":"TemporaryFile(/tmp/multipartBody3334512584752125877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266443478,"filename":"image_16112025_05_09_28_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d04c1c270d34ab082b82eae5eb40ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7045168316897371583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266443478,"filename":"image_16112025_05_09_49_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd93b789c5077bf081ac90ec1fba20af.jpg","text":"TemporaryFile(/tmp/multipartBody7401559118877875183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266443478,"filename":"image_16112025_05_09_36_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df5cbbc19edbe38712103604289654b9.jpg","text":"TemporaryFile(/tmp/multipartBody5821940947713320047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266443478,"filename":"image_16112025_05_09_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/11/16/363db49c17f837706fc0155b656d8376.jpg","text":"TemporaryFile(/tmp/multipartBody7997950240945229257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266443478,"filename":"image_16112025_05_09_21_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716354","file1":"1394716352","file0":"1394716350","file4":"1394716357","file5":"1394716360","file3":"1394716355"},"map_files_photo_id_array":[{"photo_id":"1394716360","filename":"file5"},{"photo_id":"1394716354","filename":"file2"},{"photo_id":"1394716357","filename":"file4"},{"photo_id":"1394716352","filename":"file1"},{"photo_id":"1394716350","filename":"file0"},{"photo_id":"1394716355","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716355":["hashtag1","hashtag2"]},{"1394716352":["hashtag1","hashtag2"]},{"1394716360":["hashtag1","hashtag2"]},{"1394716354":["hashtag1","hashtag2"]},{"1394716357":["hashtag1","hashtag2"]},{"1394716350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716355, 1394716352, 1394716360, 1394716354, 1394716357, 1394716350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46039319038391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:13:41.952222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_51_2662.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_54_2581.jpg', '/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_58_3772.jpg', '/home/pi/Desktop/images/16112025/05/10/image_16112025_05_10_55_3632.jpg', '/home/pi/Desktop/images/16112025/05/10/image_16112025_05_10_58_2731.jpg', '/home/pi/Desktop/images/16112025/05/11/image_16112025_05_11_36_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_51_2662.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_54_2581.jpg
/home/pi/Desktop/images/16112025/05/09/image_16112025_05_09_58_3772.jpg
/home/pi/Desktop/images/16112025/05/10/image_16112025_05_10_55_3632.jpg
/home/pi/Desktop/images/16112025/05/10/image_16112025_05_10_58_2731.jpg
/home/pi/Desktop/images/16112025/05/11/image_16112025_05_11_36_2870.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716364","1394716367","1394716366","1394716369","1394716368","1394716362"],"photo_ids_order":["1394716362","1394716364","1394716366","1394716367","1394716368","1394716369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c52f173e0d94c80061632ca34aa9c21.jpg","text":"TemporaryFile(/tmp/multipartBody8413351878062758801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266482638,"filename":"image_16112025_05_09_54_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/960116d3b2dc7bde7d935584b5cb9c48.jpg","text":"TemporaryFile(/tmp/multipartBody1054223443843228724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266482638,"filename":"image_16112025_05_10_55_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09cf7ccfc8fb04ab0441d742b218a6f1.jpg","text":"TemporaryFile(/tmp/multipartBody7009523649691455633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266482638,"filename":"image_16112025_05_09_58_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1dbf34d51c8eea1129c8a442eb9285f.jpg","text":"TemporaryFile(/tmp/multipartBody717875872136644900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266482638,"filename":"image_16112025_05_11_36_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/817bc250aa142049f3eb1c9d32f91350.jpg","text":"TemporaryFile(/tmp/multipartBody3069444131611308466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266482638,"filename":"image_16112025_05_10_58_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4c03d2efb56373e5e6cf3fc51a8c59b.jpg","text":"TemporaryFile(/tmp/multipartBody5021834325239356479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266482638,"filename":"image_16112025_05_09_51_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716366","file1":"1394716364","file0":"1394716362","file4":"1394716368","file5":"1394716369","file3":"1394716367"},"map_files_photo_id_array":[{"photo_id":"1394716369","filename":"file5"},{"photo_id":"1394716366","filename":"file2"},{"photo_id":"1394716368","filename":"file4"},{"photo_id":"1394716364","filename":"file1"},{"photo_id":"1394716362","filename":"file0"},{"photo_id":"1394716367","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716364":["hashtag1","hashtag2"]},{"1394716367":["hashtag1","hashtag2"]},{"1394716366":["hashtag1","hashtag2"]},{"1394716369":["hashtag1","hashtag2"]},{"1394716368":["hashtag1","hashtag2"]},{"1394716362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716364, 1394716367, 1394716366, 1394716369, 1394716368, 1394716362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.760056018829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:14:22.180983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/11/image_16112025_05_11_39_2695.jpg', '/home/pi/Desktop/images/16112025/05/11/image_16112025_05_11_48_2622.jpg', '/home/pi/Desktop/images/16112025/05/11/image_16112025_05_11_54_2771.jpg', '/home/pi/Desktop/images/16112025/05/11/image_16112025_05_12_00_2828.jpg', '/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_03_2893.jpg', '/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_06_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/11/image_16112025_05_11_39_2695.jpg
/home/pi/Desktop/images/16112025/05/11/image_16112025_05_11_48_2622.jpg
/home/pi/Desktop/images/16112025/05/11/image_16112025_05_11_54_2771.jpg
/home/pi/Desktop/images/16112025/05/11/image_16112025_05_12_00_2828.jpg
/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_03_2893.jpg
/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_06_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716382","1394716376","1394716379","1394716372","1394716377","1394716374"],"photo_ids_order":["1394716372","1394716374","1394716376","1394716377","1394716379","1394716382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d75637ee1f092432ef03cdb368078a64.jpg","text":"TemporaryFile(/tmp/multipartBody2739918452670259529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266522902,"filename":"image_16112025_05_12_06_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53323f01d78f3fdf20778f596fa5619b.jpg","text":"TemporaryFile(/tmp/multipartBody9179062293809417580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266522902,"filename":"image_16112025_05_11_54_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f46c24c07584d491077e176aca29adba.jpg","text":"TemporaryFile(/tmp/multipartBody800653243925318511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266522902,"filename":"image_16112025_05_12_03_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a3b87c4c4fbb2a0feca15bb6555f071.jpg","text":"TemporaryFile(/tmp/multipartBody7505853428098965303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266522902,"filename":"image_16112025_05_11_39_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d6a75b47e9fb31c0124c964b3272291.jpg","text":"TemporaryFile(/tmp/multipartBody3487518963806235716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266522902,"filename":"image_16112025_05_12_00_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e2d7a7df3bdc5823295fbc6c1a9da3d.jpg","text":"TemporaryFile(/tmp/multipartBody2752701738041116218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266522902,"filename":"image_16112025_05_11_48_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716376","file1":"1394716374","file0":"1394716372","file4":"1394716379","file5":"1394716382","file3":"1394716377"},"map_files_photo_id_array":[{"photo_id":"1394716382","filename":"file5"},{"photo_id":"1394716376","filename":"file2"},{"photo_id":"1394716379","filename":"file4"},{"photo_id":"1394716374","filename":"file1"},{"photo_id":"1394716372","filename":"file0"},{"photo_id":"1394716377","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716382":["hashtag1","hashtag2"]},{"1394716376":["hashtag1","hashtag2"]},{"1394716379":["hashtag1","hashtag2"]},{"1394716372":["hashtag1","hashtag2"]},{"1394716377":["hashtag1","hashtag2"]},{"1394716374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716382, 1394716376, 1394716379, 1394716372, 1394716377, 1394716374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44996905326843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:15:03.253406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_27_3555.jpg', '/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_33_2669.jpg', '/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_36_3662.jpg', '/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_16_3755.jpg', '/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_18_2767.jpg', '/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_27_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_27_3555.jpg
/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_33_2669.jpg
/home/pi/Desktop/images/16112025/05/12/image_16112025_05_12_36_3662.jpg
/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_16_3755.jpg
/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_18_2767.jpg
/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_27_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716385","1394716390","1394716384","1394716392","1394716386","1394716388"],"photo_ids_order":["1394716384","1394716385","1394716386","1394716388","1394716390","1394716392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/833cafbf3c5e85c46e2e3e9968efa6c2.jpg","text":"TemporaryFile(/tmp/multipartBody4625267998248074366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266564105,"filename":"image_16112025_05_12_33_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d342756ed1d6d1f69f3e3b94e42bab18.jpg","text":"TemporaryFile(/tmp/multipartBody3571426373891701059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266564105,"filename":"image_16112025_05_13_18_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d9a09f303c730c5ecc4d4967be76659.jpg","text":"TemporaryFile(/tmp/multipartBody1414226460997179535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266564105,"filename":"image_16112025_05_12_27_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7949ea44e9a03bb29aefc8748230f7e0.jpg","text":"TemporaryFile(/tmp/multipartBody2719792666540410439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266564105,"filename":"image_16112025_05_13_27_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/593957267129d21576ed4c2cae7ea81c.jpg","text":"TemporaryFile(/tmp/multipartBody1041628409162752694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266564105,"filename":"image_16112025_05_12_36_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d305662ac7d1ba2e98dac8d2d0a0fff7.jpg","text":"TemporaryFile(/tmp/multipartBody6974897028479261250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266564105,"filename":"image_16112025_05_13_16_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716386","file1":"1394716385","file0":"1394716384","file4":"1394716390","file5":"1394716392","file3":"1394716388"},"map_files_photo_id_array":[{"photo_id":"1394716392","filename":"file5"},{"photo_id":"1394716386","filename":"file2"},{"photo_id":"1394716390","filename":"file4"},{"photo_id":"1394716385","filename":"file1"},{"photo_id":"1394716384","filename":"file0"},{"photo_id":"1394716388","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716385":["hashtag1","hashtag2"]},{"1394716390":["hashtag1","hashtag2"]},{"1394716384":["hashtag1","hashtag2"]},{"1394716392":["hashtag1","hashtag2"]},{"1394716386":["hashtag1","hashtag2"]},{"1394716388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716385, 1394716390, 1394716384, 1394716392, 1394716386, 1394716388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.292930603027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:15:42.396118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_30_2561.jpg', '/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_36_3635.jpg', '/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_39_2772.jpg', '/home/pi/Desktop/images/16112025/05/15/image_16112025_05_15_33_2541.jpg', '/home/pi/Desktop/images/16112025/05/15/image_16112025_05_15_39_3514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_30_2561.jpg
/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_36_3635.jpg
/home/pi/Desktop/images/16112025/05/13/image_16112025_05_13_39_2772.jpg
/home/pi/Desktop/images/16112025/05/15/image_16112025_05_15_33_2541.jpg
/home/pi/Desktop/images/16112025/05/15/image_16112025_05_15_39_3514.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716397","1394716400","1394716403","1394716402","1394716404"],"photo_ids_order":["1394716397","1394716400","1394716402","1394716403","1394716404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e55e4d348d3c5cc898794c7d99c7cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5183344457066246283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266603048,"filename":"image_16112025_05_13_30_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04d00bdd73f139757c37479964ab7c8b.jpg","text":"TemporaryFile(/tmp/multipartBody2287698326470735046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266603048,"filename":"image_16112025_05_13_36_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14e87b6fb4598230ca3b833080171325.jpg","text":"TemporaryFile(/tmp/multipartBody7213383239419428419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266603048,"filename":"image_16112025_05_15_33_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/092f3050ae9c5ce5f1909883159ced25.jpg","text":"TemporaryFile(/tmp/multipartBody8121025006592613315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266603048,"filename":"image_16112025_05_13_39_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/381c0e0e65bd9d6210d61ee2ac13d995.jpg","text":"TemporaryFile(/tmp/multipartBody9188286443930650781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266603048,"filename":"image_16112025_05_15_39_3514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716402","file1":"1394716400","file0":"1394716397","file4":"1394716404","file3":"1394716403"},"map_files_photo_id_array":[{"photo_id":"1394716402","filename":"file2"},{"photo_id":"1394716404","filename":"file4"},{"photo_id":"1394716400","filename":"file1"},{"photo_id":"1394716397","filename":"file0"},{"photo_id":"1394716403","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716397":["hashtag1","hashtag2"]},{"1394716400":["hashtag1","hashtag2"]},{"1394716403":["hashtag1","hashtag2"]},{"1394716402":["hashtag1","hashtag2"]},{"1394716404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716397, 1394716400, 1394716403, 1394716402, 1394716404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.04042720794678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:16:22.937748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/15/image_16112025_05_15_41_2611.jpg', '/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_03_3613.jpg', '/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_15_3559.jpg', '/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_18_2784.jpg', '/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_22_4354.jpg', '/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_24_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/15/image_16112025_05_15_41_2611.jpg
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_03_3613.jpg
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_15_3559.jpg
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_18_2784.jpg
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_22_4354.jpg
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_24_1546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716412","1394716411","1394716408","1394716413","1394716416","1394716410"],"photo_ids_order":["1394716408","1394716410","1394716411","1394716412","1394716413","1394716416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a617242328c2c605e723bb05c0286c16.jpg","text":"TemporaryFile(/tmp/multipartBody8677291281954824712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266643715,"filename":"image_16112025_05_16_18_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2ced1a77babcb9e6969ee3d5bc9a68d.jpg","text":"TemporaryFile(/tmp/multipartBody1595543475765540331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266643715,"filename":"image_16112025_05_16_15_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4b81877d44f336180a776ebadc0a10e.jpg","text":"TemporaryFile(/tmp/multipartBody7176129941316300918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266643715,"filename":"image_16112025_05_15_41_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a03aab0df715bc9b19ca61af9be8f641.jpg","text":"TemporaryFile(/tmp/multipartBody1085948812344783711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266643715,"filename":"image_16112025_05_16_22_4354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d05da33c3f349c7843cdc301c8073fa1.jpg","text":"TemporaryFile(/tmp/multipartBody9022133929677052114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266643715,"filename":"image_16112025_05_16_24_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea8575beabbb51b9a721be543920259c.jpg","text":"TemporaryFile(/tmp/multipartBody9169564451137902926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266643715,"filename":"image_16112025_05_16_03_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716411","file1":"1394716410","file0":"1394716408","file4":"1394716413","file5":"1394716416","file3":"1394716412"},"map_files_photo_id_array":[{"photo_id":"1394716416","filename":"file5"},{"photo_id":"1394716411","filename":"file2"},{"photo_id":"1394716413","filename":"file4"},{"photo_id":"1394716410","filename":"file1"},{"photo_id":"1394716408","filename":"file0"},{"photo_id":"1394716412","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716412":["hashtag1","hashtag2"]},{"1394716411":["hashtag1","hashtag2"]},{"1394716408":["hashtag1","hashtag2"]},{"1394716413":["hashtag1","hashtag2"]},{"1394716416":["hashtag1","hashtag2"]},{"1394716410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716412, 1394716411, 1394716408, 1394716413, 1394716416, 1394716410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6460599899292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:17:02.839431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_30_2654.jpg', '/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_33_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_30_2654.jpg
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_33_2692.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716418","1394716417"],"photo_ids_order":["1394716417","1394716418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d147bdd69c71895f6c7b26a8ed2f7de.jpg","text":"TemporaryFile(/tmp/multipartBody5596716622582833569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266683436,"filename":"image_16112025_05_16_33_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1e11ea39323bfacadfd15847a7addaf.jpg","text":"TemporaryFile(/tmp/multipartBody6362079124717746539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266683436,"filename":"image_16112025_05_16_30_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394716418","file0":"1394716417"},"map_files_photo_id_array":[{"photo_id":"1394716418","filename":"file1"},{"photo_id":"1394716417","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716418":["hashtag1","hashtag2"]},{"1394716417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716418, 1394716417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.897793531417847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:17:22.100147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_39_3650.jpg', '/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_05_2783.jpg', '/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_18_3672.jpg', '/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_36_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_39_3650.jpg
/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_05_2783.jpg
/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_18_3672.jpg
/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_36_3660.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.5704576969146729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:17:44.689930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_39_3650.jpg', '/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_05_2783.jpg', '/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_18_3672.jpg', '/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_36_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/16/image_16112025_05_16_39_3650.jpg
/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_05_2783.jpg
/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_18_3672.jpg
/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_36_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716430","1394716427","1394716429","1394716432"],"photo_ids_order":["1394716427","1394716429","1394716430","1394716432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53192258da87e7d585fda7b509c4aa71.jpg","text":"TemporaryFile(/tmp/multipartBody3380320250101240847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266725293,"filename":"image_16112025_05_17_18_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/367a5b5254c0954abbae9eb8c1bc9b06.jpg","text":"TemporaryFile(/tmp/multipartBody5450416891624814429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266725293,"filename":"image_16112025_05_16_39_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab2dc35468716491d189ac8cb490c6aa.jpg","text":"TemporaryFile(/tmp/multipartBody2867502469739171102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266725293,"filename":"image_16112025_05_17_05_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f7769fe8afc39f53a1effc2fc41f5df.jpg","text":"TemporaryFile(/tmp/multipartBody7586785240527194521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266725293,"filename":"image_16112025_05_17_36_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716430","file1":"1394716429","file0":"1394716427","file3":"1394716432"},"map_files_photo_id_array":[{"photo_id":"1394716430","filename":"file2"},{"photo_id":"1394716429","filename":"file1"},{"photo_id":"1394716427","filename":"file0"},{"photo_id":"1394716432","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716430":["hashtag1","hashtag2"]},{"1394716427":["hashtag1","hashtag2"]},{"1394716429":["hashtag1","hashtag2"]},{"1394716432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716430, 1394716427, 1394716429, 1394716432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.95032048225403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:18:22.251752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_51_3570.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_03_2844.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_06_2643.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_08_2658.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_12_3666.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_21_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/17/image_16112025_05_17_51_3570.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_03_2844.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_06_2643.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_08_2658.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_12_3666.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_21_3665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716439","1394716441","1394716444","1394716446","1394716449","1394716443"],"photo_ids_order":["1394716439","1394716441","1394716443","1394716444","1394716446","1394716449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b7f9d3eb9f55a9cec298bfe45a80750.jpg","text":"TemporaryFile(/tmp/multipartBody4548782712133126416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266762939,"filename":"image_16112025_05_17_51_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f562762936290807e76aeb3cb67780c6.jpg","text":"TemporaryFile(/tmp/multipartBody1137065545570651105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266762939,"filename":"image_16112025_05_18_03_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65015d0d0b82f64ad8de16ee9e156cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4325323460831564430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266762939,"filename":"image_16112025_05_18_08_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/caaa826c4fffe73faebcc4b125f2a7bd.jpg","text":"TemporaryFile(/tmp/multipartBody673688218314284475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266762939,"filename":"image_16112025_05_18_12_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22968a80cb8fbfd4b6b2bb8f0a14f620.jpg","text":"TemporaryFile(/tmp/multipartBody5203377744504985800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266762939,"filename":"image_16112025_05_18_21_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59d5a38b773f26cfc44de6a93f71292f.jpg","text":"TemporaryFile(/tmp/multipartBody6490005418031026967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266762939,"filename":"image_16112025_05_18_06_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716443","file1":"1394716441","file0":"1394716439","file4":"1394716446","file5":"1394716449","file3":"1394716444"},"map_files_photo_id_array":[{"photo_id":"1394716449","filename":"file5"},{"photo_id":"1394716443","filename":"file2"},{"photo_id":"1394716446","filename":"file4"},{"photo_id":"1394716441","filename":"file1"},{"photo_id":"1394716439","filename":"file0"},{"photo_id":"1394716444","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716439":["hashtag1","hashtag2"]},{"1394716441":["hashtag1","hashtag2"]},{"1394716444":["hashtag1","hashtag2"]},{"1394716446":["hashtag1","hashtag2"]},{"1394716449":["hashtag1","hashtag2"]},{"1394716443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716439, 1394716441, 1394716444, 1394716446, 1394716449, 1394716443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.638575315475464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:19:03.375252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_24_2633.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_33_2679.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_37_4356.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_45_7583.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_50_1643.jpg', '/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_51_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_24_2633.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_33_2679.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_37_4356.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_45_7583.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_50_1643.jpg
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_51_1612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716460","1394716463","1394716457","1394716453","1394716452","1394716455"],"photo_ids_order":["1394716452","1394716453","1394716455","1394716457","1394716460","1394716463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58a62b98c02c1de2723fe687c477a28a.jpg","text":"TemporaryFile(/tmp/multipartBody129987667126272967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266804255,"filename":"image_16112025_05_18_50_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c052f56a6786dbaf26dc2b8bf2bb976b.jpg","text":"TemporaryFile(/tmp/multipartBody6115246200302559680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266804255,"filename":"image_16112025_05_18_51_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f51b4736d2138012ddf558abcb0df163.jpg","text":"TemporaryFile(/tmp/multipartBody4093221820439361873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266804255,"filename":"image_16112025_05_18_45_7583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4618c144b33f1cffa552c417e655d34e.jpg","text":"TemporaryFile(/tmp/multipartBody5180930051215263086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266804255,"filename":"image_16112025_05_18_33_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbf6ab2e168aa19b9e01985c6ba0702e.jpg","text":"TemporaryFile(/tmp/multipartBody434668817671572210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266804255,"filename":"image_16112025_05_18_24_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e165ff981a6051b16122866a93824207.jpg","text":"TemporaryFile(/tmp/multipartBody7446853954075094417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266804255,"filename":"image_16112025_05_18_37_4356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716455","file1":"1394716453","file0":"1394716452","file4":"1394716460","file5":"1394716463","file3":"1394716457"},"map_files_photo_id_array":[{"photo_id":"1394716463","filename":"file5"},{"photo_id":"1394716455","filename":"file2"},{"photo_id":"1394716460","filename":"file4"},{"photo_id":"1394716453","filename":"file1"},{"photo_id":"1394716452","filename":"file0"},{"photo_id":"1394716457","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716460":["hashtag1","hashtag2"]},{"1394716463":["hashtag1","hashtag2"]},{"1394716457":["hashtag1","hashtag2"]},{"1394716453":["hashtag1","hashtag2"]},{"1394716452":["hashtag1","hashtag2"]},{"1394716455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716460, 1394716463, 1394716457, 1394716453, 1394716452, 1394716455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59811854362488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:19:42.184623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_53_1754.jpg', '/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_03_2715.jpg', '/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_09_3702.jpg', '/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_15_1691.jpg', '/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_18_2701.jpg', '/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_22_4652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/18/image_16112025_05_18_53_1754.jpg
/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_03_2715.jpg
/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_09_3702.jpg
/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_15_1691.jpg
/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_18_2701.jpg
/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_22_4652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716475","1394716466","1394716471","1394716468","1394716473","1394716472"],"photo_ids_order":["1394716466","1394716468","1394716471","1394716472","1394716473","1394716475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3129b3eaa9206941141a85b4ffae0bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6651162616947805779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266842872,"filename":"image_16112025_05_19_22_4652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbe3e9ce0ce7b0791828d8ecf0a52ae8.jpg","text":"TemporaryFile(/tmp/multipartBody2951946852356969553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266842872,"filename":"image_16112025_05_18_53_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ef164b26b01479c17b9894418085626.jpg","text":"TemporaryFile(/tmp/multipartBody3955906756098042680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266842872,"filename":"image_16112025_05_19_09_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f97c0afd557e7189f589456eb6e2a40.jpg","text":"TemporaryFile(/tmp/multipartBody2196947713248407928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266842872,"filename":"image_16112025_05_19_03_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30cdaf1256b543209610d8c74359317f.jpg","text":"TemporaryFile(/tmp/multipartBody6225987061144149861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266842872,"filename":"image_16112025_05_19_18_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5325ba305772e1b4072989beed108b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2076331826728516658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266842872,"filename":"image_16112025_05_19_15_1691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716471","file1":"1394716468","file0":"1394716466","file4":"1394716473","file5":"1394716475","file3":"1394716472"},"map_files_photo_id_array":[{"photo_id":"1394716475","filename":"file5"},{"photo_id":"1394716471","filename":"file2"},{"photo_id":"1394716473","filename":"file4"},{"photo_id":"1394716468","filename":"file1"},{"photo_id":"1394716466","filename":"file0"},{"photo_id":"1394716472","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716475":["hashtag1","hashtag2"]},{"1394716466":["hashtag1","hashtag2"]},{"1394716471":["hashtag1","hashtag2"]},{"1394716468":["hashtag1","hashtag2"]},{"1394716473":["hashtag1","hashtag2"]},{"1394716472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716475, 1394716466, 1394716471, 1394716468, 1394716473, 1394716472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.499903202056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:20:22.398630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_32_2676.jpg', '/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_35_2814.jpg', '/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_03_1701.jpg', '/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_08_1646.jpg', '/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_12_1676.jpg', '/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_23_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_32_2676.jpg
/home/pi/Desktop/images/16112025/05/19/image_16112025_05_19_35_2814.jpg
/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_03_1701.jpg
/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_08_1646.jpg
/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_12_1676.jpg
/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_23_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716484","1394716483","1394716486","1394716480","1394716488","1394716485"],"photo_ids_order":["1394716480","1394716483","1394716484","1394716485","1394716486","1394716488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49ccff5d35ef5d4c8b743038399aa3fb.jpg","text":"TemporaryFile(/tmp/multipartBody1707733122370700900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266883205,"filename":"image_16112025_05_20_03_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffd355a8a9b6c402dbb74a24de6e3143.jpg","text":"TemporaryFile(/tmp/multipartBody5953439770482630077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266883205,"filename":"image_16112025_05_19_35_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fa82bb7b520dfe6ad48afd31b292b94.jpg","text":"TemporaryFile(/tmp/multipartBody2385850657953197684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266883205,"filename":"image_16112025_05_20_12_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20300b6b4a5f289c4c9262b40724b96c.jpg","text":"TemporaryFile(/tmp/multipartBody2670624990873662597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266883205,"filename":"image_16112025_05_19_32_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f72c2d797ec9604a4cc8b07a7ce0011d.jpg","text":"TemporaryFile(/tmp/multipartBody4049881766287276556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266883205,"filename":"image_16112025_05_20_23_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1dbda305c1ce8d66fb6a5293b35648af.jpg","text":"TemporaryFile(/tmp/multipartBody3906910704421352207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266883205,"filename":"image_16112025_05_20_08_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716484","file1":"1394716483","file0":"1394716480","file4":"1394716486","file5":"1394716488","file3":"1394716485"},"map_files_photo_id_array":[{"photo_id":"1394716488","filename":"file5"},{"photo_id":"1394716484","filename":"file2"},{"photo_id":"1394716486","filename":"file4"},{"photo_id":"1394716483","filename":"file1"},{"photo_id":"1394716480","filename":"file0"},{"photo_id":"1394716485","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716484":["hashtag1","hashtag2"]},{"1394716483":["hashtag1","hashtag2"]},{"1394716486":["hashtag1","hashtag2"]},{"1394716480":["hashtag1","hashtag2"]},{"1394716488":["hashtag1","hashtag2"]},{"1394716485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716484, 1394716483, 1394716486, 1394716480, 1394716488, 1394716485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51251220703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:21:03.291820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_26_2701.jpg', '/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_38_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_26_2701.jpg
/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_38_2853.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716491","1394716493"],"photo_ids_order":["1394716491","1394716493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c74fe4e11833669fcb0e17bcaa436e5.jpg","text":"TemporaryFile(/tmp/multipartBody5297091173431363502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266923920,"filename":"image_16112025_05_20_26_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23986eb929f0c0b33dcf52ad9ae9f7e5.jpg","text":"TemporaryFile(/tmp/multipartBody4302359823361385427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266923920,"filename":"image_16112025_05_20_38_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394716493","file0":"1394716491"},"map_files_photo_id_array":[{"photo_id":"1394716493","filename":"file1"},{"photo_id":"1394716491","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716491":["hashtag1","hashtag2"]},{"1394716493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716491, 1394716493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.501370906829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:21:22.595226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_42_3757.jpg', '/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_15_3605.jpg', '/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_26_2563.jpg', '/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_29_2568.jpg', '/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_33_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/20/image_16112025_05_20_42_3757.jpg
/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_15_3605.jpg
/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_26_2563.jpg
/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_29_2568.jpg
/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_33_3698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716505","1394716501","1394716497","1394716499","1394716503"],"photo_ids_order":["1394716497","1394716499","1394716501","1394716503","1394716505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55a53d0fc0804282a98b8f58e8cf20de.jpg","text":"TemporaryFile(/tmp/multipartBody7869907235558363161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266943243,"filename":"image_16112025_05_21_33_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b04ee7da8e04d395d7384418e86de2e8.jpg","text":"TemporaryFile(/tmp/multipartBody1689046435143311921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266943243,"filename":"image_16112025_05_21_26_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/495f4da542dc4742e4954d56856fc0ad.jpg","text":"TemporaryFile(/tmp/multipartBody3122229195211216499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266943243,"filename":"image_16112025_05_20_42_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63ab116565114f8b8edf469f55703116.jpg","text":"TemporaryFile(/tmp/multipartBody8466139406308245838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266943243,"filename":"image_16112025_05_21_15_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5efed65d5f950dfa1cc71a17a36083d.jpg","text":"TemporaryFile(/tmp/multipartBody844104902580922215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763266943243,"filename":"image_16112025_05_21_29_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716501","file1":"1394716499","file0":"1394716497","file4":"1394716505","file3":"1394716503"},"map_files_photo_id_array":[{"photo_id":"1394716501","filename":"file2"},{"photo_id":"1394716505","filename":"file4"},{"photo_id":"1394716499","filename":"file1"},{"photo_id":"1394716497","filename":"file0"},{"photo_id":"1394716503","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716505":["hashtag1","hashtag2"]},{"1394716501":["hashtag1","hashtag2"]},{"1394716497":["hashtag1","hashtag2"]},{"1394716499":["hashtag1","hashtag2"]},{"1394716503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716505, 1394716501, 1394716497, 1394716499, 1394716503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.225048303604126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:22:03.339990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:22:22.768267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_50_2822.jpg', '/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_17_2726.jpg', '/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_20_2682.jpg', '/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_26_3826.jpg', '/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_41_2627.jpg', '/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_53_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/21/image_16112025_05_21_50_2822.jpg
/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_17_2726.jpg
/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_20_2682.jpg
/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_26_3826.jpg
/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_41_2627.jpg
/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_53_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716541","1394716538","1394716543","1394716569","1394716533","1394716536"],"photo_ids_order":["1394716533","1394716536","1394716538","1394716541","1394716543","1394716569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21a59cd498a4d70de1fe77cb6cac0f17.jpg","text":"TemporaryFile(/tmp/multipartBody9000762615142797175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267003463,"filename":"image_16112025_05_22_26_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a333744d2e4c7ac8f0388d1474e7f53c.jpg","text":"TemporaryFile(/tmp/multipartBody2709383414886437858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267003463,"filename":"image_16112025_05_22_20_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79b8598d59caa8cd10793868ce947698.jpg","text":"TemporaryFile(/tmp/multipartBody2847472773205922072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267003463,"filename":"image_16112025_05_22_41_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4770fab5731d23b3261d547c5e228b69.jpg","text":"TemporaryFile(/tmp/multipartBody446427436840063327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267003463,"filename":"image_16112025_05_22_53_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80c91f893c0fb0edfecd7093349b4088.jpg","text":"TemporaryFile(/tmp/multipartBody5820564751330969075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267003463,"filename":"image_16112025_05_21_50_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56aa624db84810adb20eeb99742943e2.jpg","text":"TemporaryFile(/tmp/multipartBody1484529878612676625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267003463,"filename":"image_16112025_05_22_17_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716538","file1":"1394716536","file0":"1394716533","file4":"1394716543","file5":"1394716569","file3":"1394716541"},"map_files_photo_id_array":[{"photo_id":"1394716569","filename":"file5"},{"photo_id":"1394716538","filename":"file2"},{"photo_id":"1394716543","filename":"file4"},{"photo_id":"1394716536","filename":"file1"},{"photo_id":"1394716533","filename":"file0"},{"photo_id":"1394716541","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716541":["hashtag1","hashtag2"]},{"1394716538":["hashtag1","hashtag2"]},{"1394716543":["hashtag1","hashtag2"]},{"1394716569":["hashtag1","hashtag2"]},{"1394716533":["hashtag1","hashtag2"]},{"1394716536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716541, 1394716538, 1394716543, 1394716569, 1394716533, 1394716536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.964099645614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:23:02.776823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:23:22.005951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_59_3680.jpg', '/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_11_2679.jpg', '/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_32_2626.jpg', '/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_41_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/22/image_16112025_05_22_59_3680.jpg
/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_11_2679.jpg
/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_32_2626.jpg
/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_41_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716589","1394716591","1394716587","1394716581"],"photo_ids_order":["1394716581","1394716587","1394716589","1394716591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e35b2688fb0b842c95135c077e1ba394.jpg","text":"TemporaryFile(/tmp/multipartBody4885097022103852696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267062605,"filename":"image_16112025_05_23_32_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9f2569081d17c959befa0a8bd377d98.jpg","text":"TemporaryFile(/tmp/multipartBody5692669110098604388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267062605,"filename":"image_16112025_05_23_41_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72252d56e8c17bc5f60037812c18e1ac.jpg","text":"TemporaryFile(/tmp/multipartBody4102643320938244640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267062605,"filename":"image_16112025_05_23_11_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e975f7cb13d846bcb019626f2b3b921.jpg","text":"TemporaryFile(/tmp/multipartBody1707706794260577989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267062605,"filename":"image_16112025_05_22_59_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716589","file1":"1394716587","file0":"1394716581","file3":"1394716591"},"map_files_photo_id_array":[{"photo_id":"1394716589","filename":"file2"},{"photo_id":"1394716587","filename":"file1"},{"photo_id":"1394716581","filename":"file0"},{"photo_id":"1394716591","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716589":["hashtag1","hashtag2"]},{"1394716591":["hashtag1","hashtag2"]},{"1394716587":["hashtag1","hashtag2"]},{"1394716581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716589, 1394716591, 1394716587, 1394716581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.816113471984863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:24:02.935443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:24:22.245310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_59_2793.jpg', '/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_32_2799.jpg', '/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_38_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_59_2793.jpg
/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_32_2799.jpg
/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_38_2806.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.48140597343444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:24:42.403258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_59_2793.jpg', '/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_32_2799.jpg', '/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_38_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/23/image_16112025_05_23_59_2793.jpg
/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_32_2799.jpg
/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_38_2806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716612","1394716611","1394716608"],"photo_ids_order":["1394716608","1394716611","1394716612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/244ad7190356539d1f8c3b92c9f7b614.jpg","text":"TemporaryFile(/tmp/multipartBody2422023735008337168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267142968,"filename":"image_16112025_05_24_38_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3be827c7aa489b7da56cd875f5d5f3f6.jpg","text":"TemporaryFile(/tmp/multipartBody6675784268124732826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267142968,"filename":"image_16112025_05_24_32_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec605d48f4ae70a70270093d42dfd50b.jpg","text":"TemporaryFile(/tmp/multipartBody3816446745061771445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267142968,"filename":"image_16112025_05_23_59_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716612","file1":"1394716611","file0":"1394716608"},"map_files_photo_id_array":[{"photo_id":"1394716612","filename":"file2"},{"photo_id":"1394716611","filename":"file1"},{"photo_id":"1394716608","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716612":["hashtag1","hashtag2"]},{"1394716611":["hashtag1","hashtag2"]},{"1394716608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716612, 1394716611, 1394716608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.070640087127686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:25:22.549445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_47_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/24/image_16112025_05_24_47_2768.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716621"],"photo_id":"1394716621","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/244f1325d2c4ed2349dc5108640dadc0.jpg","text":"TemporaryFile(/tmp/multipartBody5047912902990476870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267183046,"filename":"image_16112025_05_24_47_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394716621"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394716621"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.180400848388672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:25:42.766239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:26:02.528727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:26:21.903067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/25/image_16112025_05_25_20_3674.jpg', '/home/pi/Desktop/images/16112025/05/26/image_16112025_05_26_50_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/25/image_16112025_05_25_20_3674.jpg
/home/pi/Desktop/images/16112025/05/26/image_16112025_05_26_50_3757.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716630","1394716632"],"photo_ids_order":["1394716630","1394716632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dbdaa6c05bd23b4481e0cbc2ba66717.jpg","text":"TemporaryFile(/tmp/multipartBody1408400983477549813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267242492,"filename":"image_16112025_05_25_20_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7e53e6000799f6d09ab2b19f3d0a4d6.jpg","text":"TemporaryFile(/tmp/multipartBody4101525747032294296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267242492,"filename":"image_16112025_05_26_50_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394716632","file0":"1394716630"},"map_files_photo_id_array":[{"photo_id":"1394716632","filename":"file1"},{"photo_id":"1394716630","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716630":["hashtag1","hashtag2"]},{"1394716632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716630, 1394716632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.37680149078369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:26:42.009405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:27:03.017596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:27:22.188421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/26/image_16112025_05_26_55_2586.jpg', '/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_14_2517.jpg', '/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_20_3704.jpg', '/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_25_2701.jpg', '/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_29_3885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/26/image_16112025_05_26_55_2586.jpg
/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_14_2517.jpg
/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_20_3704.jpg
/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_25_2701.jpg
/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_29_3885.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716643","1394716646","1394716648","1394716662","1394716650"],"photo_ids_order":["1394716643","1394716646","1394716648","1394716650","1394716662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7304e4a4674b39a29ff672122aefa1c0.jpg","text":"TemporaryFile(/tmp/multipartBody4073780401307410626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267302863,"filename":"image_16112025_05_26_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/11/16/08991bf34bb0bfd8c8918f870a1b4c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7623760936207609626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267302863,"filename":"image_16112025_05_27_14_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d15e65dd6c3b0edeb8b1d48ca25338b.jpg","text":"TemporaryFile(/tmp/multipartBody7523327434886060254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267302863,"filename":"image_16112025_05_27_20_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fccc32b768ff1b1bbd02a727e58d981.jpg","text":"TemporaryFile(/tmp/multipartBody6164325515383383503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267302863,"filename":"image_16112025_05_27_29_3885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6925a88cc097109717bbf3231c9d833d.jpg","text":"TemporaryFile(/tmp/multipartBody6789645526828414127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267302863,"filename":"image_16112025_05_27_25_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716648","file1":"1394716646","file0":"1394716643","file4":"1394716662","file3":"1394716650"},"map_files_photo_id_array":[{"photo_id":"1394716648","filename":"file2"},{"photo_id":"1394716662","filename":"file4"},{"photo_id":"1394716646","filename":"file1"},{"photo_id":"1394716643","filename":"file0"},{"photo_id":"1394716650","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716643":["hashtag1","hashtag2"]},{"1394716646":["hashtag1","hashtag2"]},{"1394716648":["hashtag1","hashtag2"]},{"1394716662":["hashtag1","hashtag2"]},{"1394716650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716643, 1394716646, 1394716648, 1394716662, 1394716650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.20468306541443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:28:02.978018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:28:22.418743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_59_3703.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_04_2590.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_08_3627.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_17_3758.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_20_2712.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_25_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/27/image_16112025_05_27_59_3703.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_04_2590.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_08_3627.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_17_3758.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_20_2712.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_25_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716688","1394716681","1394716684","1394716692","1394716695","1394716685"],"photo_ids_order":["1394716681","1394716684","1394716685","1394716688","1394716692","1394716695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f0486055535b06c9ecf12bd57337970.jpg","text":"TemporaryFile(/tmp/multipartBody2372796784098810926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267363127,"filename":"image_16112025_05_28_17_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fda2866ccbda40093561c1270535afc.jpg","text":"TemporaryFile(/tmp/multipartBody9016833078950304015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267363127,"filename":"image_16112025_05_27_59_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d70992602f05867fa68a593ae753800.jpg","text":"TemporaryFile(/tmp/multipartBody8931203517412273202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267363127,"filename":"image_16112025_05_28_04_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eee5275703364165392977b3f2fa0c55.jpg","text":"TemporaryFile(/tmp/multipartBody3448960893216551199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267363127,"filename":"image_16112025_05_28_20_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be93a45d723eace93e3f8b0e597a3fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4716371838494059138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267363127,"filename":"image_16112025_05_28_25_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2933a28eb98552dde3619b872b114ab6.jpg","text":"TemporaryFile(/tmp/multipartBody1351218207276127820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267363127,"filename":"image_16112025_05_28_08_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716685","file1":"1394716684","file0":"1394716681","file4":"1394716692","file5":"1394716695","file3":"1394716688"},"map_files_photo_id_array":[{"photo_id":"1394716695","filename":"file5"},{"photo_id":"1394716685","filename":"file2"},{"photo_id":"1394716692","filename":"file4"},{"photo_id":"1394716684","filename":"file1"},{"photo_id":"1394716681","filename":"file0"},{"photo_id":"1394716688","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716688":["hashtag1","hashtag2"]},{"1394716681":["hashtag1","hashtag2"]},{"1394716684":["hashtag1","hashtag2"]},{"1394716692":["hashtag1","hashtag2"]},{"1394716695":["hashtag1","hashtag2"]},{"1394716685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716688, 1394716681, 1394716684, 1394716692, 1394716695, 1394716685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4263277053833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:29:03.755022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_29_3631.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_34_2694.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_38_3671.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_43_2800.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_46_2646.jpg', '/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_50_3746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_29_3631.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_34_2694.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_38_3671.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_43_2800.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_46_2646.jpg
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_50_3746.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":["1394716703","1394716706","1394716700","1394716698","1394716710","1394716701"],"photo_ids_order":["1394716698","1394716700","1394716701","1394716703","1394716706","1394716710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b110f1df7b1a099455e2de01c17d3e84.jpg","text":"TemporaryFile(/tmp/multipartBody3191296770201142803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267404764,"filename":"image_16112025_05_28_43_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5da1f5a02ff570433cbcaf679264a6c1.jpg","text":"TemporaryFile(/tmp/multipartBody2810497838425878070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267404764,"filename":"image_16112025_05_28_46_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a9b932342195df60715675935498de9.jpg","text":"TemporaryFile(/tmp/multipartBody2050079635125642984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267404764,"filename":"image_16112025_05_28_34_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d301a39e59512dbc5ef0d8de2d624e8.jpg","text":"TemporaryFile(/tmp/multipartBody387537072963000315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267404764,"filename":"image_16112025_05_28_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/11/16/ece77bab60487de21ee73303a44b9f76.jpg","text":"TemporaryFile(/tmp/multipartBody6006606309230207709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267404764,"filename":"image_16112025_05_28_50_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/590c7b5b93d16ac9fcba33bf85eeadf2.jpg","text":"TemporaryFile(/tmp/multipartBody3216780668853032693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267404764,"filename":"image_16112025_05_28_38_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716701","file1":"1394716700","file0":"1394716698","file4":"1394716706","file5":"1394716710","file3":"1394716703"},"map_files_photo_id_array":[{"photo_id":"1394716710","filename":"file5"},{"photo_id":"1394716701","filename":"file2"},{"photo_id":"1394716706","filename":"file4"},{"photo_id":"1394716700","filename":"file1"},{"photo_id":"1394716698","filename":"file0"},{"photo_id":"1394716703","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716703":["hashtag1","hashtag2"]},{"1394716706":["hashtag1","hashtag2"]},{"1394716700":["hashtag1","hashtag2"]},{"1394716698":["hashtag1","hashtag2"]},{"1394716710":["hashtag1","hashtag2"]},{"1394716701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716703, 1394716706, 1394716700, 1394716698, 1394716710, 1394716701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.046446561813354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:30:02.349911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_55_2631.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_01_2680.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_14_2783.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_16_2607.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_19_2772.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_23_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/28/image_16112025_05_28_55_2631.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_01_2680.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_14_2783.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_16_2607.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_19_2772.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_23_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716754","1394716721","1394716750","1394716714","1394716723","1394716719"],"photo_ids_order":["1394716714","1394716719","1394716721","1394716723","1394716750","1394716754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a92d0ff19ea078d40f28bdb6a53f7a5.jpg","text":"TemporaryFile(/tmp/multipartBody4782939059101320017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267463147,"filename":"image_16112025_05_29_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/11/16/20bead6f8da126e10569753633b76ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3795360509912390121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267463147,"filename":"image_16112025_05_29_14_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b463cf809f3c436a094403a26efbe10.jpg","text":"TemporaryFile(/tmp/multipartBody4273620684340039354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267463147,"filename":"image_16112025_05_29_19_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36843e4e0cfacc7286eec277d3a9f01d.jpg","text":"TemporaryFile(/tmp/multipartBody883184109878618652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267463147,"filename":"image_16112025_05_28_55_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5cb7518129803c20d6d82c097f81580.jpg","text":"TemporaryFile(/tmp/multipartBody5113310967936455411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267463147,"filename":"image_16112025_05_29_16_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/969ec0eb9df188e0ed9a2c6eb254ff3f.jpg","text":"TemporaryFile(/tmp/multipartBody2538291388805163581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267463147,"filename":"image_16112025_05_29_01_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716721","file1":"1394716719","file0":"1394716714","file4":"1394716750","file5":"1394716754","file3":"1394716723"},"map_files_photo_id_array":[{"photo_id":"1394716754","filename":"file5"},{"photo_id":"1394716721","filename":"file2"},{"photo_id":"1394716750","filename":"file4"},{"photo_id":"1394716719","filename":"file1"},{"photo_id":"1394716714","filename":"file0"},{"photo_id":"1394716723","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716754":["hashtag1","hashtag2"]},{"1394716721":["hashtag1","hashtag2"]},{"1394716750":["hashtag1","hashtag2"]},{"1394716714":["hashtag1","hashtag2"]},{"1394716723":["hashtag1","hashtag2"]},{"1394716719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716754, 1394716721, 1394716750, 1394716714, 1394716723, 1394716719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53402590751648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:30:41.872431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_25_2746.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_28_2659.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_32_3622.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_53_3684.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_55_2819.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_58_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_25_2746.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_28_2659.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_32_3622.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_53_3684.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_55_2819.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_58_2697.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.6076393127441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:31:02.667709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_25_2746.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_28_2659.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_32_3622.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_53_3684.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_55_2819.jpg', '/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_58_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_25_2746.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_28_2659.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_32_3622.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_53_3684.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_55_2819.jpg
/home/pi/Desktop/images/16112025/05/29/image_16112025_05_29_58_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716772","1394716775","1394716774","1394716773","1394716776","1394716778"],"photo_ids_order":["1394716772","1394716773","1394716774","1394716775","1394716776","1394716778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d942c3f30085ed519c19b94c227eed3b.jpg","text":"TemporaryFile(/tmp/multipartBody5061605377826088111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267523556,"filename":"image_16112025_05_29_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/11/16/101522179c48904e87775da10414b83b.jpg","text":"TemporaryFile(/tmp/multipartBody288521085608083035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267523556,"filename":"image_16112025_05_29_53_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8e676c0020bd487b0b8e0514ebcfd9f.jpg","text":"TemporaryFile(/tmp/multipartBody9027436204239931684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267523556,"filename":"image_16112025_05_29_32_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba0fc4866247908a02a4b5aaea908af1.jpg","text":"TemporaryFile(/tmp/multipartBody272322244060163107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267523556,"filename":"image_16112025_05_29_28_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebf93e205d6c14352d66a9c51586494f.jpg","text":"TemporaryFile(/tmp/multipartBody2338888588343683324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267523556,"filename":"image_16112025_05_29_55_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3d0850d072d54824dc149cad4aa3f60.jpg","text":"TemporaryFile(/tmp/multipartBody4062814412501069400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267523556,"filename":"image_16112025_05_29_58_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716774","file1":"1394716773","file0":"1394716772","file4":"1394716776","file5":"1394716778","file3":"1394716775"},"map_files_photo_id_array":[{"photo_id":"1394716778","filename":"file5"},{"photo_id":"1394716774","filename":"file2"},{"photo_id":"1394716776","filename":"file4"},{"photo_id":"1394716773","filename":"file1"},{"photo_id":"1394716772","filename":"file0"},{"photo_id":"1394716775","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716772":["hashtag1","hashtag2"]},{"1394716775":["hashtag1","hashtag2"]},{"1394716774":["hashtag1","hashtag2"]},{"1394716773":["hashtag1","hashtag2"]},{"1394716776":["hashtag1","hashtag2"]},{"1394716778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716772, 1394716775, 1394716774, 1394716773, 1394716776, 1394716778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24795317649841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:31:42.037709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_10_2663.jpg', '/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_14_3587.jpg', '/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_16_2571.jpg', '/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_29_3540.jpg', '/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_34_2868.jpg', '/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_37_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_10_2663.jpg
/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_14_3587.jpg
/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_16_2571.jpg
/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_29_3540.jpg
/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_34_2868.jpg
/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_37_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716781","1394716780","1394716783","1394716786","1394716782","1394716784"],"photo_ids_order":["1394716780","1394716781","1394716782","1394716783","1394716784","1394716786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2b02e59ce32d3316b0c2b6c9d45e03a.jpg","text":"TemporaryFile(/tmp/multipartBody8947720571240175981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267562724,"filename":"image_16112025_05_30_14_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb91c9c927fad2c4b81a6f60e45bb08b.jpg","text":"TemporaryFile(/tmp/multipartBody1895412598191120352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267562724,"filename":"image_16112025_05_30_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/11/16/5b4043effd99fbce611535852a220bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8904135981209269553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267562724,"filename":"image_16112025_05_30_29_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d793b47217e56c36cb115404af49f633.jpg","text":"TemporaryFile(/tmp/multipartBody238932602892598205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267562724,"filename":"image_16112025_05_30_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/11/16/7a8a612e40e45066120af6948e69dc29.jpg","text":"TemporaryFile(/tmp/multipartBody5694786016746646212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267562724,"filename":"image_16112025_05_30_16_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ddaa4f0a23535b617a43dd8840a1426.jpg","text":"TemporaryFile(/tmp/multipartBody1083986143974345712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267562724,"filename":"image_16112025_05_30_34_2868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716782","file1":"1394716781","file0":"1394716780","file4":"1394716784","file5":"1394716786","file3":"1394716783"},"map_files_photo_id_array":[{"photo_id":"1394716786","filename":"file5"},{"photo_id":"1394716782","filename":"file2"},{"photo_id":"1394716784","filename":"file4"},{"photo_id":"1394716781","filename":"file1"},{"photo_id":"1394716780","filename":"file0"},{"photo_id":"1394716783","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716781":["hashtag1","hashtag2"]},{"1394716780":["hashtag1","hashtag2"]},{"1394716783":["hashtag1","hashtag2"]},{"1394716786":["hashtag1","hashtag2"]},{"1394716782":["hashtag1","hashtag2"]},{"1394716784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716781, 1394716780, 1394716783, 1394716786, 1394716782, 1394716784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39267563819885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:32:22.266396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_55_2694.jpg', '/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_02_3605.jpg', '/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_13_2656.jpg', '/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_19_2671.jpg', '/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_25_2695.jpg', '/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_40_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/30/image_16112025_05_30_55_2694.jpg
/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_02_3605.jpg
/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_13_2656.jpg
/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_19_2671.jpg
/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_25_2695.jpg
/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_40_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716801","1394716794","1394716797","1394716803","1394716800","1394716799"],"photo_ids_order":["1394716794","1394716797","1394716799","1394716800","1394716801","1394716803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74c91a55c521b9d738fde02468c44fad.jpg","text":"TemporaryFile(/tmp/multipartBody642279150502377401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267603089,"filename":"image_16112025_05_31_25_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e269ba59c172e7599908f57d210f1a75.jpg","text":"TemporaryFile(/tmp/multipartBody8116045816160354934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267603089,"filename":"image_16112025_05_30_55_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c48fa03cc951f368b9e4c80d185ee5ae.jpg","text":"TemporaryFile(/tmp/multipartBody1731066383269801012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267603089,"filename":"image_16112025_05_31_02_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27128409f644f471a6b7a14821e202d9.jpg","text":"TemporaryFile(/tmp/multipartBody3450115193327711248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267603089,"filename":"image_16112025_05_31_40_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14982aca68801a5ba7070de7ca27dfef.jpg","text":"TemporaryFile(/tmp/multipartBody8887850376197845913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267603089,"filename":"image_16112025_05_31_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/11/16/ceb7bc0689006e1f9a6bc186a5066195.jpg","text":"TemporaryFile(/tmp/multipartBody468821914488960899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267603089,"filename":"image_16112025_05_31_13_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716799","file1":"1394716797","file0":"1394716794","file4":"1394716801","file5":"1394716803","file3":"1394716800"},"map_files_photo_id_array":[{"photo_id":"1394716803","filename":"file5"},{"photo_id":"1394716799","filename":"file2"},{"photo_id":"1394716801","filename":"file4"},{"photo_id":"1394716797","filename":"file1"},{"photo_id":"1394716794","filename":"file0"},{"photo_id":"1394716800","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716801":["hashtag1","hashtag2"]},{"1394716794":["hashtag1","hashtag2"]},{"1394716797":["hashtag1","hashtag2"]},{"1394716803":["hashtag1","hashtag2"]},{"1394716800":["hashtag1","hashtag2"]},{"1394716799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716801, 1394716794, 1394716797, 1394716803, 1394716800, 1394716799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8738956451416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:33:03.234528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_43_2614.jpg', '/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_46_2711.jpg', '/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_14_3600.jpg', '/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_22_2717.jpg', '/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_25_3704.jpg', '/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_52_2926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_43_2614.jpg
/home/pi/Desktop/images/16112025/05/31/image_16112025_05_31_46_2711.jpg
/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_14_3600.jpg
/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_22_2717.jpg
/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_25_3704.jpg
/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_52_2926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716820","1394716817","1394716811","1394716813","1394716815","1394716809"],"photo_ids_order":["1394716809","1394716811","1394716813","1394716815","1394716817","1394716820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed3f19391ce77bbc2f6243bc999c914d.jpg","text":"TemporaryFile(/tmp/multipartBody1926101813100123417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267644055,"filename":"image_16112025_05_32_52_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/868bc86895ec646daa8197f245ac1430.jpg","text":"TemporaryFile(/tmp/multipartBody7323766457378755596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267644055,"filename":"image_16112025_05_32_25_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b390c7ea631700aa75c3335759d1f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2228857471818270150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267644055,"filename":"image_16112025_05_31_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/11/16/22d3fe4b37f46cec9e4ddbe169ed8ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1687697328430829011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267644055,"filename":"image_16112025_05_32_14_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77709a5321a6c9d2066286473f66037b.jpg","text":"TemporaryFile(/tmp/multipartBody8315891976067570000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267644055,"filename":"image_16112025_05_32_22_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da980ace5b864b061281ffbe5f632e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3506933455730169813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267644055,"filename":"image_16112025_05_31_43_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716813","file1":"1394716811","file0":"1394716809","file4":"1394716817","file5":"1394716820","file3":"1394716815"},"map_files_photo_id_array":[{"photo_id":"1394716820","filename":"file5"},{"photo_id":"1394716813","filename":"file2"},{"photo_id":"1394716817","filename":"file4"},{"photo_id":"1394716811","filename":"file1"},{"photo_id":"1394716809","filename":"file0"},{"photo_id":"1394716815","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716820":["hashtag1","hashtag2"]},{"1394716817":["hashtag1","hashtag2"]},{"1394716811":["hashtag1","hashtag2"]},{"1394716813":["hashtag1","hashtag2"]},{"1394716815":["hashtag1","hashtag2"]},{"1394716809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716820, 1394716817, 1394716811, 1394716813, 1394716815, 1394716809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00192213058472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:33:42.601474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_55_2718.jpg', '/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_08_3557.jpg', '/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_13_2704.jpg', '/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_19_3645.jpg', '/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_25_2744.jpg', '/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_43_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/32/image_16112025_05_32_55_2718.jpg
/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_08_3557.jpg
/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_13_2704.jpg
/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_19_3645.jpg
/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_25_2744.jpg
/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_43_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716829","1394716826","1394716828","1394716830","1394716824","1394716827"],"photo_ids_order":["1394716824","1394716826","1394716827","1394716828","1394716829","1394716830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83ef12196086eaf4aa0f815acdec250b.jpg","text":"TemporaryFile(/tmp/multipartBody4581041383877373095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267683317,"filename":"image_16112025_05_33_25_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0ed748eebade82ad166ca1ca09908ee.jpg","text":"TemporaryFile(/tmp/multipartBody2144165911927296508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267683317,"filename":"image_16112025_05_33_08_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35d33ef2ee1a143127830cff35f8c94f.jpg","text":"TemporaryFile(/tmp/multipartBody3760554781094767590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267683317,"filename":"image_16112025_05_33_19_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/321a7f156c9a79fb84c45618f7f49d1b.jpg","text":"TemporaryFile(/tmp/multipartBody1832678400869401481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267683317,"filename":"image_16112025_05_33_43_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ab5464e49f01c6c4e6e58ae32defbb2.jpg","text":"TemporaryFile(/tmp/multipartBody495569892847344823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267683317,"filename":"image_16112025_05_32_55_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4893ce96d23e947f523ec69288be2df0.jpg","text":"TemporaryFile(/tmp/multipartBody8761244604838147613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267683317,"filename":"image_16112025_05_33_13_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716827","file1":"1394716826","file0":"1394716824","file4":"1394716829","file5":"1394716830","file3":"1394716828"},"map_files_photo_id_array":[{"photo_id":"1394716830","filename":"file5"},{"photo_id":"1394716827","filename":"file2"},{"photo_id":"1394716829","filename":"file4"},{"photo_id":"1394716826","filename":"file1"},{"photo_id":"1394716824","filename":"file0"},{"photo_id":"1394716828","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716829":["hashtag1","hashtag2"]},{"1394716826":["hashtag1","hashtag2"]},{"1394716828":["hashtag1","hashtag2"]},{"1394716830":["hashtag1","hashtag2"]},{"1394716824":["hashtag1","hashtag2"]},{"1394716827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716829, 1394716826, 1394716828, 1394716830, 1394716824, 1394716827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29433465003967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:34:21.855135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_49_2739.jpg', '/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_52_2708.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_01_2911.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_04_2592.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_13_2644.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_16_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_49_2739.jpg
/home/pi/Desktop/images/16112025/05/33/image_16112025_05_33_52_2708.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_01_2911.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_04_2592.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_13_2644.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_16_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716835","1394716844","1394716837","1394716840","1394716842","1394716833"],"photo_ids_order":["1394716833","1394716835","1394716837","1394716840","1394716842","1394716844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81a9cdee876f3396a9359856b1b9083f.jpg","text":"TemporaryFile(/tmp/multipartBody7086604108294214265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267722592,"filename":"image_16112025_05_33_52_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/974a9c405c7ae59eb424edc58ba5dc88.jpg","text":"TemporaryFile(/tmp/multipartBody7830566525785657947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267722592,"filename":"image_16112025_05_34_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/11/16/1e7ddf72beeeb1beb8ec1656ca9bb115.jpg","text":"TemporaryFile(/tmp/multipartBody3641114257413553284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267722592,"filename":"image_16112025_05_34_01_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb2fa2a59cb45395c781abf0d915c799.jpg","text":"TemporaryFile(/tmp/multipartBody8335768426632657581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267722592,"filename":"image_16112025_05_34_04_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0befd253f2b0cd0a83a8f480b9bac2d1.jpg","text":"TemporaryFile(/tmp/multipartBody4669514378379446600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267722592,"filename":"image_16112025_05_34_13_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61b4c1985a56dae705a8cbc14b647f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5321656366072301032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267722592,"filename":"image_16112025_05_33_49_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716837","file1":"1394716835","file0":"1394716833","file4":"1394716842","file5":"1394716844","file3":"1394716840"},"map_files_photo_id_array":[{"photo_id":"1394716844","filename":"file5"},{"photo_id":"1394716837","filename":"file2"},{"photo_id":"1394716842","filename":"file4"},{"photo_id":"1394716835","filename":"file1"},{"photo_id":"1394716833","filename":"file0"},{"photo_id":"1394716840","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716835":["hashtag1","hashtag2"]},{"1394716844":["hashtag1","hashtag2"]},{"1394716837":["hashtag1","hashtag2"]},{"1394716840":["hashtag1","hashtag2"]},{"1394716842":["hashtag1","hashtag2"]},{"1394716833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716835, 1394716844, 1394716837, 1394716840, 1394716842, 1394716833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.831977128982544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:35:02.722164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_19_2738.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_22_2823.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_25_2658.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_28_3719.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_31_2732.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_34_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_19_2738.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_22_2823.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_25_2658.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_28_3719.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_31_2732.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_34_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716853","1394716847","1394716846","1394716849","1394716851","1394716845"],"photo_ids_order":["1394716845","1394716846","1394716847","1394716849","1394716851","1394716853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7c621f94ac2c1d3a4fb64c1506bdda8.jpg","text":"TemporaryFile(/tmp/multipartBody5763486950345127010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267763542,"filename":"image_16112025_05_34_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/11/16/77a4c24acbb244205b749d292fff8028.jpg","text":"TemporaryFile(/tmp/multipartBody1091433797797591057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267763542,"filename":"image_16112025_05_34_25_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4569bfc40f8889208a790babb4db5a7.jpg","text":"TemporaryFile(/tmp/multipartBody8762340809431181784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267763542,"filename":"image_16112025_05_34_22_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8625048898ae35dd6b0bedf0ae478e3.jpg","text":"TemporaryFile(/tmp/multipartBody1783143482135750855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267763542,"filename":"image_16112025_05_34_28_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/280a8d7efee079eb8ffd39899ba5c59e.jpg","text":"TemporaryFile(/tmp/multipartBody8265783116434854856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267763542,"filename":"image_16112025_05_34_31_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/723f8550bd57c591383a97fd1e67d672.jpg","text":"TemporaryFile(/tmp/multipartBody6841304404625955165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267763542,"filename":"image_16112025_05_34_19_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716847","file1":"1394716846","file0":"1394716845","file4":"1394716851","file5":"1394716853","file3":"1394716849"},"map_files_photo_id_array":[{"photo_id":"1394716853","filename":"file5"},{"photo_id":"1394716847","filename":"file2"},{"photo_id":"1394716851","filename":"file4"},{"photo_id":"1394716846","filename":"file1"},{"photo_id":"1394716845","filename":"file0"},{"photo_id":"1394716849","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716853":["hashtag1","hashtag2"]},{"1394716847":["hashtag1","hashtag2"]},{"1394716846":["hashtag1","hashtag2"]},{"1394716849":["hashtag1","hashtag2"]},{"1394716851":["hashtag1","hashtag2"]},{"1394716845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716853, 1394716847, 1394716846, 1394716849, 1394716851, 1394716845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.646875858306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:35:42.023410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_37_3207.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_40_2698.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_43_3580.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_47_3914.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_35_00_2678.jpg', '/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_25_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_37_3207.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_40_2698.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_43_3580.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_47_3914.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_35_00_2678.jpg
/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_25_3551.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.6080605983734131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:36:02.749232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_37_3207.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_40_2698.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_43_3580.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_47_3914.jpg', '/home/pi/Desktop/images/16112025/05/34/image_16112025_05_35_00_2678.jpg', '/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_25_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_37_3207.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_40_2698.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_43_3580.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_34_47_3914.jpg
/home/pi/Desktop/images/16112025/05/34/image_16112025_05_35_00_2678.jpg
/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_25_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716865","1394716864","1394716867","1394716872","1394716866","1394716869"],"photo_ids_order":["1394716864","1394716865","1394716866","1394716867","1394716869","1394716872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b084af447c153478f70f528d0a391d8c.jpg","text":"TemporaryFile(/tmp/multipartBody6340379208337754512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267823490,"filename":"image_16112025_05_34_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09ffc5379a56c72b01b6a00ce3596604.jpg","text":"TemporaryFile(/tmp/multipartBody4528580416936307993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267823490,"filename":"image_16112025_05_34_37_3207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97be2d8935f70b6730810c45f38c5b57.jpg","text":"TemporaryFile(/tmp/multipartBody6439720445489875581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267823490,"filename":"image_16112025_05_34_47_3914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8433433c88fea7927d1cd48eed51863.jpg","text":"TemporaryFile(/tmp/multipartBody19028068258671935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267823490,"filename":"image_16112025_05_35_25_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89a74fde81ba2feae9f73d752195b6c5.jpg","text":"TemporaryFile(/tmp/multipartBody7597727375358585418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267823490,"filename":"image_16112025_05_34_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/11/16/86e7bc488eb914a7990a7ab6794f90e9.jpg","text":"TemporaryFile(/tmp/multipartBody7269910091572475271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267823490,"filename":"image_16112025_05_35_00_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716866","file1":"1394716865","file0":"1394716864","file4":"1394716869","file5":"1394716872","file3":"1394716867"},"map_files_photo_id_array":[{"photo_id":"1394716872","filename":"file5"},{"photo_id":"1394716866","filename":"file2"},{"photo_id":"1394716869","filename":"file4"},{"photo_id":"1394716865","filename":"file1"},{"photo_id":"1394716864","filename":"file0"},{"photo_id":"1394716867","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716865":["hashtag1","hashtag2"]},{"1394716864":["hashtag1","hashtag2"]},{"1394716867":["hashtag1","hashtag2"]},{"1394716872":["hashtag1","hashtag2"]},{"1394716866":["hashtag1","hashtag2"]},{"1394716869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716865, 1394716864, 1394716867, 1394716872, 1394716866, 1394716869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.650726079940796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:36:42.226642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_28_2678.jpg', '/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_30_2612.jpg', '/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_46_3718.jpg', '/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_49_2709.jpg', '/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_52_2712.jpg', '/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_54_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_28_2678.jpg
/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_30_2612.jpg
/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_46_3718.jpg
/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_49_2709.jpg
/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_52_2712.jpg
/home/pi/Desktop/images/16112025/05/35/image_16112025_05_35_54_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716880","1394716874","1394716882","1394716876","1394716879","1394716878"],"photo_ids_order":["1394716874","1394716876","1394716878","1394716879","1394716880","1394716882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8f7402b13b611002103a46af17837e7.jpg","text":"TemporaryFile(/tmp/multipartBody1226922148477123415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267862957,"filename":"image_16112025_05_35_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/11/16/c1ea705af925c68c62939040fc69b827.jpg","text":"TemporaryFile(/tmp/multipartBody2314236328404505020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267862957,"filename":"image_16112025_05_35_28_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ee457622d0fc52f43d767731008a525.jpg","text":"TemporaryFile(/tmp/multipartBody7223057914872062646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267862957,"filename":"image_16112025_05_35_54_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b25b8d29f96e452c6401f55cddd887dd.jpg","text":"TemporaryFile(/tmp/multipartBody213579116607021498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267862957,"filename":"image_16112025_05_35_30_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a062bbd44cf789767a103683af8d221e.jpg","text":"TemporaryFile(/tmp/multipartBody2048625138869132905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267862957,"filename":"image_16112025_05_35_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/11/16/1de281afbc0999cb43a59e2e3a858e1f.jpg","text":"TemporaryFile(/tmp/multipartBody4820045435901054844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267862957,"filename":"image_16112025_05_35_46_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716878","file1":"1394716876","file0":"1394716874","file4":"1394716880","file5":"1394716882","file3":"1394716879"},"map_files_photo_id_array":[{"photo_id":"1394716882","filename":"file5"},{"photo_id":"1394716878","filename":"file2"},{"photo_id":"1394716880","filename":"file4"},{"photo_id":"1394716876","filename":"file1"},{"photo_id":"1394716874","filename":"file0"},{"photo_id":"1394716879","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716880":["hashtag1","hashtag2"]},{"1394716874":["hashtag1","hashtag2"]},{"1394716882":["hashtag1","hashtag2"]},{"1394716876":["hashtag1","hashtag2"]},{"1394716879":["hashtag1","hashtag2"]},{"1394716878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716880, 1394716874, 1394716882, 1394716876, 1394716879, 1394716878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.878621339797974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:37:22.381479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_04_3568.jpg', '/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_19_3858.jpg', '/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_46_3526.jpg', '/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_49_2563.jpg', '/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_51_2634.jpg', '/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_55_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_04_3568.jpg
/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_19_3858.jpg
/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_46_3526.jpg
/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_49_2563.jpg
/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_51_2634.jpg
/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_55_3762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716892","1394716885","1394716890","1394716893","1394716887","1394716895"],"photo_ids_order":["1394716885","1394716887","1394716890","1394716892","1394716893","1394716895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fb53a6250b2d3c3de39ebe18d9992e4.jpg","text":"TemporaryFile(/tmp/multipartBody239777641673885404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267903099,"filename":"image_16112025_05_36_49_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/860964a67dc64cb7ff708e30d5c2e64a.jpg","text":"TemporaryFile(/tmp/multipartBody6579157809887473271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267903099,"filename":"image_16112025_05_36_04_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6b732a9e21aa3bda11f5ee44d8a4d00.jpg","text":"TemporaryFile(/tmp/multipartBody5743811854573126759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267903099,"filename":"image_16112025_05_36_46_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee9c4789845c2996fa6570d3cbb07322.jpg","text":"TemporaryFile(/tmp/multipartBody4941351682971016277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267903099,"filename":"image_16112025_05_36_51_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9bfc8d0d686f3aceb1bf5459c0130037.jpg","text":"TemporaryFile(/tmp/multipartBody1168834589120589550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267903099,"filename":"image_16112025_05_36_19_3858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bba2a23439069a1e560047834c4702d.jpg","text":"TemporaryFile(/tmp/multipartBody7596051786272755733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267903099,"filename":"image_16112025_05_36_55_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716890","file1":"1394716887","file0":"1394716885","file4":"1394716893","file5":"1394716895","file3":"1394716892"},"map_files_photo_id_array":[{"photo_id":"1394716895","filename":"file5"},{"photo_id":"1394716890","filename":"file2"},{"photo_id":"1394716893","filename":"file4"},{"photo_id":"1394716887","filename":"file1"},{"photo_id":"1394716885","filename":"file0"},{"photo_id":"1394716892","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716892":["hashtag1","hashtag2"]},{"1394716885":["hashtag1","hashtag2"]},{"1394716890":["hashtag1","hashtag2"]},{"1394716893":["hashtag1","hashtag2"]},{"1394716887":["hashtag1","hashtag2"]},{"1394716895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716892, 1394716885, 1394716890, 1394716893, 1394716887, 1394716895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98126459121704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:38:03.123314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_58_2703.jpg', '/home/pi/Desktop/images/16112025/05/36/image_16112025_05_37_00_2668.jpg', '/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_13_3666.jpg', '/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_18_2664.jpg', '/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_49_3623.jpg', '/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_52_3118.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/36/image_16112025_05_36_58_2703.jpg
/home/pi/Desktop/images/16112025/05/36/image_16112025_05_37_00_2668.jpg
/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_13_3666.jpg
/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_18_2664.jpg
/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_49_3623.jpg
/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_52_3118.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716909","1394716900","1394716903","1394716902","1394716905","1394716898"],"photo_ids_order":["1394716898","1394716900","1394716902","1394716903","1394716905","1394716909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91f3631f8b56098c9be35adb4a8f6bee.jpg","text":"TemporaryFile(/tmp/multipartBody4974048076826753154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267943989,"filename":"image_16112025_05_37_52_3118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f0ed60808cfb4aab1e1c4984790a96a.jpg","text":"TemporaryFile(/tmp/multipartBody3937842481345698617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267943989,"filename":"image_16112025_05_37_00_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a37a7e4cd8e76f688384f2f40f8c5ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8869270414709501908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267943989,"filename":"image_16112025_05_37_18_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb3b88727af87ab3cd4c37f3142c7652.jpg","text":"TemporaryFile(/tmp/multipartBody2916693331266856511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267943989,"filename":"image_16112025_05_37_13_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e0574adf63fb8068d1a2da71d23ea68.jpg","text":"TemporaryFile(/tmp/multipartBody5202703111956566305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267943989,"filename":"image_16112025_05_37_49_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/584a9c2aa5d0f811490635c3deadd64c.jpg","text":"TemporaryFile(/tmp/multipartBody3289846136338837787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267943989,"filename":"image_16112025_05_36_58_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716902","file1":"1394716900","file0":"1394716898","file4":"1394716905","file5":"1394716909","file3":"1394716903"},"map_files_photo_id_array":[{"photo_id":"1394716909","filename":"file5"},{"photo_id":"1394716902","filename":"file2"},{"photo_id":"1394716905","filename":"file4"},{"photo_id":"1394716900","filename":"file1"},{"photo_id":"1394716898","filename":"file0"},{"photo_id":"1394716903","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716909":["hashtag1","hashtag2"]},{"1394716900":["hashtag1","hashtag2"]},{"1394716903":["hashtag1","hashtag2"]},{"1394716902":["hashtag1","hashtag2"]},{"1394716905":["hashtag1","hashtag2"]},{"1394716898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716909, 1394716900, 1394716903, 1394716902, 1394716905, 1394716898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.775858640670776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:38:42.636113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_55_2757.jpg', '/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_06_2641.jpg', '/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_13_2620.jpg', '/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_28_3651.jpg', '/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_33_2729.jpg', '/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_42_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/37/image_16112025_05_37_55_2757.jpg
/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_06_2641.jpg
/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_13_2620.jpg
/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_28_3651.jpg
/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_33_2729.jpg
/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_42_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716922","1394716916","1394716919","1394716918","1394716920","1394716917"],"photo_ids_order":["1394716916","1394716917","1394716918","1394716919","1394716920","1394716922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdb3b86cc813423ebf1d8c592618be66.jpg","text":"TemporaryFile(/tmp/multipartBody1737864435825062171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267983372,"filename":"image_16112025_05_38_42_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b00108646099ccebdb799dfd8555f5d2.jpg","text":"TemporaryFile(/tmp/multipartBody490823605884513236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267983372,"filename":"image_16112025_05_37_55_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/983bfd4233d7e8895ced92aa7a445abc.jpg","text":"TemporaryFile(/tmp/multipartBody5467023866926734791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267983372,"filename":"image_16112025_05_38_28_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6723936a68b5edb4b33229e1ae4ea0ad.jpg","text":"TemporaryFile(/tmp/multipartBody3199542506017020325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267983372,"filename":"image_16112025_05_38_13_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1cf1a79be7f4158489264c35a6a9f88.jpg","text":"TemporaryFile(/tmp/multipartBody1920404697233892259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267983372,"filename":"image_16112025_05_38_33_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee0b38d480347f30f8f71ed06b93cc7d.jpg","text":"TemporaryFile(/tmp/multipartBody3787957811897354617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763267983372,"filename":"image_16112025_05_38_06_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716918","file1":"1394716917","file0":"1394716916","file4":"1394716920","file5":"1394716922","file3":"1394716919"},"map_files_photo_id_array":[{"photo_id":"1394716922","filename":"file5"},{"photo_id":"1394716918","filename":"file2"},{"photo_id":"1394716920","filename":"file4"},{"photo_id":"1394716917","filename":"file1"},{"photo_id":"1394716916","filename":"file0"},{"photo_id":"1394716919","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716922":["hashtag1","hashtag2"]},{"1394716916":["hashtag1","hashtag2"]},{"1394716919":["hashtag1","hashtag2"]},{"1394716918":["hashtag1","hashtag2"]},{"1394716920":["hashtag1","hashtag2"]},{"1394716917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716922, 1394716916, 1394716919, 1394716918, 1394716920, 1394716917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88587832450867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:39:21.945752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_58_3567.jpg', '/home/pi/Desktop/images/16112025/05/38/image_16112025_05_39_00_2657.jpg', '/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_09_2727.jpg', '/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_12_2786.jpg', '/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_43_2910.jpg', '/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_48_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/38/image_16112025_05_38_58_3567.jpg
/home/pi/Desktop/images/16112025/05/38/image_16112025_05_39_00_2657.jpg
/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_09_2727.jpg
/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_12_2786.jpg
/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_43_2910.jpg
/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_48_2592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716931","1394716934","1394716928","1394716925","1394716927","1394716929"],"photo_ids_order":["1394716925","1394716927","1394716928","1394716929","1394716931","1394716934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36a86a444ca9249939db64f8d061a206.jpg","text":"TemporaryFile(/tmp/multipartBody1997621160257228399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268022643,"filename":"image_16112025_05_39_43_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/679fe4c35eb65f07ce26bc9b1e74e757.jpg","text":"TemporaryFile(/tmp/multipartBody8579632864012209293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268022643,"filename":"image_16112025_05_39_48_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4c13a24d2f0e530a58dac6b66174ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5467329390901026676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268022643,"filename":"image_16112025_05_39_09_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec94ca9ce8ab55fc8395d81a595c42b0.jpg","text":"TemporaryFile(/tmp/multipartBody1428453233973601478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268022643,"filename":"image_16112025_05_38_58_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01ee700641bf0b2dd833db759a0f0124.jpg","text":"TemporaryFile(/tmp/multipartBody9190190927504928734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268022643,"filename":"image_16112025_05_39_00_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5634d0314dae40ccf8b1b186017f3c63.jpg","text":"TemporaryFile(/tmp/multipartBody8152882061970598916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268022643,"filename":"image_16112025_05_39_12_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716928","file1":"1394716927","file0":"1394716925","file4":"1394716931","file5":"1394716934","file3":"1394716929"},"map_files_photo_id_array":[{"photo_id":"1394716934","filename":"file5"},{"photo_id":"1394716928","filename":"file2"},{"photo_id":"1394716931","filename":"file4"},{"photo_id":"1394716927","filename":"file1"},{"photo_id":"1394716925","filename":"file0"},{"photo_id":"1394716929","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716931":["hashtag1","hashtag2"]},{"1394716934":["hashtag1","hashtag2"]},{"1394716928":["hashtag1","hashtag2"]},{"1394716925":["hashtag1","hashtag2"]},{"1394716927":["hashtag1","hashtag2"]},{"1394716929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716931, 1394716934, 1394716928, 1394716925, 1394716927, 1394716929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.880813121795654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:40:02.640948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:40:22.244957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_57_2682.jpg', '/home/pi/Desktop/images/16112025/05/39/image_16112025_05_40_01_3623.jpg', '/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_06_2666.jpg', '/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_10_3566.jpg', '/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_19_3534.jpg', '/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_42_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/39/image_16112025_05_39_57_2682.jpg
/home/pi/Desktop/images/16112025/05/39/image_16112025_05_40_01_3623.jpg
/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_06_2666.jpg
/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_10_3566.jpg
/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_19_3534.jpg
/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_42_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716952","1394716955","1394716949","1394716942","1394716945","1394716939"],"photo_ids_order":["1394716939","1394716942","1394716945","1394716949","1394716952","1394716955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/128b8e36b6bd4e5445107532570acb3e.jpg","text":"TemporaryFile(/tmp/multipartBody7944665136521651013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268082947,"filename":"image_16112025_05_40_19_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/115569ec9789f7bef0bf49f32304c348.jpg","text":"TemporaryFile(/tmp/multipartBody1020638735169830014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268082947,"filename":"image_16112025_05_40_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/11/16/18f6e0086df663664172c60f5667bb8c.jpg","text":"TemporaryFile(/tmp/multipartBody7369967179397642295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268082947,"filename":"image_16112025_05_40_10_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0f46abd4ce89e6676c258fc71df5780.jpg","text":"TemporaryFile(/tmp/multipartBody6883555427686824336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268082947,"filename":"image_16112025_05_40_01_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fad632d65a6a3e8600e2a20b3afe13c.jpg","text":"TemporaryFile(/tmp/multipartBody1546226240551097218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268082947,"filename":"image_16112025_05_40_06_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9340898166d14aa7faa33bfd96c9ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4197979311615617560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268082947,"filename":"image_16112025_05_39_57_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716945","file1":"1394716942","file0":"1394716939","file4":"1394716952","file5":"1394716955","file3":"1394716949"},"map_files_photo_id_array":[{"photo_id":"1394716955","filename":"file5"},{"photo_id":"1394716945","filename":"file2"},{"photo_id":"1394716952","filename":"file4"},{"photo_id":"1394716942","filename":"file1"},{"photo_id":"1394716939","filename":"file0"},{"photo_id":"1394716949","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716952":["hashtag1","hashtag2"]},{"1394716955":["hashtag1","hashtag2"]},{"1394716949":["hashtag1","hashtag2"]},{"1394716942":["hashtag1","hashtag2"]},{"1394716945":["hashtag1","hashtag2"]},{"1394716939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716952, 1394716955, 1394716949, 1394716942, 1394716945, 1394716939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30097007751465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:41:03.071880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_46_3649.jpg', '/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_55_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_46_3649.jpg
/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_55_3629.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716958","1394716960"],"photo_ids_order":["1394716958","1394716960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9bfa72c2926c1d0312bd5082539f8984.jpg","text":"TemporaryFile(/tmp/multipartBody5940664246510632531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268123685,"filename":"image_16112025_05_40_46_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f21ccefb06e9718c6cc31d62af9a136.jpg","text":"TemporaryFile(/tmp/multipartBody2863536191572078646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268123685,"filename":"image_16112025_05_40_55_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394716960","file0":"1394716958"},"map_files_photo_id_array":[{"photo_id":"1394716960","filename":"file1"},{"photo_id":"1394716958","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716958":["hashtag1","hashtag2"]},{"1394716960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716958, 1394716960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.913492441177368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:41:22.507780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_57_2522.jpg', '/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_09_2633.jpg', '/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_15_2659.jpg', '/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_18_2768.jpg', '/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_22_3585.jpg', '/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_27_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/40/image_16112025_05_40_57_2522.jpg
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_09_2633.jpg
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_15_2659.jpg
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_18_2768.jpg
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_22_3585.jpg
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_27_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716970","1394716964","1394716973","1394716966","1394716971","1394716968"],"photo_ids_order":["1394716964","1394716966","1394716968","1394716970","1394716971","1394716973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a256ced5f74f294d4c0ec5feb705a4bd.jpg","text":"TemporaryFile(/tmp/multipartBody3323520826198608554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268143241,"filename":"image_16112025_05_41_18_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49176265fa55798c3f0fd736f67ef2f3.jpg","text":"TemporaryFile(/tmp/multipartBody6511672394906706157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268143241,"filename":"image_16112025_05_40_57_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92a72639e94512d56d3cdcbce75e5d39.jpg","text":"TemporaryFile(/tmp/multipartBody2016267158794627101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268143241,"filename":"image_16112025_05_41_27_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60af9408e77703d6d997f798e37453f7.jpg","text":"TemporaryFile(/tmp/multipartBody9155608300386641017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268143241,"filename":"image_16112025_05_41_09_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca99c2adff8122e9220bd7999deb8395.jpg","text":"TemporaryFile(/tmp/multipartBody4551517213096164996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268143241,"filename":"image_16112025_05_41_22_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1315d83d168096c58eb6420493d35cfb.jpg","text":"TemporaryFile(/tmp/multipartBody2901764269960833629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268143241,"filename":"image_16112025_05_41_15_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716968","file1":"1394716966","file0":"1394716964","file4":"1394716971","file5":"1394716973","file3":"1394716970"},"map_files_photo_id_array":[{"photo_id":"1394716973","filename":"file5"},{"photo_id":"1394716968","filename":"file2"},{"photo_id":"1394716971","filename":"file4"},{"photo_id":"1394716966","filename":"file1"},{"photo_id":"1394716964","filename":"file0"},{"photo_id":"1394716970","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716970":["hashtag1","hashtag2"]},{"1394716964":["hashtag1","hashtag2"]},{"1394716973":["hashtag1","hashtag2"]},{"1394716966":["hashtag1","hashtag2"]},{"1394716971":["hashtag1","hashtag2"]},{"1394716968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716970, 1394716964, 1394716973, 1394716966, 1394716971, 1394716968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.456581354141235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:42:03.251385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_31_3743.jpg', '/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_36_2622.jpg', '/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_54_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_31_3743.jpg
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_36_2622.jpg
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_54_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716978","1394716977","1394716976"],"photo_ids_order":["1394716976","1394716977","1394716978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbfef09fae48782f0f9041a4f6c3396f.jpg","text":"TemporaryFile(/tmp/multipartBody7314079639394786017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268183885,"filename":"image_16112025_05_41_54_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01188f36213c59df0f8791631a3233ea.jpg","text":"TemporaryFile(/tmp/multipartBody7153807692728603184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268183885,"filename":"image_16112025_05_41_36_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad34e0f6bd847b952c77096ce6ff05a2.jpg","text":"TemporaryFile(/tmp/multipartBody2096369085388550785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268183885,"filename":"image_16112025_05_41_31_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716978","file1":"1394716977","file0":"1394716976"},"map_files_photo_id_array":[{"photo_id":"1394716978","filename":"file2"},{"photo_id":"1394716977","filename":"file1"},{"photo_id":"1394716976","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716978":["hashtag1","hashtag2"]},{"1394716977":["hashtag1","hashtag2"]},{"1394716976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716978, 1394716977, 1394716976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.458534002304077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:42:42.753857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_58_3540.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_06_2817.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_45_2659.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_48_2800.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_52_3816.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_54_2931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_58_3540.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_06_2817.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_45_2659.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_48_2800.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_52_3816.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_54_2931.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.7284600734710693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:43:02.732488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_58_3540.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_06_2817.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_45_2659.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_48_2800.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_52_3816.jpg', '/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_54_2931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/41/image_16112025_05_41_58_3540.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_06_2817.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_45_2659.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_48_2800.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_52_3816.jpg
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_54_2931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394716991","1394716990","1394716993","1394716995","1394716989","1394716988"],"photo_ids_order":["1394716988","1394716989","1394716990","1394716991","1394716993","1394716995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64255b3f79bd11da882cc472189c5db8.jpg","text":"TemporaryFile(/tmp/multipartBody955631097078252268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268243538,"filename":"image_16112025_05_42_48_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d824ef2c90ed95b3535afecb5c9fca05.jpg","text":"TemporaryFile(/tmp/multipartBody9120931497364182338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268243538,"filename":"image_16112025_05_42_45_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/443613775818618494b18a009c1dd279.jpg","text":"TemporaryFile(/tmp/multipartBody7512582500246651596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268243538,"filename":"image_16112025_05_42_52_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdee18fd14814d0dce43c0e7b934db52.jpg","text":"TemporaryFile(/tmp/multipartBody3792917373644130291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268243538,"filename":"image_16112025_05_42_54_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11a699602e715fcfd53ce2053e559fcf.jpg","text":"TemporaryFile(/tmp/multipartBody3594597811027351590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268243538,"filename":"image_16112025_05_42_06_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b0ac0ffcfa022dad2aa57d3703e8910.jpg","text":"TemporaryFile(/tmp/multipartBody7052126997128343773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268243538,"filename":"image_16112025_05_41_58_3540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394716990","file1":"1394716989","file0":"1394716988","file4":"1394716993","file5":"1394716995","file3":"1394716991"},"map_files_photo_id_array":[{"photo_id":"1394716995","filename":"file5"},{"photo_id":"1394716990","filename":"file2"},{"photo_id":"1394716993","filename":"file4"},{"photo_id":"1394716989","filename":"file1"},{"photo_id":"1394716988","filename":"file0"},{"photo_id":"1394716991","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394716991":["hashtag1","hashtag2"]},{"1394716990":["hashtag1","hashtag2"]},{"1394716993":["hashtag1","hashtag2"]},{"1394716995":["hashtag1","hashtag2"]},{"1394716989":["hashtag1","hashtag2"]},{"1394716988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394716991, 1394716990, 1394716993, 1394716995, 1394716989, 1394716988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28018522262573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:43:42.072252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_57_2806.jpg', '/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_18_2650.jpg', '/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_21_3721.jpg', '/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_24_2698.jpg', '/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_27_2739.jpg', '/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_33_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/42/image_16112025_05_42_57_2806.jpg
/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_18_2650.jpg
/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_21_3721.jpg
/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_24_2698.jpg
/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_27_2739.jpg
/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_33_3545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717000","1394717003","1394717005","1394717002","1394717004","1394716997"],"photo_ids_order":["1394716997","1394717000","1394717002","1394717003","1394717004","1394717005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7838abd1868d150e3249f49e6e0ed0ab.jpg","text":"TemporaryFile(/tmp/multipartBody3983473253361255268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268282756,"filename":"image_16112025_05_43_18_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83968d5ed6cd6d7ee32191f0ccaa09f1.jpg","text":"TemporaryFile(/tmp/multipartBody1744316516630392578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268282756,"filename":"image_16112025_05_43_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/11/16/7aa98dc3753b28375197aa09ba83bba6.jpg","text":"TemporaryFile(/tmp/multipartBody6615683934911902401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268282756,"filename":"image_16112025_05_43_33_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4dcff80e7d89a7045d228ed908e4360.jpg","text":"TemporaryFile(/tmp/multipartBody7362886978262419819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268282756,"filename":"image_16112025_05_43_21_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e88c7529cc9293c3db6934f41297e01.jpg","text":"TemporaryFile(/tmp/multipartBody9180349144311074336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268282756,"filename":"image_16112025_05_43_27_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9add51c840f20b845e931679dac89a71.jpg","text":"TemporaryFile(/tmp/multipartBody3745551895748593431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268282756,"filename":"image_16112025_05_42_57_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717002","file1":"1394717000","file0":"1394716997","file4":"1394717004","file5":"1394717005","file3":"1394717003"},"map_files_photo_id_array":[{"photo_id":"1394717005","filename":"file5"},{"photo_id":"1394717002","filename":"file2"},{"photo_id":"1394717004","filename":"file4"},{"photo_id":"1394717000","filename":"file1"},{"photo_id":"1394716997","filename":"file0"},{"photo_id":"1394717003","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717000":["hashtag1","hashtag2"]},{"1394717003":["hashtag1","hashtag2"]},{"1394717005":["hashtag1","hashtag2"]},{"1394717002":["hashtag1","hashtag2"]},{"1394717004":["hashtag1","hashtag2"]},{"1394716997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717000, 1394717003, 1394717005, 1394717002, 1394717004, 1394716997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57906126976013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:44:22.314806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_36_2805.jpg', '/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_48_2595.jpg', '/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_24_3662.jpg', '/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_27_2805.jpg', '/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_48_3840.jpg', '/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_51_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_36_2805.jpg
/home/pi/Desktop/images/16112025/05/43/image_16112025_05_43_48_2595.jpg
/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_24_3662.jpg
/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_27_2805.jpg
/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_48_3840.jpg
/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_51_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717009","1394717018","1394717023","1394717020","1394717014","1394717016"],"photo_ids_order":["1394717009","1394717014","1394717016","1394717018","1394717020","1394717023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/192b62f954b6698b7a746ea45ad9256f.jpg","text":"TemporaryFile(/tmp/multipartBody1559378537217427543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268323026,"filename":"image_16112025_05_43_36_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b59c1d10025b87c67e8510b618db8d98.jpg","text":"TemporaryFile(/tmp/multipartBody3332349619359514600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268323026,"filename":"image_16112025_05_44_27_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30ae885df5bf11667862b9fce72324df.jpg","text":"TemporaryFile(/tmp/multipartBody8191799609676038227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268323026,"filename":"image_16112025_05_44_51_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c30c81292eec8298c0baf369dad3c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6739372620038152689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268323026,"filename":"image_16112025_05_44_48_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a35a6c482ca4ed54e06d9ce5711e177.jpg","text":"TemporaryFile(/tmp/multipartBody1600440658113722996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268323026,"filename":"image_16112025_05_43_48_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6841d01fb0ef52dc234b3ca12a2ea4ec.jpg","text":"TemporaryFile(/tmp/multipartBody8661458180121315258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268323026,"filename":"image_16112025_05_44_24_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717016","file1":"1394717014","file0":"1394717009","file4":"1394717020","file5":"1394717023","file3":"1394717018"},"map_files_photo_id_array":[{"photo_id":"1394717023","filename":"file5"},{"photo_id":"1394717016","filename":"file2"},{"photo_id":"1394717020","filename":"file4"},{"photo_id":"1394717014","filename":"file1"},{"photo_id":"1394717009","filename":"file0"},{"photo_id":"1394717018","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717009":["hashtag1","hashtag2"]},{"1394717018":["hashtag1","hashtag2"]},{"1394717023":["hashtag1","hashtag2"]},{"1394717020":["hashtag1","hashtag2"]},{"1394717014":["hashtag1","hashtag2"]},{"1394717016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717009, 1394717018, 1394717023, 1394717020, 1394717014, 1394717016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.439995527267456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:45:03.096502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_54_2656.jpg', '/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_57_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_54_2656.jpg
/home/pi/Desktop/images/16112025/05/44/image_16112025_05_44_57_3728.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717026","1394717025"],"photo_ids_order":["1394717025","1394717026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3840d463eb1eca96f17ad97443ba033e.jpg","text":"TemporaryFile(/tmp/multipartBody2055255183107167837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268363699,"filename":"image_16112025_05_44_57_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/957bfe6ccf537faca4b0709e0eebe071.jpg","text":"TemporaryFile(/tmp/multipartBody1158249532844640718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268363699,"filename":"image_16112025_05_44_54_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394717026","file0":"1394717025"},"map_files_photo_id_array":[{"photo_id":"1394717026","filename":"file1"},{"photo_id":"1394717025","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717026":["hashtag1","hashtag2"]},{"1394717025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717026, 1394717025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.944130897521973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:45:22.576868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/44/image_16112025_05_45_00_2605.jpg', '/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_03_2574.jpg', '/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_12_2665.jpg', '/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_15_3601.jpg', '/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_36_3734.jpg', '/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_39_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/44/image_16112025_05_45_00_2605.jpg
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_03_2574.jpg
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_12_2665.jpg
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_15_3601.jpg
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_36_3734.jpg
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_39_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717033","1394717035","1394717038","1394717040","1394717043","1394717030"],"photo_ids_order":["1394717030","1394717033","1394717035","1394717038","1394717040","1394717043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e4bde49a8d14f248916dbbfd841140a.jpg","text":"TemporaryFile(/tmp/multipartBody7260821727799014353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268383281,"filename":"image_16112025_05_45_03_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f18dc2f11c410de18f44a5a7877d0ca6.jpg","text":"TemporaryFile(/tmp/multipartBody5157017628623550459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268383281,"filename":"image_16112025_05_45_12_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f79d9dfcd73bf462fca3756c91ebd7b.jpg","text":"TemporaryFile(/tmp/multipartBody4301277508347123493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268383281,"filename":"image_16112025_05_45_15_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c173e19570284fa9cc0170d47b195f8e.jpg","text":"TemporaryFile(/tmp/multipartBody1919335651557048740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268383281,"filename":"image_16112025_05_45_36_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dba3f25562ed9518d3382ad269df2fa9.jpg","text":"TemporaryFile(/tmp/multipartBody4582108140047738538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268383281,"filename":"image_16112025_05_45_39_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43421fe733be69ab3e0cf35cf5b8fe93.jpg","text":"TemporaryFile(/tmp/multipartBody3232180413521693103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268383281,"filename":"image_16112025_05_45_00_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717035","file1":"1394717033","file0":"1394717030","file4":"1394717040","file5":"1394717043","file3":"1394717038"},"map_files_photo_id_array":[{"photo_id":"1394717043","filename":"file5"},{"photo_id":"1394717035","filename":"file2"},{"photo_id":"1394717040","filename":"file4"},{"photo_id":"1394717033","filename":"file1"},{"photo_id":"1394717030","filename":"file0"},{"photo_id":"1394717038","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717033":["hashtag1","hashtag2"]},{"1394717035":["hashtag1","hashtag2"]},{"1394717038":["hashtag1","hashtag2"]},{"1394717040":["hashtag1","hashtag2"]},{"1394717043":["hashtag1","hashtag2"]},{"1394717030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717033, 1394717035, 1394717038, 1394717040, 1394717043, 1394717030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.822797536849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:46:03.109715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_42_2593.jpg', '/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_45_3591.jpg', '/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_50_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_42_2593.jpg
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_45_3591.jpg
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_50_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717050","1394717049","1394717051"],"photo_ids_order":["1394717049","1394717050","1394717051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a885cf3ea7de9282757afee4c87db218.jpg","text":"TemporaryFile(/tmp/multipartBody5983102403161073756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268423724,"filename":"image_16112025_05_45_45_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b0bbc7fbc0e609426e1873316655cf2.jpg","text":"TemporaryFile(/tmp/multipartBody6233610046929885159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268423724,"filename":"image_16112025_05_45_42_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9ace6867bb8e3018701754eab9aa7d8.jpg","text":"TemporaryFile(/tmp/multipartBody3722126229247824593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268423724,"filename":"image_16112025_05_45_50_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717051","file1":"1394717050","file0":"1394717049"},"map_files_photo_id_array":[{"photo_id":"1394717051","filename":"file2"},{"photo_id":"1394717050","filename":"file1"},{"photo_id":"1394717049","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717050":["hashtag1","hashtag2"]},{"1394717049":["hashtag1","hashtag2"]},{"1394717051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717050, 1394717049, 1394717051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.162230014801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:46:42.759004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_54_3577.jpg', '/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_05_2533.jpg', '/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_09_3687.jpg', '/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_14_2621.jpg', '/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_21_2599.jpg', '/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_27_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/45/image_16112025_05_45_54_3577.jpg
/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_05_2533.jpg
/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_09_3687.jpg
/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_14_2621.jpg
/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_21_2599.jpg
/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_27_3705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717068","1394717070","1394717064","1394717067","1394717069","1394717066"],"photo_ids_order":["1394717064","1394717066","1394717067","1394717068","1394717069","1394717070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca8b083018961b41ba1a086d58622691.jpg","text":"TemporaryFile(/tmp/multipartBody5967564731534551048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268463453,"filename":"image_16112025_05_46_14_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5138d6034fd8b04d9c1c37874b1ff8a5.jpg","text":"TemporaryFile(/tmp/multipartBody6511976410991741202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268463453,"filename":"image_16112025_05_46_27_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a84c94281a63e7858d108878b2ca2da7.jpg","text":"TemporaryFile(/tmp/multipartBody113143064609473680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268463453,"filename":"image_16112025_05_45_54_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41c0a9b510c952ed650b30e41b135136.jpg","text":"TemporaryFile(/tmp/multipartBody4757174133513826320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268463453,"filename":"image_16112025_05_46_09_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/236e24b7ecac5aebd3520dd3ecf2aa38.jpg","text":"TemporaryFile(/tmp/multipartBody3841752292034641908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268463453,"filename":"image_16112025_05_46_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/11/16/4ddb441e4916e1c907057e1ee9b6795c.jpg","text":"TemporaryFile(/tmp/multipartBody5197570461298268439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268463453,"filename":"image_16112025_05_46_05_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717067","file1":"1394717066","file0":"1394717064","file4":"1394717069","file5":"1394717070","file3":"1394717068"},"map_files_photo_id_array":[{"photo_id":"1394717070","filename":"file5"},{"photo_id":"1394717067","filename":"file2"},{"photo_id":"1394717069","filename":"file4"},{"photo_id":"1394717066","filename":"file1"},{"photo_id":"1394717064","filename":"file0"},{"photo_id":"1394717068","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717068":["hashtag1","hashtag2"]},{"1394717070":["hashtag1","hashtag2"]},{"1394717064":["hashtag1","hashtag2"]},{"1394717067":["hashtag1","hashtag2"]},{"1394717069":["hashtag1","hashtag2"]},{"1394717066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717068, 1394717070, 1394717064, 1394717067, 1394717069, 1394717066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.457393407821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:47:21.964260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_39_2544.jpg', '/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_14_2752.jpg', '/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_18_3695.jpg', '/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_21_2733.jpg', '/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_44_2718.jpg', '/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_51_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/46/image_16112025_05_46_39_2544.jpg
/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_14_2752.jpg
/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_18_3695.jpg
/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_21_2733.jpg
/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_44_2718.jpg
/home/pi/Desktop/images/16112025/05/47/image_16112025_05_47_51_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717080","1394717074","1394717077","1394717076","1394717075","1394717078"],"photo_ids_order":["1394717074","1394717075","1394717076","1394717077","1394717078","1394717080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/706132bc1e047ade537723fed4792405.jpg","text":"TemporaryFile(/tmp/multipartBody5516741407428097357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268502701,"filename":"image_16112025_05_47_51_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c03a80877829e957ead2328dddd9d0de.jpg","text":"TemporaryFile(/tmp/multipartBody280581961900641789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268502701,"filename":"image_16112025_05_46_39_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/392a67f70463d4292eb9fefa34db93ca.jpg","text":"TemporaryFile(/tmp/multipartBody8879767275347532643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268502701,"filename":"image_16112025_05_47_21_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03c0a4ab4e3b95f4720320e620a0972e.jpg","text":"TemporaryFile(/tmp/multipartBody4430688459935454176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268502701,"filename":"image_16112025_05_47_18_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8222e96b121fd154941c486a6de9a6d8.jpg","text":"TemporaryFile(/tmp/multipartBody4066559330869476143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268502701,"filename":"image_16112025_05_47_14_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f57112c8dca3c2e90a765bc188381a1.jpg","text":"TemporaryFile(/tmp/multipartBody5749975035434763127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268502701,"filename":"image_16112025_05_47_44_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717076","file1":"1394717075","file0":"1394717074","file4":"1394717078","file5":"1394717080","file3":"1394717077"},"map_files_photo_id_array":[{"photo_id":"1394717080","filename":"file5"},{"photo_id":"1394717076","filename":"file2"},{"photo_id":"1394717078","filename":"file4"},{"photo_id":"1394717075","filename":"file1"},{"photo_id":"1394717074","filename":"file0"},{"photo_id":"1394717077","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717080":["hashtag1","hashtag2"]},{"1394717074":["hashtag1","hashtag2"]},{"1394717077":["hashtag1","hashtag2"]},{"1394717076":["hashtag1","hashtag2"]},{"1394717075":["hashtag1","hashtag2"]},{"1394717078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717080, 1394717074, 1394717077, 1394717076, 1394717075, 1394717078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96884036064148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:48:02.746295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:48:22.157132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/47/image_16112025_05_48_00_2665.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_20_2615.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_39_3678.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_44_2572.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_48_3865.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_51_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/47/image_16112025_05_48_00_2665.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_20_2615.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_39_3678.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_44_2572.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_48_3865.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_51_2676.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.6609747409820557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:48:42.181840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/47/image_16112025_05_48_00_2665.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_20_2615.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_39_3678.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_44_2572.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_48_3865.jpg', '/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_51_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/47/image_16112025_05_48_00_2665.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_20_2615.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_39_3678.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_44_2572.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_48_3865.jpg
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_51_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717105","1394717108","1394717104","1394717107","1394717101","1394717106"],"photo_ids_order":["1394717101","1394717104","1394717105","1394717106","1394717107","1394717108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52b90826794d12a44a981eb1ee9e331b.jpg","text":"TemporaryFile(/tmp/multipartBody3034897340382296639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268582951,"filename":"image_16112025_05_48_39_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb7bcd186857975d579c1e28af8dd893.jpg","text":"TemporaryFile(/tmp/multipartBody1886146724346967082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268582951,"filename":"image_16112025_05_48_51_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f433b9df5d7815b0632103478ae4e12.jpg","text":"TemporaryFile(/tmp/multipartBody6069788461056212953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268582951,"filename":"image_16112025_05_48_20_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b984fc3110c0685af818c342d23e163.jpg","text":"TemporaryFile(/tmp/multipartBody766546343638360366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268582951,"filename":"image_16112025_05_48_48_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/906ac3aa1b66c8d918903ad8a3c190e0.jpg","text":"TemporaryFile(/tmp/multipartBody4610023427153463259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268582951,"filename":"image_16112025_05_48_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/11/16/8d492eb6d1eaa3494fab9912f6024464.jpg","text":"TemporaryFile(/tmp/multipartBody8351435114381744326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268582951,"filename":"image_16112025_05_48_44_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717105","file1":"1394717104","file0":"1394717101","file4":"1394717107","file5":"1394717108","file3":"1394717106"},"map_files_photo_id_array":[{"photo_id":"1394717108","filename":"file5"},{"photo_id":"1394717105","filename":"file2"},{"photo_id":"1394717107","filename":"file4"},{"photo_id":"1394717104","filename":"file1"},{"photo_id":"1394717101","filename":"file0"},{"photo_id":"1394717106","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717105":["hashtag1","hashtag2"]},{"1394717108":["hashtag1","hashtag2"]},{"1394717104":["hashtag1","hashtag2"]},{"1394717107":["hashtag1","hashtag2"]},{"1394717101":["hashtag1","hashtag2"]},{"1394717106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717105, 1394717108, 1394717104, 1394717107, 1394717101, 1394717106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99046754837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:49:22.410923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_57_3550.jpg', '/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_03_2805.jpg', '/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_05_2643.jpg', '/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_09_3698.jpg', '/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_12_2871.jpg', '/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_24_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/48/image_16112025_05_48_57_3550.jpg
/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_03_2805.jpg
/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_05_2643.jpg
/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_09_3698.jpg
/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_12_2871.jpg
/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_24_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717120","1394717117","1394717116","1394717113","1394717115","1394717118"],"photo_ids_order":["1394717113","1394717115","1394717116","1394717117","1394717118","1394717120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc67f354348d63f0e912ec2560794d52.jpg","text":"TemporaryFile(/tmp/multipartBody4397636562134192360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268623122,"filename":"image_16112025_05_49_24_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d70b7cf13d79c078d28286c71743a31.jpg","text":"TemporaryFile(/tmp/multipartBody4530995771883453213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268623122,"filename":"image_16112025_05_49_09_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e8f392baef894a3fd8d259c5e7c3a59.jpg","text":"TemporaryFile(/tmp/multipartBody8157857848884498340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268623122,"filename":"image_16112025_05_49_05_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b82e11a8be14cbbbcc89481141bb7608.jpg","text":"TemporaryFile(/tmp/multipartBody7541930370590581402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268623122,"filename":"image_16112025_05_48_57_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13ffb28e7897d2b543cf912adb1330c3.jpg","text":"TemporaryFile(/tmp/multipartBody3199803954875144847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268623122,"filename":"image_16112025_05_49_03_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bc45c3809c74389903c4b13b307eb4d.jpg","text":"TemporaryFile(/tmp/multipartBody2743657905937115887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268623122,"filename":"image_16112025_05_49_12_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717116","file1":"1394717115","file0":"1394717113","file4":"1394717118","file5":"1394717120","file3":"1394717117"},"map_files_photo_id_array":[{"photo_id":"1394717120","filename":"file5"},{"photo_id":"1394717116","filename":"file2"},{"photo_id":"1394717118","filename":"file4"},{"photo_id":"1394717115","filename":"file1"},{"photo_id":"1394717113","filename":"file0"},{"photo_id":"1394717117","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717120":["hashtag1","hashtag2"]},{"1394717117":["hashtag1","hashtag2"]},{"1394717116":["hashtag1","hashtag2"]},{"1394717113":["hashtag1","hashtag2"]},{"1394717115":["hashtag1","hashtag2"]},{"1394717118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717120, 1394717117, 1394717116, 1394717113, 1394717115, 1394717118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79426431655884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:50:03.183214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:50:22.646720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_38_2625.jpg', '/home/pi/Desktop/images/16112025/05/50/image_16112025_05_50_05_2672.jpg', '/home/pi/Desktop/images/16112025/05/50/image_16112025_05_50_12_3706.jpg', '/home/pi/Desktop/images/16112025/05/50/image_16112025_05_50_42_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/49/image_16112025_05_49_38_2625.jpg
/home/pi/Desktop/images/16112025/05/50/image_16112025_05_50_05_2672.jpg
/home/pi/Desktop/images/16112025/05/50/image_16112025_05_50_12_3706.jpg
/home/pi/Desktop/images/16112025/05/50/image_16112025_05_50_42_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717132","1394717135","1394717129","1394717136"],"photo_ids_order":["1394717129","1394717132","1394717135","1394717136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fca192a4ada2f8ab4c9f56130e54c12.jpg","text":"TemporaryFile(/tmp/multipartBody1212540540461139820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268683280,"filename":"image_16112025_05_50_05_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/579e70b8bcd7756161a04944665807c5.jpg","text":"TemporaryFile(/tmp/multipartBody8657478453248786650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268683280,"filename":"image_16112025_05_50_12_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9570ab050183ec462b4cd3f8cb3832e1.jpg","text":"TemporaryFile(/tmp/multipartBody6036216423134866222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268683280,"filename":"image_16112025_05_49_38_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6c6c21ad69ad7f62f1ee4fd8c0f8220.jpg","text":"TemporaryFile(/tmp/multipartBody5657127813609188531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268683280,"filename":"image_16112025_05_50_42_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717135","file1":"1394717132","file0":"1394717129","file3":"1394717136"},"map_files_photo_id_array":[{"photo_id":"1394717135","filename":"file2"},{"photo_id":"1394717132","filename":"file1"},{"photo_id":"1394717129","filename":"file0"},{"photo_id":"1394717136","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717132":["hashtag1","hashtag2"]},{"1394717135":["hashtag1","hashtag2"]},{"1394717129":["hashtag1","hashtag2"]},{"1394717136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717132, 1394717135, 1394717129, 1394717136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.58628249168396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:51:02.598874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:51:21.825677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/50/image_16112025_05_50_50_2714.jpg', '/home/pi/Desktop/images/16112025/05/51/image_16112025_05_51_42_3800.jpg', '/home/pi/Desktop/images/16112025/05/51/image_16112025_05_51_44_2632.jpg', '/home/pi/Desktop/images/16112025/05/51/image_16112025_05_51_47_2699.jpg', '/home/pi/Desktop/images/16112025/05/51/image_16112025_05_51_51_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/50/image_16112025_05_50_50_2714.jpg
/home/pi/Desktop/images/16112025/05/51/image_16112025_05_51_42_3800.jpg
/home/pi/Desktop/images/16112025/05/51/image_16112025_05_51_44_2632.jpg
/home/pi/Desktop/images/16112025/05/51/image_16112025_05_51_47_2699.jpg
/home/pi/Desktop/images/16112025/05/51/image_16112025_05_51_51_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717140","1394717146","1394717142","1394717144","1394717138"],"photo_ids_order":["1394717138","1394717140","1394717142","1394717144","1394717146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/782ee77ed4ea8d46299d04bcf27b46b0.jpg","text":"TemporaryFile(/tmp/multipartBody908154988937037651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268742467,"filename":"image_16112025_05_51_42_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1558d93b9d1522bac105a5b7545a8dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5992066647795887168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268742467,"filename":"image_16112025_05_51_51_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0efedad42487e0e65666605f856cc00.jpg","text":"TemporaryFile(/tmp/multipartBody3859856976004027533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268742467,"filename":"image_16112025_05_51_44_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/305b9231d15069f5d2aa83d7680781ed.jpg","text":"TemporaryFile(/tmp/multipartBody3657002317783901953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268742467,"filename":"image_16112025_05_51_47_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e628d6e8ac66fa3b4a022d17b9acc279.jpg","text":"TemporaryFile(/tmp/multipartBody5258650379838732441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268742467,"filename":"image_16112025_05_50_50_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717142","file1":"1394717140","file0":"1394717138","file4":"1394717146","file3":"1394717144"},"map_files_photo_id_array":[{"photo_id":"1394717142","filename":"file2"},{"photo_id":"1394717146","filename":"file4"},{"photo_id":"1394717140","filename":"file1"},{"photo_id":"1394717138","filename":"file0"},{"photo_id":"1394717144","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717140":["hashtag1","hashtag2"]},{"1394717146":["hashtag1","hashtag2"]},{"1394717142":["hashtag1","hashtag2"]},{"1394717144":["hashtag1","hashtag2"]},{"1394717138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717140, 1394717146, 1394717142, 1394717144, 1394717138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.55849599838257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:52:02.600361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:52:22.151850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/51/image_16112025_05_52_00_3693.jpg', '/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_08_2699.jpg', '/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_11_2890.jpg', '/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_23_2523.jpg', '/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_29_2802.jpg', '/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_35_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/51/image_16112025_05_52_00_3693.jpg
/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_08_2699.jpg
/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_11_2890.jpg
/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_23_2523.jpg
/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_29_2802.jpg
/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_35_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717161","1394717158","1394717151","1394717154","1394717157","1394717159"],"photo_ids_order":["1394717151","1394717154","1394717157","1394717158","1394717159","1394717161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31ce5db463050b148d05f20b784d9e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1216376473077452374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268802897,"filename":"image_16112025_05_52_35_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9a90d23a8eb64fa7c5773aa4e8cede2.jpg","text":"TemporaryFile(/tmp/multipartBody2146475878574814114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268802897,"filename":"image_16112025_05_52_23_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec0021cbd59602e71b1bb603ff1d5b98.jpg","text":"TemporaryFile(/tmp/multipartBody7755888645954650393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268802897,"filename":"image_16112025_05_52_00_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a8fd866ab7610361fb6a8e8ff2d528c.jpg","text":"TemporaryFile(/tmp/multipartBody6722202927144374556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268802897,"filename":"image_16112025_05_52_08_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6167829f7705df2ab8976ea2a0268238.jpg","text":"TemporaryFile(/tmp/multipartBody6966779931977941586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268802897,"filename":"image_16112025_05_52_11_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95e06fda9d52bc01fd68c04f28c70ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1398688885391513227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268802897,"filename":"image_16112025_05_52_29_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717157","file1":"1394717154","file0":"1394717151","file4":"1394717159","file5":"1394717161","file3":"1394717158"},"map_files_photo_id_array":[{"photo_id":"1394717161","filename":"file5"},{"photo_id":"1394717157","filename":"file2"},{"photo_id":"1394717159","filename":"file4"},{"photo_id":"1394717154","filename":"file1"},{"photo_id":"1394717151","filename":"file0"},{"photo_id":"1394717158","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717161":["hashtag1","hashtag2"]},{"1394717158":["hashtag1","hashtag2"]},{"1394717151":["hashtag1","hashtag2"]},{"1394717154":["hashtag1","hashtag2"]},{"1394717157":["hashtag1","hashtag2"]},{"1394717159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717161, 1394717158, 1394717151, 1394717154, 1394717157, 1394717159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13900852203369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:53:03.200560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_41_2782.jpg', '/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_47_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_41_2782.jpg
/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_47_2718.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717163","1394717162"],"photo_ids_order":["1394717162","1394717163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/559deb9f6906fe235044360f03e10ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1835692347376725272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268843882,"filename":"image_16112025_05_52_47_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59281518d2a5ce2a2a29e93a9e94681c.jpg","text":"TemporaryFile(/tmp/multipartBody1887123550542919606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268843882,"filename":"image_16112025_05_52_41_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394717163","file0":"1394717162"},"map_files_photo_id_array":[{"photo_id":"1394717163","filename":"file1"},{"photo_id":"1394717162","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717163":["hashtag1","hashtag2"]},{"1394717162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717163, 1394717162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.68417739868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:53:22.465517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_50_2541.jpg', '/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_02_3628.jpg', '/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_08_2629.jpg', '/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_20_3711.jpg', '/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_44_2846.jpg', '/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_53_3839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/52/image_16112025_05_52_50_2541.jpg
/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_02_3628.jpg
/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_08_2629.jpg
/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_20_3711.jpg
/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_44_2846.jpg
/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_53_3839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717181","1394717178","1394717172","1394717175","1394717169","1394717177"],"photo_ids_order":["1394717169","1394717172","1394717175","1394717177","1394717178","1394717181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dec050a83c6a6267f9fd2a71993ec6db.jpg","text":"TemporaryFile(/tmp/multipartBody7202624217269168566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268863205,"filename":"image_16112025_05_53_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/11/16/c3d3710f8abd9d34d961fe8ad8802156.jpg","text":"TemporaryFile(/tmp/multipartBody1955789603249247662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268863205,"filename":"image_16112025_05_53_44_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5168558633c4dff8ab6f494f3701dd16.jpg","text":"TemporaryFile(/tmp/multipartBody512368731168349500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268863205,"filename":"image_16112025_05_53_02_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fffaca1d3d294d1794a50a7934c7a27.jpg","text":"TemporaryFile(/tmp/multipartBody7470980371383241421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268863205,"filename":"image_16112025_05_53_08_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db22c1903e6f75fa25ef3850cff9bd04.jpg","text":"TemporaryFile(/tmp/multipartBody4106448934425501565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268863205,"filename":"image_16112025_05_52_50_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c2b1aa5295cda8e0f80e7cb386480ec.jpg","text":"TemporaryFile(/tmp/multipartBody3309603451153743415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268863205,"filename":"image_16112025_05_53_20_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717175","file1":"1394717172","file0":"1394717169","file4":"1394717178","file5":"1394717181","file3":"1394717177"},"map_files_photo_id_array":[{"photo_id":"1394717181","filename":"file5"},{"photo_id":"1394717175","filename":"file2"},{"photo_id":"1394717178","filename":"file4"},{"photo_id":"1394717172","filename":"file1"},{"photo_id":"1394717169","filename":"file0"},{"photo_id":"1394717177","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717181":["hashtag1","hashtag2"]},{"1394717178":["hashtag1","hashtag2"]},{"1394717172":["hashtag1","hashtag2"]},{"1394717175":["hashtag1","hashtag2"]},{"1394717169":["hashtag1","hashtag2"]},{"1394717177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717181, 1394717178, 1394717172, 1394717175, 1394717169, 1394717177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51378011703491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:54:03.378126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_56_2512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_56_2512.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717186"],"photo_id":"1394717186","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4a6ca69adf77d42309511de29ae4f30.jpg","text":"TemporaryFile(/tmp/multipartBody6522463186219756010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268903940,"filename":"image_16112025_05_53_56_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394717186"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394717186"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.73988938331604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:54:22.612513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_59_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/53/image_16112025_05_53_59_2668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717192"],"photo_id":"1394717192","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09da36d7041253525a82b18778ce2710.jpg","text":"TemporaryFile(/tmp/multipartBody5448468316683520010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268923133,"filename":"image_16112025_05_53_59_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394717192"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394717192"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.63507604598999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:54:42.719802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:55:02.771139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:55:22.012582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/54/image_16112025_05_54_05_2733.jpg', '/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_05_2734.jpg', '/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_07_2680.jpg', '/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_14_2835.jpg', '/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_17_2598.jpg', '/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_19_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/54/image_16112025_05_54_05_2733.jpg
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_05_2734.jpg
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_07_2680.jpg
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_14_2835.jpg
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_17_2598.jpg
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_19_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717210","1394717213","1394717207","1394717216","1394717212","1394717209"],"photo_ids_order":["1394717207","1394717209","1394717210","1394717212","1394717213","1394717216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9839184d6ef210c84f9259dc78cfeeb9.jpg","text":"TemporaryFile(/tmp/multipartBody6180706022235816379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268982700,"filename":"image_16112025_05_55_07_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b418d48446bb5006e77ce1bf8fa6af1.jpg","text":"TemporaryFile(/tmp/multipartBody2614800544764369568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268982700,"filename":"image_16112025_05_55_17_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c046f78aa8fcbcb6ff1e697431ccd34f.jpg","text":"TemporaryFile(/tmp/multipartBody7012432618251186196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268982700,"filename":"image_16112025_05_54_05_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/804bf723537a66601e7fab66d2add416.jpg","text":"TemporaryFile(/tmp/multipartBody4512864229059316229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268982700,"filename":"image_16112025_05_55_19_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/589c356bf280034d457c090d357f6ef8.jpg","text":"TemporaryFile(/tmp/multipartBody9206271611544563837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268982700,"filename":"image_16112025_05_55_14_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b78b54e4cc89c1baddc7933d21e398b.jpg","text":"TemporaryFile(/tmp/multipartBody9180886559928282595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763268982700,"filename":"image_16112025_05_55_05_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717210","file1":"1394717209","file0":"1394717207","file4":"1394717213","file5":"1394717216","file3":"1394717212"},"map_files_photo_id_array":[{"photo_id":"1394717216","filename":"file5"},{"photo_id":"1394717210","filename":"file2"},{"photo_id":"1394717213","filename":"file4"},{"photo_id":"1394717209","filename":"file1"},{"photo_id":"1394717207","filename":"file0"},{"photo_id":"1394717212","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717210":["hashtag1","hashtag2"]},{"1394717213":["hashtag1","hashtag2"]},{"1394717207":["hashtag1","hashtag2"]},{"1394717216":["hashtag1","hashtag2"]},{"1394717212":["hashtag1","hashtag2"]},{"1394717209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717210, 1394717213, 1394717207, 1394717216, 1394717212, 1394717209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.733704805374146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:56:02.718320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_23_3550.jpg', '/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_28_2643.jpg', '/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_38_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_23_3550.jpg
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_28_2643.jpg
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_38_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717224","1394717223","1394717222"],"photo_ids_order":["1394717222","1394717223","1394717224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acca604e59e8bec7d185e7828bc0cd19.jpg","text":"TemporaryFile(/tmp/multipartBody3549152802723961094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269023345,"filename":"image_16112025_05_55_38_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef09dcbec84b315d767684fff57a8419.jpg","text":"TemporaryFile(/tmp/multipartBody1129015709095278069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269023345,"filename":"image_16112025_05_55_28_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6fb9445bb895fb9045b4e1239c7686e.jpg","text":"TemporaryFile(/tmp/multipartBody5845396491138642963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269023345,"filename":"image_16112025_05_55_23_3550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717224","file1":"1394717223","file0":"1394717222"},"map_files_photo_id_array":[{"photo_id":"1394717224","filename":"file2"},{"photo_id":"1394717223","filename":"file1"},{"photo_id":"1394717222","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717224":["hashtag1","hashtag2"]},{"1394717223":["hashtag1","hashtag2"]},{"1394717222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717224, 1394717223, 1394717222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.102161645889282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:56:42.159581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:57:03.141431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 05:57:22.390311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_40_2705.jpg', '/home/pi/Desktop/images/16112025/05/57/image_16112025_05_57_08_3569.jpg', '/home/pi/Desktop/images/16112025/05/57/image_16112025_05_57_13_2694.jpg', '/home/pi/Desktop/images/16112025/05/57/image_16112025_05_57_20_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/55/image_16112025_05_55_40_2705.jpg
/home/pi/Desktop/images/16112025/05/57/image_16112025_05_57_08_3569.jpg
/home/pi/Desktop/images/16112025/05/57/image_16112025_05_57_13_2694.jpg
/home/pi/Desktop/images/16112025/05/57/image_16112025_05_57_20_2863.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717284","1394717248","1394717245","1394717322"],"photo_ids_order":["1394717245","1394717248","1394717284","1394717322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/328cf6f804abc31afb8269f5c91675e3.jpg","text":"TemporaryFile(/tmp/multipartBody541062725984983164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269102998,"filename":"image_16112025_05_57_13_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25803c6b959683eeab299cd5ddd7d186.jpg","text":"TemporaryFile(/tmp/multipartBody5167309058468322634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269102998,"filename":"image_16112025_05_57_08_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c84aaaabbbd24a7e0889c64e99046919.jpg","text":"TemporaryFile(/tmp/multipartBody6464669175127997218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269102998,"filename":"image_16112025_05_55_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/11/16/9b2918e37ad5865de8f0e251a0e05821.jpg","text":"TemporaryFile(/tmp/multipartBody7430840887376542431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269102998,"filename":"image_16112025_05_57_20_2863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717284","file1":"1394717248","file0":"1394717245","file3":"1394717322"},"map_files_photo_id_array":[{"photo_id":"1394717284","filename":"file2"},{"photo_id":"1394717248","filename":"file1"},{"photo_id":"1394717245","filename":"file0"},{"photo_id":"1394717322","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717284":["hashtag1","hashtag2"]},{"1394717248":["hashtag1","hashtag2"]},{"1394717245":["hashtag1","hashtag2"]},{"1394717322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717284, 1394717248, 1394717245, 1394717322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.236722230911255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 05:59:03.850731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/57/image_16112025_05_57_32_2636.jpg', '/home/pi/Desktop/images/16112025/05/58/image_16112025_05_58_32_3700.jpg', '/home/pi/Desktop/images/16112025/05/58/image_16112025_05_58_37_2834.jpg', '/home/pi/Desktop/images/16112025/05/58/image_16112025_05_58_56_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/57/image_16112025_05_57_32_2636.jpg
/home/pi/Desktop/images/16112025/05/58/image_16112025_05_58_32_3700.jpg
/home/pi/Desktop/images/16112025/05/58/image_16112025_05_58_37_2834.jpg
/home/pi/Desktop/images/16112025/05/58/image_16112025_05_58_56_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717673","1394717753","1394717711","1394717633"],"photo_ids_order":["1394717633","1394717673","1394717711","1394717753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b317b2e1ec355d1a422b745b7a5e640b.jpg","text":"TemporaryFile(/tmp/multipartBody3362883727194479747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269204673,"filename":"image_16112025_05_58_32_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03fc1697f1bed59a89c7ae33e260378a.jpg","text":"TemporaryFile(/tmp/multipartBody7268443055746085216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269204673,"filename":"image_16112025_05_58_56_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5f487b4b2b94660bfeb793923b86ba3.jpg","text":"TemporaryFile(/tmp/multipartBody7894372242978594612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269204673,"filename":"image_16112025_05_58_37_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a98184532ff8137d9fc396125e7b2a09.jpg","text":"TemporaryFile(/tmp/multipartBody1102180105269988801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269204673,"filename":"image_16112025_05_57_32_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717711","file1":"1394717673","file0":"1394717633","file3":"1394717753"},"map_files_photo_id_array":[{"photo_id":"1394717711","filename":"file2"},{"photo_id":"1394717673","filename":"file1"},{"photo_id":"1394717633","filename":"file0"},{"photo_id":"1394717753","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717673":["hashtag1","hashtag2"]},{"1394717753":["hashtag1","hashtag2"]},{"1394717711":["hashtag1","hashtag2"]},{"1394717633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717673, 1394717753, 1394717711, 1394717633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.6939058303833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 05:59:42.899339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/58/image_16112025_05_58_58_2663.jpg', '/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_11_3666.jpg', '/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_14_2739.jpg', '/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_40_2658.jpg', '/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_44_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/58/image_16112025_05_58_58_2663.jpg
/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_11_3666.jpg
/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_14_2739.jpg
/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_40_2658.jpg
/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_44_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394717912","1394717875","1394717880","1394717877","1394717879"],"photo_ids_order":["1394717875","1394717877","1394717879","1394717880","1394717912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98044811982203dec0ab39ae417c0fe8.jpg","text":"TemporaryFile(/tmp/multipartBody3056562362275589976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269243554,"filename":"image_16112025_05_59_44_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb12519f045f7a8a93fdf6d6f859415b.jpg","text":"TemporaryFile(/tmp/multipartBody1468112807517676644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269243554,"filename":"image_16112025_05_58_58_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f621e60495edf858564dc37eaf89a9f1.jpg","text":"TemporaryFile(/tmp/multipartBody1226929224815212443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269243554,"filename":"image_16112025_05_59_40_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb92b142b6eaedfb9c342de656bfdfb2.jpg","text":"TemporaryFile(/tmp/multipartBody126955808138835703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269243554,"filename":"image_16112025_05_59_11_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f4a780218908dd051bbdbb33358aa2c.jpg","text":"TemporaryFile(/tmp/multipartBody5668151366609948190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269243554,"filename":"image_16112025_05_59_14_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394717879","file1":"1394717877","file0":"1394717875","file4":"1394717912","file3":"1394717880"},"map_files_photo_id_array":[{"photo_id":"1394717879","filename":"file2"},{"photo_id":"1394717912","filename":"file4"},{"photo_id":"1394717877","filename":"file1"},{"photo_id":"1394717875","filename":"file0"},{"photo_id":"1394717880","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394717912":["hashtag1","hashtag2"]},{"1394717875":["hashtag1","hashtag2"]},{"1394717880":["hashtag1","hashtag2"]},{"1394717877":["hashtag1","hashtag2"]},{"1394717879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394717912, 1394717875, 1394717880, 1394717877, 1394717879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.982503175735474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:00:22.210899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_47_2670.jpg', '/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_05_3719.jpg', '/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_07_2721.jpg', '/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_10_2607.jpg', '/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_16_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/05/59/image_16112025_05_59_47_2670.jpg
/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_05_3719.jpg
/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_07_2721.jpg
/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_10_2607.jpg
/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_16_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394718199","1394718250","1394718328","1394718369","1394718287"],"photo_ids_order":["1394718199","1394718250","1394718287","1394718328","1394718369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47f140eb27ba834ad6d700153e6fa502.jpg","text":"TemporaryFile(/tmp/multipartBody3648589716618716912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269282970,"filename":"image_16112025_05_59_47_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b644d5784a280cbefed64321083dc0a8.jpg","text":"TemporaryFile(/tmp/multipartBody1442566973058216555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269282970,"filename":"image_16112025_06_00_05_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecfb7b3cc9bb556f59b1ed31729a127b.jpg","text":"TemporaryFile(/tmp/multipartBody1051296848745250771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269282970,"filename":"image_16112025_06_00_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/11/16/e1d60c71a4e10a86bbe673ccf2ab68ba.jpg","text":"TemporaryFile(/tmp/multipartBody1137543288505715335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269282970,"filename":"image_16112025_06_00_16_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e46dde0c1c6c4a6f9cd4a7ed8ca9e1b.jpg","text":"TemporaryFile(/tmp/multipartBody6245392219340545782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269282970,"filename":"image_16112025_06_00_07_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394718287","file1":"1394718250","file0":"1394718199","file4":"1394718369","file3":"1394718328"},"map_files_photo_id_array":[{"photo_id":"1394718287","filename":"file2"},{"photo_id":"1394718369","filename":"file4"},{"photo_id":"1394718250","filename":"file1"},{"photo_id":"1394718199","filename":"file0"},{"photo_id":"1394718328","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394718199":["hashtag1","hashtag2"]},{"1394718250":["hashtag1","hashtag2"]},{"1394718328":["hashtag1","hashtag2"]},{"1394718369":["hashtag1","hashtag2"]},{"1394718287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394718199, 1394718250, 1394718328, 1394718369, 1394718287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.43237614631653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:01:03.046800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:01:22.286279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_28_2602.jpg', '/home/pi/Desktop/images/16112025/06/01/image_16112025_06_01_13_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/00/image_16112025_06_00_28_2602.jpg
/home/pi/Desktop/images/16112025/06/01/image_16112025_06_01_13_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394719015","1394718971"],"photo_ids_order":["1394718971","1394719015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa4bb77e4f6bb83d4d89bf027f63b726.jpg","text":"TemporaryFile(/tmp/multipartBody346756163232337606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269343444,"filename":"image_16112025_06_01_13_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86276e36ebbbacdc0c5fb348a3d702a4.jpg","text":"TemporaryFile(/tmp/multipartBody8052133587914184912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269343444,"filename":"image_16112025_06_00_28_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394719015","file0":"1394718971"},"map_files_photo_id_array":[{"photo_id":"1394719015","filename":"file1"},{"photo_id":"1394718971","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394719015":["hashtag1","hashtag2"]},{"1394718971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394719015, 1394718971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.59517240524292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:02:03.053337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:02:22.493628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/01/image_16112025_06_01_47_3648.jpg', '/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_01_2723.jpg', '/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_10_2666.jpg', '/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_16_2742.jpg', '/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_26_3765.jpg', '/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_28_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/01/image_16112025_06_01_47_3648.jpg
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_01_2723.jpg
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_10_2666.jpg
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_16_2742.jpg
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_26_3765.jpg
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_28_2829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394719551","1394719473","1394719374","1394719394","1394719514","1394719432"],"photo_ids_order":["1394719374","1394719394","1394719432","1394719473","1394719514","1394719551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fde3c676e9553258d694d2fcf71e130b.jpg","text":"TemporaryFile(/tmp/multipartBody1947007666686606314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269404655,"filename":"image_16112025_06_02_28_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca49bc01c2db2016eb219f7ae5cd35ad.jpg","text":"TemporaryFile(/tmp/multipartBody2593218095804440414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269404655,"filename":"image_16112025_06_02_16_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e81b060470f1ae0359f0158a7b1574ea.jpg","text":"TemporaryFile(/tmp/multipartBody3004844187366574567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269404655,"filename":"image_16112025_06_01_47_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/834a70216b80b0a3b0f8d5348f020b48.jpg","text":"TemporaryFile(/tmp/multipartBody8126801828185095260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269404655,"filename":"image_16112025_06_02_01_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1dfce1cf2b850c6242e4872f5f0b2525.jpg","text":"TemporaryFile(/tmp/multipartBody4313351825496200174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269404655,"filename":"image_16112025_06_02_26_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/199dc466a64f69405205628613c00b75.jpg","text":"TemporaryFile(/tmp/multipartBody6723318768034797723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269404655,"filename":"image_16112025_06_02_10_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394719432","file1":"1394719394","file0":"1394719374","file4":"1394719514","file5":"1394719551","file3":"1394719473"},"map_files_photo_id_array":[{"photo_id":"1394719551","filename":"file5"},{"photo_id":"1394719432","filename":"file2"},{"photo_id":"1394719514","filename":"file4"},{"photo_id":"1394719394","filename":"file1"},{"photo_id":"1394719374","filename":"file0"},{"photo_id":"1394719473","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394719551":["hashtag1","hashtag2"]},{"1394719473":["hashtag1","hashtag2"]},{"1394719374":["hashtag1","hashtag2"]},{"1394719394":["hashtag1","hashtag2"]},{"1394719514":["hashtag1","hashtag2"]},{"1394719432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394719551, 1394719473, 1394719374, 1394719394, 1394719514, 1394719432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11379909515381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:03:03.564298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_35_3711.jpg', '/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_37_2562.jpg', '/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_40_2644.jpg', '/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_55_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_35_3711.jpg
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_37_2562.jpg
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_40_2644.jpg
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_55_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394719793","1394719748","1394719835","1394719699"],"photo_ids_order":["1394719699","1394719748","1394719793","1394719835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4954572916b93322dbebf24bd2ba46ec.jpg","text":"TemporaryFile(/tmp/multipartBody1407943678643897191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269445721,"filename":"image_16112025_06_02_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/11/16/82f03c3f09409c92f2940ccad312f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody6292271282868471847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269445721,"filename":"image_16112025_06_02_37_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c26e2e5ce7b1064b5b55934f35ae4e91.jpg","text":"TemporaryFile(/tmp/multipartBody8862731815860119355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269445721,"filename":"image_16112025_06_02_55_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9fac82c260dc732badaf28332de7884.jpg","text":"TemporaryFile(/tmp/multipartBody2484014380709010497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269445721,"filename":"image_16112025_06_02_35_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394719793","file1":"1394719748","file0":"1394719699","file3":"1394719835"},"map_files_photo_id_array":[{"photo_id":"1394719793","filename":"file2"},{"photo_id":"1394719748","filename":"file1"},{"photo_id":"1394719699","filename":"file0"},{"photo_id":"1394719835","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394719793":["hashtag1","hashtag2"]},{"1394719748":["hashtag1","hashtag2"]},{"1394719835":["hashtag1","hashtag2"]},{"1394719699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394719793, 1394719748, 1394719835, 1394719699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.58043074607849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:03:42.763379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_58_2749.jpg', '/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_07_2848.jpg', '/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_10_2788.jpg', '/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_13_3705.jpg', '/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_16_2593.jpg', '/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_22_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/02/image_16112025_06_02_58_2749.jpg
/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_07_2848.jpg
/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_10_2788.jpg
/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_13_3705.jpg
/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_16_2593.jpg
/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_22_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394719982","1394719958","1394719955","1394719999","1394719922","1394719885"],"photo_ids_order":["1394719885","1394719922","1394719955","1394719958","1394719982","1394719999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91c0de2b2b3a1278cae194275a18053c.jpg","text":"TemporaryFile(/tmp/multipartBody8332313233674879996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269484291,"filename":"image_16112025_06_03_16_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38e145c41a3f835d25eefccd8107d184.jpg","text":"TemporaryFile(/tmp/multipartBody827437500916078858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269484291,"filename":"image_16112025_06_03_13_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a6e962534bf27f5d65337e19e22954f3.jpg","text":"TemporaryFile(/tmp/multipartBody6200952939773645827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269484291,"filename":"image_16112025_06_03_10_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0e949632ee5fb6b524a2b446aed8403.jpg","text":"TemporaryFile(/tmp/multipartBody1489223473003685307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269484291,"filename":"image_16112025_06_03_22_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e48d19cfb9313b73e18d2f22ad646448.jpg","text":"TemporaryFile(/tmp/multipartBody8054983182475274632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269484291,"filename":"image_16112025_06_03_07_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2306045ecf80ec397a5212b57955527e.jpg","text":"TemporaryFile(/tmp/multipartBody3147865400630339276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269484291,"filename":"image_16112025_06_02_58_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394719955","file1":"1394719922","file0":"1394719885","file4":"1394719982","file5":"1394719999","file3":"1394719958"},"map_files_photo_id_array":[{"photo_id":"1394719999","filename":"file5"},{"photo_id":"1394719955","filename":"file2"},{"photo_id":"1394719982","filename":"file4"},{"photo_id":"1394719922","filename":"file1"},{"photo_id":"1394719885","filename":"file0"},{"photo_id":"1394719958","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394719982":["hashtag1","hashtag2"]},{"1394719958":["hashtag1","hashtag2"]},{"1394719955":["hashtag1","hashtag2"]},{"1394719999":["hashtag1","hashtag2"]},{"1394719922":["hashtag1","hashtag2"]},{"1394719885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394719982, 1394719958, 1394719955, 1394719999, 1394719922, 1394719885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.729039907455444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:04:22.099792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_43_2722.jpg', '/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_52_1821.jpg', '/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_01_2770.jpg', '/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_04_2737.jpg', '/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_07_2723.jpg', '/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_31_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_43_2722.jpg
/home/pi/Desktop/images/16112025/06/03/image_16112025_06_03_52_1821.jpg
/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_01_2770.jpg
/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_04_2737.jpg
/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_07_2723.jpg
/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_31_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394720017","1394720019","1394720010","1394720012","1394720021","1394720015"],"photo_ids_order":["1394720010","1394720012","1394720015","1394720017","1394720019","1394720021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acf2a7f6322859a8762119de13a89ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1755096791924032344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269523083,"filename":"image_16112025_06_04_04_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a29dc58f1f169548d1674bf73c9714e.jpg","text":"TemporaryFile(/tmp/multipartBody5805030642705722099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269523083,"filename":"image_16112025_06_04_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/11/16/acdcceeb9d54c6c1cf309e8e57634fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5401354596434335342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269523083,"filename":"image_16112025_06_03_43_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fce16302047a6377b23ad9b9134a8c9.jpg","text":"TemporaryFile(/tmp/multipartBody4921125994232404963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269523083,"filename":"image_16112025_06_03_52_1821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/292b9b62412af192d2f89fe925720c35.jpg","text":"TemporaryFile(/tmp/multipartBody7880857122030809911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269523083,"filename":"image_16112025_06_04_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/11/16/c0a63236f6c8df23f758fea617ec2317.jpg","text":"TemporaryFile(/tmp/multipartBody7697490902188529687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269523083,"filename":"image_16112025_06_04_01_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394720015","file1":"1394720012","file0":"1394720010","file4":"1394720019","file5":"1394720021","file3":"1394720017"},"map_files_photo_id_array":[{"photo_id":"1394720021","filename":"file5"},{"photo_id":"1394720015","filename":"file2"},{"photo_id":"1394720019","filename":"file4"},{"photo_id":"1394720012","filename":"file1"},{"photo_id":"1394720010","filename":"file0"},{"photo_id":"1394720017","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394720017":["hashtag1","hashtag2"]},{"1394720019":["hashtag1","hashtag2"]},{"1394720010":["hashtag1","hashtag2"]},{"1394720012":["hashtag1","hashtag2"]},{"1394720021":["hashtag1","hashtag2"]},{"1394720015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394720017, 1394720019, 1394720010, 1394720012, 1394720021, 1394720015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96833157539368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:05:02.919996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_37_3854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_37_3854.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394720022"],"photo_id":"1394720022","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17fe7bbf7da3ddaa55ac24e500d4b97a.jpg","text":"TemporaryFile(/tmp/multipartBody4552491523301926048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269563522,"filename":"image_16112025_06_04_37_3854.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394720022"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394720022"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.824558734893799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:05:22.268804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_43_2639.jpg', '/home/pi/Desktop/images/16112025/06/04/image_16112025_06_05_01_3684.jpg', '/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_13_2692.jpg', '/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_19_3799.jpg', '/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_22_2777.jpg', '/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_25_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/04/image_16112025_06_04_43_2639.jpg
/home/pi/Desktop/images/16112025/06/04/image_16112025_06_05_01_3684.jpg
/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_13_2692.jpg
/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_19_3799.jpg
/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_22_2777.jpg
/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_25_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394720035","1394720032","1394720029","1394720037","1394720027","1394720036"],"photo_ids_order":["1394720027","1394720029","1394720032","1394720035","1394720036","1394720037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d07189259b3bd5fafac4bbb224d866d2.jpg","text":"TemporaryFile(/tmp/multipartBody5291406516014064685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269582965,"filename":"image_16112025_06_05_19_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e7815f342f1635932b2232852570ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7026816310265830415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269582965,"filename":"image_16112025_06_05_13_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5204cf03203db0a25f8b07dee8b54e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8486396680032726280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269582965,"filename":"image_16112025_06_05_01_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b5fd2628a19f6f69583a1027fed8bc3.jpg","text":"TemporaryFile(/tmp/multipartBody2105361978214498996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269582965,"filename":"image_16112025_06_05_25_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49a97d6e9202dc19a8b2923eff395386.jpg","text":"TemporaryFile(/tmp/multipartBody5310216139322236263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269582965,"filename":"image_16112025_06_04_43_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44df43c8f307da3029e34aab25b953ed.jpg","text":"TemporaryFile(/tmp/multipartBody7659767880304435682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269582965,"filename":"image_16112025_06_05_22_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394720032","file1":"1394720029","file0":"1394720027","file4":"1394720036","file5":"1394720037","file3":"1394720035"},"map_files_photo_id_array":[{"photo_id":"1394720037","filename":"file5"},{"photo_id":"1394720032","filename":"file2"},{"photo_id":"1394720036","filename":"file4"},{"photo_id":"1394720029","filename":"file1"},{"photo_id":"1394720027","filename":"file0"},{"photo_id":"1394720035","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394720035":["hashtag1","hashtag2"]},{"1394720032":["hashtag1","hashtag2"]},{"1394720029":["hashtag1","hashtag2"]},{"1394720037":["hashtag1","hashtag2"]},{"1394720027":["hashtag1","hashtag2"]},{"1394720036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394720035, 1394720032, 1394720029, 1394720037, 1394720027, 1394720036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.860801219940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:06:02.973247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:06:22.482774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_54_2583.jpg', '/home/pi/Desktop/images/16112025/06/06/image_16112025_06_06_01_2644.jpg', '/home/pi/Desktop/images/16112025/06/06/image_16112025_06_06_10_2839.jpg', '/home/pi/Desktop/images/16112025/06/06/image_16112025_06_06_13_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/05/image_16112025_06_05_54_2583.jpg
/home/pi/Desktop/images/16112025/06/06/image_16112025_06_06_01_2644.jpg
/home/pi/Desktop/images/16112025/06/06/image_16112025_06_06_10_2839.jpg
/home/pi/Desktop/images/16112025/06/06/image_16112025_06_06_13_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394720046","1394720043","1394720075","1394720048"],"photo_ids_order":["1394720043","1394720046","1394720048","1394720075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b546c00c9d10d24a52b750bb644ad8a.jpg","text":"TemporaryFile(/tmp/multipartBody8696257325382831116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269643099,"filename":"image_16112025_06_06_01_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f557e1995df54b04912b38db2c3b715b.jpg","text":"TemporaryFile(/tmp/multipartBody7094449002437639620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269643099,"filename":"image_16112025_06_05_54_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41fb0eb6057924b065093e78414c27c1.jpg","text":"TemporaryFile(/tmp/multipartBody6994622917879319995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269643099,"filename":"image_16112025_06_06_13_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/588d5eeea35f9164d4816170c97820ac.jpg","text":"TemporaryFile(/tmp/multipartBody1028869738628134026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269643099,"filename":"image_16112025_06_06_10_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394720048","file1":"1394720046","file0":"1394720043","file3":"1394720075"},"map_files_photo_id_array":[{"photo_id":"1394720048","filename":"file2"},{"photo_id":"1394720046","filename":"file1"},{"photo_id":"1394720043","filename":"file0"},{"photo_id":"1394720075","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394720046":["hashtag1","hashtag2"]},{"1394720043":["hashtag1","hashtag2"]},{"1394720075":["hashtag1","hashtag2"]},{"1394720048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394720046, 1394720043, 1394720075, 1394720048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.184816598892212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:07:03.484301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:07:22.742794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/06/image_16112025_06_06_22_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/06/image_16112025_06_06_22_2734.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394720862"],"photo_id":"1394720862","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c512efb5c87a7fd8c7a932b4c1d021e0.jpg","text":"TemporaryFile(/tmp/multipartBody2802347038162715699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269703219,"filename":"image_16112025_06_06_22_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394720862"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394720862"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.188288688659668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:07:42.746874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:08:02.463485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:08:22.025088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/07/image_16112025_06_08_01_3569.jpg', '/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_03_2663.jpg', '/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_19_3571.jpg', '/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_28_3650.jpg', '/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_46_3795.jpg', '/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_49_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/07/image_16112025_06_08_01_3569.jpg
/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_03_2663.jpg
/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_19_3571.jpg
/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_28_3650.jpg
/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_46_3795.jpg
/home/pi/Desktop/images/16112025/06/08/image_16112025_06_08_49_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721069","1394721066","1394721062","1394721064","1394721067","1394721061"],"photo_ids_order":["1394721061","1394721062","1394721064","1394721066","1394721067","1394721069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/516b90b0fb15bf750521e1e3ca6a2315.jpg","text":"TemporaryFile(/tmp/multipartBody7492166772304132909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269762774,"filename":"image_16112025_06_08_49_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7d7f3fe72fb2855374d90ee46c46c50.jpg","text":"TemporaryFile(/tmp/multipartBody6335990096433339788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269762774,"filename":"image_16112025_06_08_28_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0edb34487c399754c540f9d3f3dae049.jpg","text":"TemporaryFile(/tmp/multipartBody4689192056699330338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269762774,"filename":"image_16112025_06_08_03_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c782a290141e2be9b12b8ea56ab6a75.jpg","text":"TemporaryFile(/tmp/multipartBody5934730904079960390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269762774,"filename":"image_16112025_06_08_19_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35e7108e908d88ed3d617147ca78bcb3.jpg","text":"TemporaryFile(/tmp/multipartBody2450247338401369270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269762774,"filename":"image_16112025_06_08_46_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2462dc9e04257aac8a4f1a70bc98aa16.jpg","text":"TemporaryFile(/tmp/multipartBody2955001249280299971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269762774,"filename":"image_16112025_06_08_01_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721064","file1":"1394721062","file0":"1394721061","file4":"1394721067","file5":"1394721069","file3":"1394721066"},"map_files_photo_id_array":[{"photo_id":"1394721069","filename":"file5"},{"photo_id":"1394721064","filename":"file2"},{"photo_id":"1394721067","filename":"file4"},{"photo_id":"1394721062","filename":"file1"},{"photo_id":"1394721061","filename":"file0"},{"photo_id":"1394721066","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721069":["hashtag1","hashtag2"]},{"1394721066":["hashtag1","hashtag2"]},{"1394721062":["hashtag1","hashtag2"]},{"1394721064":["hashtag1","hashtag2"]},{"1394721067":["hashtag1","hashtag2"]},{"1394721061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721069, 1394721066, 1394721062, 1394721064, 1394721067, 1394721061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16561722755432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:09:03.070147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:09:22.391585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/08/image_16112025_06_09_01_3750.jpg', '/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_16_2944.jpg', '/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_27_3521.jpg', '/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_33_2669.jpg', '/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_39_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/08/image_16112025_06_09_01_3750.jpg
/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_16_2944.jpg
/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_27_3521.jpg
/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_33_2669.jpg
/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_39_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721075","1394721072","1394721074","1394721070","1394721073"],"photo_ids_order":["1394721070","1394721072","1394721073","1394721074","1394721075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3341d9c5e40bdf3bcabe74d4fab81f5.jpg","text":"TemporaryFile(/tmp/multipartBody4791540520982026154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269823069,"filename":"image_16112025_06_09_39_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55f304cc87bc4c3f044a5d6ea0f3180a.jpg","text":"TemporaryFile(/tmp/multipartBody4448289326538583590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269823069,"filename":"image_16112025_06_09_16_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5668f6060dbf53e9c1f5043d3380806f.jpg","text":"TemporaryFile(/tmp/multipartBody3904833901981791775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269823069,"filename":"image_16112025_06_09_33_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76ae297045e7f5e030987d88f6ff401d.jpg","text":"TemporaryFile(/tmp/multipartBody5798080915970693031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269823069,"filename":"image_16112025_06_09_01_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f852b2f83ee73bd67119a30c61a7aeb.jpg","text":"TemporaryFile(/tmp/multipartBody5365878580434226859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269823069,"filename":"image_16112025_06_09_27_3521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721073","file1":"1394721072","file0":"1394721070","file4":"1394721075","file3":"1394721074"},"map_files_photo_id_array":[{"photo_id":"1394721073","filename":"file2"},{"photo_id":"1394721075","filename":"file4"},{"photo_id":"1394721072","filename":"file1"},{"photo_id":"1394721070","filename":"file0"},{"photo_id":"1394721074","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721075":["hashtag1","hashtag2"]},{"1394721072":["hashtag1","hashtag2"]},{"1394721074":["hashtag1","hashtag2"]},{"1394721070":["hashtag1","hashtag2"]},{"1394721073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721075, 1394721072, 1394721074, 1394721070, 1394721073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.895016193389893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:10:02.915467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:10:22.400636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_05_1532.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_07_1601.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_08_1805.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_10_1536.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_12_1570.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_13_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_05_1532.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_07_1601.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_08_1805.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_10_1536.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_12_1570.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_13_1629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721090","1394721092","1394721086","1394721091","1394721094","1394721088"],"photo_ids_order":["1394721086","1394721088","1394721090","1394721091","1394721092","1394721094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44379b9c2a39434511e54122b8ee5a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2554485144181859235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269883339,"filename":"image_06112025_14_08_08_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26570cc606763f4c563e8beb5dbb7fec.jpg","text":"TemporaryFile(/tmp/multipartBody4635148894934056289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269883339,"filename":"image_06112025_14_08_12_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e527b1ff9145a9af660168591c6b0bf.jpg","text":"TemporaryFile(/tmp/multipartBody6289157372162332331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269883339,"filename":"image_06112025_14_08_05_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/732d8e5480acdc1d4220482d788acfcd.jpg","text":"TemporaryFile(/tmp/multipartBody6304294638090392056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269883339,"filename":"image_06112025_14_08_10_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37a4bef5c369a08192cee5825238b602.jpg","text":"TemporaryFile(/tmp/multipartBody3227464534417843392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269883339,"filename":"image_06112025_14_08_13_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d312ebe91ac02a29ebed7fc77324040.jpg","text":"TemporaryFile(/tmp/multipartBody5537510747131238663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269883339,"filename":"image_06112025_14_08_07_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721090","file1":"1394721088","file0":"1394721086","file4":"1394721092","file5":"1394721094","file3":"1394721091"},"map_files_photo_id_array":[{"photo_id":"1394721094","filename":"file5"},{"photo_id":"1394721090","filename":"file2"},{"photo_id":"1394721092","filename":"file4"},{"photo_id":"1394721088","filename":"file1"},{"photo_id":"1394721086","filename":"file0"},{"photo_id":"1394721091","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394721090":["hashtag1","hashtag2"]},{"1394721092":["hashtag1","hashtag2"]},{"1394721086":["hashtag1","hashtag2"]},{"1394721091":["hashtag1","hashtag2"]},{"1394721094":["hashtag1","hashtag2"]},{"1394721088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394721090, 1394721092, 1394721086, 1394721091, 1394721094, 1394721088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.076685428619385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:11:03.373375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:11:22.641691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_46_3796.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_03_2750.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_12_2767.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_21_2763.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_24_2730.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_33_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/09/image_16112025_06_09_46_3796.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_03_2750.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_12_2767.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_21_2763.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_24_2730.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_33_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721103","1394721099","1394721105","1394721110","1394721107","1394721101"],"photo_ids_order":["1394721099","1394721101","1394721103","1394721105","1394721107","1394721110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6b6ccd9454c5de4ee51a24cf6d57826.jpg","text":"TemporaryFile(/tmp/multipartBody9171338421082441383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269943326,"filename":"image_16112025_06_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/11/16/f7f702bd7c08602de6807670b5e8eae1.jpg","text":"TemporaryFile(/tmp/multipartBody430254775474326920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269943326,"filename":"image_16112025_06_09_46_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a7cd39c117813008edba537858351b9.jpg","text":"TemporaryFile(/tmp/multipartBody123005637692835209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269943326,"filename":"image_16112025_06_11_21_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fc3c4266c499078e208f629ed5c5cec.jpg","text":"TemporaryFile(/tmp/multipartBody2722518752888952365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269943326,"filename":"image_16112025_06_11_33_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/525dc31b925ac2c12994c341231aa9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3991981532752621660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269943326,"filename":"image_16112025_06_11_24_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/609c058340f9848e0d17aec075f1058f.jpg","text":"TemporaryFile(/tmp/multipartBody3332199728320685506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763269943326,"filename":"image_16112025_06_11_03_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721103","file1":"1394721101","file0":"1394721099","file4":"1394721107","file5":"1394721110","file3":"1394721105"},"map_files_photo_id_array":[{"photo_id":"1394721110","filename":"file5"},{"photo_id":"1394721103","filename":"file2"},{"photo_id":"1394721107","filename":"file4"},{"photo_id":"1394721101","filename":"file1"},{"photo_id":"1394721099","filename":"file0"},{"photo_id":"1394721105","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721103":["hashtag1","hashtag2"]},{"1394721099":["hashtag1","hashtag2"]},{"1394721105":["hashtag1","hashtag2"]},{"1394721110":["hashtag1","hashtag2"]},{"1394721107":["hashtag1","hashtag2"]},{"1394721101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721103, 1394721099, 1394721105, 1394721110, 1394721107, 1394721101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.801750898361206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:12:02.375137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_36_2768.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_49_3639.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_57_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_36_2768.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_49_3639.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_57_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.5364234447479248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:12:21.921134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_36_2768.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_49_3639.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_57_3600.jpg', '/home/pi/Desktop/images/16112025/06/11/image_16112025_06_12_00_2663.jpg', '/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_03_2727.jpg', '/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_15_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_36_2768.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_49_3639.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_11_57_3600.jpg
/home/pi/Desktop/images/16112025/06/11/image_16112025_06_12_00_2663.jpg
/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_03_2727.jpg
/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_15_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721121","1394721118","1394721123","1394721120","1394721125","1394721119"],"photo_ids_order":["1394721118","1394721119","1394721120","1394721121","1394721123","1394721125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9546b7137d03c37ab82905e527a23309.jpg","text":"TemporaryFile(/tmp/multipartBody6603733215971892854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270002623,"filename":"image_16112025_06_12_00_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5dbc864b11ef51263fe28ba2f819ada.jpg","text":"TemporaryFile(/tmp/multipartBody2527840321346517724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270002623,"filename":"image_16112025_06_11_36_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1e5d8049117192d3cbceb739b28de4f.jpg","text":"TemporaryFile(/tmp/multipartBody596931468359881863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270002623,"filename":"image_16112025_06_12_03_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9294675740c02830f98ec6060714597.jpg","text":"TemporaryFile(/tmp/multipartBody1126618149066870398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270002623,"filename":"image_16112025_06_11_57_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d2df55afb4a47889489f2eb1de99b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5646499616477657450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270002623,"filename":"image_16112025_06_12_15_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/206e822daa04ce2631f720b4ba73c3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6339294414839591563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270002623,"filename":"image_16112025_06_11_49_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721120","file1":"1394721119","file0":"1394721118","file4":"1394721123","file5":"1394721125","file3":"1394721121"},"map_files_photo_id_array":[{"photo_id":"1394721125","filename":"file5"},{"photo_id":"1394721120","filename":"file2"},{"photo_id":"1394721123","filename":"file4"},{"photo_id":"1394721119","filename":"file1"},{"photo_id":"1394721118","filename":"file0"},{"photo_id":"1394721121","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721121":["hashtag1","hashtag2"]},{"1394721118":["hashtag1","hashtag2"]},{"1394721123":["hashtag1","hashtag2"]},{"1394721120":["hashtag1","hashtag2"]},{"1394721125":["hashtag1","hashtag2"]},{"1394721119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721121, 1394721118, 1394721123, 1394721120, 1394721125, 1394721119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03906846046448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:13:02.981611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_24_2698.jpg', '/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_30_2669.jpg', '/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_40_3866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_24_2698.jpg
/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_30_2669.jpg
/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_40_3866.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721132","1394721134","1394721133"],"photo_ids_order":["1394721132","1394721133","1394721134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/394faacca8281b4551c6d1184bbdd6f5.jpg","text":"TemporaryFile(/tmp/multipartBody266863765102106245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270043683,"filename":"image_16112025_06_12_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/11/16/1f27974a7be4c755944c03890a90dd8b.jpg","text":"TemporaryFile(/tmp/multipartBody2464049837695054688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270043683,"filename":"image_16112025_06_12_40_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/962cb84b8f5b273e1557156e13309a38.jpg","text":"TemporaryFile(/tmp/multipartBody363447145138410751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270043683,"filename":"image_16112025_06_12_30_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721134","file1":"1394721133","file0":"1394721132"},"map_files_photo_id_array":[{"photo_id":"1394721134","filename":"file2"},{"photo_id":"1394721133","filename":"file1"},{"photo_id":"1394721132","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721132":["hashtag1","hashtag2"]},{"1394721134":["hashtag1","hashtag2"]},{"1394721133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721132, 1394721134, 1394721133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.995765209197998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:13:42.255192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_55_3673.jpg', '/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_03_2807.jpg', '/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_16_3691.jpg', '/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_18_2560.jpg', '/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_33_2686.jpg', '/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_36_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/12/image_16112025_06_12_55_3673.jpg
/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_03_2807.jpg
/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_16_3691.jpg
/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_18_2560.jpg
/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_33_2686.jpg
/home/pi/Desktop/images/16112025/06/13/image_16112025_06_13_36_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721142","1394721147","1394721149","1394721151","1394721145","1394721148"],"photo_ids_order":["1394721142","1394721145","1394721147","1394721148","1394721149","1394721151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c3414d30e2a94265af59d973d9b2e8b.jpg","text":"TemporaryFile(/tmp/multipartBody4648578450773070147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270082958,"filename":"image_16112025_06_12_55_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e7ebb0d46a0b8198e7040a959964364.jpg","text":"TemporaryFile(/tmp/multipartBody4314357718465145013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270082958,"filename":"image_16112025_06_13_16_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74d4ff2fc9beae6d9e7dee3a3f0d481b.jpg","text":"TemporaryFile(/tmp/multipartBody4808870812889902091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270082958,"filename":"image_16112025_06_13_33_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94a987c6e2ae0dd67395303adfe66f8f.jpg","text":"TemporaryFile(/tmp/multipartBody4162845798976343746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270082958,"filename":"image_16112025_06_13_36_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35cd6b0fd8ecc265d650b98494fdcd24.jpg","text":"TemporaryFile(/tmp/multipartBody6027982023568855844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270082958,"filename":"image_16112025_06_13_03_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d360fe6bc95ac6661c88cf40c2c3ce9.jpg","text":"TemporaryFile(/tmp/multipartBody5964910372328291101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270082958,"filename":"image_16112025_06_13_18_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721147","file1":"1394721145","file0":"1394721142","file4":"1394721149","file5":"1394721151","file3":"1394721148"},"map_files_photo_id_array":[{"photo_id":"1394721151","filename":"file5"},{"photo_id":"1394721147","filename":"file2"},{"photo_id":"1394721149","filename":"file4"},{"photo_id":"1394721145","filename":"file1"},{"photo_id":"1394721142","filename":"file0"},{"photo_id":"1394721148","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721142":["hashtag1","hashtag2"]},{"1394721147":["hashtag1","hashtag2"]},{"1394721149":["hashtag1","hashtag2"]},{"1394721151":["hashtag1","hashtag2"]},{"1394721145":["hashtag1","hashtag2"]},{"1394721148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721142, 1394721147, 1394721149, 1394721151, 1394721145, 1394721148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17063593864441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:14:22.585706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/13/image_16112025_06_14_00_3774.jpg', '/home/pi/Desktop/images/16112025/06/14/image_16112025_06_14_06_2649.jpg', '/home/pi/Desktop/images/16112025/06/14/image_16112025_06_14_24_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/13/image_16112025_06_14_00_3774.jpg
/home/pi/Desktop/images/16112025/06/14/image_16112025_06_14_06_2649.jpg
/home/pi/Desktop/images/16112025/06/14/image_16112025_06_14_24_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721162","1394721159","1394721155"],"photo_ids_order":["1394721155","1394721159","1394721162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c88e18b38cd3e740b0fee4a79d4d9dde.jpg","text":"TemporaryFile(/tmp/multipartBody2101681390273804363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270123259,"filename":"image_16112025_06_14_24_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6292fb90ee6745101c8cd4e0c6426079.jpg","text":"TemporaryFile(/tmp/multipartBody7977919359424737081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270123259,"filename":"image_16112025_06_14_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/11/16/387678a3330338e5f74ee0db0e565fcb.jpg","text":"TemporaryFile(/tmp/multipartBody4801186760468193169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270123259,"filename":"image_16112025_06_14_00_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721162","file1":"1394721159","file0":"1394721155"},"map_files_photo_id_array":[{"photo_id":"1394721162","filename":"file2"},{"photo_id":"1394721159","filename":"file1"},{"photo_id":"1394721155","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721162":["hashtag1","hashtag2"]},{"1394721159":["hashtag1","hashtag2"]},{"1394721155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721162, 1394721159, 1394721155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.16551184654236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:15:03.358179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:15:22.673284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/14/image_16112025_06_14_30_2800.jpg', '/home/pi/Desktop/images/16112025/06/15/image_16112025_06_15_05_2655.jpg', '/home/pi/Desktop/images/16112025/06/15/image_16112025_06_15_09_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/14/image_16112025_06_14_30_2800.jpg
/home/pi/Desktop/images/16112025/06/15/image_16112025_06_15_05_2655.jpg
/home/pi/Desktop/images/16112025/06/15/image_16112025_06_15_09_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721177","1394721179","1394721175"],"photo_ids_order":["1394721175","1394721177","1394721179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0efd18e6d6dcfccae4a0bb874e7a1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6853769998698743110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270183264,"filename":"image_16112025_06_15_05_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e20edee2663b64ed17d90a9aa6e15b31.jpg","text":"TemporaryFile(/tmp/multipartBody3486992077402584542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270183264,"filename":"image_16112025_06_15_09_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5fdfedb9fdc7772cd458399e5a59bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8077677948319302754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270183264,"filename":"image_16112025_06_14_30_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721179","file1":"1394721177","file0":"1394721175"},"map_files_photo_id_array":[{"photo_id":"1394721179","filename":"file2"},{"photo_id":"1394721177","filename":"file1"},{"photo_id":"1394721175","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721177":["hashtag1","hashtag2"]},{"1394721179":["hashtag1","hashtag2"]},{"1394721175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721177, 1394721179, 1394721175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.07200312614441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:16:02.455525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:16:21.906202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/15/image_16112025_06_15_33_2602.jpg', '/home/pi/Desktop/images/16112025/06/16/image_16112025_06_16_02_2612.jpg', '/home/pi/Desktop/images/16112025/06/16/image_16112025_06_16_27_2712.jpg', '/home/pi/Desktop/images/16112025/06/16/image_16112025_06_16_45_2745.jpg', '/home/pi/Desktop/images/16112025/06/16/image_16112025_06_16_51_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/15/image_16112025_06_15_33_2602.jpg
/home/pi/Desktop/images/16112025/06/16/image_16112025_06_16_02_2612.jpg
/home/pi/Desktop/images/16112025/06/16/image_16112025_06_16_27_2712.jpg
/home/pi/Desktop/images/16112025/06/16/image_16112025_06_16_45_2745.jpg
/home/pi/Desktop/images/16112025/06/16/image_16112025_06_16_51_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721186","1394721185","1394721188","1394721184","1394721187"],"photo_ids_order":["1394721184","1394721185","1394721186","1394721187","1394721188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8305f56ebe2f4022660c3536b5cf6f9.jpg","text":"TemporaryFile(/tmp/multipartBody7754633583520946028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270242560,"filename":"image_16112025_06_16_27_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c36d73a32d5f466a141c8283272b2a84.jpg","text":"TemporaryFile(/tmp/multipartBody1484910644083449111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270242560,"filename":"image_16112025_06_16_02_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3455e8f207daf46ef9ad867eb3fa382.jpg","text":"TemporaryFile(/tmp/multipartBody1891556650014393750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270242560,"filename":"image_16112025_06_16_51_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ffe067d71054fc9262159a5cbad615d.jpg","text":"TemporaryFile(/tmp/multipartBody2879991831868688982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270242560,"filename":"image_16112025_06_15_33_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08bd8b26804a9beddce805ae38f129ce.jpg","text":"TemporaryFile(/tmp/multipartBody8963978238500176296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270242560,"filename":"image_16112025_06_16_45_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721186","file1":"1394721185","file0":"1394721184","file4":"1394721188","file3":"1394721187"},"map_files_photo_id_array":[{"photo_id":"1394721186","filename":"file2"},{"photo_id":"1394721188","filename":"file4"},{"photo_id":"1394721185","filename":"file1"},{"photo_id":"1394721184","filename":"file0"},{"photo_id":"1394721187","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721186":["hashtag1","hashtag2"]},{"1394721185":["hashtag1","hashtag2"]},{"1394721188":["hashtag1","hashtag2"]},{"1394721184":["hashtag1","hashtag2"]},{"1394721187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721186, 1394721185, 1394721188, 1394721184, 1394721187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.614875555038452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:17:02.814016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:17:22.108011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/16/image_16112025_06_17_00_2765.jpg', '/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_03_2701.jpg', '/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_05_2638.jpg', '/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_09_3521.jpg', '/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_11_2685.jpg', '/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_18_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/16/image_16112025_06_17_00_2765.jpg
/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_03_2701.jpg
/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_05_2638.jpg
/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_09_3521.jpg
/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_11_2685.jpg
/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_18_3708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721192","1394721198","1394721197","1394721193","1394721196","1394721200"],"photo_ids_order":["1394721192","1394721193","1394721196","1394721197","1394721198","1394721200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbfbf443ebd94594e7c19c7ddae980ac.jpg","text":"TemporaryFile(/tmp/multipartBody4350882918671400695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270302805,"filename":"image_16112025_06_17_00_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/189f4331dbe8f72901f4c305f15b0e43.jpg","text":"TemporaryFile(/tmp/multipartBody1682578973011012307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270302805,"filename":"image_16112025_06_17_11_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f02333c1bf94386b60ccd1d0ece7859.jpg","text":"TemporaryFile(/tmp/multipartBody3191588361555104124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270302805,"filename":"image_16112025_06_17_09_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdbe310e0ef12cad94fc0b1a6d56b578.jpg","text":"TemporaryFile(/tmp/multipartBody8101937562230813744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270302805,"filename":"image_16112025_06_17_03_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96d1699a9b72b0945e65b0dd5bcc08f6.jpg","text":"TemporaryFile(/tmp/multipartBody1580559221262638567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270302805,"filename":"image_16112025_06_17_05_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ace9848edadf5c44ebae4fe59b1806a.jpg","text":"TemporaryFile(/tmp/multipartBody1526919912365365612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270302805,"filename":"image_16112025_06_17_18_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721196","file1":"1394721193","file0":"1394721192","file4":"1394721198","file5":"1394721200","file3":"1394721197"},"map_files_photo_id_array":[{"photo_id":"1394721200","filename":"file5"},{"photo_id":"1394721196","filename":"file2"},{"photo_id":"1394721198","filename":"file4"},{"photo_id":"1394721193","filename":"file1"},{"photo_id":"1394721192","filename":"file0"},{"photo_id":"1394721197","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721192":["hashtag1","hashtag2"]},{"1394721198":["hashtag1","hashtag2"]},{"1394721197":["hashtag1","hashtag2"]},{"1394721193":["hashtag1","hashtag2"]},{"1394721196":["hashtag1","hashtag2"]},{"1394721200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721192, 1394721198, 1394721197, 1394721193, 1394721196, 1394721200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49338889122009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:18:02.853275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_24_3651.jpg', '/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_29_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_24_3651.jpg
/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_29_2584.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721204","1394721203"],"photo_ids_order":["1394721203","1394721204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eda12a8e2d87351c4ab970b6d102cc2a.jpg","text":"TemporaryFile(/tmp/multipartBody8929216013155715170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270343482,"filename":"image_16112025_06_17_29_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7317ec4f3c9be42182c0455cebb7415.jpg","text":"TemporaryFile(/tmp/multipartBody3769140473124843822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270343482,"filename":"image_16112025_06_17_24_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394721204","file0":"1394721203"},"map_files_photo_id_array":[{"photo_id":"1394721204","filename":"file1"},{"photo_id":"1394721203","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721204":["hashtag1","hashtag2"]},{"1394721203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721204, 1394721203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.326905250549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:18:22.290264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_48_3624.jpg', '/home/pi/Desktop/images/16112025/06/18/image_16112025_06_18_12_2629.jpg', '/home/pi/Desktop/images/16112025/06/18/image_16112025_06_18_14_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/17/image_16112025_06_17_48_3624.jpg
/home/pi/Desktop/images/16112025/06/18/image_16112025_06_18_12_2629.jpg
/home/pi/Desktop/images/16112025/06/18/image_16112025_06_18_14_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721208","1394721211","1394721213"],"photo_ids_order":["1394721208","1394721211","1394721213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/409066bef22ad8b81331c1d1afa2554c.jpg","text":"TemporaryFile(/tmp/multipartBody4793323424215295943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270362868,"filename":"image_16112025_06_17_48_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01d1cda6f1ccbb4d04f8dd0621a32740.jpg","text":"TemporaryFile(/tmp/multipartBody6656123912596675228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270362868,"filename":"image_16112025_06_18_12_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b3c625fdf7405b97077b8b8e0e0c5e2.jpg","text":"TemporaryFile(/tmp/multipartBody4577685717636922372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270362868,"filename":"image_16112025_06_18_14_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721213","file1":"1394721211","file0":"1394721208"},"map_files_photo_id_array":[{"photo_id":"1394721213","filename":"file2"},{"photo_id":"1394721211","filename":"file1"},{"photo_id":"1394721208","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721208":["hashtag1","hashtag2"]},{"1394721211":["hashtag1","hashtag2"]},{"1394721213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721208, 1394721211, 1394721213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.421708583831787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:19:03.509353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:19:22.531479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_15_1810.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_17_1696.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_18_1656.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_20_1640.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_22_1651.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_25_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_15_1810.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_17_1696.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_18_1656.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_20_1640.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_22_1651.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_25_3795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721220","1394721223","1394721225","1394721230","1394721227","1394721226"],"photo_ids_order":["1394721220","1394721223","1394721225","1394721226","1394721227","1394721230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16220f5a39e429df6728310050adee3e.jpg","text":"TemporaryFile(/tmp/multipartBody6821212148164540064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270423402,"filename":"image_06112025_14_08_15_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34029b11e248741a58d3dbb81d5e7c57.jpg","text":"TemporaryFile(/tmp/multipartBody4573073609424996157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270423402,"filename":"image_06112025_14_08_17_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9333e47b86bc95b3956d7d51bfd72676.jpg","text":"TemporaryFile(/tmp/multipartBody3108652168237231156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270423402,"filename":"image_06112025_14_08_18_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f02aaf92c1900e335908dbbb51a742da.jpg","text":"TemporaryFile(/tmp/multipartBody1102330283747742814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270423402,"filename":"image_06112025_14_08_25_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8cc81c2d05a5773f188b4e09d717a33.jpg","text":"TemporaryFile(/tmp/multipartBody8202370650634485694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270423402,"filename":"image_06112025_14_08_22_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad5cae5117a82bdb58b7ffc74948c068.jpg","text":"TemporaryFile(/tmp/multipartBody4516834362215526259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270423402,"filename":"image_06112025_14_08_20_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721225","file1":"1394721223","file0":"1394721220","file4":"1394721227","file5":"1394721230","file3":"1394721226"},"map_files_photo_id_array":[{"photo_id":"1394721230","filename":"file5"},{"photo_id":"1394721225","filename":"file2"},{"photo_id":"1394721227","filename":"file4"},{"photo_id":"1394721223","filename":"file1"},{"photo_id":"1394721220","filename":"file0"},{"photo_id":"1394721226","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394721220":["hashtag1","hashtag2"]},{"1394721223":["hashtag1","hashtag2"]},{"1394721225":["hashtag1","hashtag2"]},{"1394721230":["hashtag1","hashtag2"]},{"1394721227":["hashtag1","hashtag2"]},{"1394721226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394721220, 1394721223, 1394721225, 1394721230, 1394721227, 1394721226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3335816860199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:20:03.238279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:20:22.752354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/18/image_16112025_06_18_17_2832.jpg', '/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_35_2792.jpg', '/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_38_2797.jpg', '/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_44_2833.jpg', '/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_47_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/18/image_16112025_06_18_17_2832.jpg
/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_35_2792.jpg
/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_38_2797.jpg
/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_44_2833.jpg
/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_47_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721241","1394721235","1394721240","1394721236","1394721239"],"photo_ids_order":["1394721235","1394721236","1394721239","1394721240","1394721241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6990f94bfd505703c9748a9e03d89350.jpg","text":"TemporaryFile(/tmp/multipartBody8561243843944542189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270483422,"filename":"image_16112025_06_20_47_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b1612f3cc4f514e56b07217131bc1e4.jpg","text":"TemporaryFile(/tmp/multipartBody7094194344862954717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270483422,"filename":"image_16112025_06_18_17_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47cd90061c09f1f52b0982108b567b00.jpg","text":"TemporaryFile(/tmp/multipartBody6019651008954852077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270483422,"filename":"image_16112025_06_20_44_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73324e42d4766ce60d5871892fd17a84.jpg","text":"TemporaryFile(/tmp/multipartBody3901359203140420314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270483422,"filename":"image_16112025_06_20_35_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65bca818cad04b670ca2e8ddb5002dd9.jpg","text":"TemporaryFile(/tmp/multipartBody5876391427010183699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270483422,"filename":"image_16112025_06_20_38_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721239","file1":"1394721236","file0":"1394721235","file4":"1394721241","file3":"1394721240"},"map_files_photo_id_array":[{"photo_id":"1394721239","filename":"file2"},{"photo_id":"1394721241","filename":"file4"},{"photo_id":"1394721236","filename":"file1"},{"photo_id":"1394721235","filename":"file0"},{"photo_id":"1394721240","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721241":["hashtag1","hashtag2"]},{"1394721235":["hashtag1","hashtag2"]},{"1394721240":["hashtag1","hashtag2"]},{"1394721236":["hashtag1","hashtag2"]},{"1394721239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721241, 1394721235, 1394721240, 1394721236, 1394721239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.62681818008423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:21:02.797877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:21:22.064259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_59_2728.jpg', '/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_03_3649.jpg', '/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_05_2651.jpg', '/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_24_3688.jpg', '/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_26_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/20/image_16112025_06_20_59_2728.jpg
/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_03_3649.jpg
/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_05_2651.jpg
/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_24_3688.jpg
/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_26_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721255","1394721251","1394721257","1394721256","1394721253"],"photo_ids_order":["1394721251","1394721253","1394721255","1394721256","1394721257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d0131fadabf62f4b1faf478bca23bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8969709467935693526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270542713,"filename":"image_16112025_06_21_05_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25dac35fc1f4f8ca5f79d727f7ff58a4.jpg","text":"TemporaryFile(/tmp/multipartBody8282042332284008368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270542713,"filename":"image_16112025_06_20_59_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/308e867626692fe10213160db8e7dbef.jpg","text":"TemporaryFile(/tmp/multipartBody2222364528547077545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270542713,"filename":"image_16112025_06_21_26_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb75a7f19fc7e84ab0bdde015e005976.jpg","text":"TemporaryFile(/tmp/multipartBody1324383496774796052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270542713,"filename":"image_16112025_06_21_24_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adab931f0860e8dfe3e91c49fbf91741.jpg","text":"TemporaryFile(/tmp/multipartBody397444457289379610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270542713,"filename":"image_16112025_06_21_03_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721255","file1":"1394721253","file0":"1394721251","file4":"1394721257","file3":"1394721256"},"map_files_photo_id_array":[{"photo_id":"1394721255","filename":"file2"},{"photo_id":"1394721257","filename":"file4"},{"photo_id":"1394721253","filename":"file1"},{"photo_id":"1394721251","filename":"file0"},{"photo_id":"1394721256","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721255":["hashtag1","hashtag2"]},{"1394721251":["hashtag1","hashtag2"]},{"1394721257":["hashtag1","hashtag2"]},{"1394721256":["hashtag1","hashtag2"]},{"1394721253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721255, 1394721251, 1394721257, 1394721256, 1394721253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.268709659576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:22:02.816314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:22:22.280538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_44_2668.jpg', '/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_02_2659.jpg', '/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_05_2566.jpg', '/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_09_3847.jpg', '/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_11_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_44_2668.jpg
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_02_2659.jpg
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_05_2566.jpg
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_09_3847.jpg
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_11_2736.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.5756697654724121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:22:42.294216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_44_2668.jpg', '/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_02_2659.jpg', '/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_05_2566.jpg', '/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_09_3847.jpg', '/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_11_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/21/image_16112025_06_21_44_2668.jpg
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_02_2659.jpg
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_05_2566.jpg
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_09_3847.jpg
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_11_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721282","1394721284","1394721281","1394721280","1394721283"],"photo_ids_order":["1394721280","1394721281","1394721282","1394721283","1394721284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f16951d830de2e1e7456c6c11dbae015.jpg","text":"TemporaryFile(/tmp/multipartBody307697967886948810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270623796,"filename":"image_16112025_06_22_05_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b25281da2afb5e543d479e24d4888dc0.jpg","text":"TemporaryFile(/tmp/multipartBody6408129921683037172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270623796,"filename":"image_16112025_06_22_11_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d47c9aa0937bd7c181ad965231b7bea.jpg","text":"TemporaryFile(/tmp/multipartBody6910229079679035908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270623796,"filename":"image_16112025_06_22_02_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c12f903408d940624f073264daa629f.jpg","text":"TemporaryFile(/tmp/multipartBody8727710162173101920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270623796,"filename":"image_16112025_06_21_44_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac3c90252baec6a966a7759c19915e70.jpg","text":"TemporaryFile(/tmp/multipartBody9200294512407874622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270623796,"filename":"image_16112025_06_22_09_3847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721282","file1":"1394721281","file0":"1394721280","file4":"1394721284","file3":"1394721283"},"map_files_photo_id_array":[{"photo_id":"1394721282","filename":"file2"},{"photo_id":"1394721284","filename":"file4"},{"photo_id":"1394721281","filename":"file1"},{"photo_id":"1394721280","filename":"file0"},{"photo_id":"1394721283","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721282":["hashtag1","hashtag2"]},{"1394721284":["hashtag1","hashtag2"]},{"1394721281":["hashtag1","hashtag2"]},{"1394721280":["hashtag1","hashtag2"]},{"1394721283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721282, 1394721284, 1394721281, 1394721280, 1394721283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.602431297302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:23:22.490608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_29_3587.jpg', '/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_08_2657.jpg', '/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_17_2714.jpg', '/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_23_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_29_3587.jpg
/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_08_2657.jpg
/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_17_2714.jpg
/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_23_2728.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.5307557582855225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:23:42.512207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_29_3587.jpg', '/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_08_2657.jpg', '/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_17_2714.jpg', '/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_23_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/22/image_16112025_06_22_29_3587.jpg
/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_08_2657.jpg
/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_17_2714.jpg
/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_23_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721301","1394721304","1394721303","1394721298"],"photo_ids_order":["1394721298","1394721301","1394721303","1394721304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b079d78330aa3261c56a90dd9921bd7c.jpg","text":"TemporaryFile(/tmp/multipartBody2903727610493922990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270683116,"filename":"image_16112025_06_23_08_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/495fd8993531dcc4f59bb0d08e8b4562.jpg","text":"TemporaryFile(/tmp/multipartBody5645525624522830502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270683116,"filename":"image_16112025_06_23_23_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58636f65f43c202e33edaa6c27ee750c.jpg","text":"TemporaryFile(/tmp/multipartBody5859341562004771388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270683116,"filename":"image_16112025_06_23_17_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13229d3352a9f66a2f32a4f3156d6b7f.jpg","text":"TemporaryFile(/tmp/multipartBody3647796285198901184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270683116,"filename":"image_16112025_06_22_29_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721303","file1":"1394721301","file0":"1394721298","file3":"1394721304"},"map_files_photo_id_array":[{"photo_id":"1394721303","filename":"file2"},{"photo_id":"1394721301","filename":"file1"},{"photo_id":"1394721298","filename":"file0"},{"photo_id":"1394721304","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721301":["hashtag1","hashtag2"]},{"1394721304":["hashtag1","hashtag2"]},{"1394721303":["hashtag1","hashtag2"]},{"1394721298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721301, 1394721304, 1394721303, 1394721298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.775955200195312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:24:22.723956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_56_2619.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_05_2674.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_14_2682.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_26_2686.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_29_3769.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_44_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_56_2619.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_05_2674.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_14_2682.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_26_2686.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_29_3769.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_44_2592.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.6561391353607178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:24:42.805140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_56_2619.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_05_2674.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_14_2682.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_26_2686.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_29_3769.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_44_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/23/image_16112025_06_23_56_2619.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_05_2674.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_14_2682.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_26_2686.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_29_3769.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_44_2592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721316","1394721321","1394721318","1394721320","1394721317","1394721319"],"photo_ids_order":["1394721316","1394721317","1394721318","1394721319","1394721320","1394721321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d1619244e68c2f39f473b3ac91da68f.jpg","text":"TemporaryFile(/tmp/multipartBody9186533262167372679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270743524,"filename":"image_16112025_06_23_56_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cb79d07f960c71643b63d3b844a6784.jpg","text":"TemporaryFile(/tmp/multipartBody4706356708244874250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270743524,"filename":"image_16112025_06_24_44_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/799442dd4e8d9129b481a3ad006ea1c0.jpg","text":"TemporaryFile(/tmp/multipartBody532226521359783169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270743524,"filename":"image_16112025_06_24_14_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0df6c504879283ddb7a024aa2b197c7.jpg","text":"TemporaryFile(/tmp/multipartBody44228092802361850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270743524,"filename":"image_16112025_06_24_29_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a42b5b929a5ac0296fa779eb0a6442c.jpg","text":"TemporaryFile(/tmp/multipartBody1782446048533515359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270743524,"filename":"image_16112025_06_24_05_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a80f188f8b746ffefe764aa510071b91.jpg","text":"TemporaryFile(/tmp/multipartBody3869142773210082497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270743524,"filename":"image_16112025_06_24_26_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721318","file1":"1394721317","file0":"1394721316","file4":"1394721320","file5":"1394721321","file3":"1394721319"},"map_files_photo_id_array":[{"photo_id":"1394721321","filename":"file5"},{"photo_id":"1394721318","filename":"file2"},{"photo_id":"1394721320","filename":"file4"},{"photo_id":"1394721317","filename":"file1"},{"photo_id":"1394721316","filename":"file0"},{"photo_id":"1394721319","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721316":["hashtag1","hashtag2"]},{"1394721321":["hashtag1","hashtag2"]},{"1394721318":["hashtag1","hashtag2"]},{"1394721320":["hashtag1","hashtag2"]},{"1394721317":["hashtag1","hashtag2"]},{"1394721319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721316, 1394721321, 1394721318, 1394721320, 1394721317, 1394721319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.702672243118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:25:22.012717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_47_3730.jpg', '/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_56_2690.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_17_2555.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_20_3628.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_23_2819.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_26_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_47_3730.jpg
/home/pi/Desktop/images/16112025/06/24/image_16112025_06_24_56_2690.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_17_2555.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_20_3628.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_23_2819.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_26_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721334","1394721336","1394721330","1394721333","1394721327","1394721332"],"photo_ids_order":["1394721327","1394721330","1394721332","1394721333","1394721334","1394721336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f52c012bc5c5df1479356d11fe555d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1795634784062903890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270782725,"filename":"image_16112025_06_25_23_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a485c3ba8cc9972812fb6072df95c7e2.jpg","text":"TemporaryFile(/tmp/multipartBody594793532557628713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270782725,"filename":"image_16112025_06_25_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/11/16/8c80753b22e4b1e02b4cf4119e0b4afd.jpg","text":"TemporaryFile(/tmp/multipartBody5985218338548684942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270782725,"filename":"image_16112025_06_24_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/11/16/bfea2372eee8d55a6819f744c7bdb742.jpg","text":"TemporaryFile(/tmp/multipartBody7077416584460665443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270782725,"filename":"image_16112025_06_25_20_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfc913ff4352d98a4fe8fb658b4b84d3.jpg","text":"TemporaryFile(/tmp/multipartBody307831520640250067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270782725,"filename":"image_16112025_06_24_47_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4173fce9b1a884f9491fb42130dcb16.jpg","text":"TemporaryFile(/tmp/multipartBody1590526300760242468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270782725,"filename":"image_16112025_06_25_17_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721332","file1":"1394721330","file0":"1394721327","file4":"1394721334","file5":"1394721336","file3":"1394721333"},"map_files_photo_id_array":[{"photo_id":"1394721336","filename":"file5"},{"photo_id":"1394721332","filename":"file2"},{"photo_id":"1394721334","filename":"file4"},{"photo_id":"1394721330","filename":"file1"},{"photo_id":"1394721327","filename":"file0"},{"photo_id":"1394721333","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721334":["hashtag1","hashtag2"]},{"1394721336":["hashtag1","hashtag2"]},{"1394721330":["hashtag1","hashtag2"]},{"1394721333":["hashtag1","hashtag2"]},{"1394721327":["hashtag1","hashtag2"]},{"1394721332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721334, 1394721336, 1394721330, 1394721333, 1394721327, 1394721332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49563646316528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:26:02.645827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_32_2601.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_35_2693.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_37_2726.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_41_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_32_2601.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_35_2693.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_37_2726.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_41_3580.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.6384689807891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:26:22.207001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_32_2601.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_35_2693.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_37_2726.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_41_3580.jpg', '/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_44_2703.jpg', '/home/pi/Desktop/images/16112025/06/26/image_16112025_06_26_20_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_32_2601.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_35_2693.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_37_2726.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_41_3580.jpg
/home/pi/Desktop/images/16112025/06/25/image_16112025_06_25_44_2703.jpg
/home/pi/Desktop/images/16112025/06/26/image_16112025_06_26_20_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721349","1394721350","1394721353","1394721347","1394721344","1394721352"],"photo_ids_order":["1394721344","1394721347","1394721349","1394721350","1394721352","1394721353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eca36f3641bf630133941830fdba8d3.jpg","text":"TemporaryFile(/tmp/multipartBody8308334152373722573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270842957,"filename":"image_16112025_06_25_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/11/16/8fbffef4120c009f683706f5a12b32ad.jpg","text":"TemporaryFile(/tmp/multipartBody5531585351727253464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270842957,"filename":"image_16112025_06_25_41_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c25140ce5f691300d13cbb597482cf66.jpg","text":"TemporaryFile(/tmp/multipartBody3464228734317844761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270842957,"filename":"image_16112025_06_26_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/11/16/680fd4317935315ac536300a9aff972c.jpg","text":"TemporaryFile(/tmp/multipartBody3068350381075068032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270842957,"filename":"image_16112025_06_25_35_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af5cc59c5eff787bcb9e1b7d519b3d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7433564060583555896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270842957,"filename":"image_16112025_06_25_32_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b5455c40656de9e90ec2fe92d37b38b.jpg","text":"TemporaryFile(/tmp/multipartBody7550679132942676662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270842957,"filename":"image_16112025_06_25_44_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721349","file1":"1394721347","file0":"1394721344","file4":"1394721352","file5":"1394721353","file3":"1394721350"},"map_files_photo_id_array":[{"photo_id":"1394721353","filename":"file5"},{"photo_id":"1394721349","filename":"file2"},{"photo_id":"1394721352","filename":"file4"},{"photo_id":"1394721347","filename":"file1"},{"photo_id":"1394721344","filename":"file0"},{"photo_id":"1394721350","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721349":["hashtag1","hashtag2"]},{"1394721350":["hashtag1","hashtag2"]},{"1394721353":["hashtag1","hashtag2"]},{"1394721347":["hashtag1","hashtag2"]},{"1394721344":["hashtag1","hashtag2"]},{"1394721352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721349, 1394721350, 1394721353, 1394721347, 1394721344, 1394721352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.525468587875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:27:03.147287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/26/image_16112025_06_26_29_2734.jpg', '/home/pi/Desktop/images/16112025/06/26/image_16112025_06_26_49_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/26/image_16112025_06_26_29_2734.jpg
/home/pi/Desktop/images/16112025/06/26/image_16112025_06_26_49_2583.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721354","1394721356"],"photo_ids_order":["1394721354","1394721356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76dd49de9b7dc09524f7473af15d3126.jpg","text":"TemporaryFile(/tmp/multipartBody8712998309654112485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270883757,"filename":"image_16112025_06_26_29_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c45c0226aa6f3d30acf9eb1e85e44435.jpg","text":"TemporaryFile(/tmp/multipartBody5757679783903542822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270883757,"filename":"image_16112025_06_26_49_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394721356","file0":"1394721354"},"map_files_photo_id_array":[{"photo_id":"1394721356","filename":"file1"},{"photo_id":"1394721354","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721354":["hashtag1","hashtag2"]},{"1394721356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721354, 1394721356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.302241802215576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:27:22.409454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/26/image_16112025_06_26_53_3818.jpg', '/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_05_2678.jpg', '/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_28_2644.jpg', '/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_38_3522.jpg', '/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_41_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/26/image_16112025_06_26_53_3818.jpg
/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_05_2678.jpg
/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_28_2644.jpg
/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_38_3522.jpg
/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_41_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721366","1394721360","1394721365","1394721362","1394721364"],"photo_ids_order":["1394721360","1394721362","1394721364","1394721365","1394721366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3cb70111087ff76e5b52ec6132b73bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6373441664658741122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270903063,"filename":"image_16112025_06_27_41_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/445643735f6b7c267a2b2d73afd35b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5777418011267467488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270903063,"filename":"image_16112025_06_26_53_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92e518c27efffe11835287fe7ac366a2.jpg","text":"TemporaryFile(/tmp/multipartBody4257317551696072732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270903063,"filename":"image_16112025_06_27_38_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cf68a8b9277246ee743ae486572e058.jpg","text":"TemporaryFile(/tmp/multipartBody8139766653959001801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270903063,"filename":"image_16112025_06_27_05_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e283ad2da5790bc3523ab3d0878833b1.jpg","text":"TemporaryFile(/tmp/multipartBody336231158253002830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270903063,"filename":"image_16112025_06_27_28_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721364","file1":"1394721362","file0":"1394721360","file4":"1394721366","file3":"1394721365"},"map_files_photo_id_array":[{"photo_id":"1394721364","filename":"file2"},{"photo_id":"1394721366","filename":"file4"},{"photo_id":"1394721362","filename":"file1"},{"photo_id":"1394721360","filename":"file0"},{"photo_id":"1394721365","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721366":["hashtag1","hashtag2"]},{"1394721360":["hashtag1","hashtag2"]},{"1394721365":["hashtag1","hashtag2"]},{"1394721362":["hashtag1","hashtag2"]},{"1394721364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721366, 1394721360, 1394721365, 1394721362, 1394721364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.261069774627686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:28:03.161247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:28:22.620215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_43_2680.jpg', '/home/pi/Desktop/images/16112025/06/28/image_16112025_06_28_07_2550.jpg', '/home/pi/Desktop/images/16112025/06/28/image_16112025_06_28_10_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/27/image_16112025_06_27_43_2680.jpg
/home/pi/Desktop/images/16112025/06/28/image_16112025_06_28_07_2550.jpg
/home/pi/Desktop/images/16112025/06/28/image_16112025_06_28_10_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721377","1394721380","1394721374"],"photo_ids_order":["1394721374","1394721377","1394721380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db3728e71791a44e10fa8d02e0b43542.jpg","text":"TemporaryFile(/tmp/multipartBody2645362584384189025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270963250,"filename":"image_16112025_06_28_07_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ce1fb22d5f24b43235564df0bd6ca31.jpg","text":"TemporaryFile(/tmp/multipartBody5504551274090547607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270963250,"filename":"image_16112025_06_28_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/11/16/605db0ac442c2822235065308a5d2399.jpg","text":"TemporaryFile(/tmp/multipartBody76036939420028894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763270963250,"filename":"image_16112025_06_27_43_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721380","file1":"1394721377","file0":"1394721374"},"map_files_photo_id_array":[{"photo_id":"1394721380","filename":"file2"},{"photo_id":"1394721377","filename":"file1"},{"photo_id":"1394721374","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721377":["hashtag1","hashtag2"]},{"1394721380":["hashtag1","hashtag2"]},{"1394721374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721377, 1394721380, 1394721374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.803213119506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:29:03.019585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:29:21.862639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/28/image_16112025_06_28_23_2678.jpg', '/home/pi/Desktop/images/16112025/06/29/image_16112025_06_29_10_2560.jpg', '/home/pi/Desktop/images/16112025/06/29/image_16112025_06_29_13_2746.jpg', '/home/pi/Desktop/images/16112025/06/29/image_16112025_06_29_26_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/28/image_16112025_06_28_23_2678.jpg
/home/pi/Desktop/images/16112025/06/29/image_16112025_06_29_10_2560.jpg
/home/pi/Desktop/images/16112025/06/29/image_16112025_06_29_13_2746.jpg
/home/pi/Desktop/images/16112025/06/29/image_16112025_06_29_26_3716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721393","1394721395","1394721389","1394721385"],"photo_ids_order":["1394721385","1394721389","1394721393","1394721395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/497ae4ce9643abe0d05547638340384d.jpg","text":"TemporaryFile(/tmp/multipartBody526263741691872338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271022470,"filename":"image_16112025_06_29_13_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8deab7fcb9305c7b1ca8a559d483f4cc.jpg","text":"TemporaryFile(/tmp/multipartBody9012839489837553400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271022470,"filename":"image_16112025_06_29_26_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a337272b4bac3038419e6aa9b15ac0f9.jpg","text":"TemporaryFile(/tmp/multipartBody4343689955477242023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271022470,"filename":"image_16112025_06_29_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/11/16/f82b1e2a7b5175bff3208617a409db01.jpg","text":"TemporaryFile(/tmp/multipartBody7316614958467277228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271022470,"filename":"image_16112025_06_28_23_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721393","file1":"1394721389","file0":"1394721385","file3":"1394721395"},"map_files_photo_id_array":[{"photo_id":"1394721393","filename":"file2"},{"photo_id":"1394721389","filename":"file1"},{"photo_id":"1394721385","filename":"file0"},{"photo_id":"1394721395","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721393":["hashtag1","hashtag2"]},{"1394721395":["hashtag1","hashtag2"]},{"1394721389":["hashtag1","hashtag2"]},{"1394721385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721393, 1394721395, 1394721389, 1394721385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.729422569274902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:30:02.613452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:30:22.160784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/29/image_16112025_06_29_40_2810.jpg', '/home/pi/Desktop/images/16112025/06/30/image_16112025_06_30_50_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/29/image_16112025_06_29_40_2810.jpg
/home/pi/Desktop/images/16112025/06/30/image_16112025_06_30_50_3553.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721405","1394721408"],"photo_ids_order":["1394721405","1394721408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f2bf8e8d747cba36bf37c1b0b985b7b.jpg","text":"TemporaryFile(/tmp/multipartBody6226883334521627031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271082689,"filename":"image_16112025_06_29_40_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/619455cf6dc9444a7f576346d63c46ff.jpg","text":"TemporaryFile(/tmp/multipartBody4615089929903675198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271082689,"filename":"image_16112025_06_30_50_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394721408","file0":"1394721405"},"map_files_photo_id_array":[{"photo_id":"1394721408","filename":"file1"},{"photo_id":"1394721405","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721405":["hashtag1","hashtag2"]},{"1394721408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721405, 1394721408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.480785608291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:30:42.116809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:31:03.214310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:31:22.350170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_28_2689.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_31_2779.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_34_2655.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_37_3674.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_40_2618.jpg', '/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_43_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_28_2689.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_31_2779.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_34_2655.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_37_3674.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_40_2618.jpg
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_43_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721421","1394721420","1394721414","1394721422","1394721424","1394721418"],"photo_ids_order":["1394721414","1394721418","1394721420","1394721421","1394721422","1394721424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9aec63c7b130f08f4718f91bc527997c.jpg","text":"TemporaryFile(/tmp/multipartBody1616975005666367658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271143217,"filename":"image_06112025_14_08_37_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4bb0d13974db2d0d069ce002db2633f.jpg","text":"TemporaryFile(/tmp/multipartBody5560049781394064849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271143217,"filename":"image_06112025_14_08_34_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a52842716d08835cf949dff5257fc940.jpg","text":"TemporaryFile(/tmp/multipartBody4764888515941245086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271143217,"filename":"image_06112025_14_08_28_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06fdd45f5e744b2e136f144b3eb5cee4.jpg","text":"TemporaryFile(/tmp/multipartBody5035404174497294453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271143217,"filename":"image_06112025_14_08_40_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a045d54a2d1b75a00c576cb212a7853c.jpg","text":"TemporaryFile(/tmp/multipartBody1772742711431875959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271143217,"filename":"image_06112025_14_08_43_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3182e14f6d6eb2b2f3cd058ff35b668b.jpg","text":"TemporaryFile(/tmp/multipartBody1602098839713573704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271143217,"filename":"image_06112025_14_08_31_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721420","file1":"1394721418","file0":"1394721414","file4":"1394721422","file5":"1394721424","file3":"1394721421"},"map_files_photo_id_array":[{"photo_id":"1394721424","filename":"file5"},{"photo_id":"1394721420","filename":"file2"},{"photo_id":"1394721422","filename":"file4"},{"photo_id":"1394721418","filename":"file1"},{"photo_id":"1394721414","filename":"file0"},{"photo_id":"1394721421","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394721421":["hashtag1","hashtag2"]},{"1394721420":["hashtag1","hashtag2"]},{"1394721414":["hashtag1","hashtag2"]},{"1394721422":["hashtag1","hashtag2"]},{"1394721424":["hashtag1","hashtag2"]},{"1394721418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394721421, 1394721420, 1394721414, 1394721422, 1394721424, 1394721418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1754035949707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:32:03.040079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:32:22.583111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/30/image_16112025_06_30_58_2674.jpg', '/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_04_2599.jpg', '/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_07_2603.jpg', '/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_13_2583.jpg', '/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_17_3571.jpg', '/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_43_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/30/image_16112025_06_30_58_2674.jpg
/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_04_2599.jpg
/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_07_2603.jpg
/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_13_2583.jpg
/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_17_3571.jpg
/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_43_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721429","1394721432","1394721434","1394721436","1394721439","1394721430"],"photo_ids_order":["1394721429","1394721430","1394721432","1394721434","1394721436","1394721439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71f9f741402cbc1b1c0709e4d057801d.jpg","text":"TemporaryFile(/tmp/multipartBody8250481059980658628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271203299,"filename":"image_16112025_06_30_58_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ca68e641f632c549c947732d1948ea8.jpg","text":"TemporaryFile(/tmp/multipartBody9140833796305299798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271203299,"filename":"image_16112025_06_32_07_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3bad1044fbcf3493b574778d06d983e.jpg","text":"TemporaryFile(/tmp/multipartBody7349643331764492220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271203299,"filename":"image_16112025_06_32_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/11/16/6001de59ed2df4abe26d61a75bf2b19f.jpg","text":"TemporaryFile(/tmp/multipartBody8164954558685777084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271203299,"filename":"image_16112025_06_32_17_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73e9f7c53f9ec4288dd9aa20a2ccfa15.jpg","text":"TemporaryFile(/tmp/multipartBody598889992187008209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271203299,"filename":"image_16112025_06_32_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/11/16/d563e545ded3126fcf32e8d29f0e2236.jpg","text":"TemporaryFile(/tmp/multipartBody20319157125669859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271203299,"filename":"image_16112025_06_32_04_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721432","file1":"1394721430","file0":"1394721429","file4":"1394721436","file5":"1394721439","file3":"1394721434"},"map_files_photo_id_array":[{"photo_id":"1394721439","filename":"file5"},{"photo_id":"1394721432","filename":"file2"},{"photo_id":"1394721436","filename":"file4"},{"photo_id":"1394721430","filename":"file1"},{"photo_id":"1394721429","filename":"file0"},{"photo_id":"1394721434","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721429":["hashtag1","hashtag2"]},{"1394721432":["hashtag1","hashtag2"]},{"1394721434":["hashtag1","hashtag2"]},{"1394721436":["hashtag1","hashtag2"]},{"1394721439":["hashtag1","hashtag2"]},{"1394721430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721429, 1394721432, 1394721434, 1394721436, 1394721439, 1394721430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3928906917572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:33:03.527100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:33:22.637236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_58_2717.jpg', '/home/pi/Desktop/images/16112025/06/33/image_16112025_06_33_04_2644.jpg', '/home/pi/Desktop/images/16112025/06/33/image_16112025_06_33_34_2704.jpg', '/home/pi/Desktop/images/16112025/06/33/image_16112025_06_33_43_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/32/image_16112025_06_32_58_2717.jpg
/home/pi/Desktop/images/16112025/06/33/image_16112025_06_33_04_2644.jpg
/home/pi/Desktop/images/16112025/06/33/image_16112025_06_33_34_2704.jpg
/home/pi/Desktop/images/16112025/06/33/image_16112025_06_33_43_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721453","1394721447","1394721450","1394721445"],"photo_ids_order":["1394721445","1394721447","1394721450","1394721453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1d8e7f71530177dc8c49a3e2b173b78.jpg","text":"TemporaryFile(/tmp/multipartBody6094028998570704117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271263250,"filename":"image_16112025_06_33_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/11/16/86abf0b692c5fc850ec7a0fd4b5dc231.jpg","text":"TemporaryFile(/tmp/multipartBody9015207944453833798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271263250,"filename":"image_16112025_06_33_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/11/16/a160241cf3f69d63484803fa5e759d57.jpg","text":"TemporaryFile(/tmp/multipartBody5440989912221446912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271263250,"filename":"image_16112025_06_33_34_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f69ff4983a1862c9c83406c171fa5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5267933956054885810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271263250,"filename":"image_16112025_06_32_58_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721450","file1":"1394721447","file0":"1394721445","file3":"1394721453"},"map_files_photo_id_array":[{"photo_id":"1394721450","filename":"file2"},{"photo_id":"1394721447","filename":"file1"},{"photo_id":"1394721445","filename":"file0"},{"photo_id":"1394721453","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721453":["hashtag1","hashtag2"]},{"1394721447":["hashtag1","hashtag2"]},{"1394721450":["hashtag1","hashtag2"]},{"1394721445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721453, 1394721447, 1394721450, 1394721445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.141367435455322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:34:02.720493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:34:21.899130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_49_5953.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_09_20634.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_11_1605.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_14_1640.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_16_1601.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_17_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/08/image_06112025_14_08_49_5953.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_09_20634.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_11_1605.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_14_1640.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_16_1601.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_17_1672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721471","1394721468","1394721470","1394721473","1394721467","1394721469"],"photo_ids_order":["1394721467","1394721468","1394721469","1394721470","1394721471","1394721473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ae85c87498f29aa3ded5459026bab79.jpg","text":"TemporaryFile(/tmp/multipartBody6378640595847458233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271322775,"filename":"image_06112025_14_09_16_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54006283e73356438bdb66e0622cc48b.jpg","text":"TemporaryFile(/tmp/multipartBody609708092173610698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271322775,"filename":"image_06112025_14_09_09_20634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff583ad71f7c3d87a6a210372eb7a6df.jpg","text":"TemporaryFile(/tmp/multipartBody8990705048557503090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271322775,"filename":"image_06112025_14_09_14_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb21693c673f5e023f7f21b343e34e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8249508998023125613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271322775,"filename":"image_06112025_14_09_17_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0393b859240e38196f65cc8b2360fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2861957152274136247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271322775,"filename":"image_06112025_14_08_49_5953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19bb91272e5cc2ffd68919e5beb952a6.jpg","text":"TemporaryFile(/tmp/multipartBody294620408037087314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271322775,"filename":"image_06112025_14_09_11_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721469","file1":"1394721468","file0":"1394721467","file4":"1394721471","file5":"1394721473","file3":"1394721470"},"map_files_photo_id_array":[{"photo_id":"1394721473","filename":"file5"},{"photo_id":"1394721469","filename":"file2"},{"photo_id":"1394721471","filename":"file4"},{"photo_id":"1394721468","filename":"file1"},{"photo_id":"1394721467","filename":"file0"},{"photo_id":"1394721470","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394721471":["hashtag1","hashtag2"]},{"1394721468":["hashtag1","hashtag2"]},{"1394721470":["hashtag1","hashtag2"]},{"1394721473":["hashtag1","hashtag2"]},{"1394721467":["hashtag1","hashtag2"]},{"1394721469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394721471, 1394721468, 1394721470, 1394721473, 1394721467, 1394721469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78259825706482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:35:03.013097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:35:22.147616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_19_1676.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_21_1518.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_22_1761.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_25_2639.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_27_1670.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_28_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_19_1676.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_21_1518.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_22_1761.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_25_2639.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_27_1670.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_28_1667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721480","1394721482","1394721476","1394721487","1394721484","1394721478"],"photo_ids_order":["1394721476","1394721478","1394721480","1394721482","1394721484","1394721487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3164f99a7a5286913d27e719b0cff9a8.jpg","text":"TemporaryFile(/tmp/multipartBody5098258708701651428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271383007,"filename":"image_06112025_14_09_22_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/670e26e94bbd605bb517656f3f6cc1fa.jpg","text":"TemporaryFile(/tmp/multipartBody321151261253895418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271383007,"filename":"image_06112025_14_09_25_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60e886329bd88b1812881256162965fe.jpg","text":"TemporaryFile(/tmp/multipartBody8089226858440210797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271383007,"filename":"image_06112025_14_09_19_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/641b943bd917c730fcf3e6a427866140.jpg","text":"TemporaryFile(/tmp/multipartBody361606076592317593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271383007,"filename":"image_06112025_14_09_28_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/612c661466c9abaff46a05852449f661.jpg","text":"TemporaryFile(/tmp/multipartBody8776603738322025290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271383007,"filename":"image_06112025_14_09_27_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47ceb48fca71b9e2ae79cee6c6bf859c.jpg","text":"TemporaryFile(/tmp/multipartBody3168669651394047388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271383007,"filename":"image_06112025_14_09_21_1518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721480","file1":"1394721478","file0":"1394721476","file4":"1394721484","file5":"1394721487","file3":"1394721482"},"map_files_photo_id_array":[{"photo_id":"1394721487","filename":"file5"},{"photo_id":"1394721480","filename":"file2"},{"photo_id":"1394721484","filename":"file4"},{"photo_id":"1394721478","filename":"file1"},{"photo_id":"1394721476","filename":"file0"},{"photo_id":"1394721482","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394721480":["hashtag1","hashtag2"]},{"1394721482":["hashtag1","hashtag2"]},{"1394721476":["hashtag1","hashtag2"]},{"1394721487":["hashtag1","hashtag2"]},{"1394721484":["hashtag1","hashtag2"]},{"1394721478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394721480, 1394721482, 1394721476, 1394721487, 1394721484, 1394721478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9794282913208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:36:02.830881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:36:22.397306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/33/image_16112025_06_33_55_2751.jpg', '/home/pi/Desktop/images/16112025/06/36/image_16112025_06_36_54_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/33/image_16112025_06_33_55_2751.jpg
/home/pi/Desktop/images/16112025/06/36/image_16112025_06_36_54_2677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721492","1394721494"],"photo_ids_order":["1394721492","1394721494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9929de5930e79307679b631017bc3956.jpg","text":"TemporaryFile(/tmp/multipartBody1842881640354765561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271442914,"filename":"image_16112025_06_33_55_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87a039e81a07ddc8b882338bc284f1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7974332115751623242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271442914,"filename":"image_16112025_06_36_54_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394721494","file0":"1394721492"},"map_files_photo_id_array":[{"photo_id":"1394721494","filename":"file1"},{"photo_id":"1394721492","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721492":["hashtag1","hashtag2"]},{"1394721494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721492, 1394721494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.173759937286377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:36:42.390114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:37:03.276651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:37:22.611649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_01_2604.jpg', '/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_21_2524.jpg', '/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_25_3570.jpg', '/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_40_3650.jpg', '/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_55_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_01_2604.jpg
/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_21_2524.jpg
/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_25_3570.jpg
/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_40_3650.jpg
/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_55_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721585","1394721579","1394721581","1394721586","1394721583"],"photo_ids_order":["1394721579","1394721581","1394721583","1394721585","1394721586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ebd8e765f55c08d909979ade5301764.jpg","text":"TemporaryFile(/tmp/multipartBody2093060820413086184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271503272,"filename":"image_16112025_06_37_40_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ab932db33d7787c15112c1b96357cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5423794248511889869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271503272,"filename":"image_16112025_06_37_01_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ec1896b42ea489638fa9fd8d5457264.jpg","text":"TemporaryFile(/tmp/multipartBody4137302826325953489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271503272,"filename":"image_16112025_06_37_21_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ba8a7493b9f972650094bd5ceb13edb.jpg","text":"TemporaryFile(/tmp/multipartBody2143988391759923744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271503272,"filename":"image_16112025_06_37_55_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c45e63fbc98fd57819e709c109f2b43.jpg","text":"TemporaryFile(/tmp/multipartBody7522718748446469075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271503272,"filename":"image_16112025_06_37_25_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721583","file1":"1394721581","file0":"1394721579","file4":"1394721586","file3":"1394721585"},"map_files_photo_id_array":[{"photo_id":"1394721583","filename":"file2"},{"photo_id":"1394721586","filename":"file4"},{"photo_id":"1394721581","filename":"file1"},{"photo_id":"1394721579","filename":"file0"},{"photo_id":"1394721585","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721585":["hashtag1","hashtag2"]},{"1394721579":["hashtag1","hashtag2"]},{"1394721581":["hashtag1","hashtag2"]},{"1394721586":["hashtag1","hashtag2"]},{"1394721583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721585, 1394721579, 1394721581, 1394721586, 1394721583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.333258390426636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:38:02.292784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:38:21.870878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_57_2761.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_03_3064.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_10_3603.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_16_3504.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_30_2771.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_34_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_57_2761.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_03_3064.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_10_3603.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_16_3504.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_30_2771.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_34_3576.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.6485753059387207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:38:41.794148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_57_2761.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_03_3064.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_10_3603.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_16_3504.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_30_2771.jpg', '/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_34_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/37/image_16112025_06_37_57_2761.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_03_3064.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_10_3603.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_16_3504.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_30_2771.jpg
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_34_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721604","1394721601","1394721600","1394721603","1394721599","1394721602"],"photo_ids_order":["1394721599","1394721600","1394721601","1394721602","1394721603","1394721604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2062a34fa24acf23e4d06952e60f0eee.jpg","text":"TemporaryFile(/tmp/multipartBody5854367493438130968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271582486,"filename":"image_16112025_06_38_34_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcc0b2714229a1f7e6fd5f69343dbe09.jpg","text":"TemporaryFile(/tmp/multipartBody4035783636752713793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271582486,"filename":"image_16112025_06_38_10_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c481fe586492189a57fa4baa10a4750.jpg","text":"TemporaryFile(/tmp/multipartBody8963395722145874187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271582486,"filename":"image_16112025_06_38_03_3064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eabed8cd1308eb30688407a19e7559f6.jpg","text":"TemporaryFile(/tmp/multipartBody9140354311962396439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271582486,"filename":"image_16112025_06_38_30_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f3cc13e835297d1b12cc4821cbe8a53.jpg","text":"TemporaryFile(/tmp/multipartBody3613904662799290082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271582486,"filename":"image_16112025_06_37_57_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e673b6b92a2c86982f70e0302c3798f.jpg","text":"TemporaryFile(/tmp/multipartBody4651567783783932986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271582486,"filename":"image_16112025_06_38_16_3504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721601","file1":"1394721600","file0":"1394721599","file4":"1394721603","file5":"1394721604","file3":"1394721602"},"map_files_photo_id_array":[{"photo_id":"1394721604","filename":"file5"},{"photo_id":"1394721601","filename":"file2"},{"photo_id":"1394721603","filename":"file4"},{"photo_id":"1394721600","filename":"file1"},{"photo_id":"1394721599","filename":"file0"},{"photo_id":"1394721602","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721604":["hashtag1","hashtag2"]},{"1394721601":["hashtag1","hashtag2"]},{"1394721600":["hashtag1","hashtag2"]},{"1394721603":["hashtag1","hashtag2"]},{"1394721599":["hashtag1","hashtag2"]},{"1394721602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721604, 1394721601, 1394721600, 1394721603, 1394721599, 1394721602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62235760688782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:39:22.124477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_37_2776.jpg', '/home/pi/Desktop/images/16112025/06/39/image_16112025_06_39_13_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/38/image_16112025_06_38_37_2776.jpg
/home/pi/Desktop/images/16112025/06/39/image_16112025_06_39_13_2786.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721607","1394721609"],"photo_ids_order":["1394721607","1394721609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36bd8b50983ccc66ba12e680925730b2.jpg","text":"TemporaryFile(/tmp/multipartBody6314352224535978485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271622652,"filename":"image_16112025_06_38_37_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b2aecacfd85d479e9992114d3a7a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6030796960262584221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271622652,"filename":"image_16112025_06_39_13_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394721609","file0":"1394721607"},"map_files_photo_id_array":[{"photo_id":"1394721609","filename":"file1"},{"photo_id":"1394721607","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721607":["hashtag1","hashtag2"]},{"1394721609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721607, 1394721609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.934278964996338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:39:42.100051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:40:02.829143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:40:22.413011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/39/image_16112025_06_39_58_2785.jpg', '/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_07_3748.jpg', '/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_31_2850.jpg', '/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_36_2851.jpg', '/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_42_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/39/image_16112025_06_39_58_2785.jpg
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_07_3748.jpg
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_31_2850.jpg
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_36_2851.jpg
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_42_2651.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.5767819881439209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:40:42.377980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/39/image_16112025_06_39_58_2785.jpg', '/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_07_3748.jpg', '/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_31_2850.jpg', '/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_36_2851.jpg', '/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_42_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/39/image_16112025_06_39_58_2785.jpg
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_07_3748.jpg
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_31_2850.jpg
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_36_2851.jpg
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_42_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721631","1394721633","1394721636","1394721635","1394721634"],"photo_ids_order":["1394721631","1394721633","1394721634","1394721635","1394721636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c00adc91260e65403a295c97bb432ec2.jpg","text":"TemporaryFile(/tmp/multipartBody5525952321140332660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271703078,"filename":"image_16112025_06_39_58_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa8d7fbe3adcbe9934bd178ca0193be5.jpg","text":"TemporaryFile(/tmp/multipartBody4803354961323563921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271703078,"filename":"image_16112025_06_40_07_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5530a49431319cf3a4dd10ae75eba772.jpg","text":"TemporaryFile(/tmp/multipartBody116833298008048611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271703078,"filename":"image_16112025_06_40_42_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd574dfe50c585ea4ef3f99f066f891d.jpg","text":"TemporaryFile(/tmp/multipartBody8032399488753735197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271703078,"filename":"image_16112025_06_40_36_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e519476e8a6253c9ca989256bd3ac19.jpg","text":"TemporaryFile(/tmp/multipartBody5033709228097635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271703078,"filename":"image_16112025_06_40_31_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721634","file1":"1394721633","file0":"1394721631","file4":"1394721636","file3":"1394721635"},"map_files_photo_id_array":[{"photo_id":"1394721634","filename":"file2"},{"photo_id":"1394721636","filename":"file4"},{"photo_id":"1394721633","filename":"file1"},{"photo_id":"1394721631","filename":"file0"},{"photo_id":"1394721635","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721631":["hashtag1","hashtag2"]},{"1394721633":["hashtag1","hashtag2"]},{"1394721636":["hashtag1","hashtag2"]},{"1394721635":["hashtag1","hashtag2"]},{"1394721634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721631, 1394721633, 1394721636, 1394721635, 1394721634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.35318875312805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:41:22.572484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_52_3757.jpg', '/home/pi/Desktop/images/16112025/06/41/image_16112025_06_41_15_2698.jpg', '/home/pi/Desktop/images/16112025/06/41/image_16112025_06_41_24_3617.jpg', '/home/pi/Desktop/images/16112025/06/41/image_16112025_06_41_27_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/40/image_16112025_06_40_52_3757.jpg
/home/pi/Desktop/images/16112025/06/41/image_16112025_06_41_15_2698.jpg
/home/pi/Desktop/images/16112025/06/41/image_16112025_06_41_24_3617.jpg
/home/pi/Desktop/images/16112025/06/41/image_16112025_06_41_27_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721646","1394721642","1394721644","1394721640"],"photo_ids_order":["1394721640","1394721642","1394721644","1394721646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/634ebd000e6ff1fcd6439e162fe80707.jpg","text":"TemporaryFile(/tmp/multipartBody2694453264392608283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271743194,"filename":"image_16112025_06_41_27_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4298f647189ca521e99bc740e7a67302.jpg","text":"TemporaryFile(/tmp/multipartBody5451732012348995534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271743194,"filename":"image_16112025_06_41_15_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d07992609caa638faa107b06c93f32ce.jpg","text":"TemporaryFile(/tmp/multipartBody6955159719204009428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271743194,"filename":"image_16112025_06_41_24_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/467c12f171aca60a468d29ecec2a915a.jpg","text":"TemporaryFile(/tmp/multipartBody3590641910191104142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271743194,"filename":"image_16112025_06_40_52_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721644","file1":"1394721642","file0":"1394721640","file3":"1394721646"},"map_files_photo_id_array":[{"photo_id":"1394721644","filename":"file2"},{"photo_id":"1394721642","filename":"file1"},{"photo_id":"1394721640","filename":"file0"},{"photo_id":"1394721646","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721646":["hashtag1","hashtag2"]},{"1394721642":["hashtag1","hashtag2"]},{"1394721644":["hashtag1","hashtag2"]},{"1394721640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721646, 1394721642, 1394721644, 1394721640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.93090844154358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:42:02.200822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:42:21.772870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/41/image_16112025_06_42_00_2692.jpg', '/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_04_3668.jpg', '/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_30_2655.jpg', '/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_33_3717.jpg', '/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_39_2681.jpg', '/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_45_3778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/41/image_16112025_06_42_00_2692.jpg
/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_04_3668.jpg
/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_30_2655.jpg
/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_33_3717.jpg
/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_39_2681.jpg
/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_45_3778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721663","1394721666","1394721660","1394721662","1394721655","1394721664"],"photo_ids_order":["1394721655","1394721660","1394721662","1394721663","1394721664","1394721666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9816878b62a99f64d0ad3d696a372af6.jpg","text":"TemporaryFile(/tmp/multipartBody2032139644863849753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271802476,"filename":"image_16112025_06_42_33_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61098745d54acbb065010bc5d6763510.jpg","text":"TemporaryFile(/tmp/multipartBody4523937367254484926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271802476,"filename":"image_16112025_06_42_45_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/704d3db3bbb24ff2f519ca7b266eb9d4.jpg","text":"TemporaryFile(/tmp/multipartBody5340785867874977701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271802476,"filename":"image_16112025_06_42_04_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/002be8f06346de438cad8c914aeda529.jpg","text":"TemporaryFile(/tmp/multipartBody4504216044786960584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271802476,"filename":"image_16112025_06_42_30_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68c292b97d3f3f1956c74b34f82f84df.jpg","text":"TemporaryFile(/tmp/multipartBody994695315883448044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271802476,"filename":"image_16112025_06_42_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/11/16/18779b9fb665762405a78b0439c45922.jpg","text":"TemporaryFile(/tmp/multipartBody4332478909227540338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271802476,"filename":"image_16112025_06_42_39_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721662","file1":"1394721660","file0":"1394721655","file4":"1394721664","file5":"1394721666","file3":"1394721663"},"map_files_photo_id_array":[{"photo_id":"1394721666","filename":"file5"},{"photo_id":"1394721662","filename":"file2"},{"photo_id":"1394721664","filename":"file4"},{"photo_id":"1394721660","filename":"file1"},{"photo_id":"1394721655","filename":"file0"},{"photo_id":"1394721663","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721663":["hashtag1","hashtag2"]},{"1394721666":["hashtag1","hashtag2"]},{"1394721660":["hashtag1","hashtag2"]},{"1394721662":["hashtag1","hashtag2"]},{"1394721655":["hashtag1","hashtag2"]},{"1394721664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721663, 1394721666, 1394721660, 1394721662, 1394721655, 1394721664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.134424686431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:43:02.521837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:43:21.911211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_48_2585.jpg', '/home/pi/Desktop/images/16112025/06/43/image_16112025_06_43_48_2827.jpg', '/home/pi/Desktop/images/16112025/06/43/image_16112025_06_43_54_3722.jpg', '/home/pi/Desktop/images/16112025/06/43/image_16112025_06_43_57_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/42/image_16112025_06_42_48_2585.jpg
/home/pi/Desktop/images/16112025/06/43/image_16112025_06_43_48_2827.jpg
/home/pi/Desktop/images/16112025/06/43/image_16112025_06_43_54_3722.jpg
/home/pi/Desktop/images/16112025/06/43/image_16112025_06_43_57_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721674","1394721683","1394721685","1394721679"],"photo_ids_order":["1394721674","1394721679","1394721683","1394721685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2592a3e2276c1b2953cade2766e8f91.jpg","text":"TemporaryFile(/tmp/multipartBody2406470311767446088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271862520,"filename":"image_16112025_06_42_48_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cebc3d85f59bd276bcd52345b85b259.jpg","text":"TemporaryFile(/tmp/multipartBody6090609241896780168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271862520,"filename":"image_16112025_06_43_54_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e45c6ff188daa42debd39e0cb0bbfb5.jpg","text":"TemporaryFile(/tmp/multipartBody7140064373121250418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271862520,"filename":"image_16112025_06_43_57_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4035a0061348e4ceffb14b1059cd7def.jpg","text":"TemporaryFile(/tmp/multipartBody213294415548095717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271862520,"filename":"image_16112025_06_43_48_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721683","file1":"1394721679","file0":"1394721674","file3":"1394721685"},"map_files_photo_id_array":[{"photo_id":"1394721683","filename":"file2"},{"photo_id":"1394721679","filename":"file1"},{"photo_id":"1394721674","filename":"file0"},{"photo_id":"1394721685","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721674":["hashtag1","hashtag2"]},{"1394721683":["hashtag1","hashtag2"]},{"1394721685":["hashtag1","hashtag2"]},{"1394721679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721674, 1394721683, 1394721685, 1394721679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.902241706848145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:44:02.793496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:44:22.111190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/43/image_16112025_06_44_00_2701.jpg', '/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_03_2754.jpg', '/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_06_3716.jpg', '/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_09_2622.jpg', '/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_12_2858.jpg', '/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_15_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/43/image_16112025_06_44_00_2701.jpg
/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_03_2754.jpg
/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_06_3716.jpg
/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_09_2622.jpg
/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_12_2858.jpg
/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_15_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721703","1394721693","1394721699","1394721695","1394721698","1394721701"],"photo_ids_order":["1394721693","1394721695","1394721698","1394721699","1394721701","1394721703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d24ea89379a0f76d45bf308a633b6f88.jpg","text":"TemporaryFile(/tmp/multipartBody3610070243048353253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271922809,"filename":"image_16112025_06_44_15_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7598e6140a314e9877635943d0f88d07.jpg","text":"TemporaryFile(/tmp/multipartBody2681841697425352243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271922809,"filename":"image_16112025_06_44_00_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbd9a467994d8874ef81ad52a5e1ceea.jpg","text":"TemporaryFile(/tmp/multipartBody1625656653738049284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271922809,"filename":"image_16112025_06_44_09_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25500260f20d5559b41aa8e05bb1816b.jpg","text":"TemporaryFile(/tmp/multipartBody8954828669646159440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271922809,"filename":"image_16112025_06_44_03_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4e2c749af65e11f760fb7a31726a706.jpg","text":"TemporaryFile(/tmp/multipartBody4832231424189446547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271922809,"filename":"image_16112025_06_44_06_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40e4411fc95662b836dc58493d38621f.jpg","text":"TemporaryFile(/tmp/multipartBody7121904042233848465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271922809,"filename":"image_16112025_06_44_12_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721698","file1":"1394721695","file0":"1394721693","file4":"1394721701","file5":"1394721703","file3":"1394721699"},"map_files_photo_id_array":[{"photo_id":"1394721703","filename":"file5"},{"photo_id":"1394721698","filename":"file2"},{"photo_id":"1394721701","filename":"file4"},{"photo_id":"1394721695","filename":"file1"},{"photo_id":"1394721693","filename":"file0"},{"photo_id":"1394721699","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721703":["hashtag1","hashtag2"]},{"1394721693":["hashtag1","hashtag2"]},{"1394721699":["hashtag1","hashtag2"]},{"1394721695":["hashtag1","hashtag2"]},{"1394721698":["hashtag1","hashtag2"]},{"1394721701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721703, 1394721693, 1394721699, 1394721695, 1394721698, 1394721701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97721815109253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:45:03.108326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_30_2592.jpg', '/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_36_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_30_2592.jpg
/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_36_3716.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721708","1394721709"],"photo_ids_order":["1394721708","1394721709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/449bac6436ec1cd9389d34ede2ed430a.jpg","text":"TemporaryFile(/tmp/multipartBody4825972226032334320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271963712,"filename":"image_16112025_06_44_30_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/248521fb1d5b4d9f801c57f204b7f3ff.jpg","text":"TemporaryFile(/tmp/multipartBody270434665288086391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271963712,"filename":"image_16112025_06_44_36_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394721709","file0":"1394721708"},"map_files_photo_id_array":[{"photo_id":"1394721709","filename":"file1"},{"photo_id":"1394721708","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721708":["hashtag1","hashtag2"]},{"1394721709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721708, 1394721709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.290340423583984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:45:22.395346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_57_3666.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_03_2800.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_09_2813.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_18_2778.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_24_2566.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_26_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/44/image_16112025_06_44_57_3666.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_03_2800.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_09_2813.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_18_2778.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_24_2566.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_26_2502.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721723","1394721717","1394721719","1394721713","1394721721","1394721715"],"photo_ids_order":["1394721713","1394721715","1394721717","1394721719","1394721721","1394721723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/504f8e58487ac337abee58144f656f22.jpg","text":"TemporaryFile(/tmp/multipartBody4529513276400499114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271983106,"filename":"image_16112025_06_45_26_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27996de2a38d251cefd0486cfe137933.jpg","text":"TemporaryFile(/tmp/multipartBody6052321536717263811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271983106,"filename":"image_16112025_06_45_09_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cb06cf54ef5449b68f5a744e2d3e193.jpg","text":"TemporaryFile(/tmp/multipartBody7005008924519064234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271983106,"filename":"image_16112025_06_45_18_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c07f7674cc65fbb028b5fc7abb20ed70.jpg","text":"TemporaryFile(/tmp/multipartBody3162030115829479802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271983106,"filename":"image_16112025_06_44_57_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3304e6df9ab5b9c3e67dd83956d4683.jpg","text":"TemporaryFile(/tmp/multipartBody917114902322239489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271983106,"filename":"image_16112025_06_45_24_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f966c2fb99f59bb7fa8ea184baebcbd.jpg","text":"TemporaryFile(/tmp/multipartBody2392089760756158760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763271983106,"filename":"image_16112025_06_45_03_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721717","file1":"1394721715","file0":"1394721713","file4":"1394721721","file5":"1394721723","file3":"1394721719"},"map_files_photo_id_array":[{"photo_id":"1394721723","filename":"file5"},{"photo_id":"1394721717","filename":"file2"},{"photo_id":"1394721721","filename":"file4"},{"photo_id":"1394721715","filename":"file1"},{"photo_id":"1394721713","filename":"file0"},{"photo_id":"1394721719","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721723":["hashtag1","hashtag2"]},{"1394721717":["hashtag1","hashtag2"]},{"1394721719":["hashtag1","hashtag2"]},{"1394721713":["hashtag1","hashtag2"]},{"1394721721":["hashtag1","hashtag2"]},{"1394721715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721723, 1394721717, 1394721719, 1394721713, 1394721721, 1394721715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66360688209534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:46:03.271718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_30_3640.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_36_3687.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_45_3662.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_48_2584.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_51_2824.jpg', '/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_54_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_30_3640.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_36_3687.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_45_3662.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_48_2584.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_51_2824.jpg
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_54_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721726","1394721729","1394721731","1394721734","1394721728","1394721727"],"photo_ids_order":["1394721726","1394721727","1394721728","1394721729","1394721731","1394721734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16891c5306a8bfccf23f2d7c24604dff.jpg","text":"TemporaryFile(/tmp/multipartBody903112948006551718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272024145,"filename":"image_16112025_06_45_30_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/951b361d2da8500d45791b4e35e4c3a4.jpg","text":"TemporaryFile(/tmp/multipartBody1324222695831035253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272024145,"filename":"image_16112025_06_45_48_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7eceff39b2bbaa95e9c514d882202079.jpg","text":"TemporaryFile(/tmp/multipartBody3672562048914198507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272024145,"filename":"image_16112025_06_45_51_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab7ec2c1072bb86fed48089f340973fc.jpg","text":"TemporaryFile(/tmp/multipartBody6798077083256081797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272024145,"filename":"image_16112025_06_45_54_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed539f383e22bd3dc8e2dd3d7ec4ffd5.jpg","text":"TemporaryFile(/tmp/multipartBody2921279965485595373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272024145,"filename":"image_16112025_06_45_45_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cde57cbbd858e72facab375cf321b8af.jpg","text":"TemporaryFile(/tmp/multipartBody932110661950612537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272024145,"filename":"image_16112025_06_45_36_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721728","file1":"1394721727","file0":"1394721726","file4":"1394721731","file5":"1394721734","file3":"1394721729"},"map_files_photo_id_array":[{"photo_id":"1394721734","filename":"file5"},{"photo_id":"1394721728","filename":"file2"},{"photo_id":"1394721731","filename":"file4"},{"photo_id":"1394721727","filename":"file1"},{"photo_id":"1394721726","filename":"file0"},{"photo_id":"1394721729","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721726":["hashtag1","hashtag2"]},{"1394721729":["hashtag1","hashtag2"]},{"1394721731":["hashtag1","hashtag2"]},{"1394721734":["hashtag1","hashtag2"]},{"1394721728":["hashtag1","hashtag2"]},{"1394721727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721726, 1394721729, 1394721731, 1394721734, 1394721728, 1394721727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.169278144836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:46:42.858088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_57_2815.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_06_3694.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_12_2703.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_27_3657.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_30_2630.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_32_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/45/image_16112025_06_45_57_2815.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_06_3694.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_12_2703.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_27_3657.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_30_2630.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_32_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721744","1394721741","1394721740","1394721743","1394721745","1394721742"],"photo_ids_order":["1394721740","1394721741","1394721742","1394721743","1394721744","1394721745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9c3be2fcfa4bc5d483789d5499809a4.jpg","text":"TemporaryFile(/tmp/multipartBody909584756593638740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272063572,"filename":"image_16112025_06_46_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/11/16/604e56bc6ab75bc4e46e72ca2058bf60.jpg","text":"TemporaryFile(/tmp/multipartBody3568076263235236646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272063572,"filename":"image_16112025_06_46_06_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95600da343eb1e8aae79f46c26cf5f81.jpg","text":"TemporaryFile(/tmp/multipartBody1175329587733712630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272063572,"filename":"image_16112025_06_45_57_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d5a4fdabe7473842082c5bd02127c17.jpg","text":"TemporaryFile(/tmp/multipartBody9109162527613612117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272063572,"filename":"image_16112025_06_46_27_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0602bf43ad03a771aa4600d662b78c99.jpg","text":"TemporaryFile(/tmp/multipartBody1543014486758739195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272063572,"filename":"image_16112025_06_46_32_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/faba9935d6d30bf474c1de0b2e9d29eb.jpg","text":"TemporaryFile(/tmp/multipartBody8328447453776364770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272063572,"filename":"image_16112025_06_46_12_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721742","file1":"1394721741","file0":"1394721740","file4":"1394721744","file5":"1394721745","file3":"1394721743"},"map_files_photo_id_array":[{"photo_id":"1394721745","filename":"file5"},{"photo_id":"1394721742","filename":"file2"},{"photo_id":"1394721744","filename":"file4"},{"photo_id":"1394721741","filename":"file1"},{"photo_id":"1394721740","filename":"file0"},{"photo_id":"1394721743","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721744":["hashtag1","hashtag2"]},{"1394721741":["hashtag1","hashtag2"]},{"1394721740":["hashtag1","hashtag2"]},{"1394721743":["hashtag1","hashtag2"]},{"1394721745":["hashtag1","hashtag2"]},{"1394721742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721744, 1394721741, 1394721740, 1394721743, 1394721745, 1394721742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.065753698349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:47:22.115311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_45_3717.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_48_2714.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_53_2687.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_47_00_2719.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_02_2564.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_06_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_45_3717.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_48_2714.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_53_2687.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_47_00_2719.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_02_2564.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_06_3665.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.6419064998626709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:47:42.075820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_45_3717.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_48_2714.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_53_2687.jpg', '/home/pi/Desktop/images/16112025/06/46/image_16112025_06_47_00_2719.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_02_2564.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_06_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_45_3717.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_48_2714.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_46_53_2687.jpg
/home/pi/Desktop/images/16112025/06/46/image_16112025_06_47_00_2719.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_02_2564.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_06_3665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721762","1394721756","1394721759","1394721761","1394721763","1394721760"],"photo_ids_order":["1394721756","1394721759","1394721760","1394721761","1394721762","1394721763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66b3b527dfb592012887c21fe425fd38.jpg","text":"TemporaryFile(/tmp/multipartBody1739689117199244958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272122856,"filename":"image_16112025_06_47_02_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07cca28f3d6a4f4ce6861350f6997b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8265027434434729390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272122856,"filename":"image_16112025_06_46_45_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/435fcd86c7cb21bdae798256aa7d65fb.jpg","text":"TemporaryFile(/tmp/multipartBody360994222894579284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272122856,"filename":"image_16112025_06_46_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/11/16/66dd1824ae8a5320c987fa654f2e7cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1396344745034044741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272122856,"filename":"image_16112025_06_47_00_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ba4117a6939d77707bbaf2debadcd25.jpg","text":"TemporaryFile(/tmp/multipartBody9187844935846341779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272122856,"filename":"image_16112025_06_47_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/11/16/ccb034a7f0676a159e2235f968def7a3.jpg","text":"TemporaryFile(/tmp/multipartBody3461073984064387139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272122856,"filename":"image_16112025_06_46_53_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721760","file1":"1394721759","file0":"1394721756","file4":"1394721762","file5":"1394721763","file3":"1394721761"},"map_files_photo_id_array":[{"photo_id":"1394721763","filename":"file5"},{"photo_id":"1394721760","filename":"file2"},{"photo_id":"1394721762","filename":"file4"},{"photo_id":"1394721759","filename":"file1"},{"photo_id":"1394721756","filename":"file0"},{"photo_id":"1394721761","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721762":["hashtag1","hashtag2"]},{"1394721756":["hashtag1","hashtag2"]},{"1394721759":["hashtag1","hashtag2"]},{"1394721761":["hashtag1","hashtag2"]},{"1394721763":["hashtag1","hashtag2"]},{"1394721760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721762, 1394721756, 1394721759, 1394721761, 1394721763, 1394721760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59111213684082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:48:22.338928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_20_2763.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_24_3611.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_29_2761.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_33_3586.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_36_2560.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_38_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_20_2763.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_24_3611.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_29_2761.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_33_3586.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_36_2560.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_38_2643.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.6446499824523926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:48:42.279739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_20_2763.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_24_3611.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_29_2761.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_33_3586.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_36_2560.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_38_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_20_2763.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_24_3611.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_29_2761.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_33_3586.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_36_2560.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_38_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721780","1394721783","1394721782","1394721776","1394721779","1394721784"],"photo_ids_order":["1394721776","1394721779","1394721780","1394721782","1394721783","1394721784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d434cf843d64bcd58b633e3ff484dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4174565273358561928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272182980,"filename":"image_16112025_06_47_29_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4a23ec04c1c93497f5bf5733ddd0799.jpg","text":"TemporaryFile(/tmp/multipartBody6625213352618940162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272182980,"filename":"image_16112025_06_47_36_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6ed0c5ee8a969ac70b8ccc21eb4e781.jpg","text":"TemporaryFile(/tmp/multipartBody6844142936784147438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272182980,"filename":"image_16112025_06_47_33_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8fac9ca54a5b25f3c65e25a366d0f00.jpg","text":"TemporaryFile(/tmp/multipartBody1358607340453225242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272182980,"filename":"image_16112025_06_47_20_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79109c9a5ed9daa3baff45ffd44ec09f.jpg","text":"TemporaryFile(/tmp/multipartBody2802126796356355504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272182980,"filename":"image_16112025_06_47_24_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/335bdad85301a2718fb7d5aa6b025cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6238572542146722833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272182980,"filename":"image_16112025_06_47_38_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721780","file1":"1394721779","file0":"1394721776","file4":"1394721783","file5":"1394721784","file3":"1394721782"},"map_files_photo_id_array":[{"photo_id":"1394721784","filename":"file5"},{"photo_id":"1394721780","filename":"file2"},{"photo_id":"1394721783","filename":"file4"},{"photo_id":"1394721779","filename":"file1"},{"photo_id":"1394721776","filename":"file0"},{"photo_id":"1394721782","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721780":["hashtag1","hashtag2"]},{"1394721783":["hashtag1","hashtag2"]},{"1394721782":["hashtag1","hashtag2"]},{"1394721776":["hashtag1","hashtag2"]},{"1394721779":["hashtag1","hashtag2"]},{"1394721784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721780, 1394721783, 1394721782, 1394721776, 1394721779, 1394721784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58592343330383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:49:22.481976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_45_2644.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_51_3641.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_54_2722.jpg', '/home/pi/Desktop/images/16112025/06/47/image_16112025_06_48_00_3628.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_03_2624.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_05_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_45_2644.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_51_3641.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_47_54_2722.jpg
/home/pi/Desktop/images/16112025/06/47/image_16112025_06_48_00_3628.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_03_2624.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_05_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721792","1394721789","1394721786","1394721794","1394721788","1394721790"],"photo_ids_order":["1394721786","1394721788","1394721789","1394721790","1394721792","1394721794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b15f6a1d2b78a436bd2c604dac96185.jpg","text":"TemporaryFile(/tmp/multipartBody2086238578619978256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272223183,"filename":"image_16112025_06_48_03_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb92ec88641524d5a925403d4b683e4c.jpg","text":"TemporaryFile(/tmp/multipartBody2146252852231508879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272223183,"filename":"image_16112025_06_47_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/11/16/af37653e920e4153f2622ec7ba989de5.jpg","text":"TemporaryFile(/tmp/multipartBody8787415029388549107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272223183,"filename":"image_16112025_06_47_45_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c312bd39557a3f2daaa04af45b722cb.jpg","text":"TemporaryFile(/tmp/multipartBody5122008452386874527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272223183,"filename":"image_16112025_06_48_05_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/631425518d03e53b67cae4927212e5d3.jpg","text":"TemporaryFile(/tmp/multipartBody1934899826354753725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272223183,"filename":"image_16112025_06_47_51_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4612e4ec9f51127e52460be98c65e0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7843128206109520974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272223183,"filename":"image_16112025_06_48_00_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721789","file1":"1394721788","file0":"1394721786","file4":"1394721792","file5":"1394721794","file3":"1394721790"},"map_files_photo_id_array":[{"photo_id":"1394721794","filename":"file5"},{"photo_id":"1394721789","filename":"file2"},{"photo_id":"1394721792","filename":"file4"},{"photo_id":"1394721788","filename":"file1"},{"photo_id":"1394721786","filename":"file0"},{"photo_id":"1394721790","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721792":["hashtag1","hashtag2"]},{"1394721789":["hashtag1","hashtag2"]},{"1394721786":["hashtag1","hashtag2"]},{"1394721794":["hashtag1","hashtag2"]},{"1394721788":["hashtag1","hashtag2"]},{"1394721790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721792, 1394721789, 1394721786, 1394721794, 1394721788, 1394721790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95280885696411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:50:03.244216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_12_2644.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_14_2717.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_21_2724.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_23_2726.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_27_3582.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_33_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_12_2644.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_14_2717.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_21_2724.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_23_2726.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_27_3582.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_33_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721802","1394721805","1394721807","1394721801","1394721797","1394721800"],"photo_ids_order":["1394721797","1394721800","1394721801","1394721802","1394721805","1394721807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78571640c0e25d1d6d0c4cbfe2e28e28.jpg","text":"TemporaryFile(/tmp/multipartBody7067533202285809898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272264034,"filename":"image_16112025_06_48_23_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/755a711f00af617622910b8f6cf4ba8b.jpg","text":"TemporaryFile(/tmp/multipartBody54597475461763871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272264034,"filename":"image_16112025_06_48_27_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7108e2c307c15e01598610cedd4ddef.jpg","text":"TemporaryFile(/tmp/multipartBody9050526517332291265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272264034,"filename":"image_16112025_06_48_33_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aaae755db6d98d559f65a6c63b8c792b.jpg","text":"TemporaryFile(/tmp/multipartBody7025126530903676090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272264034,"filename":"image_16112025_06_48_21_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dca249f3f93de1928a6d002494518227.jpg","text":"TemporaryFile(/tmp/multipartBody3073104287699934587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272264034,"filename":"image_16112025_06_48_12_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bd527a18053ed8061c4de77bb6d20d0.jpg","text":"TemporaryFile(/tmp/multipartBody7721915937671989043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272264034,"filename":"image_16112025_06_48_14_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721801","file1":"1394721800","file0":"1394721797","file4":"1394721805","file5":"1394721807","file3":"1394721802"},"map_files_photo_id_array":[{"photo_id":"1394721807","filename":"file5"},{"photo_id":"1394721801","filename":"file2"},{"photo_id":"1394721805","filename":"file4"},{"photo_id":"1394721800","filename":"file1"},{"photo_id":"1394721797","filename":"file0"},{"photo_id":"1394721802","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721802":["hashtag1","hashtag2"]},{"1394721805":["hashtag1","hashtag2"]},{"1394721807":["hashtag1","hashtag2"]},{"1394721801":["hashtag1","hashtag2"]},{"1394721797":["hashtag1","hashtag2"]},{"1394721800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721802, 1394721805, 1394721807, 1394721801, 1394721797, 1394721800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23290276527405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:50:42.706978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_35_2769.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_38_2771.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_42_3648.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_45_2862.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_47_2614.jpg', '/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_56_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_35_2769.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_38_2771.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_42_3648.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_45_2862.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_47_2614.jpg
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_48_56_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721817","1394721816","1394721818","1394721812","1394721815","1394721814"],"photo_ids_order":["1394721812","1394721814","1394721815","1394721816","1394721817","1394721818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/380908ea0955c13c5be385c06531f134.jpg","text":"TemporaryFile(/tmp/multipartBody7402046384162872612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272303422,"filename":"image_16112025_06_48_47_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d41539d2c5aab62917105a4c503fe90.jpg","text":"TemporaryFile(/tmp/multipartBody3043379656687808224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272303422,"filename":"image_16112025_06_48_45_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/084972806f4be916eac832d0352147bf.jpg","text":"TemporaryFile(/tmp/multipartBody9193309244583365125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272303422,"filename":"image_16112025_06_48_56_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6965a62fdf7ace21b62038a019ee409.jpg","text":"TemporaryFile(/tmp/multipartBody2735420675070499371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272303422,"filename":"image_16112025_06_48_35_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75a88c34f4a1804e78461582a315106c.jpg","text":"TemporaryFile(/tmp/multipartBody7432001256443470130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272303422,"filename":"image_16112025_06_48_42_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bce83f7ece6605e27898f0ff563f82a3.jpg","text":"TemporaryFile(/tmp/multipartBody1802767265890246046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272303422,"filename":"image_16112025_06_48_38_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721815","file1":"1394721814","file0":"1394721812","file4":"1394721817","file5":"1394721818","file3":"1394721816"},"map_files_photo_id_array":[{"photo_id":"1394721818","filename":"file5"},{"photo_id":"1394721815","filename":"file2"},{"photo_id":"1394721817","filename":"file4"},{"photo_id":"1394721814","filename":"file1"},{"photo_id":"1394721812","filename":"file0"},{"photo_id":"1394721816","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721817":["hashtag1","hashtag2"]},{"1394721816":["hashtag1","hashtag2"]},{"1394721818":["hashtag1","hashtag2"]},{"1394721812":["hashtag1","hashtag2"]},{"1394721815":["hashtag1","hashtag2"]},{"1394721814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721817, 1394721816, 1394721818, 1394721812, 1394721815, 1394721814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75100255012512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:51:22.066097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/48/image_16112025_06_49_00_3642.jpg', '/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_02_2576.jpg', '/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_05_2729.jpg', '/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_12_2689.jpg', '/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_21_3853.jpg', '/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_24_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/48/image_16112025_06_49_00_3642.jpg
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_02_2576.jpg
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_05_2729.jpg
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_12_2689.jpg
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_21_3853.jpg
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_24_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721825","1394721828","1394721821","1394721830","1394721832","1394721829"],"photo_ids_order":["1394721821","1394721825","1394721828","1394721829","1394721830","1394721832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6eadb2fb503b529a509c759f09f8333a.jpg","text":"TemporaryFile(/tmp/multipartBody1185700858640364291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272342790,"filename":"image_16112025_06_49_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/11/16/306daadba01162094789ceb07456b442.jpg","text":"TemporaryFile(/tmp/multipartBody5767994921462837501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272342790,"filename":"image_16112025_06_49_05_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77418a248c823192d0abb650221e496c.jpg","text":"TemporaryFile(/tmp/multipartBody6885251964747621381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272342790,"filename":"image_16112025_06_49_00_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/636f2ba44bad33116c08d29a1bf79420.jpg","text":"TemporaryFile(/tmp/multipartBody2094912247245356846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272342790,"filename":"image_16112025_06_49_21_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebe434d97fc6c0dd080ecb134c729088.jpg","text":"TemporaryFile(/tmp/multipartBody6109708147077015137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272342790,"filename":"image_16112025_06_49_24_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd1b381aa6993f3be8f7004bb5bc14d7.jpg","text":"TemporaryFile(/tmp/multipartBody649518392389450019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272342790,"filename":"image_16112025_06_49_12_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721828","file1":"1394721825","file0":"1394721821","file4":"1394721830","file5":"1394721832","file3":"1394721829"},"map_files_photo_id_array":[{"photo_id":"1394721832","filename":"file5"},{"photo_id":"1394721828","filename":"file2"},{"photo_id":"1394721830","filename":"file4"},{"photo_id":"1394721825","filename":"file1"},{"photo_id":"1394721821","filename":"file0"},{"photo_id":"1394721829","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721825":["hashtag1","hashtag2"]},{"1394721828":["hashtag1","hashtag2"]},{"1394721821":["hashtag1","hashtag2"]},{"1394721830":["hashtag1","hashtag2"]},{"1394721832":["hashtag1","hashtag2"]},{"1394721829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721825, 1394721828, 1394721821, 1394721830, 1394721832, 1394721829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.432851791381836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:52:02.753849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_44_2613.jpg', '/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_47_2815.jpg', '/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_54_3777.jpg', '/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_57_2735.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_02_2688.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_06_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_44_2613.jpg
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_47_2815.jpg
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_54_3777.jpg
/home/pi/Desktop/images/16112025/06/49/image_16112025_06_49_57_2735.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_02_2688.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_06_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721837","1394721834","1394721836","1394721839","1394721841","1394721835"],"photo_ids_order":["1394721834","1394721835","1394721836","1394721837","1394721839","1394721841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b96a67b8e8bb48d522b3f43546bb7e9.jpg","text":"TemporaryFile(/tmp/multipartBody4097419501914287769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272383551,"filename":"image_16112025_06_49_57_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9dd09f60ebd6232f960aa091879172d.jpg","text":"TemporaryFile(/tmp/multipartBody1557962015443774152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272383551,"filename":"image_16112025_06_49_44_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec06c5c28c939d093134367df549eaf5.jpg","text":"TemporaryFile(/tmp/multipartBody1687638110176671029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272383551,"filename":"image_16112025_06_49_54_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a9adf92412235847fd2862f77b5a3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4839491247830216624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272383551,"filename":"image_16112025_06_50_02_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1e6eb3db8171f5b8dd3d4ebb0fc6477.jpg","text":"TemporaryFile(/tmp/multipartBody5590489678410656985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272383551,"filename":"image_16112025_06_50_06_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f85788fcd11f6b724a408008987c738.jpg","text":"TemporaryFile(/tmp/multipartBody7617221125451065527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272383551,"filename":"image_16112025_06_49_47_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721836","file1":"1394721835","file0":"1394721834","file4":"1394721839","file5":"1394721841","file3":"1394721837"},"map_files_photo_id_array":[{"photo_id":"1394721841","filename":"file5"},{"photo_id":"1394721836","filename":"file2"},{"photo_id":"1394721839","filename":"file4"},{"photo_id":"1394721835","filename":"file1"},{"photo_id":"1394721834","filename":"file0"},{"photo_id":"1394721837","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721837":["hashtag1","hashtag2"]},{"1394721834":["hashtag1","hashtag2"]},{"1394721836":["hashtag1","hashtag2"]},{"1394721839":["hashtag1","hashtag2"]},{"1394721841":["hashtag1","hashtag2"]},{"1394721835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721837, 1394721834, 1394721836, 1394721839, 1394721841, 1394721835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54687285423279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:52:42.199731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_11_2716.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_15_3620.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_17_2752.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_20_2698.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_24_3726.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_29_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_11_2716.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_15_3620.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_17_2752.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_20_2698.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_24_3726.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_29_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721846","1394721849","1394721848","1394721851","1394721850","1394721847"],"photo_ids_order":["1394721846","1394721847","1394721848","1394721849","1394721850","1394721851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1de6a4e1b714c243d537f4f32dafd89d.jpg","text":"TemporaryFile(/tmp/multipartBody2250668222373980364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272422927,"filename":"image_16112025_06_50_11_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1deeb88762e46cb8aa5e36cd525a7613.jpg","text":"TemporaryFile(/tmp/multipartBody7297736117636463974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272422927,"filename":"image_16112025_06_50_20_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e933684783364082641043a55348df1.jpg","text":"TemporaryFile(/tmp/multipartBody8358907643160907574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272422927,"filename":"image_16112025_06_50_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/11/16/f6692549b7324545dcb24206767d49e5.jpg","text":"TemporaryFile(/tmp/multipartBody577387853392638596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272422927,"filename":"image_16112025_06_50_29_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/618e98f657547a81ca71dcbb7329360f.jpg","text":"TemporaryFile(/tmp/multipartBody4350681231679871428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272422927,"filename":"image_16112025_06_50_24_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7efaf6ba504dc736d509842e425d0b50.jpg","text":"TemporaryFile(/tmp/multipartBody8587136945371219100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272422927,"filename":"image_16112025_06_50_15_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721848","file1":"1394721847","file0":"1394721846","file4":"1394721850","file5":"1394721851","file3":"1394721849"},"map_files_photo_id_array":[{"photo_id":"1394721851","filename":"file5"},{"photo_id":"1394721848","filename":"file2"},{"photo_id":"1394721850","filename":"file4"},{"photo_id":"1394721847","filename":"file1"},{"photo_id":"1394721846","filename":"file0"},{"photo_id":"1394721849","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721846":["hashtag1","hashtag2"]},{"1394721849":["hashtag1","hashtag2"]},{"1394721848":["hashtag1","hashtag2"]},{"1394721851":["hashtag1","hashtag2"]},{"1394721850":["hashtag1","hashtag2"]},{"1394721847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721846, 1394721849, 1394721848, 1394721851, 1394721850, 1394721847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26671838760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:53:22.425508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_33_3638.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_35_2753.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_38_2667.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_42_3645.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_44_2631.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_53_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_33_3638.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_35_2753.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_38_2667.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_42_3645.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_44_2631.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_53_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721861","1394721864","1394721858","1394721867","1394721866","1394721869"],"photo_ids_order":["1394721858","1394721861","1394721864","1394721866","1394721867","1394721869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9b2706e6bd249ac7bbae6d2adf71079.jpg","text":"TemporaryFile(/tmp/multipartBody7511290015587590509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272463137,"filename":"image_16112025_06_50_35_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35656ad3ff46b7a60770eabec0a7b047.jpg","text":"TemporaryFile(/tmp/multipartBody5791636670206776197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272463137,"filename":"image_16112025_06_50_38_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/935dc2e2c82d9dbf71feb8e23722cc92.jpg","text":"TemporaryFile(/tmp/multipartBody7626258252736236967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272463137,"filename":"image_16112025_06_50_33_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30385940c3eb5400454d68c308ca5258.jpg","text":"TemporaryFile(/tmp/multipartBody2582127077143150094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272463137,"filename":"image_16112025_06_50_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/11/16/506f7f95a904d11cc37f6c24b13194d4.jpg","text":"TemporaryFile(/tmp/multipartBody6037554657778222138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272463137,"filename":"image_16112025_06_50_42_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ab292159be45f60de12aa5e0abbaa06.jpg","text":"TemporaryFile(/tmp/multipartBody6592895474970247269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272463137,"filename":"image_16112025_06_50_53_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721864","file1":"1394721861","file0":"1394721858","file4":"1394721867","file5":"1394721869","file3":"1394721866"},"map_files_photo_id_array":[{"photo_id":"1394721869","filename":"file5"},{"photo_id":"1394721864","filename":"file2"},{"photo_id":"1394721867","filename":"file4"},{"photo_id":"1394721861","filename":"file1"},{"photo_id":"1394721858","filename":"file0"},{"photo_id":"1394721866","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721861":["hashtag1","hashtag2"]},{"1394721864":["hashtag1","hashtag2"]},{"1394721858":["hashtag1","hashtag2"]},{"1394721867":["hashtag1","hashtag2"]},{"1394721866":["hashtag1","hashtag2"]},{"1394721869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721861, 1394721864, 1394721858, 1394721867, 1394721866, 1394721869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51292037963867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:54:03.524518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_56_2756.jpg', '/home/pi/Desktop/images/16112025/06/50/image_16112025_06_51_00_3536.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_02_2725.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_08_2731.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_12_3686.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_17_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_50_56_2756.jpg
/home/pi/Desktop/images/16112025/06/50/image_16112025_06_51_00_3536.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_02_2725.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_08_2731.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_12_3686.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_17_2908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721873","1394721878","1394721872","1394721881","1394721875","1394721871"],"photo_ids_order":["1394721871","1394721872","1394721873","1394721875","1394721878","1394721881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bc8bc3cc610806eb1d7d22dc9f099f1.jpg","text":"TemporaryFile(/tmp/multipartBody4675000816949314123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272504377,"filename":"image_16112025_06_51_02_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae999f9206be273afaba58f4786bd9cf.jpg","text":"TemporaryFile(/tmp/multipartBody9012876299870499199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272504377,"filename":"image_16112025_06_51_12_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f074c61dc655c9663ecaed935b3130b6.jpg","text":"TemporaryFile(/tmp/multipartBody1637969233891732758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272504377,"filename":"image_16112025_06_51_00_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a0a07c8428fd48ea35b324a7b501ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2063115559539320718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272504377,"filename":"image_16112025_06_51_17_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d951cca1dc18741f189c4eca07330b7.jpg","text":"TemporaryFile(/tmp/multipartBody6101100003973268953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272504377,"filename":"image_16112025_06_51_08_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bafa892312730d078e3477accbfc3bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5120825846605684494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272504377,"filename":"image_16112025_06_50_56_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721873","file1":"1394721872","file0":"1394721871","file4":"1394721878","file5":"1394721881","file3":"1394721875"},"map_files_photo_id_array":[{"photo_id":"1394721881","filename":"file5"},{"photo_id":"1394721873","filename":"file2"},{"photo_id":"1394721878","filename":"file4"},{"photo_id":"1394721872","filename":"file1"},{"photo_id":"1394721871","filename":"file0"},{"photo_id":"1394721875","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721873":["hashtag1","hashtag2"]},{"1394721878":["hashtag1","hashtag2"]},{"1394721872":["hashtag1","hashtag2"]},{"1394721881":["hashtag1","hashtag2"]},{"1394721875":["hashtag1","hashtag2"]},{"1394721871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721873, 1394721878, 1394721872, 1394721881, 1394721875, 1394721871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6512188911438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:54:42.807875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_21_3600.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_23_2922.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_29_2745.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_33_3592.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_35_2763.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_47_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_21_3600.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_23_2922.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_29_2745.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_33_3592.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_35_2763.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_47_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721891","1394721894","1394721888","1394721890","1394721893","1394721892"],"photo_ids_order":["1394721888","1394721890","1394721891","1394721892","1394721893","1394721894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/884975d7a5a06f5b976c99be9e6c88bc.jpg","text":"TemporaryFile(/tmp/multipartBody8154987927258307990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272543555,"filename":"image_16112025_06_51_29_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/739dde902dfb9f973a9551e8ec932f24.jpg","text":"TemporaryFile(/tmp/multipartBody9810280165722058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272543555,"filename":"image_16112025_06_51_47_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de574f61b1665ce353d788dcf6f8969d.jpg","text":"TemporaryFile(/tmp/multipartBody5056641081250967856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272543555,"filename":"image_16112025_06_51_21_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3eea4e6ad356656d308146f1f56a2306.jpg","text":"TemporaryFile(/tmp/multipartBody6303439325172913811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272543555,"filename":"image_16112025_06_51_23_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a11a7f234acc43625c702d57edac3ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1351115160945443542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272543555,"filename":"image_16112025_06_51_35_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc278a0bb66dd1a6ff7de2ddd2f1ae8a.jpg","text":"TemporaryFile(/tmp/multipartBody4250997816259676932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272543555,"filename":"image_16112025_06_51_33_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721891","file1":"1394721890","file0":"1394721888","file4":"1394721893","file5":"1394721894","file3":"1394721892"},"map_files_photo_id_array":[{"photo_id":"1394721894","filename":"file5"},{"photo_id":"1394721891","filename":"file2"},{"photo_id":"1394721893","filename":"file4"},{"photo_id":"1394721890","filename":"file1"},{"photo_id":"1394721888","filename":"file0"},{"photo_id":"1394721892","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721891":["hashtag1","hashtag2"]},{"1394721894":["hashtag1","hashtag2"]},{"1394721888":["hashtag1","hashtag2"]},{"1394721890":["hashtag1","hashtag2"]},{"1394721893":["hashtag1","hashtag2"]},{"1394721892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721891, 1394721894, 1394721888, 1394721890, 1394721893, 1394721892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41725301742554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:55:22.004288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_50_2602.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_56_2749.jpg', '/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_59_2596.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_08_2771.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_11_2726.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_15_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_50_2602.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_56_2749.jpg
/home/pi/Desktop/images/16112025/06/51/image_16112025_06_51_59_2596.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_08_2771.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_11_2726.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_15_3726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721901","1394721900","1394721903","1394721902","1394721905","1394721908"],"photo_ids_order":["1394721900","1394721901","1394721902","1394721903","1394721905","1394721908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54e233dabd3115664fd9c3e7d9081590.jpg","text":"TemporaryFile(/tmp/multipartBody7669093545164049320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272582757,"filename":"image_16112025_06_51_56_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1c58464e1ddd6f0214a2620dc3951cf.jpg","text":"TemporaryFile(/tmp/multipartBody822121274893639406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272582757,"filename":"image_16112025_06_51_50_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92e0e3e9a705ae71f1d65d0627529d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3155334357959945222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272582757,"filename":"image_16112025_06_52_08_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d70cd0674a4b7cff1543ac3924144e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1508402044094122648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272582757,"filename":"image_16112025_06_51_59_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1e1cc158631d77b69b2de767b645bad.jpg","text":"TemporaryFile(/tmp/multipartBody5485566342536336923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272582757,"filename":"image_16112025_06_52_11_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4915f3ad426669c1e4bc6a2251a428cf.jpg","text":"TemporaryFile(/tmp/multipartBody6480262185812514990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272582757,"filename":"image_16112025_06_52_15_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721902","file1":"1394721901","file0":"1394721900","file4":"1394721905","file5":"1394721908","file3":"1394721903"},"map_files_photo_id_array":[{"photo_id":"1394721908","filename":"file5"},{"photo_id":"1394721902","filename":"file2"},{"photo_id":"1394721905","filename":"file4"},{"photo_id":"1394721901","filename":"file1"},{"photo_id":"1394721900","filename":"file0"},{"photo_id":"1394721903","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721901":["hashtag1","hashtag2"]},{"1394721900":["hashtag1","hashtag2"]},{"1394721903":["hashtag1","hashtag2"]},{"1394721902":["hashtag1","hashtag2"]},{"1394721905":["hashtag1","hashtag2"]},{"1394721908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721901, 1394721900, 1394721903, 1394721902, 1394721905, 1394721908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.125722885131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:56:02.707813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_23_2838.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_26_2874.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_29_3804.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_32_2592.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_35_2767.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_38_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_23_2838.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_26_2874.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_29_3804.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_32_2592.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_35_2767.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_38_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394721916","1394721924","1394721912","1394721915","1394721959","1394721914"],"photo_ids_order":["1394721912","1394721914","1394721915","1394721916","1394721924","1394721959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ff3ac2d4866fa32133a70c7a7995ff8.jpg","text":"TemporaryFile(/tmp/multipartBody4302173403011855114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272623509,"filename":"image_16112025_06_52_32_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e72b18168c89beaf5429dd6bc4cebcd7.jpg","text":"TemporaryFile(/tmp/multipartBody523172880303888476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272623509,"filename":"image_16112025_06_52_35_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31aefe3c5ebc8d82aa00cf06d7c56637.jpg","text":"TemporaryFile(/tmp/multipartBody2942484212528973848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272623509,"filename":"image_16112025_06_52_23_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9c0fd21b12c950eb8355cbecb9332f2.jpg","text":"TemporaryFile(/tmp/multipartBody4030292013216111574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272623509,"filename":"image_16112025_06_52_29_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17e588c4f4a394f5762acfe134b7dc90.jpg","text":"TemporaryFile(/tmp/multipartBody2719155785784462945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272623509,"filename":"image_16112025_06_52_38_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3be94a3ffd40aae1dafd3ec21f56c069.jpg","text":"TemporaryFile(/tmp/multipartBody4528457414738042847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272623509,"filename":"image_16112025_06_52_26_2874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394721915","file1":"1394721914","file0":"1394721912","file4":"1394721924","file5":"1394721959","file3":"1394721916"},"map_files_photo_id_array":[{"photo_id":"1394721959","filename":"file5"},{"photo_id":"1394721915","filename":"file2"},{"photo_id":"1394721924","filename":"file4"},{"photo_id":"1394721914","filename":"file1"},{"photo_id":"1394721912","filename":"file0"},{"photo_id":"1394721916","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394721916":["hashtag1","hashtag2"]},{"1394721924":["hashtag1","hashtag2"]},{"1394721912":["hashtag1","hashtag2"]},{"1394721915":["hashtag1","hashtag2"]},{"1394721959":["hashtag1","hashtag2"]},{"1394721914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394721916, 1394721924, 1394721912, 1394721915, 1394721959, 1394721914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98471140861511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 06:56:42.199913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_41_2586.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_44_2651.jpg', '/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_47_3655.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_08_3640.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_11_2751.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_14_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_41_2586.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_44_2651.jpg
/home/pi/Desktop/images/16112025/06/52/image_16112025_06_52_47_3655.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_08_3640.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_11_2751.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_14_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722104","1394722097","1394722103","1394722106","1394722132","1394722170"],"photo_ids_order":["1394722097","1394722103","1394722104","1394722106","1394722132","1394722170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b882599550f9df041537830c08c118d.jpg","text":"TemporaryFile(/tmp/multipartBody977908602045176663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272662895,"filename":"image_16112025_06_52_47_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56b37e6e558df5d3e19ebb1d283adcea.jpg","text":"TemporaryFile(/tmp/multipartBody7894275947113644047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272662895,"filename":"image_16112025_06_52_41_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c54542496370169a593aaff257eb3b62.jpg","text":"TemporaryFile(/tmp/multipartBody9045340830745732512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272662895,"filename":"image_16112025_06_52_44_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ea611628be2b8383744a619294484e9.jpg","text":"TemporaryFile(/tmp/multipartBody5514759826798920911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272662895,"filename":"image_16112025_06_53_08_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66db1232a2d6ed5cb5e2b83ab2433217.jpg","text":"TemporaryFile(/tmp/multipartBody6054568039212288016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272662895,"filename":"image_16112025_06_53_11_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2f0fff7999fd29da0bc9b18a0494119.jpg","text":"TemporaryFile(/tmp/multipartBody3795387303931306221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272662895,"filename":"image_16112025_06_53_14_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722104","file1":"1394722103","file0":"1394722097","file4":"1394722132","file5":"1394722170","file3":"1394722106"},"map_files_photo_id_array":[{"photo_id":"1394722170","filename":"file5"},{"photo_id":"1394722104","filename":"file2"},{"photo_id":"1394722132","filename":"file4"},{"photo_id":"1394722103","filename":"file1"},{"photo_id":"1394722097","filename":"file0"},{"photo_id":"1394722106","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722104":["hashtag1","hashtag2"]},{"1394722097":["hashtag1","hashtag2"]},{"1394722103":["hashtag1","hashtag2"]},{"1394722106":["hashtag1","hashtag2"]},{"1394722132":["hashtag1","hashtag2"]},{"1394722170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722104, 1394722097, 1394722103, 1394722106, 1394722132, 1394722170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66995882987976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 06:57:22.454493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_17_3696.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_20_2577.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_24_3524.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_32_3620.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_38_2725.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_41_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_17_3696.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_20_2577.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_24_3524.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_32_3620.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_38_2725.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_41_3603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722196","1394722199","1394722192","1394722195","1394722198","1394722197"],"photo_ids_order":["1394722192","1394722195","1394722196","1394722197","1394722198","1394722199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d0e2567c70ce29e3f10b7ccf62c7d73.jpg","text":"TemporaryFile(/tmp/multipartBody3822305898464641036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272703173,"filename":"image_16112025_06_53_24_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60ab672f732ac423b85efea07e3bb0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7625561108927751105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272703173,"filename":"image_16112025_06_53_41_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f4d2b8f93a6865d74223483c7f8dc28.jpg","text":"TemporaryFile(/tmp/multipartBody1085454286174486079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272703173,"filename":"image_16112025_06_53_17_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eeeae4ffe80746a11c035d301c374d96.jpg","text":"TemporaryFile(/tmp/multipartBody3290839798527436682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272703173,"filename":"image_16112025_06_53_20_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfd4e6d59a741b3d10800b942a00f843.jpg","text":"TemporaryFile(/tmp/multipartBody3309245625826035453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272703173,"filename":"image_16112025_06_53_38_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61643793daec948adce1886409d878c8.jpg","text":"TemporaryFile(/tmp/multipartBody684009171903384941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272703173,"filename":"image_16112025_06_53_32_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722196","file1":"1394722195","file0":"1394722192","file4":"1394722198","file5":"1394722199","file3":"1394722197"},"map_files_photo_id_array":[{"photo_id":"1394722199","filename":"file5"},{"photo_id":"1394722196","filename":"file2"},{"photo_id":"1394722198","filename":"file4"},{"photo_id":"1394722195","filename":"file1"},{"photo_id":"1394722192","filename":"file0"},{"photo_id":"1394722197","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722196":["hashtag1","hashtag2"]},{"1394722199":["hashtag1","hashtag2"]},{"1394722192":["hashtag1","hashtag2"]},{"1394722195":["hashtag1","hashtag2"]},{"1394722198":["hashtag1","hashtag2"]},{"1394722197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722196, 1394722199, 1394722192, 1394722195, 1394722198, 1394722197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83962082862854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 06:59:02.928357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_47_2855.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_50_2579.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_53_3539.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_56_2625.jpg', '/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_59_3706.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_05_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_47_2855.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_50_2579.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_53_3539.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_56_2625.jpg
/home/pi/Desktop/images/16112025/06/53/image_16112025_06_53_59_3706.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_05_2543.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":["1394722557","1394722598","1394722406","1394722480","1394722441","1394722519"],"photo_ids_order":["1394722406","1394722441","1394722480","1394722519","1394722557","1394722598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f10447c6bf17d9e074be1d162f75f75.jpg","text":"TemporaryFile(/tmp/multipartBody3720085675294842863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272806040,"filename":"image_16112025_06_53_59_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/988194a78b7ecd7cd72502085041db88.jpg","text":"TemporaryFile(/tmp/multipartBody6030419393161806842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272806040,"filename":"image_16112025_06_54_05_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1af3f91dc30249fa4d92288d7930acaa.jpg","text":"TemporaryFile(/tmp/multipartBody1325165780310302320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272806040,"filename":"image_16112025_06_53_47_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f82860f0bd9b2d9d3522c4a80997c3a.jpg","text":"TemporaryFile(/tmp/multipartBody4058817032344844063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272806040,"filename":"image_16112025_06_53_53_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4456adac26cc0db6045e029e24d1e446.jpg","text":"TemporaryFile(/tmp/multipartBody7648320140053104013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272806040,"filename":"image_16112025_06_53_50_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c544dd94f926a9e07f5ac3ceebe150bd.jpg","text":"TemporaryFile(/tmp/multipartBody6032547620749088203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272806040,"filename":"image_16112025_06_53_56_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722480","file1":"1394722441","file0":"1394722406","file4":"1394722557","file5":"1394722598","file3":"1394722519"},"map_files_photo_id_array":[{"photo_id":"1394722598","filename":"file5"},{"photo_id":"1394722480","filename":"file2"},{"photo_id":"1394722557","filename":"file4"},{"photo_id":"1394722441","filename":"file1"},{"photo_id":"1394722406","filename":"file0"},{"photo_id":"1394722519","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722557":["hashtag1","hashtag2"]},{"1394722598":["hashtag1","hashtag2"]},{"1394722406":["hashtag1","hashtag2"]},{"1394722480":["hashtag1","hashtag2"]},{"1394722441":["hashtag1","hashtag2"]},{"1394722519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722557, 1394722598, 1394722406, 1394722480, 1394722441, 1394722519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63420271873474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:00:02.567893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_08_3664.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_14_2612.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_17_3639.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_20_2658.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_23_3577.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_29_2920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_08_3664.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_14_2612.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_17_3639.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_20_2658.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_23_3577.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_29_2920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722790","1394722829","1394722721","1394722823","1394722795","1394722762"],"photo_ids_order":["1394722721","1394722762","1394722790","1394722795","1394722823","1394722829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60f289167b84787c2ac6fa74dc0e1c15.jpg","text":"TemporaryFile(/tmp/multipartBody3339112786891724608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272863311,"filename":"image_16112025_06_54_17_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35130afcf287f9ae2a6a0d292ad738d0.jpg","text":"TemporaryFile(/tmp/multipartBody4508093111138625014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272863311,"filename":"image_16112025_06_54_29_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ae0a90d9ff98dc30f7914802c55450f.jpg","text":"TemporaryFile(/tmp/multipartBody4830787511703176216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272863311,"filename":"image_16112025_06_54_08_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f0946aa042a509b7b37bbccdc754825.jpg","text":"TemporaryFile(/tmp/multipartBody3369941543418275565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272863311,"filename":"image_16112025_06_54_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/11/16/6ca3aa1416bd3381c5581e96f595fc7e.jpg","text":"TemporaryFile(/tmp/multipartBody4417725222368201365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272863311,"filename":"image_16112025_06_54_20_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a22f6c08cab85f14ff78a33a304392c4.jpg","text":"TemporaryFile(/tmp/multipartBody651281767719791233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272863311,"filename":"image_16112025_06_54_14_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722790","file1":"1394722762","file0":"1394722721","file4":"1394722823","file5":"1394722829","file3":"1394722795"},"map_files_photo_id_array":[{"photo_id":"1394722829","filename":"file5"},{"photo_id":"1394722790","filename":"file2"},{"photo_id":"1394722823","filename":"file4"},{"photo_id":"1394722762","filename":"file1"},{"photo_id":"1394722721","filename":"file0"},{"photo_id":"1394722795","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722790":["hashtag1","hashtag2"]},{"1394722829":["hashtag1","hashtag2"]},{"1394722721":["hashtag1","hashtag2"]},{"1394722823":["hashtag1","hashtag2"]},{"1394722795":["hashtag1","hashtag2"]},{"1394722762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722790, 1394722829, 1394722721, 1394722823, 1394722795, 1394722762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46981954574585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:00:42.053334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_38_3580.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_47_3643.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_53_2702.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_56_3713.jpg', '/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_59_2853.jpg', '/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_02_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_38_3580.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_47_3643.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_53_2702.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_56_3713.jpg
/home/pi/Desktop/images/16112025/06/54/image_16112025_06_54_59_2853.jpg
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_02_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722854","1394722848","1394722850","1394722853","1394722852","1394722849"],"photo_ids_order":["1394722848","1394722849","1394722850","1394722852","1394722853","1394722854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cf0c311369a81c94eb5a949117c80cc.jpg","text":"TemporaryFile(/tmp/multipartBody2269648390856243158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272902789,"filename":"image_16112025_06_55_02_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7b0a07be855761feca6a5762d399d94.jpg","text":"TemporaryFile(/tmp/multipartBody2321087549936540210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272902789,"filename":"image_16112025_06_54_38_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81aaefeb257d7f8eed2e2230020bca5f.jpg","text":"TemporaryFile(/tmp/multipartBody2616952275712558165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272902789,"filename":"image_16112025_06_54_53_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3643ad36e992bdcae66f1273c2e81350.jpg","text":"TemporaryFile(/tmp/multipartBody7749528770498045984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272902789,"filename":"image_16112025_06_54_59_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee01c017ff5af198f46212abbb02d9b1.jpg","text":"TemporaryFile(/tmp/multipartBody8110570536344417368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272902789,"filename":"image_16112025_06_54_56_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1ba7e537bac5dba76b14450c6ac22df.jpg","text":"TemporaryFile(/tmp/multipartBody6664738840126172982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272902789,"filename":"image_16112025_06_54_47_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722850","file1":"1394722849","file0":"1394722848","file4":"1394722853","file5":"1394722854","file3":"1394722852"},"map_files_photo_id_array":[{"photo_id":"1394722854","filename":"file5"},{"photo_id":"1394722850","filename":"file2"},{"photo_id":"1394722853","filename":"file4"},{"photo_id":"1394722849","filename":"file1"},{"photo_id":"1394722848","filename":"file0"},{"photo_id":"1394722852","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722854":["hashtag1","hashtag2"]},{"1394722848":["hashtag1","hashtag2"]},{"1394722850":["hashtag1","hashtag2"]},{"1394722853":["hashtag1","hashtag2"]},{"1394722852":["hashtag1","hashtag2"]},{"1394722849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722854, 1394722848, 1394722850, 1394722853, 1394722852, 1394722849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98584270477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:01:22.366794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_23_2634.jpg', '/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_29_2553.jpg', '/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_33_4196.jpg', '/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_37_2626.jpg', '/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_47_3567.jpg', '/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_50_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_23_2634.jpg
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_29_2553.jpg
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_33_4196.jpg
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_37_2626.jpg
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_47_3567.jpg
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_50_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722863","1394722857","1394722862","1394722859","1394722861","1394722864"],"photo_ids_order":["1394722857","1394722859","1394722861","1394722862","1394722863","1394722864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7c3b310f318fd0e54c79f7519cca91d.jpg","text":"TemporaryFile(/tmp/multipartBody5997080003414360389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272943087,"filename":"image_16112025_06_55_47_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6848aba5c3cca71975cacd7ea16fdeb.jpg","text":"TemporaryFile(/tmp/multipartBody4743342984771854721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272943087,"filename":"image_16112025_06_55_23_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1171ff301abf78dc84e99ef427f43c53.jpg","text":"TemporaryFile(/tmp/multipartBody5995207008796946207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272943087,"filename":"image_16112025_06_55_37_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f70f0356d04fc36052c310a91673cdb.jpg","text":"TemporaryFile(/tmp/multipartBody5361010160868133612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272943087,"filename":"image_16112025_06_55_29_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74dd3588ca9020a8cb31cbdb9fdfdfe6.jpg","text":"TemporaryFile(/tmp/multipartBody1847365233196542580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272943087,"filename":"image_16112025_06_55_33_4196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fa961ec02f2600ee1a9d3cd20bd060a.jpg","text":"TemporaryFile(/tmp/multipartBody6520651966515489123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272943087,"filename":"image_16112025_06_55_50_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722861","file1":"1394722859","file0":"1394722857","file4":"1394722863","file5":"1394722864","file3":"1394722862"},"map_files_photo_id_array":[{"photo_id":"1394722864","filename":"file5"},{"photo_id":"1394722861","filename":"file2"},{"photo_id":"1394722863","filename":"file4"},{"photo_id":"1394722859","filename":"file1"},{"photo_id":"1394722857","filename":"file0"},{"photo_id":"1394722862","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722863":["hashtag1","hashtag2"]},{"1394722857":["hashtag1","hashtag2"]},{"1394722862":["hashtag1","hashtag2"]},{"1394722859":["hashtag1","hashtag2"]},{"1394722861":["hashtag1","hashtag2"]},{"1394722864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722863, 1394722857, 1394722862, 1394722859, 1394722861, 1394722864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53666543960571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:02:02.994375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_56_3531.jpg', '/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_59_2692.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_11_2631.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_17_3637.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_23_2776.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_32_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_56_3531.jpg
/home/pi/Desktop/images/16112025/06/55/image_16112025_06_55_59_2692.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_11_2631.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_17_3637.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_23_2776.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_32_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722871","1394722865","1394722874","1394722868","1394722867","1394722866"],"photo_ids_order":["1394722865","1394722866","1394722867","1394722868","1394722871","1394722874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13cfe50b93006069670d69de40cb7585.jpg","text":"TemporaryFile(/tmp/multipartBody8365738749348344570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272983765,"filename":"image_16112025_06_56_23_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e52cf5c1359ae7fd7d115d7a5809ff7.jpg","text":"TemporaryFile(/tmp/multipartBody6086473536656716872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272983765,"filename":"image_16112025_06_55_56_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/398560e3734571b3bf94bd86b43dca89.jpg","text":"TemporaryFile(/tmp/multipartBody5821765545735750671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272983765,"filename":"image_16112025_06_56_32_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa82fe15a5a9fd0d33c4255fc872fcb8.jpg","text":"TemporaryFile(/tmp/multipartBody596103013628497863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272983765,"filename":"image_16112025_06_56_17_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ac477361d4954c6115505fbe8abcaaa.jpg","text":"TemporaryFile(/tmp/multipartBody6406544503402007577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272983765,"filename":"image_16112025_06_56_11_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/834d90253cb65cd670777c528e6dc976.jpg","text":"TemporaryFile(/tmp/multipartBody1791539252181268646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763272983765,"filename":"image_16112025_06_55_59_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722867","file1":"1394722866","file0":"1394722865","file4":"1394722871","file5":"1394722874","file3":"1394722868"},"map_files_photo_id_array":[{"photo_id":"1394722874","filename":"file5"},{"photo_id":"1394722867","filename":"file2"},{"photo_id":"1394722871","filename":"file4"},{"photo_id":"1394722866","filename":"file1"},{"photo_id":"1394722865","filename":"file0"},{"photo_id":"1394722868","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722871":["hashtag1","hashtag2"]},{"1394722865":["hashtag1","hashtag2"]},{"1394722874":["hashtag1","hashtag2"]},{"1394722868":["hashtag1","hashtag2"]},{"1394722867":["hashtag1","hashtag2"]},{"1394722866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722871, 1394722865, 1394722874, 1394722868, 1394722867, 1394722866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8998601436615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:02:42.542923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_38_2719.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_41_2630.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_44_3649.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_47_2588.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_50_2761.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_53_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_38_2719.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_41_2630.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_44_3649.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_47_2588.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_50_2761.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_53_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722880","1394722877","1394722886","1394722882","1394722879","1394722878"],"photo_ids_order":["1394722877","1394722878","1394722879","1394722880","1394722882","1394722886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18b55bba2e19a33e010bbf508ba4cefa.jpg","text":"TemporaryFile(/tmp/multipartBody1747811548528477606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273023273,"filename":"image_16112025_06_56_47_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3279634e90581b129c627eccd50cc7f.jpg","text":"TemporaryFile(/tmp/multipartBody5303294460718809542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273023273,"filename":"image_16112025_06_56_38_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc13b915867d4f2b761a9309254b68ed.jpg","text":"TemporaryFile(/tmp/multipartBody5701538296144350196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273023273,"filename":"image_16112025_06_56_53_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18760aedc4c57cb58f8a4a0d3b3dd9cd.jpg","text":"TemporaryFile(/tmp/multipartBody6177408699459172412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273023273,"filename":"image_16112025_06_56_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/11/16/c94b0a95b0ef58a0ad9b340b251df90d.jpg","text":"TemporaryFile(/tmp/multipartBody4925314466369187502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273023273,"filename":"image_16112025_06_56_44_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5aa8dd153c2db6a3bfd0dadce07db2f.jpg","text":"TemporaryFile(/tmp/multipartBody923994261520106827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273023273,"filename":"image_16112025_06_56_41_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722879","file1":"1394722878","file0":"1394722877","file4":"1394722882","file5":"1394722886","file3":"1394722880"},"map_files_photo_id_array":[{"photo_id":"1394722886","filename":"file5"},{"photo_id":"1394722879","filename":"file2"},{"photo_id":"1394722882","filename":"file4"},{"photo_id":"1394722878","filename":"file1"},{"photo_id":"1394722877","filename":"file0"},{"photo_id":"1394722880","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722880":["hashtag1","hashtag2"]},{"1394722877":["hashtag1","hashtag2"]},{"1394722886":["hashtag1","hashtag2"]},{"1394722882":["hashtag1","hashtag2"]},{"1394722879":["hashtag1","hashtag2"]},{"1394722878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722880, 1394722877, 1394722886, 1394722882, 1394722879, 1394722878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35118770599365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:03:22.890995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_56_2794.jpg', '/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_59_2700.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_01_2581.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_05_3576.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_07_2587.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_14_3779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_56_2794.jpg
/home/pi/Desktop/images/16112025/06/56/image_16112025_06_56_59_2700.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_01_2581.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_05_3576.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_07_2587.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_14_3779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722895","1394722898","1394722892","1394722894","1394722897","1394722899"],"photo_ids_order":["1394722892","1394722894","1394722895","1394722897","1394722898","1394722899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/985dd72f3055bdc972391fd2fbfd05f7.jpg","text":"TemporaryFile(/tmp/multipartBody6034674547162003165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273063615,"filename":"image_16112025_06_57_01_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7db23825c953dc86f07e498fcf86d66.jpg","text":"TemporaryFile(/tmp/multipartBody3851186855510499072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273063615,"filename":"image_16112025_06_57_07_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bd9ef673c2e5dd44bf7d4d50e996542.jpg","text":"TemporaryFile(/tmp/multipartBody6654470693063547076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273063615,"filename":"image_16112025_06_56_56_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcdc54fcb18769a1b54c53c5aa452491.jpg","text":"TemporaryFile(/tmp/multipartBody7233161905893131213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273063615,"filename":"image_16112025_06_56_59_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0db2d534a754b7a6713fdb0e95ab4f17.jpg","text":"TemporaryFile(/tmp/multipartBody7859324038297527273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273063615,"filename":"image_16112025_06_57_05_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/daacfc9c6afa92e54388c6b9572d85fd.jpg","text":"TemporaryFile(/tmp/multipartBody236053217815096754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273063615,"filename":"image_16112025_06_57_14_3779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722895","file1":"1394722894","file0":"1394722892","file4":"1394722898","file5":"1394722899","file3":"1394722897"},"map_files_photo_id_array":[{"photo_id":"1394722899","filename":"file5"},{"photo_id":"1394722895","filename":"file2"},{"photo_id":"1394722898","filename":"file4"},{"photo_id":"1394722894","filename":"file1"},{"photo_id":"1394722892","filename":"file0"},{"photo_id":"1394722897","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722895":["hashtag1","hashtag2"]},{"1394722898":["hashtag1","hashtag2"]},{"1394722892":["hashtag1","hashtag2"]},{"1394722894":["hashtag1","hashtag2"]},{"1394722897":["hashtag1","hashtag2"]},{"1394722899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722895, 1394722898, 1394722892, 1394722894, 1394722897, 1394722899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.037025928497314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:04:02.891730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_17_2708.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_32_3729.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_38_3501.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_43_2633.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_47_3722.jpg', '/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_53_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_17_2708.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_32_3729.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_38_3501.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_43_2633.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_47_3722.jpg
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_53_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722902","1394722911","1394722908","1394722904","1394722906","1394722915"],"photo_ids_order":["1394722902","1394722904","1394722906","1394722908","1394722911","1394722915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62a7009fc16b17a6b49973e0699c27f6.jpg","text":"TemporaryFile(/tmp/multipartBody8620848249292165062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273103750,"filename":"image_16112025_06_57_17_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f8f9c867d3c78eb18553d2eea0b8e38.jpg","text":"TemporaryFile(/tmp/multipartBody2211834560475210810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273103750,"filename":"image_16112025_06_57_47_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c007495ea47d23c65347bb0ceb716782.jpg","text":"TemporaryFile(/tmp/multipartBody9183810430527285019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273103750,"filename":"image_16112025_06_57_43_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17225f81889ecafdfb58cf4026ef3c53.jpg","text":"TemporaryFile(/tmp/multipartBody6173075248516067105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273103750,"filename":"image_16112025_06_57_32_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a777df721a80b2f43949e880dfcb80ed.jpg","text":"TemporaryFile(/tmp/multipartBody5596538181493220313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273103750,"filename":"image_16112025_06_57_38_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd99e4b5615fa5d81089a94045b7bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody7409878432822240942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273103750,"filename":"image_16112025_06_57_53_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722906","file1":"1394722904","file0":"1394722902","file4":"1394722911","file5":"1394722915","file3":"1394722908"},"map_files_photo_id_array":[{"photo_id":"1394722915","filename":"file5"},{"photo_id":"1394722906","filename":"file2"},{"photo_id":"1394722911","filename":"file4"},{"photo_id":"1394722904","filename":"file1"},{"photo_id":"1394722902","filename":"file0"},{"photo_id":"1394722908","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722902":["hashtag1","hashtag2"]},{"1394722911":["hashtag1","hashtag2"]},{"1394722908":["hashtag1","hashtag2"]},{"1394722904":["hashtag1","hashtag2"]},{"1394722906":["hashtag1","hashtag2"]},{"1394722915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722902, 1394722911, 1394722908, 1394722904, 1394722906, 1394722915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.411458015441895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:04:42.076296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_59_3814.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_08_3537.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_13_2558.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_17_3629.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_19_2668.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_31_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/57/image_16112025_06_57_59_3814.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_08_3537.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_13_2558.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_17_3629.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_19_2668.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_31_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722920","1394722917","1394722922","1394722919","1394722918","1394722921"],"photo_ids_order":["1394722917","1394722918","1394722919","1394722920","1394722921","1394722922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c587c5fa5ab889e48918670e8aeaab8.jpg","text":"TemporaryFile(/tmp/multipartBody7281223877923322282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273142771,"filename":"image_16112025_06_58_17_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d9a5c008da87ad225ec9f3a6f807890.jpg","text":"TemporaryFile(/tmp/multipartBody8576252350744009245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273142771,"filename":"image_16112025_06_57_59_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d9adcb3500d450cc184cbd5b42c436f.jpg","text":"TemporaryFile(/tmp/multipartBody4423004460444811268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273142771,"filename":"image_16112025_06_58_31_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1daff584787f3c019479ae1e4eaacdae.jpg","text":"TemporaryFile(/tmp/multipartBody3442779690109897084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273142771,"filename":"image_16112025_06_58_13_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/807447be9e69879c51928f7666d0440c.jpg","text":"TemporaryFile(/tmp/multipartBody5691784537486861102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273142771,"filename":"image_16112025_06_58_08_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfc3f63446fd0f110211ba15bb4007f4.jpg","text":"TemporaryFile(/tmp/multipartBody4975128151576094075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273142771,"filename":"image_16112025_06_58_19_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722919","file1":"1394722918","file0":"1394722917","file4":"1394722921","file5":"1394722922","file3":"1394722920"},"map_files_photo_id_array":[{"photo_id":"1394722922","filename":"file5"},{"photo_id":"1394722919","filename":"file2"},{"photo_id":"1394722921","filename":"file4"},{"photo_id":"1394722918","filename":"file1"},{"photo_id":"1394722917","filename":"file0"},{"photo_id":"1394722920","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722920":["hashtag1","hashtag2"]},{"1394722917":["hashtag1","hashtag2"]},{"1394722922":["hashtag1","hashtag2"]},{"1394722919":["hashtag1","hashtag2"]},{"1394722918":["hashtag1","hashtag2"]},{"1394722921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722920, 1394722917, 1394722922, 1394722919, 1394722918, 1394722921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.835816860198975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:05:22.284996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_35_3794.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_40_2628.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_43_2870.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_47_3612.jpg', '/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_56_3726.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_01_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_35_3794.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_40_2628.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_43_2870.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_47_3612.jpg
/home/pi/Desktop/images/16112025/06/58/image_16112025_06_58_56_3726.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_01_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722932","1394722929","1394722926","1394722925","1394722928","1394722930"],"photo_ids_order":["1394722925","1394722926","1394722928","1394722929","1394722930","1394722932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84bfc9937e6d37458ab960ccc6a3a297.jpg","text":"TemporaryFile(/tmp/multipartBody954823130643219704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273182984,"filename":"image_16112025_06_59_01_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd37e7bf5f28e739ada3e400e343968f.jpg","text":"TemporaryFile(/tmp/multipartBody5610305041788691045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273182984,"filename":"image_16112025_06_58_47_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32b6407bb6945d61da7a37d5219f01ce.jpg","text":"TemporaryFile(/tmp/multipartBody1017109987034569371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273182984,"filename":"image_16112025_06_58_40_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bc4d3f1558510a7d80f4ff92100756f.jpg","text":"TemporaryFile(/tmp/multipartBody1866862135760791354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273182984,"filename":"image_16112025_06_58_35_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4eace59086cce8a8d01b2ade86c056f.jpg","text":"TemporaryFile(/tmp/multipartBody3736481351848062580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273182984,"filename":"image_16112025_06_58_43_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b552e6ced9a3dd9bcb702a4c1954029.jpg","text":"TemporaryFile(/tmp/multipartBody619678772029191074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273182984,"filename":"image_16112025_06_58_56_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722928","file1":"1394722926","file0":"1394722925","file4":"1394722930","file5":"1394722932","file3":"1394722929"},"map_files_photo_id_array":[{"photo_id":"1394722932","filename":"file5"},{"photo_id":"1394722928","filename":"file2"},{"photo_id":"1394722930","filename":"file4"},{"photo_id":"1394722926","filename":"file1"},{"photo_id":"1394722925","filename":"file0"},{"photo_id":"1394722929","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722932":["hashtag1","hashtag2"]},{"1394722929":["hashtag1","hashtag2"]},{"1394722926":["hashtag1","hashtag2"]},{"1394722925":["hashtag1","hashtag2"]},{"1394722928":["hashtag1","hashtag2"]},{"1394722930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722932, 1394722929, 1394722926, 1394722925, 1394722928, 1394722930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.007681369781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:06:03.234090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_10_2719.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_13_2697.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_19_2698.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_22_2868.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_25_2662.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_31_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_10_2719.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_13_2697.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_19_2698.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_22_2868.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_25_2662.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_31_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.795316219329834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:06:22.632406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_10_2719.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_13_2697.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_19_2698.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_22_2868.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_25_2662.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_31_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_10_2719.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_13_2697.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_19_2698.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_22_2868.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_25_2662.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_31_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722947","1394722941","1394722944","1394722943","1394722940","1394722945"],"photo_ids_order":["1394722940","1394722941","1394722943","1394722944","1394722945","1394722947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19caa95112f6f4b109915c7dcf51d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody9190165207776926127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273243360,"filename":"image_16112025_06_59_31_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0db639ed07520bd75c023f95a39adfd.jpg","text":"TemporaryFile(/tmp/multipartBody5193332937725818451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273243360,"filename":"image_16112025_06_59_13_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72c0f5afd3afd66c1a47ec5cb7cadd46.jpg","text":"TemporaryFile(/tmp/multipartBody5416583158384209474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273243360,"filename":"image_16112025_06_59_22_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5d3bcd81073ba74cdec2614f38806ad.jpg","text":"TemporaryFile(/tmp/multipartBody489252732309309510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273243360,"filename":"image_16112025_06_59_19_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fae2c2339641ab550afeb174450cc4d.jpg","text":"TemporaryFile(/tmp/multipartBody4977109281453011473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273243360,"filename":"image_16112025_06_59_10_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1dd958f6611b04a57a7d38293a16ac5f.jpg","text":"TemporaryFile(/tmp/multipartBody6545638635665357898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273243360,"filename":"image_16112025_06_59_25_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722943","file1":"1394722941","file0":"1394722940","file4":"1394722945","file5":"1394722947","file3":"1394722944"},"map_files_photo_id_array":[{"photo_id":"1394722947","filename":"file5"},{"photo_id":"1394722943","filename":"file2"},{"photo_id":"1394722945","filename":"file4"},{"photo_id":"1394722941","filename":"file1"},{"photo_id":"1394722940","filename":"file0"},{"photo_id":"1394722944","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722947":["hashtag1","hashtag2"]},{"1394722941":["hashtag1","hashtag2"]},{"1394722944":["hashtag1","hashtag2"]},{"1394722943":["hashtag1","hashtag2"]},{"1394722940":["hashtag1","hashtag2"]},{"1394722945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722947, 1394722941, 1394722944, 1394722943, 1394722940, 1394722945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2961847782135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:07:02.547614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_43_2742.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_46_2743.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_50_3700.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_52_2656.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_59_3653.jpg', '/home/pi/Desktop/images/16112025/06/59/image_16112025_07_00_01_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_43_2742.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_46_2743.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_50_3700.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_52_2656.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_06_59_59_3653.jpg
/home/pi/Desktop/images/16112025/06/59/image_16112025_07_00_01_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722953","1394722956","1394722949","1394722948","1394722951","1394722950"],"photo_ids_order":["1394722948","1394722949","1394722950","1394722951","1394722953","1394722956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24b7d96e64c42751f1b3e3692e73a1b1.jpg","text":"TemporaryFile(/tmp/multipartBody7932247392729767892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273283378,"filename":"image_16112025_06_59_59_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d424b6389e422a054ccde94b2ed47ef9.jpg","text":"TemporaryFile(/tmp/multipartBody6193064215165038994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273283378,"filename":"image_16112025_07_00_01_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/742764b725f4a4d45e63dcae7ba38a8b.jpg","text":"TemporaryFile(/tmp/multipartBody5092008046904778031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273283378,"filename":"image_16112025_06_59_46_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40965b7b5ac04eb9b9795debb89474a7.jpg","text":"TemporaryFile(/tmp/multipartBody3177548814245497471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273283378,"filename":"image_16112025_06_59_43_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/747f5ff52e44b0cd26ec672b2cda3475.jpg","text":"TemporaryFile(/tmp/multipartBody8596744608226488327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273283378,"filename":"image_16112025_06_59_52_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3cf3289526dbf0d7075e92d1f2a91286.jpg","text":"TemporaryFile(/tmp/multipartBody3243589167094179911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273283378,"filename":"image_16112025_06_59_50_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722950","file1":"1394722949","file0":"1394722948","file4":"1394722953","file5":"1394722956","file3":"1394722951"},"map_files_photo_id_array":[{"photo_id":"1394722956","filename":"file5"},{"photo_id":"1394722950","filename":"file2"},{"photo_id":"1394722953","filename":"file4"},{"photo_id":"1394722949","filename":"file1"},{"photo_id":"1394722948","filename":"file0"},{"photo_id":"1394722951","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722953":["hashtag1","hashtag2"]},{"1394722956":["hashtag1","hashtag2"]},{"1394722949":["hashtag1","hashtag2"]},{"1394722948":["hashtag1","hashtag2"]},{"1394722951":["hashtag1","hashtag2"]},{"1394722950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722953, 1394722956, 1394722949, 1394722948, 1394722951, 1394722950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91409468650818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:07:41.793108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_08_2560.jpg', '/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_10_2607.jpg', '/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_13_2896.jpg', '/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_40_2568.jpg', '/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_46_2667.jpg', '/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_53_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_08_2560.jpg
/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_10_2607.jpg
/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_13_2896.jpg
/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_40_2568.jpg
/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_46_2667.jpg
/home/pi/Desktop/images/16112025/07/00/image_16112025_07_00_53_3705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722962","1394722961","1394722960","1394722963","1394722957","1394722959"],"photo_ids_order":["1394722957","1394722959","1394722960","1394722961","1394722962","1394722963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/718cfc5e988284811d1bc64fa946073a.jpg","text":"TemporaryFile(/tmp/multipartBody6250031153463313919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273322482,"filename":"image_16112025_07_00_46_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a496cefc3f0423e4a913be0011ebe56.jpg","text":"TemporaryFile(/tmp/multipartBody8992923264545557074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273322482,"filename":"image_16112025_07_00_40_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf8800f3478bc50385af5a33ae3bc802.jpg","text":"TemporaryFile(/tmp/multipartBody751671045508351879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273322482,"filename":"image_16112025_07_00_13_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e6ff3d50f2766d0383c13a93703d370.jpg","text":"TemporaryFile(/tmp/multipartBody2524664511203368713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273322482,"filename":"image_16112025_07_00_53_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95b9c9d08dc92f2cbebddf4598fe7e83.jpg","text":"TemporaryFile(/tmp/multipartBody6692816606477970509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273322482,"filename":"image_16112025_07_00_08_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e95d52fa51de333c807be30cd9da4b64.jpg","text":"TemporaryFile(/tmp/multipartBody8991457898335793665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273322482,"filename":"image_16112025_07_00_10_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722960","file1":"1394722959","file0":"1394722957","file4":"1394722962","file5":"1394722963","file3":"1394722961"},"map_files_photo_id_array":[{"photo_id":"1394722963","filename":"file5"},{"photo_id":"1394722960","filename":"file2"},{"photo_id":"1394722962","filename":"file4"},{"photo_id":"1394722959","filename":"file1"},{"photo_id":"1394722957","filename":"file0"},{"photo_id":"1394722961","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722962":["hashtag1","hashtag2"]},{"1394722961":["hashtag1","hashtag2"]},{"1394722960":["hashtag1","hashtag2"]},{"1394722963":["hashtag1","hashtag2"]},{"1394722957":["hashtag1","hashtag2"]},{"1394722959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722962, 1394722961, 1394722960, 1394722963, 1394722957, 1394722959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70818328857422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:08:21.985720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_16_2622.jpg', '/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_20_3746.jpg', '/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_25_2748.jpg', '/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_32_2824.jpg', '/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_34_2566.jpg', '/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_40_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_16_2622.jpg
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_20_3746.jpg
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_25_2748.jpg
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_32_2824.jpg
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_34_2566.jpg
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_40_3577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722980","1394722976","1394722973","1394722969","1394722978","1394722983"],"photo_ids_order":["1394722969","1394722973","1394722976","1394722978","1394722980","1394722983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18064b8d021757ef8a2ec88739b313e0.jpg","text":"TemporaryFile(/tmp/multipartBody2540889956275854489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273362717,"filename":"image_16112025_07_01_34_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0d525a1263c0cb63de02f8743c6c382.jpg","text":"TemporaryFile(/tmp/multipartBody9031849628658710071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273362717,"filename":"image_16112025_07_01_25_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50e113cee9d968f0c9259773565fdf9c.jpg","text":"TemporaryFile(/tmp/multipartBody9000708631354432010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273362717,"filename":"image_16112025_07_01_20_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5bcbe35ca8bed32e377d293c787e066.jpg","text":"TemporaryFile(/tmp/multipartBody8900321188475589289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273362717,"filename":"image_16112025_07_01_16_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1a9784b39be1b8be18a2daaf53ddd2c.jpg","text":"TemporaryFile(/tmp/multipartBody2869961226404017662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273362717,"filename":"image_16112025_07_01_32_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/050344957a04510f45ecb4d551937c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6842261826383448760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273362717,"filename":"image_16112025_07_01_40_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722976","file1":"1394722973","file0":"1394722969","file4":"1394722980","file5":"1394722983","file3":"1394722978"},"map_files_photo_id_array":[{"photo_id":"1394722983","filename":"file5"},{"photo_id":"1394722976","filename":"file2"},{"photo_id":"1394722980","filename":"file4"},{"photo_id":"1394722973","filename":"file1"},{"photo_id":"1394722969","filename":"file0"},{"photo_id":"1394722978","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722980":["hashtag1","hashtag2"]},{"1394722976":["hashtag1","hashtag2"]},{"1394722973":["hashtag1","hashtag2"]},{"1394722969":["hashtag1","hashtag2"]},{"1394722978":["hashtag1","hashtag2"]},{"1394722983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722980, 1394722976, 1394722973, 1394722969, 1394722978, 1394722983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48502039909363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:09:03.295226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_43_2669.jpg', '/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_47_3611.jpg', '/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_52_2640.jpg', '/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_55_2715.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_04_2717.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_13_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_43_2669.jpg
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_47_3611.jpg
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_52_2640.jpg
/home/pi/Desktop/images/16112025/07/01/image_16112025_07_01_55_2715.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_04_2717.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_13_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394722989","1394722991","1394722985","1394722993","1394722987","1394722986"],"photo_ids_order":["1394722985","1394722986","1394722987","1394722989","1394722991","1394722993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd065085648fdc379dec965d9d994ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2419586363269370710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273404166,"filename":"image_16112025_07_01_55_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f8d78bac30d483f448c82b8cf447a9b.jpg","text":"TemporaryFile(/tmp/multipartBody4905880362804668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273404166,"filename":"image_16112025_07_02_04_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f63fac6186df73928f977ba43695d8a4.jpg","text":"TemporaryFile(/tmp/multipartBody4877039691793350939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273404166,"filename":"image_16112025_07_01_43_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/915654df03313b4d3206bc7ead728b03.jpg","text":"TemporaryFile(/tmp/multipartBody3054043511578930704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273404166,"filename":"image_16112025_07_02_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/11/16/153a68cd1c39acb27925b45334456993.jpg","text":"TemporaryFile(/tmp/multipartBody5668490860902891073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273404166,"filename":"image_16112025_07_01_52_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87244c8a44c58dd48495b49c550151e8.jpg","text":"TemporaryFile(/tmp/multipartBody5877907800914688274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273404166,"filename":"image_16112025_07_01_47_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394722987","file1":"1394722986","file0":"1394722985","file4":"1394722991","file5":"1394722993","file3":"1394722989"},"map_files_photo_id_array":[{"photo_id":"1394722993","filename":"file5"},{"photo_id":"1394722987","filename":"file2"},{"photo_id":"1394722991","filename":"file4"},{"photo_id":"1394722986","filename":"file1"},{"photo_id":"1394722985","filename":"file0"},{"photo_id":"1394722989","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394722989":["hashtag1","hashtag2"]},{"1394722991":["hashtag1","hashtag2"]},{"1394722985":["hashtag1","hashtag2"]},{"1394722993":["hashtag1","hashtag2"]},{"1394722987":["hashtag1","hashtag2"]},{"1394722986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394722989, 1394722991, 1394722985, 1394722993, 1394722987, 1394722986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66055703163147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:09:42.197848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_16_2946.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_20_3691.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_22_2671.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_32_3643.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_41_3641.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_49_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_16_2946.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_20_3691.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_22_2671.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_32_3643.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_41_3641.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_49_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723001","1394723004","1394722997","1394723003","1394722999","1394723002"],"photo_ids_order":["1394722997","1394722999","1394723001","1394723002","1394723003","1394723004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24fbef8463689154e699ad5509be875c.jpg","text":"TemporaryFile(/tmp/multipartBody8482697351944949516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273442895,"filename":"image_16112025_07_02_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/11/16/70fba537d9764e1c7bf50ebbcd4e872e.jpg","text":"TemporaryFile(/tmp/multipartBody1429178602797819047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273442895,"filename":"image_16112025_07_02_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/11/16/a48bdeb798329fd0a3f33ddef945adba.jpg","text":"TemporaryFile(/tmp/multipartBody2258112852316841113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273442895,"filename":"image_16112025_07_02_16_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c38fb4ab1d186adc0b07344d2d225a30.jpg","text":"TemporaryFile(/tmp/multipartBody5297482035573936628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273442895,"filename":"image_16112025_07_02_41_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52af7b25859e8790ba420958e6799749.jpg","text":"TemporaryFile(/tmp/multipartBody4360113279811615483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273442895,"filename":"image_16112025_07_02_20_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4136cd428633453a463bb69047e2efcf.jpg","text":"TemporaryFile(/tmp/multipartBody2612852795033615083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273442895,"filename":"image_16112025_07_02_32_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723001","file1":"1394722999","file0":"1394722997","file4":"1394723003","file5":"1394723004","file3":"1394723002"},"map_files_photo_id_array":[{"photo_id":"1394723004","filename":"file5"},{"photo_id":"1394723001","filename":"file2"},{"photo_id":"1394723003","filename":"file4"},{"photo_id":"1394722999","filename":"file1"},{"photo_id":"1394722997","filename":"file0"},{"photo_id":"1394723002","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723001":["hashtag1","hashtag2"]},{"1394723004":["hashtag1","hashtag2"]},{"1394722997":["hashtag1","hashtag2"]},{"1394723003":["hashtag1","hashtag2"]},{"1394722999":["hashtag1","hashtag2"]},{"1394723002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723001, 1394723004, 1394722997, 1394723003, 1394722999, 1394723002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23399019241333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:10:22.385061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_55_2665.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_58_2628.jpg', '/home/pi/Desktop/images/16112025/07/02/image_16112025_07_03_01_3691.jpg', '/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_10_2827.jpg', '/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_13_3660.jpg', '/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_25_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_55_2665.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_02_58_2628.jpg
/home/pi/Desktop/images/16112025/07/02/image_16112025_07_03_01_3691.jpg
/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_10_2827.jpg
/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_13_3660.jpg
/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_25_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723016","1394723012","1394723018","1394723011","1394723014","1394723008"],"photo_ids_order":["1394723008","1394723011","1394723012","1394723014","1394723016","1394723018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/502cc4cd0acae7800735fc995e0dba1d.jpg","text":"TemporaryFile(/tmp/multipartBody8039477516046580595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273483105,"filename":"image_16112025_07_03_13_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e105b66f6c0064464214e431dd96e897.jpg","text":"TemporaryFile(/tmp/multipartBody8810723691118611538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273483105,"filename":"image_16112025_07_03_01_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f92ee77189607d45cc9339b9101c8b5.jpg","text":"TemporaryFile(/tmp/multipartBody2722862167506637609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273483105,"filename":"image_16112025_07_03_25_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19515ed3574836f054cbdc2ea5b4e493.jpg","text":"TemporaryFile(/tmp/multipartBody3027683126964774256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273483105,"filename":"image_16112025_07_02_58_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3403cb919fffd2484c6b7061e522df8.jpg","text":"TemporaryFile(/tmp/multipartBody1728118564446419824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273483105,"filename":"image_16112025_07_03_10_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ccfde6ade51a3443c91d6a445e05ffdc.jpg","text":"TemporaryFile(/tmp/multipartBody2948352664011343918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273483105,"filename":"image_16112025_07_02_55_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723012","file1":"1394723011","file0":"1394723008","file4":"1394723016","file5":"1394723018","file3":"1394723014"},"map_files_photo_id_array":[{"photo_id":"1394723018","filename":"file5"},{"photo_id":"1394723012","filename":"file2"},{"photo_id":"1394723016","filename":"file4"},{"photo_id":"1394723011","filename":"file1"},{"photo_id":"1394723008","filename":"file0"},{"photo_id":"1394723014","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723016":["hashtag1","hashtag2"]},{"1394723012":["hashtag1","hashtag2"]},{"1394723018":["hashtag1","hashtag2"]},{"1394723011":["hashtag1","hashtag2"]},{"1394723014":["hashtag1","hashtag2"]},{"1394723008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723016, 1394723012, 1394723018, 1394723011, 1394723014, 1394723008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37814903259277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:11:03.280603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_28_2761.jpg', '/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_40_2659.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_13_2765.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_22_3727.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_25_2676.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_28_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_28_2761.jpg
/home/pi/Desktop/images/16112025/07/03/image_16112025_07_03_40_2659.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_13_2765.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_22_3727.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_25_2676.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_28_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723030","1394723033","1394723036","1394723023","1394723026","1394723028"],"photo_ids_order":["1394723023","1394723026","1394723028","1394723030","1394723033","1394723036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7730f02aa6185e0eaaf02a94327ebae8.jpg","text":"TemporaryFile(/tmp/multipartBody3489557487948713678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273524102,"filename":"image_16112025_07_04_22_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a392739a22a6d051e3acd9ac7fa8725.jpg","text":"TemporaryFile(/tmp/multipartBody2251800994889052324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273524102,"filename":"image_16112025_07_04_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/11/16/e677863e3e4ec57ef3efc396a8fe34e7.jpg","text":"TemporaryFile(/tmp/multipartBody2391555125654508401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273524102,"filename":"image_16112025_07_04_28_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7fffa5c948424dcc06587dca62cbe7b.jpg","text":"TemporaryFile(/tmp/multipartBody8920405389124357287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273524102,"filename":"image_16112025_07_03_28_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f895b0a86490d7ad1ebb1cc14374f65.jpg","text":"TemporaryFile(/tmp/multipartBody2621128053127142737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273524102,"filename":"image_16112025_07_03_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/11/16/a03e0329aabbdc90a18dff49baecedfa.jpg","text":"TemporaryFile(/tmp/multipartBody5797905461132046391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273524102,"filename":"image_16112025_07_04_13_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723028","file1":"1394723026","file0":"1394723023","file4":"1394723033","file5":"1394723036","file3":"1394723030"},"map_files_photo_id_array":[{"photo_id":"1394723036","filename":"file5"},{"photo_id":"1394723028","filename":"file2"},{"photo_id":"1394723033","filename":"file4"},{"photo_id":"1394723026","filename":"file1"},{"photo_id":"1394723023","filename":"file0"},{"photo_id":"1394723030","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723030":["hashtag1","hashtag2"]},{"1394723033":["hashtag1","hashtag2"]},{"1394723036":["hashtag1","hashtag2"]},{"1394723023":["hashtag1","hashtag2"]},{"1394723026":["hashtag1","hashtag2"]},{"1394723028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723030, 1394723033, 1394723036, 1394723023, 1394723026, 1394723028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29567337036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:11:42.568621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_34_2793.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_37_2773.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_49_2676.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_55_3615.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_12_2753.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_25_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_34_2793.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_37_2773.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_49_2676.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_55_3615.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_12_2753.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_25_3702.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.6147260665893555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:12:02.365603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_34_2793.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_37_2773.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_49_2676.jpg', '/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_55_3615.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_12_2753.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_25_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_34_2793.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_37_2773.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_49_2676.jpg
/home/pi/Desktop/images/16112025/07/04/image_16112025_07_04_55_3615.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_12_2753.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_25_3702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723045","1394723054","1394723048","1394723047","1394723050","1394723046"],"photo_ids_order":["1394723045","1394723046","1394723047","1394723048","1394723050","1394723054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/404f8b44445fad4564671d2e43468974.jpg","text":"TemporaryFile(/tmp/multipartBody6994400785969033487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273583152,"filename":"image_16112025_07_04_34_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d4bb9fa12130d1239dd5c537192fdfe.jpg","text":"TemporaryFile(/tmp/multipartBody5511964233948611578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273583152,"filename":"image_16112025_07_05_25_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc9d88d9eb2bb6e9bdea58ae2b60d31d.jpg","text":"TemporaryFile(/tmp/multipartBody5771920246727291132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273583152,"filename":"image_16112025_07_04_55_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cda608c367675058f62ebaa6e6b3f3f.jpg","text":"TemporaryFile(/tmp/multipartBody2984019458059753468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273583152,"filename":"image_16112025_07_04_49_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6e773d8ad4e4bd853ccc9be8f6dda88.jpg","text":"TemporaryFile(/tmp/multipartBody5276588996805042074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273583152,"filename":"image_16112025_07_05_12_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78792d339d961b96d7e4513834769e12.jpg","text":"TemporaryFile(/tmp/multipartBody6861178979062222156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273583152,"filename":"image_16112025_07_04_37_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723047","file1":"1394723046","file0":"1394723045","file4":"1394723050","file5":"1394723054","file3":"1394723048"},"map_files_photo_id_array":[{"photo_id":"1394723054","filename":"file5"},{"photo_id":"1394723047","filename":"file2"},{"photo_id":"1394723050","filename":"file4"},{"photo_id":"1394723046","filename":"file1"},{"photo_id":"1394723045","filename":"file0"},{"photo_id":"1394723048","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723045":["hashtag1","hashtag2"]},{"1394723054":["hashtag1","hashtag2"]},{"1394723048":["hashtag1","hashtag2"]},{"1394723047":["hashtag1","hashtag2"]},{"1394723050":["hashtag1","hashtag2"]},{"1394723046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723045, 1394723054, 1394723048, 1394723047, 1394723050, 1394723046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.216691732406616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:12:41.752906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_28_2755.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_31_2704.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_37_3788.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_43_2902.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_46_2754.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_49_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_28_2755.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_31_2704.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_37_3788.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_43_2902.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_46_2754.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_49_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723069","1394723066","1394723065","1394723068","1394723064","1394723067"],"photo_ids_order":["1394723064","1394723065","1394723066","1394723067","1394723068","1394723069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2caca9d8cffbb729d6e29ffce3daf6e8.jpg","text":"TemporaryFile(/tmp/multipartBody7334613601477451105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273622446,"filename":"image_16112025_07_05_49_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03176a76ac5480e20b5bbc7bf6f1998f.jpg","text":"TemporaryFile(/tmp/multipartBody8131885910641714219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273622446,"filename":"image_16112025_07_05_37_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8a90cef42c4af0fa588d36a80146850.jpg","text":"TemporaryFile(/tmp/multipartBody4488380069277878160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273622446,"filename":"image_16112025_07_05_31_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c36241490879fb3154a3ca7c1a5ff77.jpg","text":"TemporaryFile(/tmp/multipartBody7367603575157767563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273622446,"filename":"image_16112025_07_05_46_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36b2eaf19ad4e9b36aab54ceaa080b50.jpg","text":"TemporaryFile(/tmp/multipartBody3960504695999202351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273622446,"filename":"image_16112025_07_05_28_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c614858ec0b2b249411451c71a60f4d5.jpg","text":"TemporaryFile(/tmp/multipartBody2246127372224823262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273622446,"filename":"image_16112025_07_05_43_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723066","file1":"1394723065","file0":"1394723064","file4":"1394723068","file5":"1394723069","file3":"1394723067"},"map_files_photo_id_array":[{"photo_id":"1394723069","filename":"file5"},{"photo_id":"1394723066","filename":"file2"},{"photo_id":"1394723068","filename":"file4"},{"photo_id":"1394723065","filename":"file1"},{"photo_id":"1394723064","filename":"file0"},{"photo_id":"1394723067","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723069":["hashtag1","hashtag2"]},{"1394723066":["hashtag1","hashtag2"]},{"1394723065":["hashtag1","hashtag2"]},{"1394723068":["hashtag1","hashtag2"]},{"1394723064":["hashtag1","hashtag2"]},{"1394723067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723069, 1394723066, 1394723065, 1394723068, 1394723064, 1394723067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83989214897156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:13:21.983727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_57_2773.jpg', '/home/pi/Desktop/images/16112025/07/05/image_16112025_07_06_01_3672.jpg', '/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_04_2701.jpg', '/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_07_2846.jpg', '/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_40_2808.jpg', '/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_45_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_05_57_2773.jpg
/home/pi/Desktop/images/16112025/07/05/image_16112025_07_06_01_3672.jpg
/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_04_2701.jpg
/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_07_2846.jpg
/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_40_2808.jpg
/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_45_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723075","1394723078","1394723072","1394723080","1394723077","1394723076"],"photo_ids_order":["1394723072","1394723075","1394723076","1394723077","1394723078","1394723080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/443224e72b36885cd78a7cef18a638ea.jpg","text":"TemporaryFile(/tmp/multipartBody3583548136973896847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273662697,"filename":"image_16112025_07_06_01_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b836faee059a28443ecaeda5a856c9f0.jpg","text":"TemporaryFile(/tmp/multipartBody4545919248040904766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273662697,"filename":"image_16112025_07_06_40_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64f969efe783670acdda459a2dddaca1.jpg","text":"TemporaryFile(/tmp/multipartBody7181807286026151315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273662697,"filename":"image_16112025_07_05_57_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37d9cb8b3b353e7c129946972d6f95a7.jpg","text":"TemporaryFile(/tmp/multipartBody173276504914080427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273662697,"filename":"image_16112025_07_06_45_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e09a7c2127fcb0b967c124fe66605d84.jpg","text":"TemporaryFile(/tmp/multipartBody4291418599827171882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273662697,"filename":"image_16112025_07_06_07_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bba09c82957e1dc7f8f911498327f4f7.jpg","text":"TemporaryFile(/tmp/multipartBody8832308878394087991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273662697,"filename":"image_16112025_07_06_04_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723076","file1":"1394723075","file0":"1394723072","file4":"1394723078","file5":"1394723080","file3":"1394723077"},"map_files_photo_id_array":[{"photo_id":"1394723080","filename":"file5"},{"photo_id":"1394723076","filename":"file2"},{"photo_id":"1394723078","filename":"file4"},{"photo_id":"1394723075","filename":"file1"},{"photo_id":"1394723072","filename":"file0"},{"photo_id":"1394723077","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723075":["hashtag1","hashtag2"]},{"1394723078":["hashtag1","hashtag2"]},{"1394723072":["hashtag1","hashtag2"]},{"1394723080":["hashtag1","hashtag2"]},{"1394723077":["hashtag1","hashtag2"]},{"1394723076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723075, 1394723078, 1394723072, 1394723080, 1394723077, 1394723076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66910243034363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:14:02.989070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_49_3785.jpg', '/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_54_2675.jpg', '/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_57_2900.jpg', '/home/pi/Desktop/images/16112025/07/07/image_16112025_07_07_19_2901.jpg', '/home/pi/Desktop/images/16112025/07/07/image_16112025_07_07_27_3102.jpg', '/home/pi/Desktop/images/16112025/07/07/image_16112025_07_07_43_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_49_3785.jpg
/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_54_2675.jpg
/home/pi/Desktop/images/16112025/07/06/image_16112025_07_06_57_2900.jpg
/home/pi/Desktop/images/16112025/07/07/image_16112025_07_07_19_2901.jpg
/home/pi/Desktop/images/16112025/07/07/image_16112025_07_07_27_3102.jpg
/home/pi/Desktop/images/16112025/07/07/image_16112025_07_07_43_2533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723083","1394723092","1394723086","1394723089","1394723082","1394723085"],"photo_ids_order":["1394723082","1394723083","1394723085","1394723086","1394723089","1394723092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e3c98e510916c95d96b85c0482a0dec.jpg","text":"TemporaryFile(/tmp/multipartBody3430993902745530842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273703806,"filename":"image_16112025_07_06_54_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afc3605d76695b8846346f27996660d7.jpg","text":"TemporaryFile(/tmp/multipartBody3834287671657244098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273703806,"filename":"image_16112025_07_07_43_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0580a0e9d3e040c8c1c9069943c0360b.jpg","text":"TemporaryFile(/tmp/multipartBody4509937043498531000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273703806,"filename":"image_16112025_07_07_19_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6ae0fe52de20618e9df8c27dc95ba83.jpg","text":"TemporaryFile(/tmp/multipartBody195151627961232525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273703806,"filename":"image_16112025_07_07_27_3102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c43da38501c60e3749d19436fdc3ae8e.jpg","text":"TemporaryFile(/tmp/multipartBody5388064159685554303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273703806,"filename":"image_16112025_07_06_49_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ae14c153dfc368898f375cbec92f7b6.jpg","text":"TemporaryFile(/tmp/multipartBody6707071457305009063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273703806,"filename":"image_16112025_07_06_57_2900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723085","file1":"1394723083","file0":"1394723082","file4":"1394723089","file5":"1394723092","file3":"1394723086"},"map_files_photo_id_array":[{"photo_id":"1394723092","filename":"file5"},{"photo_id":"1394723085","filename":"file2"},{"photo_id":"1394723089","filename":"file4"},{"photo_id":"1394723083","filename":"file1"},{"photo_id":"1394723082","filename":"file0"},{"photo_id":"1394723086","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723083":["hashtag1","hashtag2"]},{"1394723092":["hashtag1","hashtag2"]},{"1394723086":["hashtag1","hashtag2"]},{"1394723089":["hashtag1","hashtag2"]},{"1394723082":["hashtag1","hashtag2"]},{"1394723085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723083, 1394723092, 1394723086, 1394723089, 1394723082, 1394723085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28011441230774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:14:42.335437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/07/image_16112025_07_07_45_2633.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_03_2689.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_07_3593.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_10_2624.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_19_3662.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_21_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/07/image_16112025_07_07_45_2633.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_03_2689.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_07_3593.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_10_2624.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_19_3662.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_21_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723100","1394723096","1394723099","1394723098","1394723097","1394723101"],"photo_ids_order":["1394723096","1394723097","1394723098","1394723099","1394723100","1394723101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9ea15264132c8dda773197a7bd16874.jpg","text":"TemporaryFile(/tmp/multipartBody7166283162918567880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273743033,"filename":"image_16112025_07_08_19_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61e57af278d1a9442f6e5445b9bf5284.jpg","text":"TemporaryFile(/tmp/multipartBody913278656993694955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273743033,"filename":"image_16112025_07_07_45_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d56c159804727ed1e4a9ddb7de484ae8.jpg","text":"TemporaryFile(/tmp/multipartBody992375671882609114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273743033,"filename":"image_16112025_07_08_10_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f7aa3f3cbeb92876e625d7ff1bffc42.jpg","text":"TemporaryFile(/tmp/multipartBody7614184871072954473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273743033,"filename":"image_16112025_07_08_07_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca7a4e2c236b055d13c2f99b9c264609.jpg","text":"TemporaryFile(/tmp/multipartBody6853385373796409762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273743033,"filename":"image_16112025_07_08_03_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/800fe9a42716043ec7a93d4470d91c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1996061490597249598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273743033,"filename":"image_16112025_07_08_21_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723098","file1":"1394723097","file0":"1394723096","file4":"1394723100","file5":"1394723101","file3":"1394723099"},"map_files_photo_id_array":[{"photo_id":"1394723101","filename":"file5"},{"photo_id":"1394723098","filename":"file2"},{"photo_id":"1394723100","filename":"file4"},{"photo_id":"1394723097","filename":"file1"},{"photo_id":"1394723096","filename":"file0"},{"photo_id":"1394723099","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723100":["hashtag1","hashtag2"]},{"1394723096":["hashtag1","hashtag2"]},{"1394723099":["hashtag1","hashtag2"]},{"1394723098":["hashtag1","hashtag2"]},{"1394723097":["hashtag1","hashtag2"]},{"1394723101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723100, 1394723096, 1394723099, 1394723098, 1394723097, 1394723101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5415518283844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:15:22.471665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_30_2672.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_37_2819.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_42_2960.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_49_3766.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_51_2132.jpg', '/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_55_3787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_30_2672.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_37_2819.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_42_2960.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_49_3766.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_51_2132.jpg
/home/pi/Desktop/images/16112025/07/08/image_16112025_07_08_55_3787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723115","1394723118","1394723120","1394723108","1394723117","1394723112"],"photo_ids_order":["1394723108","1394723112","1394723115","1394723117","1394723118","1394723120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb20e5f9beddeb39e9a2410c552fa727.jpg","text":"TemporaryFile(/tmp/multipartBody2860707214064913044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273783187,"filename":"image_16112025_07_08_42_2960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14b800e0f84b859dc430431c34637a08.jpg","text":"TemporaryFile(/tmp/multipartBody469224043391705760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273783187,"filename":"image_16112025_07_08_51_2132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be09535d740a86bab0bf0c5ea3ee640d.jpg","text":"TemporaryFile(/tmp/multipartBody7007799765231573851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273783187,"filename":"image_16112025_07_08_55_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/617269cb7e2b110f74cb1c7594d07464.jpg","text":"TemporaryFile(/tmp/multipartBody7481146790454498459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273783187,"filename":"image_16112025_07_08_30_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/433b6a8438e2491d7966216c233ac0ef.jpg","text":"TemporaryFile(/tmp/multipartBody239780593278566049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273783187,"filename":"image_16112025_07_08_49_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4442aac075ecc82fe9d15b25056a2d77.jpg","text":"TemporaryFile(/tmp/multipartBody763634746101874134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273783187,"filename":"image_16112025_07_08_37_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723115","file1":"1394723112","file0":"1394723108","file4":"1394723118","file5":"1394723120","file3":"1394723117"},"map_files_photo_id_array":[{"photo_id":"1394723120","filename":"file5"},{"photo_id":"1394723115","filename":"file2"},{"photo_id":"1394723118","filename":"file4"},{"photo_id":"1394723112","filename":"file1"},{"photo_id":"1394723108","filename":"file0"},{"photo_id":"1394723117","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723115":["hashtag1","hashtag2"]},{"1394723118":["hashtag1","hashtag2"]},{"1394723120":["hashtag1","hashtag2"]},{"1394723108":["hashtag1","hashtag2"]},{"1394723117":["hashtag1","hashtag2"]},{"1394723112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723115, 1394723118, 1394723120, 1394723108, 1394723117, 1394723112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67742466926575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:16:02.389454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_07_2666.jpg', '/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_12_2989.jpg', '/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_36_2789.jpg', '/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_40_3649.jpg', '/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_52_3748.jpg', '/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_04_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_07_2666.jpg
/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_12_2989.jpg
/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_36_2789.jpg
/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_40_3649.jpg
/home/pi/Desktop/images/16112025/07/09/image_16112025_07_09_52_3748.jpg
/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_04_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723121","1394723124","1394723123","1394723126","1394723128","1394723122"],"photo_ids_order":["1394723121","1394723122","1394723123","1394723124","1394723126","1394723128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/532fe42ef2aacaa3e63ebdefe693b259.jpg","text":"TemporaryFile(/tmp/multipartBody3051446797839007411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273823164,"filename":"image_16112025_07_09_07_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ba75888fe729e13cf6ee03dbc13939b.jpg","text":"TemporaryFile(/tmp/multipartBody7444139273950830923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273823164,"filename":"image_16112025_07_09_40_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e86ace7ca5a32245ec4ff723c3098fd.jpg","text":"TemporaryFile(/tmp/multipartBody6440214546158353355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273823164,"filename":"image_16112025_07_09_36_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5397402389cec45060522befda66a23f.jpg","text":"TemporaryFile(/tmp/multipartBody4831708372076325671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273823164,"filename":"image_16112025_07_09_52_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08a8222d743a698a5c57148e622c3aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1992911035535966718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273823164,"filename":"image_16112025_07_10_04_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b8ecbcc23792dd13a1df9f3e45d02ef.jpg","text":"TemporaryFile(/tmp/multipartBody1573389007809179931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273823164,"filename":"image_16112025_07_09_12_2989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723123","file1":"1394723122","file0":"1394723121","file4":"1394723126","file5":"1394723128","file3":"1394723124"},"map_files_photo_id_array":[{"photo_id":"1394723128","filename":"file5"},{"photo_id":"1394723123","filename":"file2"},{"photo_id":"1394723126","filename":"file4"},{"photo_id":"1394723122","filename":"file1"},{"photo_id":"1394723121","filename":"file0"},{"photo_id":"1394723124","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723121":["hashtag1","hashtag2"]},{"1394723124":["hashtag1","hashtag2"]},{"1394723123":["hashtag1","hashtag2"]},{"1394723126":["hashtag1","hashtag2"]},{"1394723128":["hashtag1","hashtag2"]},{"1394723122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723121, 1394723124, 1394723123, 1394723126, 1394723128, 1394723122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.977264404296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:16:41.953939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_06_2622.jpg', '/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_12_2612.jpg', '/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_31_3612.jpg', '/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_34_2738.jpg', '/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_54_2815.jpg', '/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_57_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_06_2622.jpg
/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_12_2612.jpg
/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_31_3612.jpg
/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_34_2738.jpg
/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_54_2815.jpg
/home/pi/Desktop/images/16112025/07/10/image_16112025_07_10_57_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723141","1394723144","1394723138","1394723140","1394723134","1394723143"],"photo_ids_order":["1394723134","1394723138","1394723140","1394723141","1394723143","1394723144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/baded99d8777f942bbe03f255420a70d.jpg","text":"TemporaryFile(/tmp/multipartBody8794235595616841211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273862722,"filename":"image_16112025_07_10_34_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9ccf3114fdc86f72258b8ed7d92a650.jpg","text":"TemporaryFile(/tmp/multipartBody2367915134992935326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273862722,"filename":"image_16112025_07_10_57_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47d5d14d2e418d0be887f498be98b995.jpg","text":"TemporaryFile(/tmp/multipartBody6952173630642104841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273862722,"filename":"image_16112025_07_10_12_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bd0d3b882e14a6d23c9471820499ded.jpg","text":"TemporaryFile(/tmp/multipartBody6880352431851689886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273862722,"filename":"image_16112025_07_10_31_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86a710f028b95431489f21f9e586d608.jpg","text":"TemporaryFile(/tmp/multipartBody4501313598574155465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273862722,"filename":"image_16112025_07_10_06_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2e7e74a7a6de03744002e6d17e9d701.jpg","text":"TemporaryFile(/tmp/multipartBody5672507010946381487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273862722,"filename":"image_16112025_07_10_54_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723140","file1":"1394723138","file0":"1394723134","file4":"1394723143","file5":"1394723144","file3":"1394723141"},"map_files_photo_id_array":[{"photo_id":"1394723144","filename":"file5"},{"photo_id":"1394723140","filename":"file2"},{"photo_id":"1394723143","filename":"file4"},{"photo_id":"1394723138","filename":"file1"},{"photo_id":"1394723134","filename":"file0"},{"photo_id":"1394723141","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723141":["hashtag1","hashtag2"]},{"1394723144":["hashtag1","hashtag2"]},{"1394723138":["hashtag1","hashtag2"]},{"1394723140":["hashtag1","hashtag2"]},{"1394723134":["hashtag1","hashtag2"]},{"1394723143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723141, 1394723144, 1394723138, 1394723140, 1394723134, 1394723143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55941581726074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:17:22.278155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/10/image_16112025_07_11_01_3649.jpg', '/home/pi/Desktop/images/16112025/07/11/image_16112025_07_11_06_2712.jpg', '/home/pi/Desktop/images/16112025/07/11/image_16112025_07_11_51_2779.jpg', '/home/pi/Desktop/images/16112025/07/11/image_16112025_07_11_54_3623.jpg', '/home/pi/Desktop/images/16112025/07/11/image_16112025_07_12_00_2679.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_06_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/10/image_16112025_07_11_01_3649.jpg
/home/pi/Desktop/images/16112025/07/11/image_16112025_07_11_06_2712.jpg
/home/pi/Desktop/images/16112025/07/11/image_16112025_07_11_51_2779.jpg
/home/pi/Desktop/images/16112025/07/11/image_16112025_07_11_54_3623.jpg
/home/pi/Desktop/images/16112025/07/11/image_16112025_07_12_00_2679.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_06_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723150","1394723152","1394723146","1394723149","1394723154","1394723148"],"photo_ids_order":["1394723146","1394723148","1394723149","1394723150","1394723152","1394723154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b610e333ab1172693c57d934749275e3.jpg","text":"TemporaryFile(/tmp/multipartBody4494706763499058570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273903008,"filename":"image_16112025_07_11_54_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d4c1f4f94d3180d812244e755742f1d.jpg","text":"TemporaryFile(/tmp/multipartBody3217220571655870514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273903008,"filename":"image_16112025_07_12_00_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3877ca54bb09e40c153fef775ce0979e.jpg","text":"TemporaryFile(/tmp/multipartBody5273953978361615190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273903008,"filename":"image_16112025_07_11_01_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/150dbdd0c6f73c915a8efc1b2f7dfe9e.jpg","text":"TemporaryFile(/tmp/multipartBody3551163202743678543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273903008,"filename":"image_16112025_07_11_51_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b45d9c76c243f63fb7ef479365661f58.jpg","text":"TemporaryFile(/tmp/multipartBody3050099783011518635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273903008,"filename":"image_16112025_07_12_06_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c846f764b30e95165477ba48daf6f54.jpg","text":"TemporaryFile(/tmp/multipartBody9080829500833492383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273903008,"filename":"image_16112025_07_11_06_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723149","file1":"1394723148","file0":"1394723146","file4":"1394723152","file5":"1394723154","file3":"1394723150"},"map_files_photo_id_array":[{"photo_id":"1394723154","filename":"file5"},{"photo_id":"1394723149","filename":"file2"},{"photo_id":"1394723152","filename":"file4"},{"photo_id":"1394723148","filename":"file1"},{"photo_id":"1394723146","filename":"file0"},{"photo_id":"1394723150","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723150":["hashtag1","hashtag2"]},{"1394723152":["hashtag1","hashtag2"]},{"1394723146":["hashtag1","hashtag2"]},{"1394723149":["hashtag1","hashtag2"]},{"1394723154":["hashtag1","hashtag2"]},{"1394723148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723150, 1394723152, 1394723146, 1394723149, 1394723154, 1394723148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.596678733825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:18:03.002347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_09_2585.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_15_2688.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_18_2665.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_22_3569.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_33_2584.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_36_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_09_2585.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_15_2688.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_18_2665.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_22_3569.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_33_2584.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_36_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723159","1394723167","1394723161","1394723158","1394723163","1394723160"],"photo_ids_order":["1394723158","1394723159","1394723160","1394723161","1394723163","1394723167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/101d7aa3ad8e898f663b4e39135c85ed.jpg","text":"TemporaryFile(/tmp/multipartBody1100101896120001558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273943753,"filename":"image_16112025_07_12_15_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/773412d0416858d43bf66715212d99eb.jpg","text":"TemporaryFile(/tmp/multipartBody4454826881594121027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273943753,"filename":"image_16112025_07_12_36_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77cb7c7e8a3a975afa5141212fd9ba03.jpg","text":"TemporaryFile(/tmp/multipartBody846530031427252035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273943753,"filename":"image_16112025_07_12_22_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdb78415a81c16bea9a123c2d7b31593.jpg","text":"TemporaryFile(/tmp/multipartBody8194311059280244686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273943753,"filename":"image_16112025_07_12_09_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef1fb14ec4aecf35176145c450016597.jpg","text":"TemporaryFile(/tmp/multipartBody2384465228881064339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273943753,"filename":"image_16112025_07_12_33_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4f3dc807190ba4b7b745f3e480a98e3.jpg","text":"TemporaryFile(/tmp/multipartBody4233319181893431199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273943753,"filename":"image_16112025_07_12_18_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723160","file1":"1394723159","file0":"1394723158","file4":"1394723163","file5":"1394723167","file3":"1394723161"},"map_files_photo_id_array":[{"photo_id":"1394723167","filename":"file5"},{"photo_id":"1394723160","filename":"file2"},{"photo_id":"1394723163","filename":"file4"},{"photo_id":"1394723159","filename":"file1"},{"photo_id":"1394723158","filename":"file0"},{"photo_id":"1394723161","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723159":["hashtag1","hashtag2"]},{"1394723167":["hashtag1","hashtag2"]},{"1394723161":["hashtag1","hashtag2"]},{"1394723158":["hashtag1","hashtag2"]},{"1394723163":["hashtag1","hashtag2"]},{"1394723160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723159, 1394723167, 1394723161, 1394723158, 1394723163, 1394723160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.378978967666626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:18:42.408764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_39_3585.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_42_2818.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_49_3723.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_54_2792.jpg', '/home/pi/Desktop/images/16112025/07/12/image_16112025_07_13_00_2684.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_03_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_39_3585.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_42_2818.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_49_3723.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_12_54_2792.jpg
/home/pi/Desktop/images/16112025/07/12/image_16112025_07_13_00_2684.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_03_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723174","1394723177","1394723171","1394723173","1394723175","1394723172"],"photo_ids_order":["1394723171","1394723172","1394723173","1394723174","1394723175","1394723177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b7e31d926672cdf5ab922444bac13e6.jpg","text":"TemporaryFile(/tmp/multipartBody8202219754847449053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273983188,"filename":"image_16112025_07_12_54_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47b0ce75131e2dee69f97983f5981ab8.jpg","text":"TemporaryFile(/tmp/multipartBody2993524600169111884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273983188,"filename":"image_16112025_07_13_03_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8035f6489a5514ca53e8f95a0832e58.jpg","text":"TemporaryFile(/tmp/multipartBody415487331334634292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273983188,"filename":"image_16112025_07_12_39_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bc5eb9f4dafa7b646b0394a87f66aa3.jpg","text":"TemporaryFile(/tmp/multipartBody9118563124224077327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273983188,"filename":"image_16112025_07_12_49_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9df4d2f4b1f08936c63bdc9d377dfae6.jpg","text":"TemporaryFile(/tmp/multipartBody5600374414785354319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273983188,"filename":"image_16112025_07_13_00_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0aa6e412f86806c0c192b35ca01bd238.jpg","text":"TemporaryFile(/tmp/multipartBody680515996731861253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763273983188,"filename":"image_16112025_07_12_42_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723173","file1":"1394723172","file0":"1394723171","file4":"1394723175","file5":"1394723177","file3":"1394723174"},"map_files_photo_id_array":[{"photo_id":"1394723177","filename":"file5"},{"photo_id":"1394723173","filename":"file2"},{"photo_id":"1394723175","filename":"file4"},{"photo_id":"1394723172","filename":"file1"},{"photo_id":"1394723171","filename":"file0"},{"photo_id":"1394723174","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723174":["hashtag1","hashtag2"]},{"1394723177":["hashtag1","hashtag2"]},{"1394723171":["hashtag1","hashtag2"]},{"1394723173":["hashtag1","hashtag2"]},{"1394723175":["hashtag1","hashtag2"]},{"1394723172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723174, 1394723177, 1394723171, 1394723173, 1394723175, 1394723172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68183755874634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:19:22.665224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_06_2594.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_15_2640.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_19_3605.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_21_2841.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_27_2726.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_30_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_06_2594.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_15_2640.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_19_3605.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_21_2841.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_27_2726.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_30_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723192","1394723186","1394723189","1394723182","1394723191","1394723190"],"photo_ids_order":["1394723182","1394723186","1394723189","1394723190","1394723191","1394723192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/975811bc0c59ece604a6ff2030bd2739.jpg","text":"TemporaryFile(/tmp/multipartBody4265404339032749541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274023358,"filename":"image_16112025_07_13_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/11/16/15882aec4f380e8fbed5294180db9b4c.jpg","text":"TemporaryFile(/tmp/multipartBody9107217436005397132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274023358,"filename":"image_16112025_07_13_15_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3afd08843eea16518eb8b7ce0535f23.jpg","text":"TemporaryFile(/tmp/multipartBody4280610195662940930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274023358,"filename":"image_16112025_07_13_19_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c9bc0d342e21717c528879e5648ac69.jpg","text":"TemporaryFile(/tmp/multipartBody8113194768692761263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274023358,"filename":"image_16112025_07_13_06_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6e8849c115d3fab9a6569b92191d965.jpg","text":"TemporaryFile(/tmp/multipartBody5243218599319124670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274023358,"filename":"image_16112025_07_13_27_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/289596c5142c9e4d8eecc7779e6f3831.jpg","text":"TemporaryFile(/tmp/multipartBody7861431249103713061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274023358,"filename":"image_16112025_07_13_21_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723189","file1":"1394723186","file0":"1394723182","file4":"1394723191","file5":"1394723192","file3":"1394723190"},"map_files_photo_id_array":[{"photo_id":"1394723192","filename":"file5"},{"photo_id":"1394723189","filename":"file2"},{"photo_id":"1394723191","filename":"file4"},{"photo_id":"1394723186","filename":"file1"},{"photo_id":"1394723182","filename":"file0"},{"photo_id":"1394723190","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723192":["hashtag1","hashtag2"]},{"1394723186":["hashtag1","hashtag2"]},{"1394723189":["hashtag1","hashtag2"]},{"1394723182":["hashtag1","hashtag2"]},{"1394723191":["hashtag1","hashtag2"]},{"1394723190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723192, 1394723186, 1394723189, 1394723182, 1394723191, 1394723190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87848401069641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:20:02.320204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_33_2617.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_42_3707.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_45_2719.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_48_2736.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_54_2911.jpg', '/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_57_2918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_33_2617.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_42_3707.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_45_2719.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_48_2736.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_54_2911.jpg
/home/pi/Desktop/images/16112025/07/13/image_16112025_07_13_57_2918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723198","1394723195","1394723201","1394723194","1394723193","1394723196"],"photo_ids_order":["1394723193","1394723194","1394723195","1394723196","1394723198","1394723201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c9ebc0298531b950645836eeeb7031f.jpg","text":"TemporaryFile(/tmp/multipartBody2826132233149571532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274063084,"filename":"image_16112025_07_13_54_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6c9989f01956bcfd2462e003152108e.jpg","text":"TemporaryFile(/tmp/multipartBody2331552481312005649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274063084,"filename":"image_16112025_07_13_45_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08dcc70a26d9b328bcbe06de13535f87.jpg","text":"TemporaryFile(/tmp/multipartBody2491616638039991888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274063084,"filename":"image_16112025_07_13_57_2918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3718a1a6c32e3fba1d8c6f08d5b6dd49.jpg","text":"TemporaryFile(/tmp/multipartBody9034810718907818064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274063084,"filename":"image_16112025_07_13_42_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fe9741bcfb2fd120f021469bc157e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8315672908899615440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274063084,"filename":"image_16112025_07_13_33_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2faede089a55e8c2294c42107675b33a.jpg","text":"TemporaryFile(/tmp/multipartBody2319457612963601487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274063084,"filename":"image_16112025_07_13_48_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723195","file1":"1394723194","file0":"1394723193","file4":"1394723198","file5":"1394723201","file3":"1394723196"},"map_files_photo_id_array":[{"photo_id":"1394723201","filename":"file5"},{"photo_id":"1394723195","filename":"file2"},{"photo_id":"1394723198","filename":"file4"},{"photo_id":"1394723194","filename":"file1"},{"photo_id":"1394723193","filename":"file0"},{"photo_id":"1394723196","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723198":["hashtag1","hashtag2"]},{"1394723195":["hashtag1","hashtag2"]},{"1394723201":["hashtag1","hashtag2"]},{"1394723194":["hashtag1","hashtag2"]},{"1394723193":["hashtag1","hashtag2"]},{"1394723196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723198, 1394723195, 1394723201, 1394723194, 1394723193, 1394723196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29353857040405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:20:41.851062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_03_2672.jpg', '/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_06_3644.jpg', '/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_09_2658.jpg', '/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_12_2723.jpg', '/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_18_2676.jpg', '/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_30_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_03_2672.jpg
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_06_3644.jpg
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_09_2658.jpg
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_12_2723.jpg
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_18_2676.jpg
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_30_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723214","1394723217","1394723210","1394723213","1394723216","1394723212"],"photo_ids_order":["1394723210","1394723212","1394723213","1394723214","1394723216","1394723217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db1308954c333c461658b343788c8938.jpg","text":"TemporaryFile(/tmp/multipartBody7081075597872199799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274102591,"filename":"image_16112025_07_14_12_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16d9f1367fee0262098a219769ca3585.jpg","text":"TemporaryFile(/tmp/multipartBody5461562477951581677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274102591,"filename":"image_16112025_07_14_30_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd2ca6ea2947554ba8cb5213f9a290fd.jpg","text":"TemporaryFile(/tmp/multipartBody533856344534830931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274102591,"filename":"image_16112025_07_14_03_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b588e16ed84118b9f4bb1846e43a589.jpg","text":"TemporaryFile(/tmp/multipartBody6971136810819490666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274102591,"filename":"image_16112025_07_14_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/11/16/068e98894ae028d79e656aa25be54224.jpg","text":"TemporaryFile(/tmp/multipartBody6505791908130794015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274102591,"filename":"image_16112025_07_14_18_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5486f522afbb088499832ba1e5fec45.jpg","text":"TemporaryFile(/tmp/multipartBody2131466288272423615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274102591,"filename":"image_16112025_07_14_06_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723213","file1":"1394723212","file0":"1394723210","file4":"1394723216","file5":"1394723217","file3":"1394723214"},"map_files_photo_id_array":[{"photo_id":"1394723217","filename":"file5"},{"photo_id":"1394723213","filename":"file2"},{"photo_id":"1394723216","filename":"file4"},{"photo_id":"1394723212","filename":"file1"},{"photo_id":"1394723210","filename":"file0"},{"photo_id":"1394723214","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723214":["hashtag1","hashtag2"]},{"1394723217":["hashtag1","hashtag2"]},{"1394723210":["hashtag1","hashtag2"]},{"1394723213":["hashtag1","hashtag2"]},{"1394723216":["hashtag1","hashtag2"]},{"1394723212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723214, 1394723217, 1394723210, 1394723213, 1394723216, 1394723212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82083821296692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:21:22.043995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_36_2645.jpg', '/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_45_2590.jpg', '/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_51_3590.jpg', '/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_54_2597.jpg', '/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_09_3718.jpg', '/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_15_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_36_2645.jpg
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_45_2590.jpg
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_51_3590.jpg
/home/pi/Desktop/images/16112025/07/14/image_16112025_07_14_54_2597.jpg
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_09_3718.jpg
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_15_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723220","1394723223","1394723222","1394723221","1394723224","1394723226"],"photo_ids_order":["1394723220","1394723221","1394723222","1394723223","1394723224","1394723226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cf3bada1ea4d9f8b8624d2bb7a721e5.jpg","text":"TemporaryFile(/tmp/multipartBody7652537736604452324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274142747,"filename":"image_16112025_07_14_36_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05c7cd7dc286d0262cc9f031bd35b590.jpg","text":"TemporaryFile(/tmp/multipartBody4183157148599569445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274142747,"filename":"image_16112025_07_14_54_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6002db238f3ee236e67ee16512b0fffc.jpg","text":"TemporaryFile(/tmp/multipartBody6543096151127474127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274142747,"filename":"image_16112025_07_14_51_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b645196ad1f52af75b522eeac6a14019.jpg","text":"TemporaryFile(/tmp/multipartBody4039936970890736234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274142747,"filename":"image_16112025_07_14_45_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/039c73edbee4c17efc9731478b77197d.jpg","text":"TemporaryFile(/tmp/multipartBody5520373217459254344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274142747,"filename":"image_16112025_07_15_09_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22ba5825e063e91848014f24e307faf9.jpg","text":"TemporaryFile(/tmp/multipartBody7859437047164169881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274142747,"filename":"image_16112025_07_15_15_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723222","file1":"1394723221","file0":"1394723220","file4":"1394723224","file5":"1394723226","file3":"1394723223"},"map_files_photo_id_array":[{"photo_id":"1394723226","filename":"file5"},{"photo_id":"1394723222","filename":"file2"},{"photo_id":"1394723224","filename":"file4"},{"photo_id":"1394723221","filename":"file1"},{"photo_id":"1394723220","filename":"file0"},{"photo_id":"1394723223","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723220":["hashtag1","hashtag2"]},{"1394723223":["hashtag1","hashtag2"]},{"1394723222":["hashtag1","hashtag2"]},{"1394723221":["hashtag1","hashtag2"]},{"1394723224":["hashtag1","hashtag2"]},{"1394723226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723220, 1394723223, 1394723222, 1394723221, 1394723224, 1394723226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10101246833801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:22:02.756089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_17_2520.jpg', '/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_30_3644.jpg', '/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_33_2662.jpg', '/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_36_2928.jpg', '/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_39_3577.jpg', '/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_54_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_17_2520.jpg
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_30_3644.jpg
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_33_2662.jpg
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_36_2928.jpg
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_39_3577.jpg
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_54_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723229","1394723231","1394723234","1394723227","1394723230","1394723232"],"photo_ids_order":["1394723227","1394723229","1394723230","1394723231","1394723232","1394723234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2c8d771e994e6cb6725a68edc08dc8d.jpg","text":"TemporaryFile(/tmp/multipartBody2183980278850938894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274183523,"filename":"image_16112025_07_15_30_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c985369018c93fcccb79216d385e384.jpg","text":"TemporaryFile(/tmp/multipartBody2882394465623980360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274183523,"filename":"image_16112025_07_15_36_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5193d9bd2f51a2e781d46f3e6304500.jpg","text":"TemporaryFile(/tmp/multipartBody7173148517992724123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274183523,"filename":"image_16112025_07_15_54_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b07972df8c18f2be0176f7a646ee0566.jpg","text":"TemporaryFile(/tmp/multipartBody710348151335190088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274183523,"filename":"image_16112025_07_15_17_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7925d9f8891939abaf8868b9752a2187.jpg","text":"TemporaryFile(/tmp/multipartBody1428221847368675827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274183523,"filename":"image_16112025_07_15_33_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7dbe135e3fc8a704c4e9eeb8fe771a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4055519908889671444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274183523,"filename":"image_16112025_07_15_39_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723230","file1":"1394723229","file0":"1394723227","file4":"1394723232","file5":"1394723234","file3":"1394723231"},"map_files_photo_id_array":[{"photo_id":"1394723234","filename":"file5"},{"photo_id":"1394723230","filename":"file2"},{"photo_id":"1394723232","filename":"file4"},{"photo_id":"1394723229","filename":"file1"},{"photo_id":"1394723227","filename":"file0"},{"photo_id":"1394723231","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723229":["hashtag1","hashtag2"]},{"1394723231":["hashtag1","hashtag2"]},{"1394723234":["hashtag1","hashtag2"]},{"1394723227":["hashtag1","hashtag2"]},{"1394723230":["hashtag1","hashtag2"]},{"1394723232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723229, 1394723231, 1394723234, 1394723227, 1394723230, 1394723232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.402719020843506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:22:42.308007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_56_2724.jpg', '/home/pi/Desktop/images/16112025/07/15/image_16112025_07_16_00_3785.jpg', '/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_03_2637.jpg', '/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_06_2671.jpg', '/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_18_3684.jpg', '/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_21_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_15_56_2724.jpg
/home/pi/Desktop/images/16112025/07/15/image_16112025_07_16_00_3785.jpg
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_03_2637.jpg
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_06_2671.jpg
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_18_3684.jpg
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_21_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723241","1394723240","1394723243","1394723237","1394723242","1394723239"],"photo_ids_order":["1394723237","1394723239","1394723240","1394723241","1394723242","1394723243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fa0087daaaa575c5227ccbdc0614020.jpg","text":"TemporaryFile(/tmp/multipartBody9036266173761457391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274223027,"filename":"image_16112025_07_16_06_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17335c69e1b8203f96bf5b81a97adb01.jpg","text":"TemporaryFile(/tmp/multipartBody6869195282320697225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274223027,"filename":"image_16112025_07_16_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/11/16/c16d61b34c08d965905c42dad3992d5e.jpg","text":"TemporaryFile(/tmp/multipartBody912035836555573881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274223027,"filename":"image_16112025_07_16_21_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/378923455ebba3619714068b890f46b4.jpg","text":"TemporaryFile(/tmp/multipartBody5914648853278418420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274223027,"filename":"image_16112025_07_15_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/11/16/7101c819053ca25d69add7a594996df0.jpg","text":"TemporaryFile(/tmp/multipartBody6775123250722740920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274223027,"filename":"image_16112025_07_16_18_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74d9d158f38f26e60f566d5139f5d851.jpg","text":"TemporaryFile(/tmp/multipartBody3987873324784314776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274223027,"filename":"image_16112025_07_16_00_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723240","file1":"1394723239","file0":"1394723237","file4":"1394723242","file5":"1394723243","file3":"1394723241"},"map_files_photo_id_array":[{"photo_id":"1394723243","filename":"file5"},{"photo_id":"1394723240","filename":"file2"},{"photo_id":"1394723242","filename":"file4"},{"photo_id":"1394723239","filename":"file1"},{"photo_id":"1394723237","filename":"file0"},{"photo_id":"1394723241","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723241":["hashtag1","hashtag2"]},{"1394723240":["hashtag1","hashtag2"]},{"1394723243":["hashtag1","hashtag2"]},{"1394723237":["hashtag1","hashtag2"]},{"1394723242":["hashtag1","hashtag2"]},{"1394723239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723241, 1394723240, 1394723243, 1394723237, 1394723242, 1394723239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22690534591675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:23:22.505188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_23_2586.jpg', '/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_35_2700.jpg', '/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_41_2607.jpg', '/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_45_3596.jpg', '/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_56_2595.jpg', '/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_12_3061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_23_2586.jpg
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_35_2700.jpg
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_41_2607.jpg
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_45_3596.jpg
/home/pi/Desktop/images/16112025/07/16/image_16112025_07_16_56_2595.jpg
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_12_3061.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723255","1394723252","1394723246","1394723251","1394723248","1394723250"],"photo_ids_order":["1394723246","1394723248","1394723250","1394723251","1394723252","1394723255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67528f34fa20186adf9b675526986231.jpg","text":"TemporaryFile(/tmp/multipartBody453177726027847871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274263214,"filename":"image_16112025_07_17_12_3061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72b3e6c6a5f2bc040eba0221d10f3f78.jpg","text":"TemporaryFile(/tmp/multipartBody6628965363551862049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274263214,"filename":"image_16112025_07_16_56_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e9acb2a21928cc6ce05a1d4280c3ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4587377210931532771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274263214,"filename":"image_16112025_07_16_23_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fa452ec1fc23bf2d2692a936f043171.jpg","text":"TemporaryFile(/tmp/multipartBody8648784486517120559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274263214,"filename":"image_16112025_07_16_45_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/670ac9ef64c58418ccdb62d7425cb4f8.jpg","text":"TemporaryFile(/tmp/multipartBody8073477742678844500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274263214,"filename":"image_16112025_07_16_35_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d55b08dd5f281124cba9b59180fc297.jpg","text":"TemporaryFile(/tmp/multipartBody1680998473936045399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274263214,"filename":"image_16112025_07_16_41_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723250","file1":"1394723248","file0":"1394723246","file4":"1394723252","file5":"1394723255","file3":"1394723251"},"map_files_photo_id_array":[{"photo_id":"1394723255","filename":"file5"},{"photo_id":"1394723250","filename":"file2"},{"photo_id":"1394723252","filename":"file4"},{"photo_id":"1394723248","filename":"file1"},{"photo_id":"1394723246","filename":"file0"},{"photo_id":"1394723251","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723255":["hashtag1","hashtag2"]},{"1394723252":["hashtag1","hashtag2"]},{"1394723246":["hashtag1","hashtag2"]},{"1394723251":["hashtag1","hashtag2"]},{"1394723248":["hashtag1","hashtag2"]},{"1394723250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723255, 1394723252, 1394723246, 1394723251, 1394723248, 1394723250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.625086545944214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:24:03.615172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_15_2597.jpg', '/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_20_2821.jpg', '/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_24_3706.jpg', '/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_27_2769.jpg', '/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_29_2647.jpg', '/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_36_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_15_2597.jpg
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_20_2821.jpg
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_24_3706.jpg
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_27_2769.jpg
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_29_2647.jpg
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_36_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723261","1394723257","1394723262","1394723265","1394723259","1394723268"],"photo_ids_order":["1394723257","1394723259","1394723261","1394723262","1394723265","1394723268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe6466b8d1a1efc82d81b98f8dba235f.jpg","text":"TemporaryFile(/tmp/multipartBody5952990431283900378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274304453,"filename":"image_16112025_07_17_24_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/101687b473f063a732445952681a9b1a.jpg","text":"TemporaryFile(/tmp/multipartBody1796484620821271181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274304453,"filename":"image_16112025_07_17_15_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8313dfacfac936ca354f034ad7d5ace6.jpg","text":"TemporaryFile(/tmp/multipartBody3540987155489340306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274304453,"filename":"image_16112025_07_17_27_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9a3d86a00124ddc3d1db1c98d6e5db9.jpg","text":"TemporaryFile(/tmp/multipartBody3924407369951686671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274304453,"filename":"image_16112025_07_17_29_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c0261b9589b083db33c48b578aba07b.jpg","text":"TemporaryFile(/tmp/multipartBody287096642226137039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274304453,"filename":"image_16112025_07_17_20_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca2f93edb01dbe3de94b7ac700b4ad56.jpg","text":"TemporaryFile(/tmp/multipartBody7652328986634199407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274304453,"filename":"image_16112025_07_17_36_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723261","file1":"1394723259","file0":"1394723257","file4":"1394723265","file5":"1394723268","file3":"1394723262"},"map_files_photo_id_array":[{"photo_id":"1394723268","filename":"file5"},{"photo_id":"1394723261","filename":"file2"},{"photo_id":"1394723265","filename":"file4"},{"photo_id":"1394723259","filename":"file1"},{"photo_id":"1394723257","filename":"file0"},{"photo_id":"1394723262","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723261":["hashtag1","hashtag2"]},{"1394723257":["hashtag1","hashtag2"]},{"1394723262":["hashtag1","hashtag2"]},{"1394723265":["hashtag1","hashtag2"]},{"1394723259":["hashtag1","hashtag2"]},{"1394723268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723261, 1394723257, 1394723262, 1394723265, 1394723259, 1394723268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.684866428375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:24:42.737213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_50_2777.jpg', '/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_54_3601.jpg', '/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_56_2775.jpg', '/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_12_3640.jpg', '/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_15_2623.jpg', '/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_21_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_50_2777.jpg
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_54_3601.jpg
/home/pi/Desktop/images/16112025/07/17/image_16112025_07_17_56_2775.jpg
/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_12_3640.jpg
/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_15_2623.jpg
/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_21_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723273","1394723276","1394723270","1394723272","1394723274","1394723271"],"photo_ids_order":["1394723270","1394723271","1394723272","1394723273","1394723274","1394723276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a748fa174d722b57d04681c28e6fa6e0.jpg","text":"TemporaryFile(/tmp/multipartBody9218974030483952512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274343433,"filename":"image_16112025_07_18_12_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b71c0bb5f7d5bef063f651be26e9a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5319169507961311822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274343433,"filename":"image_16112025_07_18_21_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d11df9cd260f63b59ff9478434269d9.jpg","text":"TemporaryFile(/tmp/multipartBody1492428331622696531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274343433,"filename":"image_16112025_07_17_50_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b70f76a370c9f75922116c8b907dc80a.jpg","text":"TemporaryFile(/tmp/multipartBody2972053613528707825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274343433,"filename":"image_16112025_07_17_56_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/daf7e1786284b23c58459ae16a0c9a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4194867404243397820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274343433,"filename":"image_16112025_07_18_15_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3dbc4aa78b073809a5f79a62a82f926d.jpg","text":"TemporaryFile(/tmp/multipartBody6787518144760624248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274343433,"filename":"image_16112025_07_17_54_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723272","file1":"1394723271","file0":"1394723270","file4":"1394723274","file5":"1394723276","file3":"1394723273"},"map_files_photo_id_array":[{"photo_id":"1394723276","filename":"file5"},{"photo_id":"1394723272","filename":"file2"},{"photo_id":"1394723274","filename":"file4"},{"photo_id":"1394723271","filename":"file1"},{"photo_id":"1394723270","filename":"file0"},{"photo_id":"1394723273","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723273":["hashtag1","hashtag2"]},{"1394723276":["hashtag1","hashtag2"]},{"1394723270":["hashtag1","hashtag2"]},{"1394723272":["hashtag1","hashtag2"]},{"1394723274":["hashtag1","hashtag2"]},{"1394723271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723273, 1394723276, 1394723270, 1394723272, 1394723274, 1394723271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85050654411316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:25:21.976747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_30_3669.jpg', '/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_33_2900.jpg', '/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_57_2647.jpg', '/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_59_2675.jpg', '/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_20_2660.jpg', '/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_24_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_30_3669.jpg
/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_33_2900.jpg
/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_57_2647.jpg
/home/pi/Desktop/images/16112025/07/18/image_16112025_07_18_59_2675.jpg
/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_20_2660.jpg
/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_24_3734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723285","1394723279","1394723281","1394723284","1394723287","1394723283"],"photo_ids_order":["1394723279","1394723281","1394723283","1394723284","1394723285","1394723287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed6ff0c382e612dfdf1776dd4c7c3543.jpg","text":"TemporaryFile(/tmp/multipartBody4429708164305644026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274382721,"filename":"image_16112025_07_19_20_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b593c49cf7e237240b03420cfda8afe.jpg","text":"TemporaryFile(/tmp/multipartBody8947591758691158859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274382721,"filename":"image_16112025_07_18_30_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b67057acbe2e1d70ef56fb25f7f4531.jpg","text":"TemporaryFile(/tmp/multipartBody2774781820518002930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274382721,"filename":"image_16112025_07_18_33_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06af93f109e077ae43a939dea2a3b6f7.jpg","text":"TemporaryFile(/tmp/multipartBody3776294410045167408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274382721,"filename":"image_16112025_07_18_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/11/16/539d370966142557f726b29670b2dcce.jpg","text":"TemporaryFile(/tmp/multipartBody3674319777962856297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274382721,"filename":"image_16112025_07_19_24_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf03fa1435f818363c8a8cb39e041bcf.jpg","text":"TemporaryFile(/tmp/multipartBody1956304760052525705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274382721,"filename":"image_16112025_07_18_57_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723283","file1":"1394723281","file0":"1394723279","file4":"1394723285","file5":"1394723287","file3":"1394723284"},"map_files_photo_id_array":[{"photo_id":"1394723287","filename":"file5"},{"photo_id":"1394723283","filename":"file2"},{"photo_id":"1394723285","filename":"file4"},{"photo_id":"1394723281","filename":"file1"},{"photo_id":"1394723279","filename":"file0"},{"photo_id":"1394723284","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723285":["hashtag1","hashtag2"]},{"1394723279":["hashtag1","hashtag2"]},{"1394723281":["hashtag1","hashtag2"]},{"1394723284":["hashtag1","hashtag2"]},{"1394723287":["hashtag1","hashtag2"]},{"1394723283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723285, 1394723279, 1394723281, 1394723284, 1394723287, 1394723283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.668556213378906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:26:02.653812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_27_2884.jpg', '/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_48_3764.jpg', '/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_50_2703.jpg', '/home/pi/Desktop/images/16112025/07/20/image_16112025_07_20_08_2835.jpg', '/home/pi/Desktop/images/16112025/07/20/image_16112025_07_20_11_2918.jpg', '/home/pi/Desktop/images/16112025/07/21/image_16112025_07_21_53_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_27_2884.jpg
/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_48_3764.jpg
/home/pi/Desktop/images/16112025/07/19/image_16112025_07_19_50_2703.jpg
/home/pi/Desktop/images/16112025/07/20/image_16112025_07_20_08_2835.jpg
/home/pi/Desktop/images/16112025/07/20/image_16112025_07_20_11_2918.jpg
/home/pi/Desktop/images/16112025/07/21/image_16112025_07_21_53_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723291","1394723290","1394723292","1394723295","1394723289","1394723298"],"photo_ids_order":["1394723289","1394723290","1394723291","1394723292","1394723295","1394723298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ef5ece2f9d0f144b970ed123c35effa.jpg","text":"TemporaryFile(/tmp/multipartBody7635468051424252127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274423476,"filename":"image_16112025_07_19_50_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99289e65f44f22651a58cb62ef825443.jpg","text":"TemporaryFile(/tmp/multipartBody7837329308253868699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274423476,"filename":"image_16112025_07_19_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/11/16/391322088ba078c86025edfc19d73d51.jpg","text":"TemporaryFile(/tmp/multipartBody848210824829026563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274423476,"filename":"image_16112025_07_20_08_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/991f225f938ffe6c22fb83e9e5d95af4.jpg","text":"TemporaryFile(/tmp/multipartBody4936479580039749200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274423476,"filename":"image_16112025_07_20_11_2918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0582007f305a4e4877739284a21c45ac.jpg","text":"TemporaryFile(/tmp/multipartBody5912634920478303400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274423476,"filename":"image_16112025_07_19_27_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/971c093c6ca329dc01537620eb3bb425.jpg","text":"TemporaryFile(/tmp/multipartBody906628464652948371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274423476,"filename":"image_16112025_07_21_53_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723291","file1":"1394723290","file0":"1394723289","file4":"1394723295","file5":"1394723298","file3":"1394723292"},"map_files_photo_id_array":[{"photo_id":"1394723298","filename":"file5"},{"photo_id":"1394723291","filename":"file2"},{"photo_id":"1394723295","filename":"file4"},{"photo_id":"1394723290","filename":"file1"},{"photo_id":"1394723289","filename":"file0"},{"photo_id":"1394723292","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723291":["hashtag1","hashtag2"]},{"1394723290":["hashtag1","hashtag2"]},{"1394723292":["hashtag1","hashtag2"]},{"1394723295":["hashtag1","hashtag2"]},{"1394723289":["hashtag1","hashtag2"]},{"1394723298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723291, 1394723290, 1394723292, 1394723295, 1394723289, 1394723298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.697773456573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:26:42.154401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/21/image_16112025_07_22_00_3663.jpg', '/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_02_2686.jpg', '/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_17_2693.jpg', '/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_32_2625.jpg', '/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_41_2745.jpg', '/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_50_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/21/image_16112025_07_22_00_3663.jpg
/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_02_2686.jpg
/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_17_2693.jpg
/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_32_2625.jpg
/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_41_2745.jpg
/home/pi/Desktop/images/16112025/07/22/image_16112025_07_22_50_3706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723313","1394723303","1394723312","1394723306","1394723308","1394723311"],"photo_ids_order":["1394723303","1394723306","1394723308","1394723311","1394723312","1394723313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50f42a57c6a794a6951bc6f0ba3b2576.jpg","text":"TemporaryFile(/tmp/multipartBody215335172152995292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274462850,"filename":"image_16112025_07_22_50_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e8afe163bc379a0aaea7b31597a7da6.jpg","text":"TemporaryFile(/tmp/multipartBody2333119039630775459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274462850,"filename":"image_16112025_07_22_00_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8df0fe002245303798a2dcc814f557f3.jpg","text":"TemporaryFile(/tmp/multipartBody7860792338188423997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274462850,"filename":"image_16112025_07_22_41_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d09e55c345e489cb88cefb96be6bd677.jpg","text":"TemporaryFile(/tmp/multipartBody1703417632203522731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274462850,"filename":"image_16112025_07_22_02_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/290b23ada575984d20efe220c0fc5f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6281350304248088072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274462850,"filename":"image_16112025_07_22_17_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34544c65c2a640cff2dc6ffc5371072f.jpg","text":"TemporaryFile(/tmp/multipartBody9142452754520240280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274462850,"filename":"image_16112025_07_22_32_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723308","file1":"1394723306","file0":"1394723303","file4":"1394723312","file5":"1394723313","file3":"1394723311"},"map_files_photo_id_array":[{"photo_id":"1394723313","filename":"file5"},{"photo_id":"1394723308","filename":"file2"},{"photo_id":"1394723312","filename":"file4"},{"photo_id":"1394723306","filename":"file1"},{"photo_id":"1394723303","filename":"file0"},{"photo_id":"1394723311","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723313":["hashtag1","hashtag2"]},{"1394723303":["hashtag1","hashtag2"]},{"1394723312":["hashtag1","hashtag2"]},{"1394723306":["hashtag1","hashtag2"]},{"1394723308":["hashtag1","hashtag2"]},{"1394723311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723313, 1394723303, 1394723312, 1394723306, 1394723308, 1394723311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07833242416382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:27:22.423006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/23/image_16112025_07_23_05_2554.jpg', '/home/pi/Desktop/images/16112025/07/23/image_16112025_07_23_08_3593.jpg', '/home/pi/Desktop/images/16112025/07/23/image_16112025_07_23_56_2713.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_02_3597.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_08_2567.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_11_2933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/23/image_16112025_07_23_05_2554.jpg
/home/pi/Desktop/images/16112025/07/23/image_16112025_07_23_08_3593.jpg
/home/pi/Desktop/images/16112025/07/23/image_16112025_07_23_56_2713.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_02_3597.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_08_2567.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_11_2933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723328","1394723316","1394723318","1394723320","1394723323","1394723325"],"photo_ids_order":["1394723316","1394723318","1394723320","1394723323","1394723325","1394723328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7b9a794ce9304bee1b8dc1f8eef3f4f.jpg","text":"TemporaryFile(/tmp/multipartBody2924797125045817303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274503130,"filename":"image_16112025_07_24_11_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b974fb2e228af973ab938f65be8b76d.jpg","text":"TemporaryFile(/tmp/multipartBody5387150859374684576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274503130,"filename":"image_16112025_07_23_05_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b8f36d9d544d258219b6ecc42abd716.jpg","text":"TemporaryFile(/tmp/multipartBody4513174133268454175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274503130,"filename":"image_16112025_07_23_08_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65430902cb729403a490279f0e63b58f.jpg","text":"TemporaryFile(/tmp/multipartBody910442106869217361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274503130,"filename":"image_16112025_07_23_56_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c69df5401431d833cc4b1d202caec49.jpg","text":"TemporaryFile(/tmp/multipartBody8453545857365101705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274503130,"filename":"image_16112025_07_24_02_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64cc1eef5485436c346e1524aef6cc93.jpg","text":"TemporaryFile(/tmp/multipartBody3053261244852116844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274503130,"filename":"image_16112025_07_24_08_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723320","file1":"1394723318","file0":"1394723316","file4":"1394723325","file5":"1394723328","file3":"1394723323"},"map_files_photo_id_array":[{"photo_id":"1394723328","filename":"file5"},{"photo_id":"1394723320","filename":"file2"},{"photo_id":"1394723325","filename":"file4"},{"photo_id":"1394723318","filename":"file1"},{"photo_id":"1394723316","filename":"file0"},{"photo_id":"1394723323","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723328":["hashtag1","hashtag2"]},{"1394723316":["hashtag1","hashtag2"]},{"1394723318":["hashtag1","hashtag2"]},{"1394723320":["hashtag1","hashtag2"]},{"1394723323":["hashtag1","hashtag2"]},{"1394723325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723328, 1394723316, 1394723318, 1394723320, 1394723323, 1394723325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68063569068909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:28:03.025049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_23_2667.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_35_3601.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_38_2537.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_41_2765.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_44_3771.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_47_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_23_2667.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_35_3601.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_38_2537.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_41_2765.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_44_3771.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_47_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723333","1394723342","1394723336","1394723339","1394723335","1394723337"],"photo_ids_order":["1394723333","1394723335","1394723336","1394723337","1394723339","1394723342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb51809acca112cf175d21083af3fe78.jpg","text":"TemporaryFile(/tmp/multipartBody8221949755558004281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274543801,"filename":"image_16112025_07_24_23_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22e9db6bb262e5e9f36679d029a2d65d.jpg","text":"TemporaryFile(/tmp/multipartBody8597716064828889769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274543801,"filename":"image_16112025_07_24_47_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a143dbaeb1932d6d8ab688cf44ceee9e.jpg","text":"TemporaryFile(/tmp/multipartBody1549346691225538949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274543801,"filename":"image_16112025_07_24_38_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5c05121175a38a26e3c8f1ca7dfc32d.jpg","text":"TemporaryFile(/tmp/multipartBody2989797603791843497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274543801,"filename":"image_16112025_07_24_44_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a13dcfdbed0115ecf51796af2e087bea.jpg","text":"TemporaryFile(/tmp/multipartBody8580771896635836204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274543801,"filename":"image_16112025_07_24_35_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11c85cfaf8d72893d0f48199e30d420d.jpg","text":"TemporaryFile(/tmp/multipartBody3090830524805129716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274543801,"filename":"image_16112025_07_24_41_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723336","file1":"1394723335","file0":"1394723333","file4":"1394723339","file5":"1394723342","file3":"1394723337"},"map_files_photo_id_array":[{"photo_id":"1394723342","filename":"file5"},{"photo_id":"1394723336","filename":"file2"},{"photo_id":"1394723339","filename":"file4"},{"photo_id":"1394723335","filename":"file1"},{"photo_id":"1394723333","filename":"file0"},{"photo_id":"1394723337","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723333":["hashtag1","hashtag2"]},{"1394723342":["hashtag1","hashtag2"]},{"1394723336":["hashtag1","hashtag2"]},{"1394723339":["hashtag1","hashtag2"]},{"1394723335":["hashtag1","hashtag2"]},{"1394723337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723333, 1394723342, 1394723336, 1394723339, 1394723335, 1394723337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60609483718872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:28:42.551853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_53_3641.jpg', '/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_56_2610.jpg', '/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_02_3648.jpg', '/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_05_2688.jpg', '/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_14_2840.jpg', '/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_17_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_53_3641.jpg
/home/pi/Desktop/images/16112025/07/24/image_16112025_07_24_56_2610.jpg
/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_02_3648.jpg
/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_05_2688.jpg
/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_14_2840.jpg
/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_17_2852.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723349","1394723351","1394723348","1394723345","1394723350","1394723347"],"photo_ids_order":["1394723345","1394723347","1394723348","1394723349","1394723350","1394723351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/378dcba1515da94e4b0d67c57cce1b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6111756488817710763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274583292,"filename":"image_16112025_07_25_05_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d28f96d580d1c7ae51465084745566e.jpg","text":"TemporaryFile(/tmp/multipartBody1628824486883859744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274583292,"filename":"image_16112025_07_25_17_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/222563cfa2dda1a6f432062184725136.jpg","text":"TemporaryFile(/tmp/multipartBody2987680061001928871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274583292,"filename":"image_16112025_07_25_02_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55777dca1943c226722018cb8dd0d233.jpg","text":"TemporaryFile(/tmp/multipartBody8015815844536702076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274583292,"filename":"image_16112025_07_24_53_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55d8aef52b1ff6cf8cd478e103603a82.jpg","text":"TemporaryFile(/tmp/multipartBody4039309619165051002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274583292,"filename":"image_16112025_07_25_14_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/623d6c17aae4e36429f5d9930faea667.jpg","text":"TemporaryFile(/tmp/multipartBody5827447133084217910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274583292,"filename":"image_16112025_07_24_56_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723348","file1":"1394723347","file0":"1394723345","file4":"1394723350","file5":"1394723351","file3":"1394723349"},"map_files_photo_id_array":[{"photo_id":"1394723351","filename":"file5"},{"photo_id":"1394723348","filename":"file2"},{"photo_id":"1394723350","filename":"file4"},{"photo_id":"1394723347","filename":"file1"},{"photo_id":"1394723345","filename":"file0"},{"photo_id":"1394723349","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723349":["hashtag1","hashtag2"]},{"1394723351":["hashtag1","hashtag2"]},{"1394723348":["hashtag1","hashtag2"]},{"1394723345":["hashtag1","hashtag2"]},{"1394723350":["hashtag1","hashtag2"]},{"1394723347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723349, 1394723351, 1394723348, 1394723345, 1394723350, 1394723347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12827968597412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:29:22.709588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_44_2665.jpg', '/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_47_2707.jpg', '/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_58_2809.jpg', '/home/pi/Desktop/images/16112025/07/26/image_16112025_07_26_47_3575.jpg', '/home/pi/Desktop/images/16112025/07/26/image_16112025_07_26_52_2736.jpg', '/home/pi/Desktop/images/16112025/07/26/image_16112025_07_26_59_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_44_2665.jpg
/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_47_2707.jpg
/home/pi/Desktop/images/16112025/07/25/image_16112025_07_25_58_2809.jpg
/home/pi/Desktop/images/16112025/07/26/image_16112025_07_26_47_3575.jpg
/home/pi/Desktop/images/16112025/07/26/image_16112025_07_26_52_2736.jpg
/home/pi/Desktop/images/16112025/07/26/image_16112025_07_26_59_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723360","1394723357","1394723362","1394723355","1394723364","1394723367"],"photo_ids_order":["1394723355","1394723357","1394723360","1394723362","1394723364","1394723367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56fe1486f3e1b6004b352c23dfb398b6.jpg","text":"TemporaryFile(/tmp/multipartBody2179425472311414180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274623425,"filename":"image_16112025_07_25_58_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d7b3936f7f02fa07c0f14f7f83231ac.jpg","text":"TemporaryFile(/tmp/multipartBody4629579752578644083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274623425,"filename":"image_16112025_07_25_47_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25c60a53a54eb9795cd4c9de7cca6ccf.jpg","text":"TemporaryFile(/tmp/multipartBody6057635488946949551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274623425,"filename":"image_16112025_07_26_47_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97719a8c593b807c37122d8be2288ad9.jpg","text":"TemporaryFile(/tmp/multipartBody7337278818247073340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274623425,"filename":"image_16112025_07_25_44_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/431840e751fc7f37de932cd5ad832206.jpg","text":"TemporaryFile(/tmp/multipartBody2985651348631145451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274623425,"filename":"image_16112025_07_26_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/11/16/5f566c978269b0d082339811145d343b.jpg","text":"TemporaryFile(/tmp/multipartBody5024979151418173081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274623425,"filename":"image_16112025_07_26_59_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723360","file1":"1394723357","file0":"1394723355","file4":"1394723364","file5":"1394723367","file3":"1394723362"},"map_files_photo_id_array":[{"photo_id":"1394723367","filename":"file5"},{"photo_id":"1394723360","filename":"file2"},{"photo_id":"1394723364","filename":"file4"},{"photo_id":"1394723357","filename":"file1"},{"photo_id":"1394723355","filename":"file0"},{"photo_id":"1394723362","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723360":["hashtag1","hashtag2"]},{"1394723357":["hashtag1","hashtag2"]},{"1394723362":["hashtag1","hashtag2"]},{"1394723355":["hashtag1","hashtag2"]},{"1394723364":["hashtag1","hashtag2"]},{"1394723367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723360, 1394723357, 1394723362, 1394723355, 1394723364, 1394723367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66987657546997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:30:02.496771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/27/image_16112025_07_27_02_2818.jpg', '/home/pi/Desktop/images/16112025/07/27/image_16112025_07_27_05_2836.jpg', '/home/pi/Desktop/images/16112025/07/27/image_16112025_07_27_20_2790.jpg', '/home/pi/Desktop/images/16112025/07/27/image_16112025_07_27_32_2749.jpg', '/home/pi/Desktop/images/16112025/07/28/image_16112025_07_28_31_2652.jpg', '/home/pi/Desktop/images/16112025/07/28/image_16112025_07_28_47_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/27/image_16112025_07_27_02_2818.jpg
/home/pi/Desktop/images/16112025/07/27/image_16112025_07_27_05_2836.jpg
/home/pi/Desktop/images/16112025/07/27/image_16112025_07_27_20_2790.jpg
/home/pi/Desktop/images/16112025/07/27/image_16112025_07_27_32_2749.jpg
/home/pi/Desktop/images/16112025/07/28/image_16112025_07_28_31_2652.jpg
/home/pi/Desktop/images/16112025/07/28/image_16112025_07_28_47_3563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723378","1394723375","1394723380","1394723383","1394723377","1394723373"],"photo_ids_order":["1394723373","1394723375","1394723377","1394723378","1394723380","1394723383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6404d3a4df2e0c0efeee0f70a66aec7.jpg","text":"TemporaryFile(/tmp/multipartBody1210983654422737953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274663290,"filename":"image_16112025_07_27_32_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/902283b62968ea2c66f0d18024cb7048.jpg","text":"TemporaryFile(/tmp/multipartBody3180884702436407284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274663290,"filename":"image_16112025_07_27_05_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d36fe5b8325c9674215712b8ef534897.jpg","text":"TemporaryFile(/tmp/multipartBody4586780682962866830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274663290,"filename":"image_16112025_07_28_31_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a63e8fb95caf745feb047dffdae7c9e8.jpg","text":"TemporaryFile(/tmp/multipartBody9009414849592395368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274663290,"filename":"image_16112025_07_28_47_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef1e8158430a85858c877ca1d5179fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8176177579139893963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274663290,"filename":"image_16112025_07_27_20_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b4ad371bb2628f184ba73b394681d26.jpg","text":"TemporaryFile(/tmp/multipartBody6238712241758200892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274663290,"filename":"image_16112025_07_27_02_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723377","file1":"1394723375","file0":"1394723373","file4":"1394723380","file5":"1394723383","file3":"1394723378"},"map_files_photo_id_array":[{"photo_id":"1394723383","filename":"file5"},{"photo_id":"1394723377","filename":"file2"},{"photo_id":"1394723380","filename":"file4"},{"photo_id":"1394723375","filename":"file1"},{"photo_id":"1394723373","filename":"file0"},{"photo_id":"1394723378","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723378":["hashtag1","hashtag2"]},{"1394723375":["hashtag1","hashtag2"]},{"1394723380":["hashtag1","hashtag2"]},{"1394723383":["hashtag1","hashtag2"]},{"1394723377":["hashtag1","hashtag2"]},{"1394723373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723378, 1394723375, 1394723380, 1394723383, 1394723377, 1394723373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43612861633301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:30:41.981179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/28/image_16112025_07_28_52_2672.jpg', '/home/pi/Desktop/images/16112025/07/29/image_16112025_07_29_14_3589.jpg', '/home/pi/Desktop/images/16112025/07/29/image_16112025_07_29_19_2689.jpg', '/home/pi/Desktop/images/16112025/07/29/image_16112025_07_29_23_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/28/image_16112025_07_28_52_2672.jpg
/home/pi/Desktop/images/16112025/07/29/image_16112025_07_29_14_3589.jpg
/home/pi/Desktop/images/16112025/07/29/image_16112025_07_29_19_2689.jpg
/home/pi/Desktop/images/16112025/07/29/image_16112025_07_29_23_3625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723391","1394723394","1394723388","1394723397"],"photo_ids_order":["1394723388","1394723391","1394723394","1394723397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d51dbccfe547a2158470b2aa93cd90e.jpg","text":"TemporaryFile(/tmp/multipartBody4072835573389499723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274702618,"filename":"image_16112025_07_29_14_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2125f47c6d5663715e6900f23608924e.jpg","text":"TemporaryFile(/tmp/multipartBody6157326304559022666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274702618,"filename":"image_16112025_07_29_19_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a2da090ab6a7b0e88b55491525507a5.jpg","text":"TemporaryFile(/tmp/multipartBody776719801517038358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274702618,"filename":"image_16112025_07_28_52_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/387f04a0b06898a528ef1eb05021a0f6.jpg","text":"TemporaryFile(/tmp/multipartBody4648584295102191230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274702618,"filename":"image_16112025_07_29_23_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723394","file1":"1394723391","file0":"1394723388","file3":"1394723397"},"map_files_photo_id_array":[{"photo_id":"1394723394","filename":"file2"},{"photo_id":"1394723391","filename":"file1"},{"photo_id":"1394723388","filename":"file0"},{"photo_id":"1394723397","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723391":["hashtag1","hashtag2"]},{"1394723394":["hashtag1","hashtag2"]},{"1394723388":["hashtag1","hashtag2"]},{"1394723397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723391, 1394723394, 1394723388, 1394723397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.567185401916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:31:22.191001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_30_1745.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_32_1700.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_33_1620.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_35_1764.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_37_1587.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_40_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_30_1745.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_32_1700.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_33_1620.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_35_1764.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_37_1587.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_40_2795.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.832897424697876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:31:42.143201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:32:02.885301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:32:22.394570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_30_1745.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_32_1700.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_33_1620.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_35_1764.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_37_1587.jpg', '/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_40_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_30_1745.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_32_1700.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_33_1620.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_35_1764.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_37_1587.jpg
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_40_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723426","1394723425","1394723428","1394723422","1394723419","1394723424"],"photo_ids_order":["1394723419","1394723422","1394723424","1394723425","1394723426","1394723428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51e4b94de33ff4a2287f83c30432f9bd.jpg","text":"TemporaryFile(/tmp/multipartBody5459273115977561613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274803174,"filename":"image_06112025_14_09_37_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c009f9b0a4f6fbe3cf5e4fc95813b53.jpg","text":"TemporaryFile(/tmp/multipartBody98294300379277385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274803174,"filename":"image_06112025_14_09_35_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f2db86110ebd96c5204c7700ac39055.jpg","text":"TemporaryFile(/tmp/multipartBody4776754826851552392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274803174,"filename":"image_06112025_14_09_40_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6ee7faf5b8ba877c935c2f70a428803.jpg","text":"TemporaryFile(/tmp/multipartBody7676727456684429618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274803174,"filename":"image_06112025_14_09_32_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/287fd12adaf9f60f441b8a002dfd87b1.jpg","text":"TemporaryFile(/tmp/multipartBody4410390796363797373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274803174,"filename":"image_06112025_14_09_30_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99bd54fbc9bdff818d2d5f5bdcd43908.jpg","text":"TemporaryFile(/tmp/multipartBody2346728540171843514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274803174,"filename":"image_06112025_14_09_33_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723424","file1":"1394723422","file0":"1394723419","file4":"1394723426","file5":"1394723428","file3":"1394723425"},"map_files_photo_id_array":[{"photo_id":"1394723428","filename":"file5"},{"photo_id":"1394723424","filename":"file2"},{"photo_id":"1394723426","filename":"file4"},{"photo_id":"1394723422","filename":"file1"},{"photo_id":"1394723419","filename":"file0"},{"photo_id":"1394723425","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394723426":["hashtag1","hashtag2"]},{"1394723425":["hashtag1","hashtag2"]},{"1394723428":["hashtag1","hashtag2"]},{"1394723422":["hashtag1","hashtag2"]},{"1394723419":["hashtag1","hashtag2"]},{"1394723424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394723426, 1394723425, 1394723428, 1394723422, 1394723419, 1394723424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.013304233551025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:33:03.373968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:33:22.633763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/29/image_16112025_07_29_25_2592.jpg', '/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_28_2705.jpg', '/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_31_3523.jpg', '/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_34_2654.jpg', '/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_37_2743.jpg', '/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_43_2901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/29/image_16112025_07_29_25_2592.jpg
/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_28_2705.jpg
/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_31_3523.jpg
/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_34_2654.jpg
/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_37_2743.jpg
/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_43_2901.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723433","1394723435","1394723438","1394723440","1394723442","1394723439"],"photo_ids_order":["1394723433","1394723435","1394723438","1394723439","1394723440","1394723442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a54448861a1cb0f716aac653e4889a4.jpg","text":"TemporaryFile(/tmp/multipartBody4031461596328275012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274863360,"filename":"image_16112025_07_29_25_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f2077d9766763002420cafb3d8a4110.jpg","text":"TemporaryFile(/tmp/multipartBody7484349210900291944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274863360,"filename":"image_16112025_07_33_28_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9da4db1a294c0a6d8a4c3433f2a45a00.jpg","text":"TemporaryFile(/tmp/multipartBody2892278862777108876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274863360,"filename":"image_16112025_07_33_31_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bd0af4646120c8835ca55b5d85a4dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4774259677072502629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274863360,"filename":"image_16112025_07_33_37_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52cb780c3bc080d41105762470cfc71b.jpg","text":"TemporaryFile(/tmp/multipartBody5828955045440002054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274863360,"filename":"image_16112025_07_33_43_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c7dfa0975a469a5cf38aa8cc8822f25.jpg","text":"TemporaryFile(/tmp/multipartBody6157953835140907318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274863360,"filename":"image_16112025_07_33_34_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723438","file1":"1394723435","file0":"1394723433","file4":"1394723440","file5":"1394723442","file3":"1394723439"},"map_files_photo_id_array":[{"photo_id":"1394723442","filename":"file5"},{"photo_id":"1394723438","filename":"file2"},{"photo_id":"1394723440","filename":"file4"},{"photo_id":"1394723435","filename":"file1"},{"photo_id":"1394723433","filename":"file0"},{"photo_id":"1394723439","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723433":["hashtag1","hashtag2"]},{"1394723435":["hashtag1","hashtag2"]},{"1394723438":["hashtag1","hashtag2"]},{"1394723440":["hashtag1","hashtag2"]},{"1394723442":["hashtag1","hashtag2"]},{"1394723439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723433, 1394723435, 1394723438, 1394723440, 1394723442, 1394723439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54369020462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:34:02.666544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_49_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_49_2670.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723444"],"photo_id":"1394723444","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b2fbfefcab8a368539ea25a9d17460c.jpg","text":"TemporaryFile(/tmp/multipartBody6123004200608367274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274903238,"filename":"image_16112025_07_33_49_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1394723444"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1394723444"}],"hashtags":[],"portfolio_id":"28581098","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.528519630432129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:34:21.902776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_58_2690.jpg', '/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_04_2794.jpg', '/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_07_2582.jpg', '/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_10_3664.jpg', '/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_13_2801.jpg', '/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_16_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/33/image_16112025_07_33_58_2690.jpg
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_04_2794.jpg
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_07_2582.jpg
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_10_3664.jpg
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_13_2801.jpg
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_16_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723459","1394723461","1394723452","1394723455","1394723449","1394723457"],"photo_ids_order":["1394723449","1394723452","1394723455","1394723457","1394723459","1394723461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6461484b595224b911a44ab6f90715c2.jpg","text":"TemporaryFile(/tmp/multipartBody4218645522329033771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274922667,"filename":"image_16112025_07_34_13_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5515169b580e5777864e5b42330707a0.jpg","text":"TemporaryFile(/tmp/multipartBody1353671028168463650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274922667,"filename":"image_16112025_07_34_16_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cab4cfe2014b86168ccbeefe1880653.jpg","text":"TemporaryFile(/tmp/multipartBody574529219102341748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274922667,"filename":"image_16112025_07_34_04_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b75ba50f64e806e2c5906b9b22995447.jpg","text":"TemporaryFile(/tmp/multipartBody3599230572053723440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274922667,"filename":"image_16112025_07_34_07_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c442dca838faa81c0a6412aaad10675.jpg","text":"TemporaryFile(/tmp/multipartBody8576350791171256514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274922667,"filename":"image_16112025_07_33_58_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/279e7363f70630f5287b149161fe8774.jpg","text":"TemporaryFile(/tmp/multipartBody8676308123737791942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274922667,"filename":"image_16112025_07_34_10_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723455","file1":"1394723452","file0":"1394723449","file4":"1394723459","file5":"1394723461","file3":"1394723457"},"map_files_photo_id_array":[{"photo_id":"1394723461","filename":"file5"},{"photo_id":"1394723455","filename":"file2"},{"photo_id":"1394723459","filename":"file4"},{"photo_id":"1394723452","filename":"file1"},{"photo_id":"1394723449","filename":"file0"},{"photo_id":"1394723457","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723459":["hashtag1","hashtag2"]},{"1394723461":["hashtag1","hashtag2"]},{"1394723452":["hashtag1","hashtag2"]},{"1394723455":["hashtag1","hashtag2"]},{"1394723449":["hashtag1","hashtag2"]},{"1394723457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723459, 1394723461, 1394723452, 1394723455, 1394723449, 1394723457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.833563566207886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:35:02.858218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_19_3710.jpg', '/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_37_3567.jpg', '/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_55_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_19_3710.jpg
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_37_3567.jpg
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_55_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723468","1394723470","1394723466"],"photo_ids_order":["1394723466","1394723468","1394723470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52c478662174f64bbc2da6b804cbc114.jpg","text":"TemporaryFile(/tmp/multipartBody6781702213600194946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274963515,"filename":"image_16112025_07_34_37_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5577e9dfca61f40501ee62210da648fe.jpg","text":"TemporaryFile(/tmp/multipartBody4244136106221135863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274963515,"filename":"image_16112025_07_34_55_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f4f626fb5b540ac37b8ed3336e6baf8.jpg","text":"TemporaryFile(/tmp/multipartBody2448810204456849418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763274963515,"filename":"image_16112025_07_34_19_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723470","file1":"1394723468","file0":"1394723466"},"map_files_photo_id_array":[{"photo_id":"1394723470","filename":"file2"},{"photo_id":"1394723468","filename":"file1"},{"photo_id":"1394723466","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723468":["hashtag1","hashtag2"]},{"1394723470":["hashtag1","hashtag2"]},{"1394723466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723468, 1394723470, 1394723466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.192057609558105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:35:42.080891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_58_2639.jpg', '/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_07_2795.jpg', '/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_16_2808.jpg', '/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_21_2589.jpg', '/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_25_3668.jpg', '/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_37_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/34/image_16112025_07_34_58_2639.jpg
/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_07_2795.jpg
/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_16_2808.jpg
/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_21_2589.jpg
/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_25_3668.jpg
/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_37_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723483","1394723485","1394723479","1394723481","1394723475","1394723478"],"photo_ids_order":["1394723475","1394723478","1394723479","1394723481","1394723483","1394723485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e92d876aa4ea2ce8ff6e08fae5d1cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8182661334953431134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275002777,"filename":"image_16112025_07_35_25_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8318c3eb16b25079b15fc808bf92ca51.jpg","text":"TemporaryFile(/tmp/multipartBody8236430864502390237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275002777,"filename":"image_16112025_07_35_37_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1a52d8cda1c1fda52d1e0e65e9faaf8.jpg","text":"TemporaryFile(/tmp/multipartBody3736813890782122680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275002777,"filename":"image_16112025_07_35_16_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9da38eea0893d1904a6926e085e74558.jpg","text":"TemporaryFile(/tmp/multipartBody683678305191798731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275002777,"filename":"image_16112025_07_35_21_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f24504f5c07498706670285b7440bec.jpg","text":"TemporaryFile(/tmp/multipartBody7022974138757119289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275002777,"filename":"image_16112025_07_34_58_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfb5b0337b816e2ab335d191acea41c0.jpg","text":"TemporaryFile(/tmp/multipartBody3470109104599989359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275002777,"filename":"image_16112025_07_35_07_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723479","file1":"1394723478","file0":"1394723475","file4":"1394723483","file5":"1394723485","file3":"1394723481"},"map_files_photo_id_array":[{"photo_id":"1394723485","filename":"file5"},{"photo_id":"1394723479","filename":"file2"},{"photo_id":"1394723483","filename":"file4"},{"photo_id":"1394723478","filename":"file1"},{"photo_id":"1394723475","filename":"file0"},{"photo_id":"1394723481","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723483":["hashtag1","hashtag2"]},{"1394723485":["hashtag1","hashtag2"]},{"1394723479":["hashtag1","hashtag2"]},{"1394723481":["hashtag1","hashtag2"]},{"1394723475":["hashtag1","hashtag2"]},{"1394723478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723483, 1394723485, 1394723479, 1394723481, 1394723475, 1394723478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10137176513672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:36:22.251866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_43_2820.jpg', '/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_52_3790.jpg', '/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_55_2697.jpg', '/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_06_2590.jpg', '/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_25_2593.jpg', '/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_28_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_43_2820.jpg
/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_52_3790.jpg
/home/pi/Desktop/images/16112025/07/35/image_16112025_07_35_55_2697.jpg
/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_06_2590.jpg
/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_25_2593.jpg
/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_28_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723495","1394723494","1394723497","1394723491","1394723493","1394723496"],"photo_ids_order":["1394723491","1394723493","1394723494","1394723495","1394723496","1394723497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec56ed53b3cbfc1f8003c16bef30f742.jpg","text":"TemporaryFile(/tmp/multipartBody1337621525223893802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275042983,"filename":"image_16112025_07_36_06_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4223550f1dfbf39139cc106df3a7c512.jpg","text":"TemporaryFile(/tmp/multipartBody8406687559616700340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275042983,"filename":"image_16112025_07_35_55_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdb535729fe89587df365a1e03eed8ff.jpg","text":"TemporaryFile(/tmp/multipartBody6171684330059100948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275042983,"filename":"image_16112025_07_36_28_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43964b3aeea8145e9a770967d896fb85.jpg","text":"TemporaryFile(/tmp/multipartBody2097295087020842229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275042983,"filename":"image_16112025_07_35_43_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60e257a49717477bd3ce6ce18e56ff44.jpg","text":"TemporaryFile(/tmp/multipartBody4888209337700061548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275042983,"filename":"image_16112025_07_35_52_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/820cacaef7380c80a0cb1dc067283e52.jpg","text":"TemporaryFile(/tmp/multipartBody8133386361173183263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275042983,"filename":"image_16112025_07_36_25_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723494","file1":"1394723493","file0":"1394723491","file4":"1394723496","file5":"1394723497","file3":"1394723495"},"map_files_photo_id_array":[{"photo_id":"1394723497","filename":"file5"},{"photo_id":"1394723494","filename":"file2"},{"photo_id":"1394723496","filename":"file4"},{"photo_id":"1394723493","filename":"file1"},{"photo_id":"1394723491","filename":"file0"},{"photo_id":"1394723495","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723495":["hashtag1","hashtag2"]},{"1394723494":["hashtag1","hashtag2"]},{"1394723497":["hashtag1","hashtag2"]},{"1394723491":["hashtag1","hashtag2"]},{"1394723493":["hashtag1","hashtag2"]},{"1394723496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723495, 1394723494, 1394723497, 1394723491, 1394723493, 1394723496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04465365409851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:37:03.315760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_34_2730.jpg', '/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_39_2767.jpg', '/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_46_2581.jpg', '/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_52_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_34_2730.jpg
/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_39_2767.jpg
/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_46_2581.jpg
/home/pi/Desktop/images/16112025/07/36/image_16112025_07_36_52_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723505","1394723501","1394723507","1394723509"],"photo_ids_order":["1394723501","1394723505","1394723507","1394723509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce356636f611da6ed8245df728414adf.jpg","text":"TemporaryFile(/tmp/multipartBody3857289029333059303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275084019,"filename":"image_16112025_07_36_39_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7a95c37f9ef1d4c991f0e905197617a.jpg","text":"TemporaryFile(/tmp/multipartBody2542694379662261838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275084019,"filename":"image_16112025_07_36_34_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c3f18a35e300f104d37fed616efc911.jpg","text":"TemporaryFile(/tmp/multipartBody5793420096166784582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275084019,"filename":"image_16112025_07_36_46_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a40b18a6f9201c926b17473e1d30ca22.jpg","text":"TemporaryFile(/tmp/multipartBody2353678645732785490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275084019,"filename":"image_16112025_07_36_52_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723507","file1":"1394723505","file0":"1394723501","file3":"1394723509"},"map_files_photo_id_array":[{"photo_id":"1394723507","filename":"file2"},{"photo_id":"1394723505","filename":"file1"},{"photo_id":"1394723501","filename":"file0"},{"photo_id":"1394723509","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723505":["hashtag1","hashtag2"]},{"1394723501":["hashtag1","hashtag2"]},{"1394723507":["hashtag1","hashtag2"]},{"1394723509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723505, 1394723501, 1394723507, 1394723509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.613726139068604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:37:42.488251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/36/image_16112025_07_37_00_2617.jpg', '/home/pi/Desktop/images/16112025/07/37/image_16112025_07_37_43_3747.jpg', '/home/pi/Desktop/images/16112025/07/37/image_16112025_07_37_46_2693.jpg', '/home/pi/Desktop/images/16112025/07/37/image_16112025_07_37_51_2863.jpg', '/home/pi/Desktop/images/16112025/07/37/image_16112025_07_37_55_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/36/image_16112025_07_37_00_2617.jpg
/home/pi/Desktop/images/16112025/07/37/image_16112025_07_37_43_3747.jpg
/home/pi/Desktop/images/16112025/07/37/image_16112025_07_37_46_2693.jpg
/home/pi/Desktop/images/16112025/07/37/image_16112025_07_37_51_2863.jpg
/home/pi/Desktop/images/16112025/07/37/image_16112025_07_37_55_3795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723520","1394723522","1394723521","1394723523","1394723517"],"photo_ids_order":["1394723517","1394723520","1394723521","1394723522","1394723523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/435e08a63f9e5985de63e9666445ac01.jpg","text":"TemporaryFile(/tmp/multipartBody6840278846378820381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275123140,"filename":"image_16112025_07_37_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/11/16/dce143e6ac07939d1d957d93b4d61d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6800451851705369049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275123140,"filename":"image_16112025_07_37_51_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c342db16ebb1f5240da4344caaedd233.jpg","text":"TemporaryFile(/tmp/multipartBody2115794587763751005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275123140,"filename":"image_16112025_07_37_46_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82a798d657845616f70180d693f9bcb7.jpg","text":"TemporaryFile(/tmp/multipartBody439623489721217928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275123140,"filename":"image_16112025_07_37_55_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94ec5a38684b00083dff733aa6706c55.jpg","text":"TemporaryFile(/tmp/multipartBody2625284373275576662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275123140,"filename":"image_16112025_07_37_00_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723521","file1":"1394723520","file0":"1394723517","file4":"1394723523","file3":"1394723522"},"map_files_photo_id_array":[{"photo_id":"1394723521","filename":"file2"},{"photo_id":"1394723523","filename":"file4"},{"photo_id":"1394723520","filename":"file1"},{"photo_id":"1394723517","filename":"file0"},{"photo_id":"1394723522","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723520":["hashtag1","hashtag2"]},{"1394723522":["hashtag1","hashtag2"]},{"1394723521":["hashtag1","hashtag2"]},{"1394723523":["hashtag1","hashtag2"]},{"1394723517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723520, 1394723522, 1394723521, 1394723523, 1394723517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.896553993225098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:38:22.738496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/37/image_16112025_07_38_00_2623.jpg', '/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_04_3665.jpg', '/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_16_3813.jpg', '/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_19_2776.jpg', '/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_24_2663.jpg', '/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_37_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/37/image_16112025_07_38_00_2623.jpg
/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_04_3665.jpg
/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_16_3813.jpg
/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_19_2776.jpg
/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_24_2663.jpg
/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_37_3741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723531","1394723533","1394723527","1394723541","1394723535","1394723538"],"photo_ids_order":["1394723527","1394723531","1394723533","1394723535","1394723538","1394723541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11245999e30310d3eb3caca5f8cf271f.jpg","text":"TemporaryFile(/tmp/multipartBody480239996567793903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275163470,"filename":"image_16112025_07_38_04_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1e566c6846b3ec9ec71cbba1a27b6d6.jpg","text":"TemporaryFile(/tmp/multipartBody446496751204664484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275163470,"filename":"image_16112025_07_38_16_3813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7b45459fb05497243de8b8fdf692308.jpg","text":"TemporaryFile(/tmp/multipartBody7386041327295188696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275163470,"filename":"image_16112025_07_38_00_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee5005f6806592384a1184b73fceb729.jpg","text":"TemporaryFile(/tmp/multipartBody8865659425586343943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275163470,"filename":"image_16112025_07_38_37_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7030dc82d78a9ff065a07588042eeb2.jpg","text":"TemporaryFile(/tmp/multipartBody7222791411161462836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275163470,"filename":"image_16112025_07_38_19_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ff1188c77f59cd0ea95badec5214517.jpg","text":"TemporaryFile(/tmp/multipartBody340508223956135412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275163470,"filename":"image_16112025_07_38_24_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723533","file1":"1394723531","file0":"1394723527","file4":"1394723538","file5":"1394723541","file3":"1394723535"},"map_files_photo_id_array":[{"photo_id":"1394723541","filename":"file5"},{"photo_id":"1394723533","filename":"file2"},{"photo_id":"1394723538","filename":"file4"},{"photo_id":"1394723531","filename":"file1"},{"photo_id":"1394723527","filename":"file0"},{"photo_id":"1394723535","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723531":["hashtag1","hashtag2"]},{"1394723533":["hashtag1","hashtag2"]},{"1394723527":["hashtag1","hashtag2"]},{"1394723541":["hashtag1","hashtag2"]},{"1394723535":["hashtag1","hashtag2"]},{"1394723538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723531, 1394723533, 1394723527, 1394723541, 1394723535, 1394723538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.942561864852905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:39:02.966609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_40_2730.jpg', '/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_46_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_40_2730.jpg
/home/pi/Desktop/images/16112025/07/38/image_16112025_07_38_46_3717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723543","1394723542"],"photo_ids_order":["1394723542","1394723543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d252db5d34edc38c43807f3239f04bca.jpg","text":"TemporaryFile(/tmp/multipartBody4668794798397086024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275203670,"filename":"image_16112025_07_38_46_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8252d04a92e4229c3410b80217b579ae.jpg","text":"TemporaryFile(/tmp/multipartBody1074759716260624217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275203670,"filename":"image_16112025_07_38_40_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394723543","file0":"1394723542"},"map_files_photo_id_array":[{"photo_id":"1394723543","filename":"file1"},{"photo_id":"1394723542","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723543":["hashtag1","hashtag2"]},{"1394723542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723543, 1394723542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.579091787338257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:39:22.092382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/38/image_16112025_07_39_00_2650.jpg', '/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_28_2815.jpg', '/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_37_3655.jpg', '/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_39_2671.jpg', '/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_42_2833.jpg', '/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_46_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/38/image_16112025_07_39_00_2650.jpg
/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_28_2815.jpg
/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_37_3655.jpg
/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_39_2671.jpg
/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_42_2833.jpg
/home/pi/Desktop/images/16112025/07/39/image_16112025_07_39_46_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723549","1394723551","1394723554","1394723548","1394723547","1394723550"],"photo_ids_order":["1394723547","1394723548","1394723549","1394723550","1394723551","1394723554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2019bbb9822ed0c4868cfb80b8807730.jpg","text":"TemporaryFile(/tmp/multipartBody2883312625925043316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275222793,"filename":"image_16112025_07_39_37_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88a2bda4a5132ba845da3e24bfc8e6f4.jpg","text":"TemporaryFile(/tmp/multipartBody9072201402980821776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275222793,"filename":"image_16112025_07_39_42_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d15d861a3df005729f751214608b9fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4756647258042360834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275222793,"filename":"image_16112025_07_39_46_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b9975fed9ef811cb0215744dfb8cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody3335672548209592861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275222793,"filename":"image_16112025_07_39_28_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7152682a305503de4b2a733a46a207d.jpg","text":"TemporaryFile(/tmp/multipartBody7836449604780760857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275222793,"filename":"image_16112025_07_39_00_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bd35e8ce2f54a57b016acd8a88c82ae.jpg","text":"TemporaryFile(/tmp/multipartBody3383954753252483575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275222793,"filename":"image_16112025_07_39_39_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723549","file1":"1394723548","file0":"1394723547","file4":"1394723551","file5":"1394723554","file3":"1394723550"},"map_files_photo_id_array":[{"photo_id":"1394723554","filename":"file5"},{"photo_id":"1394723549","filename":"file2"},{"photo_id":"1394723551","filename":"file4"},{"photo_id":"1394723548","filename":"file1"},{"photo_id":"1394723547","filename":"file0"},{"photo_id":"1394723550","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723549":["hashtag1","hashtag2"]},{"1394723551":["hashtag1","hashtag2"]},{"1394723554":["hashtag1","hashtag2"]},{"1394723548":["hashtag1","hashtag2"]},{"1394723547":["hashtag1","hashtag2"]},{"1394723550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723549, 1394723551, 1394723554, 1394723548, 1394723547, 1394723550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5639226436615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:40:02.895793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:40:22.382193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/39/image_16112025_07_40_00_2839.jpg', '/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_10_3576.jpg', '/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_18_3593.jpg', '/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_21_2668.jpg', '/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_34_3816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/39/image_16112025_07_40_00_2839.jpg
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_10_3576.jpg
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_18_3593.jpg
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_21_2668.jpg
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_34_3816.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.5759143829345703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:40:42.397470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/39/image_16112025_07_40_00_2839.jpg', '/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_10_3576.jpg', '/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_18_3593.jpg', '/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_21_2668.jpg', '/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_34_3816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/39/image_16112025_07_40_00_2839.jpg
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_10_3576.jpg
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_18_3593.jpg
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_21_2668.jpg
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_34_3816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723570","1394723567","1394723569","1394723571","1394723568"],"photo_ids_order":["1394723567","1394723568","1394723569","1394723570","1394723571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da155a443f7f11f93f7fb082028315f6.jpg","text":"TemporaryFile(/tmp/multipartBody6748996791952552444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275303115,"filename":"image_16112025_07_40_21_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4e093626d0eb7df9ac91c7642d59ee6.jpg","text":"TemporaryFile(/tmp/multipartBody9141126611638289327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275303115,"filename":"image_16112025_07_40_00_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9e533acfc050199fe7af6dbd88f7d59.jpg","text":"TemporaryFile(/tmp/multipartBody7304965323186940498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275303115,"filename":"image_16112025_07_40_18_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84a0c8ae14af80f4f42cc3303cd36f02.jpg","text":"TemporaryFile(/tmp/multipartBody1856798250088757776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275303115,"filename":"image_16112025_07_40_34_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/955bd4666d6f32f7b920ded6e8c72e12.jpg","text":"TemporaryFile(/tmp/multipartBody6886740876119891804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275303115,"filename":"image_16112025_07_40_10_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723569","file1":"1394723568","file0":"1394723567","file4":"1394723571","file3":"1394723570"},"map_files_photo_id_array":[{"photo_id":"1394723569","filename":"file2"},{"photo_id":"1394723571","filename":"file4"},{"photo_id":"1394723568","filename":"file1"},{"photo_id":"1394723567","filename":"file0"},{"photo_id":"1394723570","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723570":["hashtag1","hashtag2"]},{"1394723567":["hashtag1","hashtag2"]},{"1394723569":["hashtag1","hashtag2"]},{"1394723571":["hashtag1","hashtag2"]},{"1394723568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723570, 1394723567, 1394723569, 1394723571, 1394723568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.24697971343994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:41:22.611568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_43_3582.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_07_3018.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_10_3542.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_13_2623.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_16_3539.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_19_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/09/image_06112025_14_09_43_3582.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_07_3018.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_10_3542.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_13_2623.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_16_3539.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_19_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723582","1394723579","1394723581","1394723584","1394723583","1394723586"],"photo_ids_order":["1394723579","1394723581","1394723582","1394723583","1394723584","1394723586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/128f20ddfbecc29825c5e627324298f6.jpg","text":"TemporaryFile(/tmp/multipartBody5040214689653863648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275343490,"filename":"image_06112025_14_11_10_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43e5249b1ae7d3279d4d2a9c540742c7.jpg","text":"TemporaryFile(/tmp/multipartBody9049603489415716895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275343490,"filename":"image_06112025_14_09_43_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a86bd1c30779475369de96575b109bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5279754650887902324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275343490,"filename":"image_06112025_14_11_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/11/16/946f319cca43259f62f32fb8f8538a26.jpg","text":"TemporaryFile(/tmp/multipartBody1379996092705025165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275343490,"filename":"image_06112025_14_11_16_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/262767a4ce5fc38b36ab659616c453e4.jpg","text":"TemporaryFile(/tmp/multipartBody2406335009742512060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275343490,"filename":"image_06112025_14_11_13_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa231a2c81dbbf7d23f3c994d05a0259.jpg","text":"TemporaryFile(/tmp/multipartBody4826023369960186900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275343490,"filename":"image_06112025_14_11_19_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723582","file1":"1394723581","file0":"1394723579","file4":"1394723584","file5":"1394723586","file3":"1394723583"},"map_files_photo_id_array":[{"photo_id":"1394723586","filename":"file5"},{"photo_id":"1394723582","filename":"file2"},{"photo_id":"1394723584","filename":"file4"},{"photo_id":"1394723581","filename":"file1"},{"photo_id":"1394723579","filename":"file0"},{"photo_id":"1394723583","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394723582":["hashtag1","hashtag2"]},{"1394723579":["hashtag1","hashtag2"]},{"1394723581":["hashtag1","hashtag2"]},{"1394723584":["hashtag1","hashtag2"]},{"1394723583":["hashtag1","hashtag2"]},{"1394723586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394723582, 1394723579, 1394723581, 1394723584, 1394723583, 1394723586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58297395706177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:42:02.379693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:42:21.872889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_22_2705.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_25_2969.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_28_3712.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_31_2741.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_34_2612.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_37_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_22_2705.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_25_2969.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_28_3712.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_31_2741.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_34_2612.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_37_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723604","1394723607","1394723591","1394723598","1394723602","1394723595"],"photo_ids_order":["1394723591","1394723595","1394723598","1394723602","1394723604","1394723607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4823d229166358796664a2848d7408ac.jpg","text":"TemporaryFile(/tmp/multipartBody5497660735258224263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275402776,"filename":"image_06112025_14_11_34_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59cbca1b4747a0b68662bc816b596824.jpg","text":"TemporaryFile(/tmp/multipartBody5608671302680458744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275402776,"filename":"image_06112025_14_11_37_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aac06e02c42168c63502e87ab771fdc0.jpg","text":"TemporaryFile(/tmp/multipartBody6922502880142832051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275402776,"filename":"image_06112025_14_11_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/11/16/99ddd08568dceee7556a95aa81a87d5b.jpg","text":"TemporaryFile(/tmp/multipartBody2147588950399543572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275402776,"filename":"image_06112025_14_11_28_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ef45ce0074d9bc757094b6ad079cef6.jpg","text":"TemporaryFile(/tmp/multipartBody3932918015079836704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275402776,"filename":"image_06112025_14_11_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/11/16/7cae0687b366422e5322c03584dd349e.jpg","text":"TemporaryFile(/tmp/multipartBody1960104462015008570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275402776,"filename":"image_06112025_14_11_25_2969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723598","file1":"1394723595","file0":"1394723591","file4":"1394723604","file5":"1394723607","file3":"1394723602"},"map_files_photo_id_array":[{"photo_id":"1394723607","filename":"file5"},{"photo_id":"1394723598","filename":"file2"},{"photo_id":"1394723604","filename":"file4"},{"photo_id":"1394723595","filename":"file1"},{"photo_id":"1394723591","filename":"file0"},{"photo_id":"1394723602","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1394723604":["hashtag1","hashtag2"]},{"1394723607":["hashtag1","hashtag2"]},{"1394723591":["hashtag1","hashtag2"]},{"1394723598":["hashtag1","hashtag2"]},{"1394723602":["hashtag1","hashtag2"]},{"1394723595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1394723604, 1394723607, 1394723591, 1394723598, 1394723602, 1394723595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19162631034851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:43:02.765694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:43:22.166581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_45_2656.jpg', '/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_21_2604.jpg', '/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_24_3549.jpg', '/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_27_2565.jpg', '/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_30_2824.jpg', '/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_36_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/40/image_16112025_07_40_45_2656.jpg
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_21_2604.jpg
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_24_3549.jpg
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_27_2565.jpg
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_30_2824.jpg
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_36_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723612","1394723618","1394723620","1394723614","1394723617","1394723616"],"photo_ids_order":["1394723612","1394723614","1394723616","1394723617","1394723618","1394723620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5006badf3ea3456fe51a9a51c0b34d8c.jpg","text":"TemporaryFile(/tmp/multipartBody69028876056780305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275462870,"filename":"image_16112025_07_40_45_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd7c08d9cdabc551df07b1a8c94ed19c.jpg","text":"TemporaryFile(/tmp/multipartBody1292350112203391508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275462870,"filename":"image_16112025_07_43_30_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2816649247dc9e964e049003e9328033.jpg","text":"TemporaryFile(/tmp/multipartBody6663124337178805436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275462870,"filename":"image_16112025_07_43_36_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/397db701c662c9fb87ee75e5c6a01bc1.jpg","text":"TemporaryFile(/tmp/multipartBody2858528822414849041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275462870,"filename":"image_16112025_07_43_21_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d593c4cc89b470be51233ee4da09813.jpg","text":"TemporaryFile(/tmp/multipartBody4556256374309894237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275462870,"filename":"image_16112025_07_43_27_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bdc738dfa7d8a395178866a150b1ccfe.jpg","text":"TemporaryFile(/tmp/multipartBody278012057517374042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275462870,"filename":"image_16112025_07_43_24_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723616","file1":"1394723614","file0":"1394723612","file4":"1394723618","file5":"1394723620","file3":"1394723617"},"map_files_photo_id_array":[{"photo_id":"1394723620","filename":"file5"},{"photo_id":"1394723616","filename":"file2"},{"photo_id":"1394723618","filename":"file4"},{"photo_id":"1394723614","filename":"file1"},{"photo_id":"1394723612","filename":"file0"},{"photo_id":"1394723617","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723612":["hashtag1","hashtag2"]},{"1394723618":["hashtag1","hashtag2"]},{"1394723620":["hashtag1","hashtag2"]},{"1394723614":["hashtag1","hashtag2"]},{"1394723617":["hashtag1","hashtag2"]},{"1394723616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723612, 1394723618, 1394723620, 1394723614, 1394723617, 1394723616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.238686084747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:44:02.943279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_42_2870.jpg', '/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_45_2716.jpg', '/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_48_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_42_2870.jpg
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_45_2716.jpg
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_48_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723627","1394723624","1394723622"],"photo_ids_order":["1394723622","1394723624","1394723627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e15e151d0da6dbaae843ff0e039adc6.jpg","text":"TemporaryFile(/tmp/multipartBody3628976123983235866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275503743,"filename":"image_16112025_07_43_48_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/830d2c3ccf2998db23cc0d6cdad39a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2207698923125870822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275503743,"filename":"image_16112025_07_43_45_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f6ae1c36bc4a22b7e9008230af97d30.jpg","text":"TemporaryFile(/tmp/multipartBody2408360661794772013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275503743,"filename":"image_16112025_07_43_42_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723627","file1":"1394723624","file0":"1394723622"},"map_files_photo_id_array":[{"photo_id":"1394723627","filename":"file2"},{"photo_id":"1394723624","filename":"file1"},{"photo_id":"1394723622","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723627":["hashtag1","hashtag2"]},{"1394723624":["hashtag1","hashtag2"]},{"1394723622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723627, 1394723624, 1394723622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.82067084312439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:44:42.378395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_54_2694.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_12_2928.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_15_2567.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_18_3673.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_24_2677.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_27_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/43/image_16112025_07_43_54_2694.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_12_2928.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_15_2567.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_18_3673.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_24_2677.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_27_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723645","1394723642","1394723644","1394723638","1394723646","1394723640"],"photo_ids_order":["1394723638","1394723640","1394723642","1394723644","1394723645","1394723646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c306f160cbffb818a531dea204336476.jpg","text":"TemporaryFile(/tmp/multipartBody3668188413164715991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275543079,"filename":"image_16112025_07_44_24_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55f0ab76a812dd2d8d7e12316db15e84.jpg","text":"TemporaryFile(/tmp/multipartBody7639558927230796069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275543079,"filename":"image_16112025_07_44_15_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/259c88ebe02388e1abce1410a0a49e06.jpg","text":"TemporaryFile(/tmp/multipartBody5133378041660289258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275543079,"filename":"image_16112025_07_44_18_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b083ce5bc6d63b16de4613d8575b5f17.jpg","text":"TemporaryFile(/tmp/multipartBody8673187315924693716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275543079,"filename":"image_16112025_07_43_54_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fb2a8b44006c4d1766d52edba473a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6797452906847954815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275543079,"filename":"image_16112025_07_44_27_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46e8d6017d5bc6bbdd34a2f787577812.jpg","text":"TemporaryFile(/tmp/multipartBody6162920278210684861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275543079,"filename":"image_16112025_07_44_12_2928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723642","file1":"1394723640","file0":"1394723638","file4":"1394723645","file5":"1394723646","file3":"1394723644"},"map_files_photo_id_array":[{"photo_id":"1394723646","filename":"file5"},{"photo_id":"1394723642","filename":"file2"},{"photo_id":"1394723645","filename":"file4"},{"photo_id":"1394723640","filename":"file1"},{"photo_id":"1394723638","filename":"file0"},{"photo_id":"1394723644","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723645":["hashtag1","hashtag2"]},{"1394723642":["hashtag1","hashtag2"]},{"1394723644":["hashtag1","hashtag2"]},{"1394723638":["hashtag1","hashtag2"]},{"1394723646":["hashtag1","hashtag2"]},{"1394723640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723645, 1394723642, 1394723644, 1394723638, 1394723646, 1394723640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56721258163452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:45:22.615378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_30_2641.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_33_2698.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_36_3675.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_39_2606.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_45_3759.jpg', '/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_48_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_30_2641.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_33_2698.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_36_3675.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_39_2606.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_45_3759.jpg
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_48_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723651","1394723654","1394723656","1394723652","1394723655","1394723658"],"photo_ids_order":["1394723651","1394723652","1394723654","1394723655","1394723656","1394723658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12b38f15a639c213d521d03c947b983f.jpg","text":"TemporaryFile(/tmp/multipartBody8042490588641668503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275583373,"filename":"image_16112025_07_44_30_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f43d9c874f770d44aa42cc6d9894a77.jpg","text":"TemporaryFile(/tmp/multipartBody3867348590899785290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275583373,"filename":"image_16112025_07_44_36_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/367f47eebf62cfd23422699f66630751.jpg","text":"TemporaryFile(/tmp/multipartBody2844606898476752379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275583373,"filename":"image_16112025_07_44_45_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fd039af16453f406259050c48e8c2bc.jpg","text":"TemporaryFile(/tmp/multipartBody2102300410693520933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275583373,"filename":"image_16112025_07_44_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/11/16/df81e5ea52f41390714d62eb3f46873c.jpg","text":"TemporaryFile(/tmp/multipartBody3197143169938820961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275583373,"filename":"image_16112025_07_44_39_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df9b430a4e16ebbc4a779aca75c675be.jpg","text":"TemporaryFile(/tmp/multipartBody137316784519541269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275583373,"filename":"image_16112025_07_44_48_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723654","file1":"1394723652","file0":"1394723651","file4":"1394723656","file5":"1394723658","file3":"1394723655"},"map_files_photo_id_array":[{"photo_id":"1394723658","filename":"file5"},{"photo_id":"1394723654","filename":"file2"},{"photo_id":"1394723656","filename":"file4"},{"photo_id":"1394723652","filename":"file1"},{"photo_id":"1394723651","filename":"file0"},{"photo_id":"1394723655","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723651":["hashtag1","hashtag2"]},{"1394723654":["hashtag1","hashtag2"]},{"1394723656":["hashtag1","hashtag2"]},{"1394723652":["hashtag1","hashtag2"]},{"1394723655":["hashtag1","hashtag2"]},{"1394723658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723651, 1394723654, 1394723656, 1394723652, 1394723655, 1394723658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98428726196289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:46:02.305132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_53_2651.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_02_2645.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_12_2785.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_15_3787.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_18_2659.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_21_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/44/image_16112025_07_44_53_2651.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_02_2645.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_12_2785.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_15_3787.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_18_2659.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_21_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723663","1394723666","1394723668","1394723662","1394723664","1394723661"],"photo_ids_order":["1394723661","1394723662","1394723663","1394723664","1394723666","1394723668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cd341bb30d8fa043ed5d4c52523589f.jpg","text":"TemporaryFile(/tmp/multipartBody1188232157609296641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275623120,"filename":"image_16112025_07_45_12_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c52183106e2bce5ed7990fa4167534f.jpg","text":"TemporaryFile(/tmp/multipartBody6328623084860039928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275623120,"filename":"image_16112025_07_45_18_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a1ba877a3b2c4bb602507713ca83adf.jpg","text":"TemporaryFile(/tmp/multipartBody612441504000117536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275623120,"filename":"image_16112025_07_45_21_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/979021ffa05f15f0478e75d53a5e3d5f.jpg","text":"TemporaryFile(/tmp/multipartBody81737083272444270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275623120,"filename":"image_16112025_07_45_02_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cfd3b034e3b1424ac48f619c3cb63cc.jpg","text":"TemporaryFile(/tmp/multipartBody1597084055969826963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275623120,"filename":"image_16112025_07_45_15_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/545963c7c13eb66daf60c83b54b771df.jpg","text":"TemporaryFile(/tmp/multipartBody8618609795664185752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275623120,"filename":"image_16112025_07_44_53_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723663","file1":"1394723662","file0":"1394723661","file4":"1394723666","file5":"1394723668","file3":"1394723664"},"map_files_photo_id_array":[{"photo_id":"1394723668","filename":"file5"},{"photo_id":"1394723663","filename":"file2"},{"photo_id":"1394723666","filename":"file4"},{"photo_id":"1394723662","filename":"file1"},{"photo_id":"1394723661","filename":"file0"},{"photo_id":"1394723664","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723663":["hashtag1","hashtag2"]},{"1394723666":["hashtag1","hashtag2"]},{"1394723668":["hashtag1","hashtag2"]},{"1394723662":["hashtag1","hashtag2"]},{"1394723664":["hashtag1","hashtag2"]},{"1394723661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723663, 1394723666, 1394723668, 1394723662, 1394723664, 1394723661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72280764579773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:46:41.802939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_27_3555.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_30_2804.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_32_2683.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_36_3623.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_39_2798.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_42_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_27_3555.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_30_2804.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_32_2683.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_36_3623.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_39_2798.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_42_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723675","1394723672","1394723674","1394723677","1394723670","1394723676"],"photo_ids_order":["1394723670","1394723672","1394723674","1394723675","1394723676","1394723677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d04e45181e6433d40ec772b8d03138c.jpg","text":"TemporaryFile(/tmp/multipartBody8426427108766924785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275662494,"filename":"image_16112025_07_45_36_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9dff5f458f45b300303c03194fb153ec.jpg","text":"TemporaryFile(/tmp/multipartBody3419451245260424317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275662494,"filename":"image_16112025_07_45_30_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1bed3a2a829a63f0284d72077448a3e.jpg","text":"TemporaryFile(/tmp/multipartBody2185227421425539566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275662494,"filename":"image_16112025_07_45_32_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b4debb6b476a075e827a302dfbd4c37.jpg","text":"TemporaryFile(/tmp/multipartBody1084180162094374720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275662494,"filename":"image_16112025_07_45_42_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef16bfcb4a0feac553e120c0333cc591.jpg","text":"TemporaryFile(/tmp/multipartBody4030336851724672136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275662494,"filename":"image_16112025_07_45_27_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3ba0d9c6e00ea4833254ac0f8a2a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody6608586940973161918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275662494,"filename":"image_16112025_07_45_39_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723674","file1":"1394723672","file0":"1394723670","file4":"1394723676","file5":"1394723677","file3":"1394723675"},"map_files_photo_id_array":[{"photo_id":"1394723677","filename":"file5"},{"photo_id":"1394723674","filename":"file2"},{"photo_id":"1394723676","filename":"file4"},{"photo_id":"1394723672","filename":"file1"},{"photo_id":"1394723670","filename":"file0"},{"photo_id":"1394723675","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723675":["hashtag1","hashtag2"]},{"1394723672":["hashtag1","hashtag2"]},{"1394723674":["hashtag1","hashtag2"]},{"1394723677":["hashtag1","hashtag2"]},{"1394723670":["hashtag1","hashtag2"]},{"1394723676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723675, 1394723672, 1394723674, 1394723677, 1394723670, 1394723676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78323316574097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:47:22.050468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_48_2797.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_53_2644.jpg', '/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_57_3686.jpg', '/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_06_3787.jpg', '/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_09_2563.jpg', '/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_15_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_48_2797.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_53_2644.jpg
/home/pi/Desktop/images/16112025/07/45/image_16112025_07_45_57_3686.jpg
/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_06_3787.jpg
/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_09_2563.jpg
/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_15_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723681","1394723684","1394723686","1394723689","1394723691","1394723688"],"photo_ids_order":["1394723681","1394723684","1394723686","1394723688","1394723689","1394723691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2bd15634a958bd25f8a7451d02372ac.jpg","text":"TemporaryFile(/tmp/multipartBody7134652978169375637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275702750,"filename":"image_16112025_07_45_48_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f7190fd1726078e168dbcdde1f0bfc1.jpg","text":"TemporaryFile(/tmp/multipartBody5250413256626278167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275702750,"filename":"image_16112025_07_45_53_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f34d60b605d957744e3e134cc6c3ad5.jpg","text":"TemporaryFile(/tmp/multipartBody5305493012553572103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275702750,"filename":"image_16112025_07_45_57_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3031113163e48b2db8d8fdf4586f2461.jpg","text":"TemporaryFile(/tmp/multipartBody2036459822313940605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275702750,"filename":"image_16112025_07_46_09_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0390ccab34fb084c72f184d95914dbc0.jpg","text":"TemporaryFile(/tmp/multipartBody6266324486217318333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275702750,"filename":"image_16112025_07_46_15_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b756d0efb07543ca2fd3560cf12ecee8.jpg","text":"TemporaryFile(/tmp/multipartBody6321966461683886902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275702750,"filename":"image_16112025_07_46_06_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723686","file1":"1394723684","file0":"1394723681","file4":"1394723689","file5":"1394723691","file3":"1394723688"},"map_files_photo_id_array":[{"photo_id":"1394723691","filename":"file5"},{"photo_id":"1394723686","filename":"file2"},{"photo_id":"1394723689","filename":"file4"},{"photo_id":"1394723684","filename":"file1"},{"photo_id":"1394723681","filename":"file0"},{"photo_id":"1394723688","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723681":["hashtag1","hashtag2"]},{"1394723684":["hashtag1","hashtag2"]},{"1394723686":["hashtag1","hashtag2"]},{"1394723689":["hashtag1","hashtag2"]},{"1394723691":["hashtag1","hashtag2"]},{"1394723688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723681, 1394723684, 1394723686, 1394723689, 1394723691, 1394723688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22683048248291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:48:02.944521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_18_2774.jpg', '/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_36_2664.jpg', '/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_39_2858.jpg', '/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_45_3747.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_08_2788.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_12_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_18_2774.jpg
/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_36_2664.jpg
/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_39_2858.jpg
/home/pi/Desktop/images/16112025/07/46/image_16112025_07_46_45_3747.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_08_2788.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_12_3546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723693","1394723699","1394723702","1394723695","1394723707","1394723697"],"photo_ids_order":["1394723693","1394723695","1394723697","1394723699","1394723702","1394723707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53ee0b4588d028aa9ab2a013c9d5f15f.jpg","text":"TemporaryFile(/tmp/multipartBody100366146350575841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275743709,"filename":"image_16112025_07_46_18_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a979f17f2fc626c67a9a94e875fd7ea.jpg","text":"TemporaryFile(/tmp/multipartBody4332468839545585072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275743709,"filename":"image_16112025_07_46_45_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/534cfa85748807db215f69f3d2994f15.jpg","text":"TemporaryFile(/tmp/multipartBody815523530161626612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275743709,"filename":"image_16112025_07_47_08_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93c36f3d3667764e2949db03fb727902.jpg","text":"TemporaryFile(/tmp/multipartBody6776268247783836120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275743709,"filename":"image_16112025_07_46_36_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbc911875ab20b027f44f81444096f8b.jpg","text":"TemporaryFile(/tmp/multipartBody3660354930764632344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275743709,"filename":"image_16112025_07_47_12_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbd3fb7d5248d779a66053e33e500d32.jpg","text":"TemporaryFile(/tmp/multipartBody4406512424915916104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275743709,"filename":"image_16112025_07_46_39_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723697","file1":"1394723695","file0":"1394723693","file4":"1394723702","file5":"1394723707","file3":"1394723699"},"map_files_photo_id_array":[{"photo_id":"1394723707","filename":"file5"},{"photo_id":"1394723697","filename":"file2"},{"photo_id":"1394723702","filename":"file4"},{"photo_id":"1394723695","filename":"file1"},{"photo_id":"1394723693","filename":"file0"},{"photo_id":"1394723699","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723693":["hashtag1","hashtag2"]},{"1394723699":["hashtag1","hashtag2"]},{"1394723702":["hashtag1","hashtag2"]},{"1394723695":["hashtag1","hashtag2"]},{"1394723707":["hashtag1","hashtag2"]},{"1394723697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723693, 1394723699, 1394723702, 1394723695, 1394723707, 1394723697)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.45739030838013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:49:03.200139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_15_2658.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_17_2808.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_21_3652.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_24_2782.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_38_2631.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_42_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_15_2658.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_17_2808.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_21_3652.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_24_2782.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_38_2631.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_42_3623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723724","1394723718","1394723714","1394723716","1394723721","1394723715"],"photo_ids_order":["1394723714","1394723715","1394723716","1394723718","1394723721","1394723724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b20b77dca18c2cddad9e8569ad771712.jpg","text":"TemporaryFile(/tmp/multipartBody4471857093567535519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275804152,"filename":"image_16112025_07_47_42_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fef4f6c600718196120c13633af5d3ec.jpg","text":"TemporaryFile(/tmp/multipartBody3140023542857327014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275804152,"filename":"image_16112025_07_47_24_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e9cf4be11f30750c40ec737808416d9.jpg","text":"TemporaryFile(/tmp/multipartBody6173446129942879566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275804152,"filename":"image_16112025_07_47_15_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/470ef1ab120ede10939aae95242cffb0.jpg","text":"TemporaryFile(/tmp/multipartBody2585160951860890788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275804152,"filename":"image_16112025_07_47_21_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe0b07995aaa90f01a8be04a615f1398.jpg","text":"TemporaryFile(/tmp/multipartBody6806474857720198115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275804152,"filename":"image_16112025_07_47_38_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cfcea806e794164d5c64bb4af64f6f5.jpg","text":"TemporaryFile(/tmp/multipartBody6480566509156203704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275804152,"filename":"image_16112025_07_47_17_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723716","file1":"1394723715","file0":"1394723714","file4":"1394723721","file5":"1394723724","file3":"1394723718"},"map_files_photo_id_array":[{"photo_id":"1394723724","filename":"file5"},{"photo_id":"1394723716","filename":"file2"},{"photo_id":"1394723721","filename":"file4"},{"photo_id":"1394723715","filename":"file1"},{"photo_id":"1394723714","filename":"file0"},{"photo_id":"1394723718","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723724":["hashtag1","hashtag2"]},{"1394723718":["hashtag1","hashtag2"]},{"1394723714":["hashtag1","hashtag2"]},{"1394723716":["hashtag1","hashtag2"]},{"1394723721":["hashtag1","hashtag2"]},{"1394723715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723724, 1394723718, 1394723714, 1394723716, 1394723721, 1394723715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25421071052551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:49:42.185496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_45_2886.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_47_2642.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_54_3565.jpg', '/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_57_2966.jpg', '/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_11_2803.jpg', '/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_15_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_45_2886.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_47_2642.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_54_3565.jpg
/home/pi/Desktop/images/16112025/07/47/image_16112025_07_47_57_2966.jpg
/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_11_2803.jpg
/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_15_3559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723730","1394723732","1394723726","1394723735","1394723729","1394723733"],"photo_ids_order":["1394723726","1394723729","1394723730","1394723732","1394723733","1394723735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1427011cc94ee44dc26856abc585fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2486391294977893189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275842873,"filename":"image_16112025_07_47_54_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8f0a9d7d43705caf3c62c31983dbb6b.jpg","text":"TemporaryFile(/tmp/multipartBody4508315569271448701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275842873,"filename":"image_16112025_07_47_57_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14df81a7a16a42285711ec1c836b1f93.jpg","text":"TemporaryFile(/tmp/multipartBody4037487760672428375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275842873,"filename":"image_16112025_07_47_45_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fcdb9353ddb0aad49e55007e8479664.jpg","text":"TemporaryFile(/tmp/multipartBody1052589838317275978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275842873,"filename":"image_16112025_07_48_15_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9f37778b9363a6e89bfde661ca06d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3825512748678641320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275842873,"filename":"image_16112025_07_47_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/11/16/f93862bcc4f68cdb2ec2f33204f2e652.jpg","text":"TemporaryFile(/tmp/multipartBody2075296548211750736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275842873,"filename":"image_16112025_07_48_11_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723730","file1":"1394723729","file0":"1394723726","file4":"1394723733","file5":"1394723735","file3":"1394723732"},"map_files_photo_id_array":[{"photo_id":"1394723735","filename":"file5"},{"photo_id":"1394723730","filename":"file2"},{"photo_id":"1394723733","filename":"file4"},{"photo_id":"1394723729","filename":"file1"},{"photo_id":"1394723726","filename":"file0"},{"photo_id":"1394723732","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723730":["hashtag1","hashtag2"]},{"1394723732":["hashtag1","hashtag2"]},{"1394723726":["hashtag1","hashtag2"]},{"1394723735":["hashtag1","hashtag2"]},{"1394723729":["hashtag1","hashtag2"]},{"1394723733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723730, 1394723732, 1394723726, 1394723735, 1394723729, 1394723733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.259196043014526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:50:22.399553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_24_3797.jpg', '/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_27_2615.jpg', '/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_29_2706.jpg', '/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_42_3687.jpg', '/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_45_2686.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_02_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_24_3797.jpg
/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_27_2615.jpg
/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_29_2706.jpg
/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_42_3687.jpg
/home/pi/Desktop/images/16112025/07/48/image_16112025_07_48_45_2686.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_02_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723739","1394723744","1394723738","1394723741","1394723740","1394723742"],"photo_ids_order":["1394723738","1394723739","1394723740","1394723741","1394723742","1394723744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5f6c1d5541689361eda4a8744c87a36.jpg","text":"TemporaryFile(/tmp/multipartBody3876435885899465348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275883193,"filename":"image_16112025_07_48_27_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ad04558a79c178ad3594af0ca4f592f.jpg","text":"TemporaryFile(/tmp/multipartBody5806279072558815544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275883193,"filename":"image_16112025_07_50_02_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4572c983bc86c4516cebed75366514cb.jpg","text":"TemporaryFile(/tmp/multipartBody7685696001533168302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275883193,"filename":"image_16112025_07_48_24_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b04cba12a996c7e8b6ac409cce69bc94.jpg","text":"TemporaryFile(/tmp/multipartBody5333458333128054786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275883193,"filename":"image_16112025_07_48_42_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/656b008325e81cd18c6c70ff9279ad20.jpg","text":"TemporaryFile(/tmp/multipartBody22558457222747958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275883193,"filename":"image_16112025_07_48_29_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea5e34af0f155619fe8b2963fb538eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5053213957414496916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275883193,"filename":"image_16112025_07_48_45_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723740","file1":"1394723739","file0":"1394723738","file4":"1394723742","file5":"1394723744","file3":"1394723741"},"map_files_photo_id_array":[{"photo_id":"1394723744","filename":"file5"},{"photo_id":"1394723740","filename":"file2"},{"photo_id":"1394723742","filename":"file4"},{"photo_id":"1394723739","filename":"file1"},{"photo_id":"1394723738","filename":"file0"},{"photo_id":"1394723741","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723739":["hashtag1","hashtag2"]},{"1394723744":["hashtag1","hashtag2"]},{"1394723738":["hashtag1","hashtag2"]},{"1394723741":["hashtag1","hashtag2"]},{"1394723740":["hashtag1","hashtag2"]},{"1394723742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723739, 1394723744, 1394723738, 1394723741, 1394723740, 1394723742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3546097278595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:51:03.545204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_05_2731.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_09_3567.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_11_2606.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_21_2655.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_26_2662.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_35_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_05_2731.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_09_3567.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_11_2606.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_21_2655.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_26_2662.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_35_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723756","1394723747","1394723749","1394723746","1394723751","1394723748"],"photo_ids_order":["1394723746","1394723747","1394723748","1394723749","1394723751","1394723756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66d05c72e82ced7996384dc89772bda5.jpg","text":"TemporaryFile(/tmp/multipartBody4493496784321901855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275924404,"filename":"image_16112025_07_50_35_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdc0a65d7a901a60a86b15d311cf4704.jpg","text":"TemporaryFile(/tmp/multipartBody2356015537930249266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275924404,"filename":"image_16112025_07_50_09_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/476084a9f86d06d8d59246403c44a82b.jpg","text":"TemporaryFile(/tmp/multipartBody6991690007752139874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275924404,"filename":"image_16112025_07_50_21_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de1a447c89e705bb4ed13115b9caaa09.jpg","text":"TemporaryFile(/tmp/multipartBody4358476120670592516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275924404,"filename":"image_16112025_07_50_05_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5f31256dc70e5f979274f197b36802f.jpg","text":"TemporaryFile(/tmp/multipartBody6680466884593973810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275924404,"filename":"image_16112025_07_50_26_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/805dac63ff45274ad3a8111e9e92c822.jpg","text":"TemporaryFile(/tmp/multipartBody2330875792941076586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275924404,"filename":"image_16112025_07_50_11_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723748","file1":"1394723747","file0":"1394723746","file4":"1394723751","file5":"1394723756","file3":"1394723749"},"map_files_photo_id_array":[{"photo_id":"1394723756","filename":"file5"},{"photo_id":"1394723748","filename":"file2"},{"photo_id":"1394723751","filename":"file4"},{"photo_id":"1394723747","filename":"file1"},{"photo_id":"1394723746","filename":"file0"},{"photo_id":"1394723749","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723756":["hashtag1","hashtag2"]},{"1394723747":["hashtag1","hashtag2"]},{"1394723749":["hashtag1","hashtag2"]},{"1394723746":["hashtag1","hashtag2"]},{"1394723751":["hashtag1","hashtag2"]},{"1394723748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723756, 1394723747, 1394723749, 1394723746, 1394723751, 1394723748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43746042251587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:51:42.665221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_39_3622.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_48_3732.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_53_2838.jpg', '/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_57_3709.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_02_2578.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_05_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_39_3622.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_48_3732.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_53_2838.jpg
/home/pi/Desktop/images/16112025/07/50/image_16112025_07_50_57_3709.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_02_2578.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_05_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723762","1394723765","1394723767","1394723764","1394723763","1394723769"],"photo_ids_order":["1394723762","1394723763","1394723764","1394723765","1394723767","1394723769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af0faf3b9ecfb871edba4e068530fbd7.jpg","text":"TemporaryFile(/tmp/multipartBody3124567499001686201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275963414,"filename":"image_16112025_07_50_39_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c77b20cdd1ea0391d11736461a3f536d.jpg","text":"TemporaryFile(/tmp/multipartBody5461184397910066124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275963414,"filename":"image_16112025_07_50_57_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c2858e9aace26a9ddb85a95faeb4d82.jpg","text":"TemporaryFile(/tmp/multipartBody3541888006151588121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275963414,"filename":"image_16112025_07_51_02_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67f7d5b30881d6f2ea6a1485d885d07d.jpg","text":"TemporaryFile(/tmp/multipartBody7736999762041871782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275963414,"filename":"image_16112025_07_50_53_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/700394e4fe64da376044f934349e3f9e.jpg","text":"TemporaryFile(/tmp/multipartBody8716488508896444922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275963414,"filename":"image_16112025_07_50_48_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5977c062d724d862b482c682c8c3fe48.jpg","text":"TemporaryFile(/tmp/multipartBody361375974951003753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763275963414,"filename":"image_16112025_07_51_05_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723764","file1":"1394723763","file0":"1394723762","file4":"1394723767","file5":"1394723769","file3":"1394723765"},"map_files_photo_id_array":[{"photo_id":"1394723769","filename":"file5"},{"photo_id":"1394723764","filename":"file2"},{"photo_id":"1394723767","filename":"file4"},{"photo_id":"1394723763","filename":"file1"},{"photo_id":"1394723762","filename":"file0"},{"photo_id":"1394723765","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723762":["hashtag1","hashtag2"]},{"1394723765":["hashtag1","hashtag2"]},{"1394723767":["hashtag1","hashtag2"]},{"1394723764":["hashtag1","hashtag2"]},{"1394723763":["hashtag1","hashtag2"]},{"1394723769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723762, 1394723765, 1394723767, 1394723764, 1394723763, 1394723769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81863307952881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:52:21.872456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_15_3611.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_17_2812.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_20_2730.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_26_3627.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_29_2685.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_56_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_15_3611.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_17_2812.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_20_2730.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_26_3627.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_29_2685.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_56_2584.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.6781041622161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:52:41.889315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_15_3611.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_17_2812.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_20_2730.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_26_3627.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_29_2685.jpg', '/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_56_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_15_3611.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_17_2812.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_20_2730.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_26_3627.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_29_2685.jpg
/home/pi/Desktop/images/16112025/07/51/image_16112025_07_51_56_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723786","1394723789","1394723783","1394723788","1394723790","1394723787"],"photo_ids_order":["1394723783","1394723786","1394723787","1394723788","1394723789","1394723790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1e5f610418ad4265d7b08abcc4c0dae.jpg","text":"TemporaryFile(/tmp/multipartBody6258649536501511541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276022585,"filename":"image_16112025_07_51_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/11/16/f2e89e681823902a52ea3cff64d65574.jpg","text":"TemporaryFile(/tmp/multipartBody4876005433852651085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276022585,"filename":"image_16112025_07_51_29_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c79c89d7829e04625fbfddd826defda.jpg","text":"TemporaryFile(/tmp/multipartBody4559305025231755496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276022585,"filename":"image_16112025_07_51_15_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/391de08d2856cb8b088f9c7bebdfbff6.jpg","text":"TemporaryFile(/tmp/multipartBody4385567220121993358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276022585,"filename":"image_16112025_07_51_26_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/236dbf2465dff36282f440fbd721dd50.jpg","text":"TemporaryFile(/tmp/multipartBody1168083744150271199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276022585,"filename":"image_16112025_07_51_56_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd4233a60568d433140af2f734e97017.jpg","text":"TemporaryFile(/tmp/multipartBody3964172877882274023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276022585,"filename":"image_16112025_07_51_20_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723787","file1":"1394723786","file0":"1394723783","file4":"1394723789","file5":"1394723790","file3":"1394723788"},"map_files_photo_id_array":[{"photo_id":"1394723790","filename":"file5"},{"photo_id":"1394723787","filename":"file2"},{"photo_id":"1394723789","filename":"file4"},{"photo_id":"1394723786","filename":"file1"},{"photo_id":"1394723783","filename":"file0"},{"photo_id":"1394723788","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723786":["hashtag1","hashtag2"]},{"1394723789":["hashtag1","hashtag2"]},{"1394723783":["hashtag1","hashtag2"]},{"1394723788":["hashtag1","hashtag2"]},{"1394723790":["hashtag1","hashtag2"]},{"1394723787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723786, 1394723789, 1394723783, 1394723788, 1394723790, 1394723787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76429271697998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:53:22.061838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_02_2749.jpg', '/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_05_2528.jpg', '/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_11_2708.jpg', '/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_14_2717.jpg', '/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_20_2592.jpg', '/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_38_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_02_2749.jpg
/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_05_2528.jpg
/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_11_2708.jpg
/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_14_2717.jpg
/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_20_2592.jpg
/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_38_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723805","1394723798","1394723801","1394723803","1394723799","1394723808"],"photo_ids_order":["1394723798","1394723799","1394723801","1394723803","1394723805","1394723808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b12a8dcfb5f7a92139d09aeb124422e1.jpg","text":"TemporaryFile(/tmp/multipartBody4882914339553247995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276062806,"filename":"image_16112025_07_52_20_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df3155256569716d2115c7044c9f9d67.jpg","text":"TemporaryFile(/tmp/multipartBody2687107311640523263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276062806,"filename":"image_16112025_07_52_02_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8283f49432677f70b87b51537e45182f.jpg","text":"TemporaryFile(/tmp/multipartBody6753079385225292133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276062806,"filename":"image_16112025_07_52_11_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52b1c444b21b5558462bcf7d9a8095e4.jpg","text":"TemporaryFile(/tmp/multipartBody1801042272445705491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276062806,"filename":"image_16112025_07_52_14_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecf66753881aa03c247cf5643feec67f.jpg","text":"TemporaryFile(/tmp/multipartBody5927993605080953834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276062806,"filename":"image_16112025_07_52_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/11/16/2a2db409cdeb2536cca68badbd11b913.jpg","text":"TemporaryFile(/tmp/multipartBody9143574645304496547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276062806,"filename":"image_16112025_07_52_38_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723801","file1":"1394723799","file0":"1394723798","file4":"1394723805","file5":"1394723808","file3":"1394723803"},"map_files_photo_id_array":[{"photo_id":"1394723808","filename":"file5"},{"photo_id":"1394723801","filename":"file2"},{"photo_id":"1394723805","filename":"file4"},{"photo_id":"1394723799","filename":"file1"},{"photo_id":"1394723798","filename":"file0"},{"photo_id":"1394723803","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723805":["hashtag1","hashtag2"]},{"1394723798":["hashtag1","hashtag2"]},{"1394723801":["hashtag1","hashtag2"]},{"1394723803":["hashtag1","hashtag2"]},{"1394723799":["hashtag1","hashtag2"]},{"1394723808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723805, 1394723798, 1394723801, 1394723803, 1394723799, 1394723808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.064908027648926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:54:03.059244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_41_2821.jpg', '/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_56_2561.jpg', '/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_02_2785.jpg', '/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_08_3551.jpg', '/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_20_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_41_2821.jpg
/home/pi/Desktop/images/16112025/07/52/image_16112025_07_52_56_2561.jpg
/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_02_2785.jpg
/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_08_3551.jpg
/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_20_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723817","1394723819","1394723813","1394723822","1394723815"],"photo_ids_order":["1394723813","1394723815","1394723817","1394723819","1394723822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3712f1122c6cdf48ebd4f1304b46b055.jpg","text":"TemporaryFile(/tmp/multipartBody486891454738466992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276103884,"filename":"image_16112025_07_53_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/11/16/4628a0c5fd718ff80cd1076f25adfba3.jpg","text":"TemporaryFile(/tmp/multipartBody1296305302709184400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276103884,"filename":"image_16112025_07_53_08_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8db9c468b3235e0209e07132d30c9eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6546308310335716327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276103884,"filename":"image_16112025_07_52_41_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ee4d3eb47bb2bf83dccdd2b80911e17.jpg","text":"TemporaryFile(/tmp/multipartBody7782765734815963502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276103884,"filename":"image_16112025_07_53_20_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b717d1d162b5d4a5d6d48e94f565119.jpg","text":"TemporaryFile(/tmp/multipartBody5602376312333590860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276103884,"filename":"image_16112025_07_52_56_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723817","file1":"1394723815","file0":"1394723813","file4":"1394723822","file3":"1394723819"},"map_files_photo_id_array":[{"photo_id":"1394723817","filename":"file2"},{"photo_id":"1394723822","filename":"file4"},{"photo_id":"1394723815","filename":"file1"},{"photo_id":"1394723813","filename":"file0"},{"photo_id":"1394723819","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723817":["hashtag1","hashtag2"]},{"1394723819":["hashtag1","hashtag2"]},{"1394723813":["hashtag1","hashtag2"]},{"1394723822":["hashtag1","hashtag2"]},{"1394723815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723817, 1394723819, 1394723813, 1394723822, 1394723815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.594393730163574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:54:42.328171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_50_2753.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_02_2792.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_05_2627.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_11_3688.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_20_2749.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_26_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_50_2753.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_02_2792.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_05_2627.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_11_3688.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_20_2749.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_26_2686.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.6143803596496582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:55:03.437420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_50_2753.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_02_2792.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_05_2627.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_11_3688.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_20_2749.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_26_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/53/image_16112025_07_53_50_2753.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_02_2792.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_05_2627.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_11_3688.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_20_2749.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_26_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723838","1394723837","1394723836","1394723844","1394723841","1394723835"],"photo_ids_order":["1394723835","1394723836","1394723837","1394723838","1394723841","1394723844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e7ad2653826028dc84f76dedaeb5622.jpg","text":"TemporaryFile(/tmp/multipartBody7843992616625445700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276164220,"filename":"image_16112025_07_54_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/11/16/e2da576dd1702b26d09f4071378c545d.jpg","text":"TemporaryFile(/tmp/multipartBody2414107581030729279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276164220,"filename":"image_16112025_07_54_05_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1edf05049912fa11af33fefee81f0da2.jpg","text":"TemporaryFile(/tmp/multipartBody2328762623537414651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276164220,"filename":"image_16112025_07_54_02_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79fe2e026ed814c4e0f4ee95e46ad65b.jpg","text":"TemporaryFile(/tmp/multipartBody6070089366141124041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276164220,"filename":"image_16112025_07_54_26_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bf8e4e1ef0cd053aa97dc04e6d07442.jpg","text":"TemporaryFile(/tmp/multipartBody8367478760631974553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276164220,"filename":"image_16112025_07_54_20_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81c0c7827393dd68af4919ae1ed316e2.jpg","text":"TemporaryFile(/tmp/multipartBody6757397174207144362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276164220,"filename":"image_16112025_07_53_50_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723837","file1":"1394723836","file0":"1394723835","file4":"1394723841","file5":"1394723844","file3":"1394723838"},"map_files_photo_id_array":[{"photo_id":"1394723844","filename":"file5"},{"photo_id":"1394723837","filename":"file2"},{"photo_id":"1394723841","filename":"file4"},{"photo_id":"1394723836","filename":"file1"},{"photo_id":"1394723835","filename":"file0"},{"photo_id":"1394723838","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723838":["hashtag1","hashtag2"]},{"1394723837":["hashtag1","hashtag2"]},{"1394723836":["hashtag1","hashtag2"]},{"1394723844":["hashtag1","hashtag2"]},{"1394723841":["hashtag1","hashtag2"]},{"1394723835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723838, 1394723837, 1394723836, 1394723844, 1394723841, 1394723835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61480188369751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:55:42.618715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_38_2999.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_41_2728.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_43_2788.jpg', '/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_53_2649.jpg', '/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_02_2548.jpg', '/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_05_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_38_2999.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_41_2728.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_43_2788.jpg
/home/pi/Desktop/images/16112025/07/54/image_16112025_07_54_53_2649.jpg
/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_02_2548.jpg
/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_05_2881.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723849","1394723846","1394723851","1394723850","1394723853","1394723847"],"photo_ids_order":["1394723846","1394723847","1394723849","1394723850","1394723851","1394723853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de7fe3643ed9d9154e325896e38c496f.jpg","text":"TemporaryFile(/tmp/multipartBody495344007093840013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276203318,"filename":"image_16112025_07_54_43_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/465ba204dbcffa663241ac40dafe1a27.jpg","text":"TemporaryFile(/tmp/multipartBody2548442363141418863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276203318,"filename":"image_16112025_07_54_38_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bdd20fb18cec90483de27014bffa123.jpg","text":"TemporaryFile(/tmp/multipartBody767098425374566152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276203318,"filename":"image_16112025_07_55_02_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/579f1479f8cd5a9fc95efb42ab3d09b4.jpg","text":"TemporaryFile(/tmp/multipartBody1290689953223105389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276203318,"filename":"image_16112025_07_54_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/11/16/ddbb0896d6867217baadadfda4c4dbd2.jpg","text":"TemporaryFile(/tmp/multipartBody2375217495622788454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276203318,"filename":"image_16112025_07_55_05_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/012191301c5dd8904c347037be6939ad.jpg","text":"TemporaryFile(/tmp/multipartBody1363915324709300304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276203318,"filename":"image_16112025_07_54_41_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723849","file1":"1394723847","file0":"1394723846","file4":"1394723851","file5":"1394723853","file3":"1394723850"},"map_files_photo_id_array":[{"photo_id":"1394723853","filename":"file5"},{"photo_id":"1394723849","filename":"file2"},{"photo_id":"1394723851","filename":"file4"},{"photo_id":"1394723847","filename":"file1"},{"photo_id":"1394723846","filename":"file0"},{"photo_id":"1394723850","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723849":["hashtag1","hashtag2"]},{"1394723846":["hashtag1","hashtag2"]},{"1394723851":["hashtag1","hashtag2"]},{"1394723850":["hashtag1","hashtag2"]},{"1394723853":["hashtag1","hashtag2"]},{"1394723847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723849, 1394723846, 1394723851, 1394723850, 1394723853, 1394723847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.140313386917114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:56:21.834024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_08_3645.jpg', '/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_47_2598.jpg', '/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_53_3901.jpg', '/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_14_2699.jpg', '/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_17_3627.jpg', '/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_29_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_08_3645.jpg
/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_47_2598.jpg
/home/pi/Desktop/images/16112025/07/55/image_16112025_07_55_53_3901.jpg
/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_14_2699.jpg
/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_17_3627.jpg
/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_29_3781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723867","1394723864","1394723858","1394723860","1394723863","1394723865"],"photo_ids_order":["1394723858","1394723860","1394723863","1394723864","1394723865","1394723867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a53d6d47af378ab021898f2c3bb1a84.jpg","text":"TemporaryFile(/tmp/multipartBody2980389377701754980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276242561,"filename":"image_16112025_07_56_29_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd041143eca291b6c1d33d2f3def5049.jpg","text":"TemporaryFile(/tmp/multipartBody8784904446532099665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276242561,"filename":"image_16112025_07_56_14_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2ae16d59c8af3d27a07572ac4482ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4747944466337741531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276242561,"filename":"image_16112025_07_55_08_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15e6c8b34df6c3e3de4b5ce5112640c5.jpg","text":"TemporaryFile(/tmp/multipartBody5148338374927951239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276242561,"filename":"image_16112025_07_55_47_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbfc7b46b0d51ebec6b16f42d061c11f.jpg","text":"TemporaryFile(/tmp/multipartBody454631829582187645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276242561,"filename":"image_16112025_07_55_53_3901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a91c57f9af59490168637309f96be74.jpg","text":"TemporaryFile(/tmp/multipartBody7223132176098998731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276242561,"filename":"image_16112025_07_56_17_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394723863","file1":"1394723860","file0":"1394723858","file4":"1394723865","file5":"1394723867","file3":"1394723864"},"map_files_photo_id_array":[{"photo_id":"1394723867","filename":"file5"},{"photo_id":"1394723863","filename":"file2"},{"photo_id":"1394723865","filename":"file4"},{"photo_id":"1394723860","filename":"file1"},{"photo_id":"1394723858","filename":"file0"},{"photo_id":"1394723864","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723867":["hashtag1","hashtag2"]},{"1394723864":["hashtag1","hashtag2"]},{"1394723858":["hashtag1","hashtag2"]},{"1394723860":["hashtag1","hashtag2"]},{"1394723863":["hashtag1","hashtag2"]},{"1394723865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723867, 1394723864, 1394723858, 1394723860, 1394723863, 1394723865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1794638633728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:57:02.777838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_41_2698.jpg', '/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_47_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_41_2698.jpg
/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_47_3574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394723870","1394723872"],"photo_ids_order":["1394723870","1394723872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb9f26a084d1a493a1b9154e658931d1.jpg","text":"TemporaryFile(/tmp/multipartBody7113354783845571556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276283403,"filename":"image_16112025_07_56_41_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d1a6e0c6d96d0c22c48df82344c0f73.jpg","text":"TemporaryFile(/tmp/multipartBody4192259866672652718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276283403,"filename":"image_16112025_07_56_47_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1394723872","file0":"1394723870"},"map_files_photo_id_array":[{"photo_id":"1394723872","filename":"file1"},{"photo_id":"1394723870","filename":"file0"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394723870":["hashtag1","hashtag2"]},{"1394723872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394723870, 1394723872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.306943655014038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 07:57:22.207463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_50_2916.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_05_2729.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_07_2569.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_20_3669.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_25_2819.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_28_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/56/image_16112025_07_56_50_2916.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_05_2729.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_07_2569.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_20_3669.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_25_2819.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_28_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394724023","1394724037","1394723944","1394724042","1394724039","1394723982"],"photo_ids_order":["1394723944","1394723982","1394724023","1394724037","1394724039","1394724042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/beb72e9fe5fd7a927ed579150f0038ea.jpg","text":"TemporaryFile(/tmp/multipartBody7842242093797002662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276302919,"filename":"image_16112025_07_57_07_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2bfd0f83a8291c697b5d77cadd775a78.jpg","text":"TemporaryFile(/tmp/multipartBody138352997061887713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276302919,"filename":"image_16112025_07_57_20_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b895a1d7ad589b0f440eb6cd882569a.jpg","text":"TemporaryFile(/tmp/multipartBody3632191635946316754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276302919,"filename":"image_16112025_07_56_50_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bb440801d995d24f3dfa686865b7f70.jpg","text":"TemporaryFile(/tmp/multipartBody934878042208038195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276302919,"filename":"image_16112025_07_57_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/11/16/185a95e1d179bdd621ef47f999ed7a26.jpg","text":"TemporaryFile(/tmp/multipartBody2973777312294320679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276302919,"filename":"image_16112025_07_57_25_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e317aaa74b2be6b8ab94198c1c0115b9.jpg","text":"TemporaryFile(/tmp/multipartBody4268364639078825948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276302919,"filename":"image_16112025_07_57_05_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394724023","file1":"1394723982","file0":"1394723944","file4":"1394724039","file5":"1394724042","file3":"1394724037"},"map_files_photo_id_array":[{"photo_id":"1394724042","filename":"file5"},{"photo_id":"1394724023","filename":"file2"},{"photo_id":"1394724039","filename":"file4"},{"photo_id":"1394723982","filename":"file1"},{"photo_id":"1394723944","filename":"file0"},{"photo_id":"1394724037","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394724023":["hashtag1","hashtag2"]},{"1394724037":["hashtag1","hashtag2"]},{"1394723944":["hashtag1","hashtag2"]},{"1394724042":["hashtag1","hashtag2"]},{"1394724039":["hashtag1","hashtag2"]},{"1394723982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394724023, 1394724037, 1394723944, 1394724042, 1394724039, 1394723982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61044883728027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 07:59:03.348043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_32_3564.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_34_2666.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_38_3590.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_56_3698.jpg', '/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_59_2705.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_08_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_32_3564.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_34_2666.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_38_3590.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_56_3698.jpg
/home/pi/Desktop/images/16112025/07/57/image_16112025_07_57_59_2705.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_08_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394724140","1394724143","1394724145","1394724162","1394724141","1394724147"],"photo_ids_order":["1394724140","1394724141","1394724143","1394724145","1394724147","1394724162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f36bc73e0bdbe2b22a961000a734ff3b.jpg","text":"TemporaryFile(/tmp/multipartBody8513201043758843843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276404640,"filename":"image_16112025_07_57_32_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33700b61857baf401138ef9956319d23.jpg","text":"TemporaryFile(/tmp/multipartBody4311940780168470961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276404640,"filename":"image_16112025_07_57_38_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bca6bcb5ef8f4a0eb120378583749c32.jpg","text":"TemporaryFile(/tmp/multipartBody8938052798081340512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276404640,"filename":"image_16112025_07_57_56_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/520401c4608ee0d059958318c0dd4b21.jpg","text":"TemporaryFile(/tmp/multipartBody3353262888596015040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276404640,"filename":"image_16112025_07_58_08_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db75eaa62ac686a2a9b26ca41cd3d0f5.jpg","text":"TemporaryFile(/tmp/multipartBody7707004232883325181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276404640,"filename":"image_16112025_07_57_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/11/16/6755dd8247af492593995444da8b17df.jpg","text":"TemporaryFile(/tmp/multipartBody8281043979324335828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276404640,"filename":"image_16112025_07_57_59_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394724143","file1":"1394724141","file0":"1394724140","file4":"1394724147","file5":"1394724162","file3":"1394724145"},"map_files_photo_id_array":[{"photo_id":"1394724162","filename":"file5"},{"photo_id":"1394724143","filename":"file2"},{"photo_id":"1394724147","filename":"file4"},{"photo_id":"1394724141","filename":"file1"},{"photo_id":"1394724140","filename":"file0"},{"photo_id":"1394724145","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394724140":["hashtag1","hashtag2"]},{"1394724143":["hashtag1","hashtag2"]},{"1394724145":["hashtag1","hashtag2"]},{"1394724162":["hashtag1","hashtag2"]},{"1394724141":["hashtag1","hashtag2"]},{"1394724147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394724140, 1394724143, 1394724145, 1394724162, 1394724141, 1394724147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33554244041443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 07:59:42.582498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_10_2631.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_17_3684.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_20_2628.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_26_3692.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_29_2927.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_32_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_10_2631.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_17_3684.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_20_2628.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_26_3692.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_29_2927.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_32_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394724557","1394724485","1394724629","1394724774","1394724414","1394724698"],"photo_ids_order":["1394724414","1394724485","1394724557","1394724629","1394724698","1394724774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e78272caae3761054d9100cc42b86580.jpg","text":"TemporaryFile(/tmp/multipartBody1794975132423402196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276443324,"filename":"image_16112025_07_58_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/11/16/e322ccfbfba134116743d45a821ffe23.jpg","text":"TemporaryFile(/tmp/multipartBody2920246993855290930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276443324,"filename":"image_16112025_07_58_17_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/186ca9f933ec09e743b01d9569eb0baa.jpg","text":"TemporaryFile(/tmp/multipartBody5694433902559551140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276443324,"filename":"image_16112025_07_58_26_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efd47663517d4a140ea0ca49f757725f.jpg","text":"TemporaryFile(/tmp/multipartBody7747208091303281518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276443324,"filename":"image_16112025_07_58_32_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e06ff0acb733485d7c30565b99d74c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2423105665716497349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276443324,"filename":"image_16112025_07_58_10_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe1fb3d7081015b3c71c1fed19a8f497.jpg","text":"TemporaryFile(/tmp/multipartBody8232925377349009836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276443324,"filename":"image_16112025_07_58_29_2927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394724557","file1":"1394724485","file0":"1394724414","file4":"1394724698","file5":"1394724774","file3":"1394724629"},"map_files_photo_id_array":[{"photo_id":"1394724774","filename":"file5"},{"photo_id":"1394724557","filename":"file2"},{"photo_id":"1394724698","filename":"file4"},{"photo_id":"1394724485","filename":"file1"},{"photo_id":"1394724414","filename":"file0"},{"photo_id":"1394724629","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394724557":["hashtag1","hashtag2"]},{"1394724485":["hashtag1","hashtag2"]},{"1394724629":["hashtag1","hashtag2"]},{"1394724774":["hashtag1","hashtag2"]},{"1394724414":["hashtag1","hashtag2"]},{"1394724698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394724557, 1394724485, 1394724629, 1394724774, 1394724414, 1394724698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33245515823364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:00:21.822950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_34_2701.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_38_3718.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_41_2682.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_43_2636.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_53_2876.jpg', '/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_59_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_34_2701.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_38_3718.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_41_2682.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_43_2636.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_53_2876.jpg
/home/pi/Desktop/images/16112025/07/58/image_16112025_07_58_59_3665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394725030","1394725146","1394725074","1394725023","1394725032","1394725034"],"photo_ids_order":["1394725023","1394725030","1394725032","1394725034","1394725074","1394725146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/906cd5b6f7b52c8d992c8d04f19151af.jpg","text":"TemporaryFile(/tmp/multipartBody6639615362315486830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276482565,"filename":"image_16112025_07_58_38_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5070fe58f14fc0fe0a1321020c20f51a.jpg","text":"TemporaryFile(/tmp/multipartBody3680583902093216882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276482565,"filename":"image_16112025_07_58_59_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a15adf94f1dc5d202ee1e99201226bd.jpg","text":"TemporaryFile(/tmp/multipartBody2311698730437869218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276482565,"filename":"image_16112025_07_58_53_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90cd30dbd02a9b794a91a3f654fcd40e.jpg","text":"TemporaryFile(/tmp/multipartBody8286371823158654386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276482565,"filename":"image_16112025_07_58_34_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fe5b63276982f0523e95e8a996da330.jpg","text":"TemporaryFile(/tmp/multipartBody8151147827587825232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276482565,"filename":"image_16112025_07_58_41_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfff62081510a27db1d5b4d8574985c6.jpg","text":"TemporaryFile(/tmp/multipartBody2724049475199496155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276482565,"filename":"image_16112025_07_58_43_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394725032","file1":"1394725030","file0":"1394725023","file4":"1394725074","file5":"1394725146","file3":"1394725034"},"map_files_photo_id_array":[{"photo_id":"1394725146","filename":"file5"},{"photo_id":"1394725032","filename":"file2"},{"photo_id":"1394725074","filename":"file4"},{"photo_id":"1394725030","filename":"file1"},{"photo_id":"1394725023","filename":"file0"},{"photo_id":"1394725034","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394725030":["hashtag1","hashtag2"]},{"1394725146":["hashtag1","hashtag2"]},{"1394725074":["hashtag1","hashtag2"]},{"1394725023":["hashtag1","hashtag2"]},{"1394725032":["hashtag1","hashtag2"]},{"1394725034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394725030, 1394725146, 1394725074, 1394725023, 1394725032, 1394725034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3199999332428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:01:02.950438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_13_2674.jpg', '/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_16_2773.jpg', '/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_23_2693.jpg', '/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_25_2746.jpg', '/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_28_2861.jpg', '/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_32_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_13_2674.jpg
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_16_2773.jpg
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_23_2693.jpg
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_25_2746.jpg
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_28_2861.jpg
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_32_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394725316","1394725288","1394725314","1394725308","1394725311","1394725310"],"photo_ids_order":["1394725288","1394725308","1394725310","1394725311","1394725314","1394725316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffc723902cda04c4a1a7fa610104f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody8865084502102493744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276523803,"filename":"image_16112025_07_59_32_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb6d32a210710f3d46dc8486aa32cf13.jpg","text":"TemporaryFile(/tmp/multipartBody8333783116545274775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276523803,"filename":"image_16112025_07_59_13_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07cd1dfaa3afa8e9428353c08fd23f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1248052812320851805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276523803,"filename":"image_16112025_07_59_28_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f91ab3a486841bcb987d40e81054f26.jpg","text":"TemporaryFile(/tmp/multipartBody2239268582736670051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276523803,"filename":"image_16112025_07_59_16_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d8c04d8cd712e9a69fe2ee1dabe634c.jpg","text":"TemporaryFile(/tmp/multipartBody3375147662914666969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276523803,"filename":"image_16112025_07_59_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/11/16/bca69e7d3b824a4a75ea3d27ce022b86.jpg","text":"TemporaryFile(/tmp/multipartBody3027342596411896487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276523803,"filename":"image_16112025_07_59_23_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394725310","file1":"1394725308","file0":"1394725288","file4":"1394725314","file5":"1394725316","file3":"1394725311"},"map_files_photo_id_array":[{"photo_id":"1394725316","filename":"file5"},{"photo_id":"1394725310","filename":"file2"},{"photo_id":"1394725314","filename":"file4"},{"photo_id":"1394725308","filename":"file1"},{"photo_id":"1394725288","filename":"file0"},{"photo_id":"1394725311","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394725316":["hashtag1","hashtag2"]},{"1394725288":["hashtag1","hashtag2"]},{"1394725314":["hashtag1","hashtag2"]},{"1394725308":["hashtag1","hashtag2"]},{"1394725311":["hashtag1","hashtag2"]},{"1394725310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394725316, 1394725288, 1394725314, 1394725308, 1394725311, 1394725310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01411581039429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:01:42.099117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_44_2725.jpg', '/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_50_3432.jpg', '/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_52_2748.jpg', '/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_55_2636.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_06_3012.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_12_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_44_2725.jpg
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_50_3432.jpg
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_52_2748.jpg
/home/pi/Desktop/images/16112025/07/59/image_16112025_07_59_55_2636.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_06_3012.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_12_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394725327","1394725329","1394725323","1394725331","1394725325","1394725319"],"photo_ids_order":["1394725319","1394725323","1394725325","1394725327","1394725329","1394725331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e2a362898918a32318d28e41c3769a6.jpg","text":"TemporaryFile(/tmp/multipartBody6710100794094131183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276562872,"filename":"image_16112025_07_59_55_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0e7b21757ff6474665f4838db041581.jpg","text":"TemporaryFile(/tmp/multipartBody8695055333898265537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276562872,"filename":"image_16112025_08_01_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/11/16/d92e4094a4b65e33c5bc46593b0f93ed.jpg","text":"TemporaryFile(/tmp/multipartBody5615962199778341842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276562872,"filename":"image_16112025_07_59_50_3432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27ab3a5a80211b1048bff8a9ac06a418.jpg","text":"TemporaryFile(/tmp/multipartBody3914770842031605273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276562872,"filename":"image_16112025_08_01_12_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/385458c57e5b94fd6f6b8f7069444365.jpg","text":"TemporaryFile(/tmp/multipartBody3915265577957207044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276562872,"filename":"image_16112025_07_59_52_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8f4e0b8bb0849a7b377be2e9ed6b961.jpg","text":"TemporaryFile(/tmp/multipartBody8177081093763742979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276562872,"filename":"image_16112025_07_59_44_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394725325","file1":"1394725323","file0":"1394725319","file4":"1394725329","file5":"1394725331","file3":"1394725327"},"map_files_photo_id_array":[{"photo_id":"1394725331","filename":"file5"},{"photo_id":"1394725325","filename":"file2"},{"photo_id":"1394725329","filename":"file4"},{"photo_id":"1394725323","filename":"file1"},{"photo_id":"1394725319","filename":"file0"},{"photo_id":"1394725327","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394725327":["hashtag1","hashtag2"]},{"1394725329":["hashtag1","hashtag2"]},{"1394725323":["hashtag1","hashtag2"]},{"1394725331":["hashtag1","hashtag2"]},{"1394725325":["hashtag1","hashtag2"]},{"1394725319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394725327, 1394725329, 1394725323, 1394725331, 1394725325, 1394725319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.012643575668335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:02:22.444399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_16_3557.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_19_2787.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_21_2679.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_25_3563.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_28_2765.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_37_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_16_3557.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_19_2787.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_21_2679.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_25_3563.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_28_2765.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_37_3756.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.200408697128296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:02:42.310225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_16_3557.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_19_2787.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_21_2679.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_25_3563.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_28_2765.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_37_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_16_3557.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_19_2787.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_21_2679.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_25_3563.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_28_2765.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_37_3756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394725426","1394725386","1394725350","1394725500","1394725463","1394725538"],"photo_ids_order":["1394725350","1394725386","1394725426","1394725463","1394725500","1394725538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3a2781b137a24b82d0aae1899eb0fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4278461809117119286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276623004,"filename":"image_16112025_08_01_21_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f9094e8aac775016cb461d020212e54.jpg","text":"TemporaryFile(/tmp/multipartBody3046326277396611649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276623004,"filename":"image_16112025_08_01_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/11/16/ffa28a07bd6c7445599a80e68cc77e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3893343455490951126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276623004,"filename":"image_16112025_08_01_16_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f4d560cc6c8bf919094407b34b424a5.jpg","text":"TemporaryFile(/tmp/multipartBody3593637023083767219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276623004,"filename":"image_16112025_08_01_28_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9ccd44b4d520adda0c8dcfbc67780fe.jpg","text":"TemporaryFile(/tmp/multipartBody8566680485186003535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276623004,"filename":"image_16112025_08_01_25_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b22d527896cf386f6aea59872a51a4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7768595963167532683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276623004,"filename":"image_16112025_08_01_37_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394725426","file1":"1394725386","file0":"1394725350","file4":"1394725500","file5":"1394725538","file3":"1394725463"},"map_files_photo_id_array":[{"photo_id":"1394725538","filename":"file5"},{"photo_id":"1394725426","filename":"file2"},{"photo_id":"1394725500","filename":"file4"},{"photo_id":"1394725386","filename":"file1"},{"photo_id":"1394725350","filename":"file0"},{"photo_id":"1394725463","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394725426":["hashtag1","hashtag2"]},{"1394725386":["hashtag1","hashtag2"]},{"1394725350":["hashtag1","hashtag2"]},{"1394725500":["hashtag1","hashtag2"]},{"1394725463":["hashtag1","hashtag2"]},{"1394725538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394725426, 1394725386, 1394725350, 1394725500, 1394725463, 1394725538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.904353618621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:03:22.473770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_40_2774.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_42_2733.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_46_3628.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_48_2596.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_51_2612.jpg', '/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_55_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_40_2774.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_42_2733.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_46_3628.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_48_2596.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_51_2612.jpg
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_01_55_3742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394725804","1394725726","1394725767","1394725689","1394725875","1394725838"],"photo_ids_order":["1394725689","1394725726","1394725767","1394725804","1394725838","1394725875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a277b5b4cda7ad4d25e11f4744ba498.jpg","text":"TemporaryFile(/tmp/multipartBody5526668415904571450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276663188,"filename":"image_16112025_08_01_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/11/16/2bb46cdcc03caba1277eaf32a2daaedd.jpg","text":"TemporaryFile(/tmp/multipartBody2487716153325462965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276663188,"filename":"image_16112025_08_01_42_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5966bf717c40ca0fcf70f7d2f92b003c.jpg","text":"TemporaryFile(/tmp/multipartBody4456037524548839376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276663188,"filename":"image_16112025_08_01_46_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cbf5f8bcd826a04227ad6e2c0299731.jpg","text":"TemporaryFile(/tmp/multipartBody6282286987925063144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276663188,"filename":"image_16112025_08_01_40_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/484be38eea5f79945382515ba5cc99d9.jpg","text":"TemporaryFile(/tmp/multipartBody4236599127536630776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276663188,"filename":"image_16112025_08_01_55_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/724923a212259c3f986bfb3a59b73ae2.jpg","text":"TemporaryFile(/tmp/multipartBody3243163211256408816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276663188,"filename":"image_16112025_08_01_51_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394725767","file1":"1394725726","file0":"1394725689","file4":"1394725838","file5":"1394725875","file3":"1394725804"},"map_files_photo_id_array":[{"photo_id":"1394725875","filename":"file5"},{"photo_id":"1394725767","filename":"file2"},{"photo_id":"1394725838","filename":"file4"},{"photo_id":"1394725726","filename":"file1"},{"photo_id":"1394725689","filename":"file0"},{"photo_id":"1394725804","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394725804":["hashtag1","hashtag2"]},{"1394725726":["hashtag1","hashtag2"]},{"1394725767":["hashtag1","hashtag2"]},{"1394725689":["hashtag1","hashtag2"]},{"1394725875":["hashtag1","hashtag2"]},{"1394725838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394725804, 1394725726, 1394725767, 1394725689, 1394725875, 1394725838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49811148643494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:04:03.313339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/01/image_16112025_08_02_00_2674.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_04_3667.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_07_2720.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_09_2664.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_13_3605.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_21_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/01/image_16112025_08_02_00_2674.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_04_3667.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_07_2720.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_09_2664.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_13_3605.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_21_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726074","1394726149","1394726187","1394726112","1394726034","1394726229"],"photo_ids_order":["1394726034","1394726074","1394726112","1394726149","1394726187","1394726229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/986e39ff57dcb72da427e0f3e84b34ee.jpg","text":"TemporaryFile(/tmp/multipartBody8660734072586544281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276704137,"filename":"image_16112025_08_02_04_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/baa9ea8cc2b2460e2f56e0e5685a3cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6744864814649145878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276704137,"filename":"image_16112025_08_02_09_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74113f7ad7aa5d6112ed11222dc64d26.jpg","text":"TemporaryFile(/tmp/multipartBody4071446810127728367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276704137,"filename":"image_16112025_08_02_13_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b49b230cb38721d54ea880ddedad119.jpg","text":"TemporaryFile(/tmp/multipartBody6804975364887112715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276704137,"filename":"image_16112025_08_02_07_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fb3821e2f2807c1c3fb0fe5683a54d7.jpg","text":"TemporaryFile(/tmp/multipartBody372284172423096011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276704137,"filename":"image_16112025_08_02_00_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4678380341063ff7352d9ab4c9c20509.jpg","text":"TemporaryFile(/tmp/multipartBody7591446397149496536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276704137,"filename":"image_16112025_08_02_21_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726112","file1":"1394726074","file0":"1394726034","file4":"1394726187","file5":"1394726229","file3":"1394726149"},"map_files_photo_id_array":[{"photo_id":"1394726229","filename":"file5"},{"photo_id":"1394726112","filename":"file2"},{"photo_id":"1394726187","filename":"file4"},{"photo_id":"1394726074","filename":"file1"},{"photo_id":"1394726034","filename":"file0"},{"photo_id":"1394726149","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726074":["hashtag1","hashtag2"]},{"1394726149":["hashtag1","hashtag2"]},{"1394726187":["hashtag1","hashtag2"]},{"1394726112":["hashtag1","hashtag2"]},{"1394726034":["hashtag1","hashtag2"]},{"1394726229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726074, 1394726149, 1394726187, 1394726112, 1394726034, 1394726229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.256269693374634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:04:42.728346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_25_3677.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_30_2597.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_37_3719.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_51_2846.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_54_2668.jpg', '/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_58_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_25_3677.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_30_2597.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_37_3719.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_51_2846.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_54_2668.jpg
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_02_58_3757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726431","1394726413","1394726376","1394726430","1394726433","1394726432"],"photo_ids_order":["1394726376","1394726413","1394726430","1394726431","1394726432","1394726433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6ba630b9c45d47ed2cf47a0fca30df0.jpg","text":"TemporaryFile(/tmp/multipartBody7730485680871011214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276743471,"filename":"image_16112025_08_02_51_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98fd7bdd9f586e9d12b7cf1083ee0091.jpg","text":"TemporaryFile(/tmp/multipartBody1585915138397169078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276743471,"filename":"image_16112025_08_02_30_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca6bd7b790ce52aecf5755713951f4c8.jpg","text":"TemporaryFile(/tmp/multipartBody3886920466167696684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276743471,"filename":"image_16112025_08_02_25_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c78569ce1c8b0c7cdb53351e4e056984.jpg","text":"TemporaryFile(/tmp/multipartBody7175899532201389180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276743471,"filename":"image_16112025_08_02_37_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9a9239829c3e873dbce9ecdca1242a8.jpg","text":"TemporaryFile(/tmp/multipartBody8442148370993446720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276743471,"filename":"image_16112025_08_02_58_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eb53fda292c2f13d2e163ccdacf5d06.jpg","text":"TemporaryFile(/tmp/multipartBody7693231788692681148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276743471,"filename":"image_16112025_08_02_54_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726430","file1":"1394726413","file0":"1394726376","file4":"1394726432","file5":"1394726433","file3":"1394726431"},"map_files_photo_id_array":[{"photo_id":"1394726433","filename":"file5"},{"photo_id":"1394726430","filename":"file2"},{"photo_id":"1394726432","filename":"file4"},{"photo_id":"1394726413","filename":"file1"},{"photo_id":"1394726376","filename":"file0"},{"photo_id":"1394726431","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726431":["hashtag1","hashtag2"]},{"1394726413":["hashtag1","hashtag2"]},{"1394726376":["hashtag1","hashtag2"]},{"1394726430":["hashtag1","hashtag2"]},{"1394726433":["hashtag1","hashtag2"]},{"1394726432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726431, 1394726413, 1394726376, 1394726430, 1394726433, 1394726432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.403910398483276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:05:21.921121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/02/image_16112025_08_03_00_2575.jpg', '/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_03_2631.jpg', '/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_07_3655.jpg', '/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_09_2666.jpg', '/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_12_2685.jpg', '/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_16_3725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/02/image_16112025_08_03_00_2575.jpg
/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_03_2631.jpg
/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_07_3655.jpg
/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_09_2666.jpg
/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_12_2685.jpg
/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_16_3725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726445","1394726597","1394726483","1394726558","1394726438","1394726519"],"photo_ids_order":["1394726438","1394726445","1394726483","1394726519","1394726558","1394726597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf7eb9ed5768d9b2d15c9dcd0087dad8.jpg","text":"TemporaryFile(/tmp/multipartBody8253302347864406942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276782743,"filename":"image_16112025_08_03_03_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6a29a493418cda4451437edb82548e2.jpg","text":"TemporaryFile(/tmp/multipartBody7359478828988959333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276782743,"filename":"image_16112025_08_03_16_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25eb8dfc037d68215c6747741a8d1160.jpg","text":"TemporaryFile(/tmp/multipartBody6345973073835777733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276782743,"filename":"image_16112025_08_03_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/11/16/456e1456d866681a19a6e51337af876b.jpg","text":"TemporaryFile(/tmp/multipartBody3922703351789421739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276782743,"filename":"image_16112025_08_03_12_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0712758e911f2035280cffc7013825dd.jpg","text":"TemporaryFile(/tmp/multipartBody2308884408895044269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276782743,"filename":"image_16112025_08_03_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/11/16/e93bf15c0eb11e4cf8c000e0afca8e2c.jpg","text":"TemporaryFile(/tmp/multipartBody137679030350532159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276782743,"filename":"image_16112025_08_03_09_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726483","file1":"1394726445","file0":"1394726438","file4":"1394726558","file5":"1394726597","file3":"1394726519"},"map_files_photo_id_array":[{"photo_id":"1394726597","filename":"file5"},{"photo_id":"1394726483","filename":"file2"},{"photo_id":"1394726558","filename":"file4"},{"photo_id":"1394726445","filename":"file1"},{"photo_id":"1394726438","filename":"file0"},{"photo_id":"1394726519","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726445":["hashtag1","hashtag2"]},{"1394726597":["hashtag1","hashtag2"]},{"1394726483":["hashtag1","hashtag2"]},{"1394726558":["hashtag1","hashtag2"]},{"1394726438":["hashtag1","hashtag2"]},{"1394726519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726445, 1394726597, 1394726483, 1394726558, 1394726438, 1394726519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97858238220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:06:02.735153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_39_2670.jpg', '/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_55_3685.jpg', '/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_57_2679.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_03_2776.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_09_2798.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_12_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_39_2670.jpg
/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_55_3685.jpg
/home/pi/Desktop/images/16112025/08/03/image_16112025_08_03_57_2679.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_03_2776.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_09_2798.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_12_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726656","1394726710","1394726701","1394726679","1394726712","1394726708"],"photo_ids_order":["1394726656","1394726679","1394726701","1394726708","1394726710","1394726712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e42ccb28703cfb0aac74c87a210460fc.jpg","text":"TemporaryFile(/tmp/multipartBody6675246452840359829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276823486,"filename":"image_16112025_08_03_39_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f590241088812e8d1e3470d9c0edde48.jpg","text":"TemporaryFile(/tmp/multipartBody3604779098637130105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276823486,"filename":"image_16112025_08_04_09_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fac7eec9942f009596d56133c754b1dc.jpg","text":"TemporaryFile(/tmp/multipartBody8970103618244324626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276823486,"filename":"image_16112025_08_03_57_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96e183578af72399e3c64c1d8a603d67.jpg","text":"TemporaryFile(/tmp/multipartBody7209866850236231697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276823486,"filename":"image_16112025_08_03_55_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43208e65dc28f3226f0d7701ef46353f.jpg","text":"TemporaryFile(/tmp/multipartBody2386026542211794530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276823486,"filename":"image_16112025_08_04_12_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38c4d9f4265edd9ba0ac9bc6a85ec9d9.jpg","text":"TemporaryFile(/tmp/multipartBody1275096587920049048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276823486,"filename":"image_16112025_08_04_03_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726701","file1":"1394726679","file0":"1394726656","file4":"1394726710","file5":"1394726712","file3":"1394726708"},"map_files_photo_id_array":[{"photo_id":"1394726712","filename":"file5"},{"photo_id":"1394726701","filename":"file2"},{"photo_id":"1394726710","filename":"file4"},{"photo_id":"1394726679","filename":"file1"},{"photo_id":"1394726656","filename":"file0"},{"photo_id":"1394726708","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726656":["hashtag1","hashtag2"]},{"1394726710":["hashtag1","hashtag2"]},{"1394726701":["hashtag1","hashtag2"]},{"1394726679":["hashtag1","hashtag2"]},{"1394726712":["hashtag1","hashtag2"]},{"1394726708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726656, 1394726710, 1394726701, 1394726679, 1394726712, 1394726708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.724464654922485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:06:42.180805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_21_2763.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_24_2758.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_27_2553.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_36_2686.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_40_3857.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_42_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_21_2763.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_24_2758.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_27_2553.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_36_2686.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_40_3857.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_42_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726734","1394726731","1394726725","1394726727","1394726721","1394726729"],"photo_ids_order":["1394726721","1394726725","1394726727","1394726729","1394726731","1394726734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d61f3d53b55af2a2bd69e7d6171790e.jpg","text":"TemporaryFile(/tmp/multipartBody2160390965790973027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276862877,"filename":"image_16112025_08_04_42_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/784fa5d20b28a3549f61146701cdf1f6.jpg","text":"TemporaryFile(/tmp/multipartBody6787562350104742223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276862877,"filename":"image_16112025_08_04_40_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18b859ae8bb79702a6690d181f175641.jpg","text":"TemporaryFile(/tmp/multipartBody5852723748943073227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276862877,"filename":"image_16112025_08_04_24_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd4134fd48bc4e453893fd287d70101f.jpg","text":"TemporaryFile(/tmp/multipartBody7450918603659645835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276862877,"filename":"image_16112025_08_04_27_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d446cf076bed3c5252b9cc18a79ae2d.jpg","text":"TemporaryFile(/tmp/multipartBody3480779892421337416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276862877,"filename":"image_16112025_08_04_21_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/877cddb146306d101e863e03f1274a84.jpg","text":"TemporaryFile(/tmp/multipartBody5109811002399934522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276862877,"filename":"image_16112025_08_04_36_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726727","file1":"1394726725","file0":"1394726721","file4":"1394726731","file5":"1394726734","file3":"1394726729"},"map_files_photo_id_array":[{"photo_id":"1394726734","filename":"file5"},{"photo_id":"1394726727","filename":"file2"},{"photo_id":"1394726731","filename":"file4"},{"photo_id":"1394726725","filename":"file1"},{"photo_id":"1394726721","filename":"file0"},{"photo_id":"1394726729","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726734":["hashtag1","hashtag2"]},{"1394726731":["hashtag1","hashtag2"]},{"1394726725":["hashtag1","hashtag2"]},{"1394726727":["hashtag1","hashtag2"]},{"1394726721":["hashtag1","hashtag2"]},{"1394726729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726734, 1394726731, 1394726725, 1394726727, 1394726721, 1394726729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16974210739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:07:22.386523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_49_3682.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_05_00_2616.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_03_2663.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_12_2693.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_15_2779.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_51_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_49_3682.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_05_00_2616.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_03_2663.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_12_2693.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_15_2779.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_51_2815.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.6201550960540771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:07:43.300377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_49_3682.jpg', '/home/pi/Desktop/images/16112025/08/04/image_16112025_08_05_00_2616.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_03_2663.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_12_2693.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_15_2779.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_51_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_04_49_3682.jpg
/home/pi/Desktop/images/16112025/08/04/image_16112025_08_05_00_2616.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_03_2663.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_12_2693.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_15_2779.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_51_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726749","1394726751","1394726756","1394726750","1394726753","1394726752"],"photo_ids_order":["1394726749","1394726750","1394726751","1394726752","1394726753","1394726756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dd487e24087effe8d29fdaf3c9777bf.jpg","text":"TemporaryFile(/tmp/multipartBody2112528999987175057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276923991,"filename":"image_16112025_08_04_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/11/16/318303856073c60e988fa79651757480.jpg","text":"TemporaryFile(/tmp/multipartBody7253361487759510619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276923991,"filename":"image_16112025_08_05_03_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c74d656f3b58515d5f763b960a22c969.jpg","text":"TemporaryFile(/tmp/multipartBody7156340980458301081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276923991,"filename":"image_16112025_08_05_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/11/16/d377c77b5e37bda178c05095fcbd737d.jpg","text":"TemporaryFile(/tmp/multipartBody7823506835871215256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276923991,"filename":"image_16112025_08_05_00_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45f90131670b065f89023faa4ea4da32.jpg","text":"TemporaryFile(/tmp/multipartBody5210267229064407808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276923991,"filename":"image_16112025_08_05_15_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/115f526a51e2c7141bf4031ec05c821f.jpg","text":"TemporaryFile(/tmp/multipartBody3144978696312019682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276923991,"filename":"image_16112025_08_05_12_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726751","file1":"1394726750","file0":"1394726749","file4":"1394726753","file5":"1394726756","file3":"1394726752"},"map_files_photo_id_array":[{"photo_id":"1394726756","filename":"file5"},{"photo_id":"1394726751","filename":"file2"},{"photo_id":"1394726753","filename":"file4"},{"photo_id":"1394726750","filename":"file1"},{"photo_id":"1394726749","filename":"file0"},{"photo_id":"1394726752","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726749":["hashtag1","hashtag2"]},{"1394726751":["hashtag1","hashtag2"]},{"1394726756":["hashtag1","hashtag2"]},{"1394726750":["hashtag1","hashtag2"]},{"1394726753":["hashtag1","hashtag2"]},{"1394726752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726749, 1394726751, 1394726756, 1394726750, 1394726753, 1394726752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97146153450012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:08:22.543773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_55_3716.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_57_2643.jpg', '/home/pi/Desktop/images/16112025/08/05/image_16112025_08_06_00_2629.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_03_3703.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_06_2572.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_12_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_55_3716.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_05_57_2643.jpg
/home/pi/Desktop/images/16112025/08/05/image_16112025_08_06_00_2629.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_03_3703.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_06_2572.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_12_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726761","1394726758","1394726760","1394726762","1394726759","1394726767"],"photo_ids_order":["1394726758","1394726759","1394726760","1394726761","1394726762","1394726767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/168ae8d728a0af0a921ed4425407f620.jpg","text":"TemporaryFile(/tmp/multipartBody8103754484178583730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276963260,"filename":"image_16112025_08_06_03_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/982a14847d3eeccd8877d2e4bf7e5717.jpg","text":"TemporaryFile(/tmp/multipartBody2853033162799414495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276963260,"filename":"image_16112025_08_05_55_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e604c33028404b3484d262f0d8dd71d3.jpg","text":"TemporaryFile(/tmp/multipartBody7682475978959257163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276963260,"filename":"image_16112025_08_06_00_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b180ea8833927955ffbc6f787d70e0e.jpg","text":"TemporaryFile(/tmp/multipartBody49439998453593743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276963260,"filename":"image_16112025_08_06_06_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/454c2e52736f1c13f3092170222c2162.jpg","text":"TemporaryFile(/tmp/multipartBody1210931782202614562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276963260,"filename":"image_16112025_08_05_57_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c74dc2d93ae623206cf8c806d28480bd.jpg","text":"TemporaryFile(/tmp/multipartBody2687822991986886446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763276963260,"filename":"image_16112025_08_06_12_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726760","file1":"1394726759","file0":"1394726758","file4":"1394726762","file5":"1394726767","file3":"1394726761"},"map_files_photo_id_array":[{"photo_id":"1394726767","filename":"file5"},{"photo_id":"1394726760","filename":"file2"},{"photo_id":"1394726762","filename":"file4"},{"photo_id":"1394726759","filename":"file1"},{"photo_id":"1394726758","filename":"file0"},{"photo_id":"1394726761","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726761":["hashtag1","hashtag2"]},{"1394726758":["hashtag1","hashtag2"]},{"1394726760":["hashtag1","hashtag2"]},{"1394726762":["hashtag1","hashtag2"]},{"1394726759":["hashtag1","hashtag2"]},{"1394726767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726761, 1394726758, 1394726760, 1394726762, 1394726759, 1394726767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3941285610199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:09:03.673509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_18_2635.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_27_2598.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_30_3667.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_33_2798.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_36_2713.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_39_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_18_2635.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_27_2598.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_30_3667.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_33_2798.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_36_2713.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_39_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726775","1394726772","1394726769","1394726768","1394726779","1394726770"],"photo_ids_order":["1394726768","1394726769","1394726770","1394726772","1394726775","1394726779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9276ffd289bfdb0638f6e5070e1463f.jpg","text":"TemporaryFile(/tmp/multipartBody4339565222208215676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277004576,"filename":"image_16112025_08_06_36_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/362015a892abfb05b9c18942bcb7b998.jpg","text":"TemporaryFile(/tmp/multipartBody3368289858872907081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277004576,"filename":"image_16112025_08_06_33_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51fc16126a5346aaab843b5429eed217.jpg","text":"TemporaryFile(/tmp/multipartBody5093237900926123533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277004576,"filename":"image_16112025_08_06_27_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4142f0f44f7bf844f51c87a7e963d81.jpg","text":"TemporaryFile(/tmp/multipartBody2800088568989075804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277004576,"filename":"image_16112025_08_06_18_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e0bfe4584d254b7f19a731ffc10a79b.jpg","text":"TemporaryFile(/tmp/multipartBody2955931241756850790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277004576,"filename":"image_16112025_08_06_39_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec62e1add5b48bc782c7488484c77e7d.jpg","text":"TemporaryFile(/tmp/multipartBody2213015368333989337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277004576,"filename":"image_16112025_08_06_30_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726770","file1":"1394726769","file0":"1394726768","file4":"1394726775","file5":"1394726779","file3":"1394726772"},"map_files_photo_id_array":[{"photo_id":"1394726779","filename":"file5"},{"photo_id":"1394726770","filename":"file2"},{"photo_id":"1394726775","filename":"file4"},{"photo_id":"1394726769","filename":"file1"},{"photo_id":"1394726768","filename":"file0"},{"photo_id":"1394726772","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726775":["hashtag1","hashtag2"]},{"1394726772":["hashtag1","hashtag2"]},{"1394726769":["hashtag1","hashtag2"]},{"1394726768":["hashtag1","hashtag2"]},{"1394726779":["hashtag1","hashtag2"]},{"1394726770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726775, 1394726772, 1394726769, 1394726768, 1394726779, 1394726770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61641883850098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:09:42.797016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_42_3549.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_45_2697.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_51_2975.jpg', '/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_02_2774.jpg', '/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_11_2637.jpg', '/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_24_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_42_3549.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_45_2697.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_51_2975.jpg
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_02_2774.jpg
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_11_2637.jpg
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_24_3795.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.6101090908050537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:10:02.404885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_42_3549.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_45_2697.jpg', '/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_51_2975.jpg', '/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_02_2774.jpg', '/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_11_2637.jpg', '/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_24_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_42_3549.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_45_2697.jpg
/home/pi/Desktop/images/16112025/08/06/image_16112025_08_06_51_2975.jpg
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_02_2774.jpg
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_11_2637.jpg
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_24_3795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726800","1394726802","1394726810","1394726804","1394726807","1394726801"],"photo_ids_order":["1394726800","1394726801","1394726802","1394726804","1394726807","1394726810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/801108d698d57c4ed08fea38131821f7.jpg","text":"TemporaryFile(/tmp/multipartBody4480622513193911124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277064928,"filename":"image_16112025_08_06_42_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34548fe275beae3ec993ca4e900ed080.jpg","text":"TemporaryFile(/tmp/multipartBody812257734552055795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277064928,"filename":"image_16112025_08_06_51_2975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bb2d709ce76b2a2e9ecc3475095298b.jpg","text":"TemporaryFile(/tmp/multipartBody3083499787092325494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277064928,"filename":"image_16112025_08_07_24_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9679a2aeea2b4975d6b60bb8deb5fa5.jpg","text":"TemporaryFile(/tmp/multipartBody3940838843103466428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277064928,"filename":"image_16112025_08_07_02_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/171bc076ecb36dec5a29546169380d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1156226107914829074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277064928,"filename":"image_16112025_08_07_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/11/16/b511fda2dc710720e9a1eaab822443ce.jpg","text":"TemporaryFile(/tmp/multipartBody4501995915200303389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277064928,"filename":"image_16112025_08_06_45_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726802","file1":"1394726801","file0":"1394726800","file4":"1394726807","file5":"1394726810","file3":"1394726804"},"map_files_photo_id_array":[{"photo_id":"1394726810","filename":"file5"},{"photo_id":"1394726802","filename":"file2"},{"photo_id":"1394726807","filename":"file4"},{"photo_id":"1394726801","filename":"file1"},{"photo_id":"1394726800","filename":"file0"},{"photo_id":"1394726804","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726800":["hashtag1","hashtag2"]},{"1394726802":["hashtag1","hashtag2"]},{"1394726810":["hashtag1","hashtag2"]},{"1394726804":["hashtag1","hashtag2"]},{"1394726807":["hashtag1","hashtag2"]},{"1394726801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726800, 1394726802, 1394726810, 1394726804, 1394726807, 1394726801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96292495727539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:10:42.077301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_27_2547.jpg', '/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_29_2645.jpg', '/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_42_3674.jpg', '/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_18_3605.jpg', '/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_21_2876.jpg', '/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_26_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_27_2547.jpg
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_29_2645.jpg
/home/pi/Desktop/images/16112025/08/07/image_16112025_08_07_42_3674.jpg
/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_18_3605.jpg
/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_21_2876.jpg
/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_26_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726815","1394726818","1394726820","1394726823","1394726817","1394726822"],"photo_ids_order":["1394726815","1394726817","1394726818","1394726820","1394726822","1394726823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d47564640b437feb093f5506ecd2636.jpg","text":"TemporaryFile(/tmp/multipartBody815941217400207634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277102756,"filename":"image_16112025_08_07_27_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f49a0fa832a892872c6959308777bb51.jpg","text":"TemporaryFile(/tmp/multipartBody1791463125234223703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277102756,"filename":"image_16112025_08_07_42_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f22001db4e1a121ced8c6e22d0d437b6.jpg","text":"TemporaryFile(/tmp/multipartBody6324057026479351119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277102756,"filename":"image_16112025_08_08_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/11/16/d18d978f2a819306e89dcd9ecf92eb6c.jpg","text":"TemporaryFile(/tmp/multipartBody5762356862117731251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277102756,"filename":"image_16112025_08_08_26_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45bc1ebe11ab71a2eb32e683fab6dd10.jpg","text":"TemporaryFile(/tmp/multipartBody1741071155844977591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277102756,"filename":"image_16112025_08_07_29_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cff70f3acb06a52d11a332b015f4a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2762442188913641886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277102756,"filename":"image_16112025_08_08_21_2876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726818","file1":"1394726817","file0":"1394726815","file4":"1394726822","file5":"1394726823","file3":"1394726820"},"map_files_photo_id_array":[{"photo_id":"1394726823","filename":"file5"},{"photo_id":"1394726818","filename":"file2"},{"photo_id":"1394726822","filename":"file4"},{"photo_id":"1394726817","filename":"file1"},{"photo_id":"1394726815","filename":"file0"},{"photo_id":"1394726820","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726815":["hashtag1","hashtag2"]},{"1394726818":["hashtag1","hashtag2"]},{"1394726820":["hashtag1","hashtag2"]},{"1394726823":["hashtag1","hashtag2"]},{"1394726817":["hashtag1","hashtag2"]},{"1394726822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726815, 1394726818, 1394726820, 1394726823, 1394726817, 1394726822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.670085191726685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:11:22.311450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_30_3575.jpg', '/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_33_2652.jpg', '/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_38_2639.jpg', '/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_57_3653.jpg', '/home/pi/Desktop/images/16112025/08/08/image_16112025_08_09_00_2621.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_03_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_30_3575.jpg
/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_33_2652.jpg
/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_38_2639.jpg
/home/pi/Desktop/images/16112025/08/08/image_16112025_08_08_57_3653.jpg
/home/pi/Desktop/images/16112025/08/08/image_16112025_08_09_00_2621.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_03_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726833","1394726830","1394726826","1394726829","1394726831","1394726828"],"photo_ids_order":["1394726826","1394726828","1394726829","1394726830","1394726831","1394726833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80c4b1923a217a7c12be31c4dbc8c1f2.jpg","text":"TemporaryFile(/tmp/multipartBody865127454136287979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277143002,"filename":"image_16112025_08_09_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/11/16/dc28d70dbb453245145a987d62f85288.jpg","text":"TemporaryFile(/tmp/multipartBody5781215889370059229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277143002,"filename":"image_16112025_08_08_57_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9ea1f0415532be5ba6b736729934562.jpg","text":"TemporaryFile(/tmp/multipartBody5100565250986282676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277143002,"filename":"image_16112025_08_08_30_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b2efa6fa2ee2e26e36ce66a9eb187b2.jpg","text":"TemporaryFile(/tmp/multipartBody2465060492776823134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277143002,"filename":"image_16112025_08_08_38_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1247be861d725c978571da6d12acd8c.jpg","text":"TemporaryFile(/tmp/multipartBody8094930342698206768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277143002,"filename":"image_16112025_08_09_00_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbb4c0c38e33ee4bd7a94dfbf53ffaa8.jpg","text":"TemporaryFile(/tmp/multipartBody8926650497042809923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277143002,"filename":"image_16112025_08_08_33_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726829","file1":"1394726828","file0":"1394726826","file4":"1394726831","file5":"1394726833","file3":"1394726830"},"map_files_photo_id_array":[{"photo_id":"1394726833","filename":"file5"},{"photo_id":"1394726829","filename":"file2"},{"photo_id":"1394726831","filename":"file4"},{"photo_id":"1394726828","filename":"file1"},{"photo_id":"1394726826","filename":"file0"},{"photo_id":"1394726830","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726833":["hashtag1","hashtag2"]},{"1394726830":["hashtag1","hashtag2"]},{"1394726826":["hashtag1","hashtag2"]},{"1394726829":["hashtag1","hashtag2"]},{"1394726831":["hashtag1","hashtag2"]},{"1394726828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726833, 1394726830, 1394726826, 1394726829, 1394726831, 1394726828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05235028266907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:12:02.528172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_06_3599.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_09_2608.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_11_2672.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_15_3512.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_18_2659.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_20_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_06_3599.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_09_2608.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_11_2672.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_15_3512.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_18_2659.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_20_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726842","1394726844","1394726841","1394726849","1394726852","1394726846"],"photo_ids_order":["1394726841","1394726842","1394726844","1394726846","1394726849","1394726852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/395148f1194d5ea48a691b5b16bb2d07.jpg","text":"TemporaryFile(/tmp/multipartBody2845807780653564400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277183275,"filename":"image_16112025_08_09_09_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6850d49ca2aa6ddae3539eda512da975.jpg","text":"TemporaryFile(/tmp/multipartBody3194227693133358143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277183275,"filename":"image_16112025_08_09_11_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbb09b962cbb9828a3de7f40ce259e36.jpg","text":"TemporaryFile(/tmp/multipartBody4533409932633141160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277183275,"filename":"image_16112025_08_09_06_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0a98735d492c3ebbd167cdc6aeced82.jpg","text":"TemporaryFile(/tmp/multipartBody1631063742431678410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277183275,"filename":"image_16112025_08_09_18_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce49918955bc2ba461fbfe5b9050eda4.jpg","text":"TemporaryFile(/tmp/multipartBody5154332223791735585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277183275,"filename":"image_16112025_08_09_20_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eee37fa7b7c475559e8bca070ed2c9df.jpg","text":"TemporaryFile(/tmp/multipartBody773623367719873777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277183275,"filename":"image_16112025_08_09_15_3512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726844","file1":"1394726842","file0":"1394726841","file4":"1394726849","file5":"1394726852","file3":"1394726846"},"map_files_photo_id_array":[{"photo_id":"1394726852","filename":"file5"},{"photo_id":"1394726844","filename":"file2"},{"photo_id":"1394726849","filename":"file4"},{"photo_id":"1394726842","filename":"file1"},{"photo_id":"1394726841","filename":"file0"},{"photo_id":"1394726846","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726842":["hashtag1","hashtag2"]},{"1394726844":["hashtag1","hashtag2"]},{"1394726841":["hashtag1","hashtag2"]},{"1394726849":["hashtag1","hashtag2"]},{"1394726852":["hashtag1","hashtag2"]},{"1394726846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726842, 1394726844, 1394726841, 1394726849, 1394726852, 1394726846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85138750076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:12:41.998690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_24_3641.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_27_2732.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_29_2633.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_33_3721.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_42_3589.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_45_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_24_3641.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_27_2732.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_29_2633.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_33_3721.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_42_3589.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_45_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726869","1394726880","1394726874","1394726878","1394726872","1394726866"],"photo_ids_order":["1394726866","1394726869","1394726872","1394726874","1394726878","1394726880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ca23e7f2a0af6f2fe7d214d45884b41.jpg","text":"TemporaryFile(/tmp/multipartBody4860008020983976329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277222701,"filename":"image_16112025_08_09_27_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eee3f4aeee8fb1081b0c15a861ae8dd8.jpg","text":"TemporaryFile(/tmp/multipartBody913639375649418535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277222701,"filename":"image_16112025_08_09_45_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/560abb3e2c967a4af4446f4d00f29a03.jpg","text":"TemporaryFile(/tmp/multipartBody7910507735300194445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277222701,"filename":"image_16112025_08_09_33_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/158dbdb31e8e6e7e72b10024caa22863.jpg","text":"TemporaryFile(/tmp/multipartBody6239426119439361050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277222701,"filename":"image_16112025_08_09_42_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5265145684873fcfe5cf0cefd1b73cf.jpg","text":"TemporaryFile(/tmp/multipartBody6584145449845704453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277222701,"filename":"image_16112025_08_09_29_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2996d90b8d057a749db6243e65384c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5672401597468246875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277222701,"filename":"image_16112025_08_09_24_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726872","file1":"1394726869","file0":"1394726866","file4":"1394726878","file5":"1394726880","file3":"1394726874"},"map_files_photo_id_array":[{"photo_id":"1394726880","filename":"file5"},{"photo_id":"1394726872","filename":"file2"},{"photo_id":"1394726878","filename":"file4"},{"photo_id":"1394726869","filename":"file1"},{"photo_id":"1394726866","filename":"file0"},{"photo_id":"1394726874","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726869":["hashtag1","hashtag2"]},{"1394726880":["hashtag1","hashtag2"]},{"1394726874":["hashtag1","hashtag2"]},{"1394726878":["hashtag1","hashtag2"]},{"1394726872":["hashtag1","hashtag2"]},{"1394726866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726869, 1394726880, 1394726874, 1394726878, 1394726872, 1394726866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.600855588912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:13:22.233300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_54_2575.jpg', '/home/pi/Desktop/images/16112025/08/09/image_16112025_08_10_00_3693.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_05_2624.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_09_3659.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_12_2690.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_15_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_09_54_2575.jpg
/home/pi/Desktop/images/16112025/08/09/image_16112025_08_10_00_3693.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_05_2624.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_09_3659.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_12_2690.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_15_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726883","1394726886","1394726897","1394726894","1394726900","1394726890"],"photo_ids_order":["1394726883","1394726886","1394726890","1394726894","1394726897","1394726900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c8b281c15049e5297dbaa1f04dee76a.jpg","text":"TemporaryFile(/tmp/multipartBody4347484791728280211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277262987,"filename":"image_16112025_08_09_54_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f8d40506e77bed093d963f1d5802094.jpg","text":"TemporaryFile(/tmp/multipartBody3126511641042617451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277262987,"filename":"image_16112025_08_10_00_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf8f1e94708388391f321550034924b8.jpg","text":"TemporaryFile(/tmp/multipartBody3389566594233263361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277262987,"filename":"image_16112025_08_10_12_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0e3cb3fa5afdc876709083ee0574448.jpg","text":"TemporaryFile(/tmp/multipartBody6178666814519075331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277262987,"filename":"image_16112025_08_10_09_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16d0f6efa3ca06ec66264b743ff1426b.jpg","text":"TemporaryFile(/tmp/multipartBody6826409315006221060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277262987,"filename":"image_16112025_08_10_15_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5229e3eebc59827f73880b1f8a0d242.jpg","text":"TemporaryFile(/tmp/multipartBody4744955751810377093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277262987,"filename":"image_16112025_08_10_05_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726890","file1":"1394726886","file0":"1394726883","file4":"1394726897","file5":"1394726900","file3":"1394726894"},"map_files_photo_id_array":[{"photo_id":"1394726900","filename":"file5"},{"photo_id":"1394726890","filename":"file2"},{"photo_id":"1394726897","filename":"file4"},{"photo_id":"1394726886","filename":"file1"},{"photo_id":"1394726883","filename":"file0"},{"photo_id":"1394726894","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726883":["hashtag1","hashtag2"]},{"1394726886":["hashtag1","hashtag2"]},{"1394726897":["hashtag1","hashtag2"]},{"1394726894":["hashtag1","hashtag2"]},{"1394726900":["hashtag1","hashtag2"]},{"1394726890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726883, 1394726886, 1394726897, 1394726894, 1394726900, 1394726890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98203229904175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:14:05.291781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_17_2612.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_21_3618.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_23_2696.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_30_2594.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_36_3777.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_39_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_17_2612.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_21_3618.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_23_2696.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_30_2594.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_36_3777.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_39_2629.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.1294145584106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:14:22.302579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_17_2612.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_21_3618.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_23_2696.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_30_2594.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_36_3777.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_39_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_17_2612.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_21_3618.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_23_2696.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_30_2594.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_36_3777.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_39_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726920","1394726917","1394726919","1394726913","1394726921","1394726927"],"photo_ids_order":["1394726913","1394726917","1394726919","1394726920","1394726921","1394726927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6c7b70e4ccf45fce0b941ffecab3aba.jpg","text":"TemporaryFile(/tmp/multipartBody5714151209135126471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277322984,"filename":"image_16112025_08_10_30_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8f824fca91f858f809bb415243d7da5.jpg","text":"TemporaryFile(/tmp/multipartBody3499802305945377325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277322984,"filename":"image_16112025_08_10_21_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ae80476dcefad3d8227a9e1c54a4c68.jpg","text":"TemporaryFile(/tmp/multipartBody5361912349753260794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277322984,"filename":"image_16112025_08_10_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/11/16/a2f77a70524cda52982259fbb409e2fd.jpg","text":"TemporaryFile(/tmp/multipartBody5905645539108091182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277322984,"filename":"image_16112025_08_10_17_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5faf59d459d0d77c73a75f2d76cc35b.jpg","text":"TemporaryFile(/tmp/multipartBody2594252714933949862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277322984,"filename":"image_16112025_08_10_36_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0325e9246f60d6c5985af3a67b0b8bfd.jpg","text":"TemporaryFile(/tmp/multipartBody7180909458441425783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277322984,"filename":"image_16112025_08_10_39_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726919","file1":"1394726917","file0":"1394726913","file4":"1394726921","file5":"1394726927","file3":"1394726920"},"map_files_photo_id_array":[{"photo_id":"1394726927","filename":"file5"},{"photo_id":"1394726919","filename":"file2"},{"photo_id":"1394726921","filename":"file4"},{"photo_id":"1394726917","filename":"file1"},{"photo_id":"1394726913","filename":"file0"},{"photo_id":"1394726920","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726920":["hashtag1","hashtag2"]},{"1394726917":["hashtag1","hashtag2"]},{"1394726919":["hashtag1","hashtag2"]},{"1394726913":["hashtag1","hashtag2"]},{"1394726921":["hashtag1","hashtag2"]},{"1394726927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726920, 1394726917, 1394726919, 1394726913, 1394726921, 1394726927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99531388282776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:15:03.356841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_41_2558.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_45_3674.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_48_2688.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_50_2595.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_54_3684.jpg', '/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_57_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_41_2558.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_45_3674.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_48_2688.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_50_2595.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_54_3684.jpg
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_57_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726932","1394726935","1394726929","1394726931","1394726936","1394726930"],"photo_ids_order":["1394726929","1394726930","1394726931","1394726932","1394726935","1394726936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa2b73998fe56883a23daac25a96ce1a.jpg","text":"TemporaryFile(/tmp/multipartBody662993881983363176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277364178,"filename":"image_16112025_08_10_50_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/871dcdf9e96d4e600acdceacd7c58ea1.jpg","text":"TemporaryFile(/tmp/multipartBody1327020043426364836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277364178,"filename":"image_16112025_08_10_54_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3912ea94e7bf237c57132872d330266.jpg","text":"TemporaryFile(/tmp/multipartBody2621839290882957956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277364178,"filename":"image_16112025_08_10_41_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3f9643ceceac943b824b1f1b0e9d59b.jpg","text":"TemporaryFile(/tmp/multipartBody3785736487167059395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277364178,"filename":"image_16112025_08_10_48_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e599d69bf337947e8ce887d3b3f27ba5.jpg","text":"TemporaryFile(/tmp/multipartBody1433738581171105260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277364178,"filename":"image_16112025_08_10_57_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/106081e7cd8649d582a96605c036ef61.jpg","text":"TemporaryFile(/tmp/multipartBody1346984237794949460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277364178,"filename":"image_16112025_08_10_45_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726931","file1":"1394726930","file0":"1394726929","file4":"1394726935","file5":"1394726936","file3":"1394726932"},"map_files_photo_id_array":[{"photo_id":"1394726936","filename":"file5"},{"photo_id":"1394726931","filename":"file2"},{"photo_id":"1394726935","filename":"file4"},{"photo_id":"1394726930","filename":"file1"},{"photo_id":"1394726929","filename":"file0"},{"photo_id":"1394726932","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726932":["hashtag1","hashtag2"]},{"1394726935":["hashtag1","hashtag2"]},{"1394726929":["hashtag1","hashtag2"]},{"1394726931":["hashtag1","hashtag2"]},{"1394726936":["hashtag1","hashtag2"]},{"1394726930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726932, 1394726935, 1394726929, 1394726931, 1394726936, 1394726930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83614468574524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:15:42.615120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_59_2636.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_11_2595.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_15_3590.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_17_2650.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_20_2786.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_23_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/10/image_16112025_08_10_59_2636.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_11_2595.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_15_3590.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_17_2650.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_20_2786.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_23_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726947","1394726949","1394726948","1394726951","1394726945","1394726950"],"photo_ids_order":["1394726945","1394726947","1394726948","1394726949","1394726950","1394726951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8fc3a160654ff886b3c825dc48f2f52.jpg","text":"TemporaryFile(/tmp/multipartBody7225084366585322558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277403314,"filename":"image_16112025_08_11_11_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c8a0eed6cc46f679751858a7b767466.jpg","text":"TemporaryFile(/tmp/multipartBody2592367839998213460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277403314,"filename":"image_16112025_08_11_17_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da7948c5a3e778e441e196a95fab93f2.jpg","text":"TemporaryFile(/tmp/multipartBody5255576388234669962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277403314,"filename":"image_16112025_08_11_15_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a307833e8c1a7b8ae96d4fd50fbdbf8d.jpg","text":"TemporaryFile(/tmp/multipartBody7588565017375427796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277403314,"filename":"image_16112025_08_11_23_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03a20342ed1c674be4b5685fda0134b1.jpg","text":"TemporaryFile(/tmp/multipartBody2150854846204769745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277403314,"filename":"image_16112025_08_10_59_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/583e1e8efb08bde0e64bcf54a18e0a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6807886141084887189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277403314,"filename":"image_16112025_08_11_20_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726948","file1":"1394726947","file0":"1394726945","file4":"1394726950","file5":"1394726951","file3":"1394726949"},"map_files_photo_id_array":[{"photo_id":"1394726951","filename":"file5"},{"photo_id":"1394726948","filename":"file2"},{"photo_id":"1394726950","filename":"file4"},{"photo_id":"1394726947","filename":"file1"},{"photo_id":"1394726945","filename":"file0"},{"photo_id":"1394726949","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726947":["hashtag1","hashtag2"]},{"1394726949":["hashtag1","hashtag2"]},{"1394726948":["hashtag1","hashtag2"]},{"1394726951":["hashtag1","hashtag2"]},{"1394726945":["hashtag1","hashtag2"]},{"1394726950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726947, 1394726949, 1394726948, 1394726951, 1394726945, 1394726950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2728796005249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:16:22.721378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_27_3753.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_29_2619.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_32_2645.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_36_3584.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_38_2645.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_42_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_27_3753.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_29_2619.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_32_2645.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_36_3584.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_38_2645.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_42_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726961","1394726964","1394726960","1394726954","1394726957","1394726959"],"photo_ids_order":["1394726954","1394726957","1394726959","1394726960","1394726961","1394726964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c69d888df5151e32ab210f1e977b4393.jpg","text":"TemporaryFile(/tmp/multipartBody2235575047788394070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277443481,"filename":"image_16112025_08_11_38_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79c06cc74ed8b7dbe565e6e327eec456.jpg","text":"TemporaryFile(/tmp/multipartBody777079204721721517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277443481,"filename":"image_16112025_08_11_42_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3e91944b954d3f95adda1879477fc8d.jpg","text":"TemporaryFile(/tmp/multipartBody5805350025924540884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277443481,"filename":"image_16112025_08_11_36_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cde36dd7fc189b111b1bfe6708143747.jpg","text":"TemporaryFile(/tmp/multipartBody5944909535577906342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277443481,"filename":"image_16112025_08_11_27_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3fe3ca5515062474378d6406ada9506.jpg","text":"TemporaryFile(/tmp/multipartBody6273013487518068379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277443481,"filename":"image_16112025_08_11_29_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20cb8cefe3b55036cd9556517f2909cc.jpg","text":"TemporaryFile(/tmp/multipartBody1513062715371472841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277443481,"filename":"image_16112025_08_11_32_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726959","file1":"1394726957","file0":"1394726954","file4":"1394726961","file5":"1394726964","file3":"1394726960"},"map_files_photo_id_array":[{"photo_id":"1394726964","filename":"file5"},{"photo_id":"1394726959","filename":"file2"},{"photo_id":"1394726961","filename":"file4"},{"photo_id":"1394726957","filename":"file1"},{"photo_id":"1394726954","filename":"file0"},{"photo_id":"1394726960","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726961":["hashtag1","hashtag2"]},{"1394726964":["hashtag1","hashtag2"]},{"1394726960":["hashtag1","hashtag2"]},{"1394726954":["hashtag1","hashtag2"]},{"1394726957":["hashtag1","hashtag2"]},{"1394726959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726961, 1394726964, 1394726960, 1394726954, 1394726957, 1394726959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.443310260772705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:17:02.745846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_45_2782.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_47_2705.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_51_3565.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_54_2862.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_57_2787.jpg', '/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_59_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_45_2782.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_47_2705.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_51_3565.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_54_2862.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_57_2787.jpg
/home/pi/Desktop/images/16112025/08/11/image_16112025_08_11_59_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726974","1394726968","1394726970","1394726967","1394726972","1394726969"],"photo_ids_order":["1394726967","1394726968","1394726969","1394726970","1394726972","1394726974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54890e27156ed261b5880e8654302a35.jpg","text":"TemporaryFile(/tmp/multipartBody1444216274307230380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277483594,"filename":"image_16112025_08_11_59_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e274c5016c9e5f0c74bdfe5871e8aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6612883058523421161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277483594,"filename":"image_16112025_08_11_47_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/791f675b30ab667b068c4a51de5c8331.jpg","text":"TemporaryFile(/tmp/multipartBody5061274169382649792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277483594,"filename":"image_16112025_08_11_54_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f70c905fe98c0c48a012cc5d72333cd.jpg","text":"TemporaryFile(/tmp/multipartBody8026255949543297365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277483594,"filename":"image_16112025_08_11_45_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4ca2f17b2b4322e77c74acf45f27107.jpg","text":"TemporaryFile(/tmp/multipartBody2157383595390956169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277483594,"filename":"image_16112025_08_11_57_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e13fe2423e6c3f65e783e462afc40e18.jpg","text":"TemporaryFile(/tmp/multipartBody6753062803273338156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277483594,"filename":"image_16112025_08_11_51_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726969","file1":"1394726968","file0":"1394726967","file4":"1394726972","file5":"1394726974","file3":"1394726970"},"map_files_photo_id_array":[{"photo_id":"1394726974","filename":"file5"},{"photo_id":"1394726969","filename":"file2"},{"photo_id":"1394726972","filename":"file4"},{"photo_id":"1394726968","filename":"file1"},{"photo_id":"1394726967","filename":"file0"},{"photo_id":"1394726970","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726974":["hashtag1","hashtag2"]},{"1394726968":["hashtag1","hashtag2"]},{"1394726970":["hashtag1","hashtag2"]},{"1394726967":["hashtag1","hashtag2"]},{"1394726972":["hashtag1","hashtag2"]},{"1394726969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726974, 1394726968, 1394726970, 1394726967, 1394726972, 1394726969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34903144836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:17:42.034995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_03_3555.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_05_2652.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_08_2654.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_12_3712.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_14_2685.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_17_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_03_3555.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_05_2652.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_08_2654.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_12_3712.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_14_2685.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_17_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394726997","1394726996","1394726978","1394726993","1394726995","1394726980"],"photo_ids_order":["1394726978","1394726980","1394726993","1394726995","1394726996","1394726997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc7478f36acd99cb4b6358fee37003bb.jpg","text":"TemporaryFile(/tmp/multipartBody5748430988047485617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277522741,"filename":"image_16112025_08_12_17_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6269d9066d312b39db1d78ebbf5b5216.jpg","text":"TemporaryFile(/tmp/multipartBody1267207688196047223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277522741,"filename":"image_16112025_08_12_14_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32b14449fdc0e3e73efb63a3c0c9d0df.jpg","text":"TemporaryFile(/tmp/multipartBody3805411463919235574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277522741,"filename":"image_16112025_08_12_03_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ace9ca113ea9c3f71eb414e238634735.jpg","text":"TemporaryFile(/tmp/multipartBody9101414034533420912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277522741,"filename":"image_16112025_08_12_08_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42a45a60bab40f87a91b589dc85770e5.jpg","text":"TemporaryFile(/tmp/multipartBody7851605537132662374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277522741,"filename":"image_16112025_08_12_12_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/996192c1720aa190fa1f2414868091f9.jpg","text":"TemporaryFile(/tmp/multipartBody1668758258600099350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277522741,"filename":"image_16112025_08_12_05_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394726993","file1":"1394726980","file0":"1394726978","file4":"1394726996","file5":"1394726997","file3":"1394726995"},"map_files_photo_id_array":[{"photo_id":"1394726997","filename":"file5"},{"photo_id":"1394726993","filename":"file2"},{"photo_id":"1394726996","filename":"file4"},{"photo_id":"1394726980","filename":"file1"},{"photo_id":"1394726978","filename":"file0"},{"photo_id":"1394726995","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394726997":["hashtag1","hashtag2"]},{"1394726996":["hashtag1","hashtag2"]},{"1394726978":["hashtag1","hashtag2"]},{"1394726993":["hashtag1","hashtag2"]},{"1394726995":["hashtag1","hashtag2"]},{"1394726980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394726997, 1394726996, 1394726978, 1394726993, 1394726995, 1394726980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69579219818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:18:22.352817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_21_3698.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_23_2583.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_26_2760.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_30_3600.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_33_2837.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_39_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_21_3698.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_23_2583.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_26_2760.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_30_3600.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_33_2837.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_39_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727012","1394727006","1394727009","1394727003","1394727017","1394727014"],"photo_ids_order":["1394727003","1394727006","1394727009","1394727012","1394727014","1394727017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41dc240f32e310a0a6064415fb45ecd4.jpg","text":"TemporaryFile(/tmp/multipartBody4086897511566606617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277563097,"filename":"image_16112025_08_12_30_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/950f4ab7b4c7490b0cdcd51fb4373b7a.jpg","text":"TemporaryFile(/tmp/multipartBody8279172475582437168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277563097,"filename":"image_16112025_08_12_23_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00c404f783ea2cf71f0da924aa552ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2697987559304377488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277563097,"filename":"image_16112025_08_12_26_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96fca463d0df61d7d8f2d51f577eccc4.jpg","text":"TemporaryFile(/tmp/multipartBody5692270137578032624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277563097,"filename":"image_16112025_08_12_21_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d972c56f576545afaf41638ab2d8e4c0.jpg","text":"TemporaryFile(/tmp/multipartBody7993761853705600822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277563097,"filename":"image_16112025_08_12_39_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf94226075cdd063139057c3b87eced2.jpg","text":"TemporaryFile(/tmp/multipartBody4624037455040083484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277563097,"filename":"image_16112025_08_12_33_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727009","file1":"1394727006","file0":"1394727003","file4":"1394727014","file5":"1394727017","file3":"1394727012"},"map_files_photo_id_array":[{"photo_id":"1394727017","filename":"file5"},{"photo_id":"1394727009","filename":"file2"},{"photo_id":"1394727014","filename":"file4"},{"photo_id":"1394727006","filename":"file1"},{"photo_id":"1394727003","filename":"file0"},{"photo_id":"1394727012","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727012":["hashtag1","hashtag2"]},{"1394727006":["hashtag1","hashtag2"]},{"1394727009":["hashtag1","hashtag2"]},{"1394727003":["hashtag1","hashtag2"]},{"1394727017":["hashtag1","hashtag2"]},{"1394727014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727012, 1394727006, 1394727009, 1394727003, 1394727017, 1394727014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50213932991028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:19:03.402036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_42_3003.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_44_2063.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_48_3759.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_50_2681.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_53_2885.jpg', '/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_57_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_42_3003.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_44_2063.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_48_3759.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_50_2681.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_53_2885.jpg
/home/pi/Desktop/images/16112025/08/12/image_16112025_08_12_57_3546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727042","1394727045","1394727048","1394727041","1394727043","1394727040"],"photo_ids_order":["1394727040","1394727041","1394727042","1394727043","1394727045","1394727048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f42009e4088041f67d5090f9e9124124.jpg","text":"TemporaryFile(/tmp/multipartBody337370346132362896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277604391,"filename":"image_16112025_08_12_48_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c50d03cd9aed117f656643bbeabfe65.jpg","text":"TemporaryFile(/tmp/multipartBody3651570849118315990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277604391,"filename":"image_16112025_08_12_53_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d9c5ec740601b703fdf0310f957b49a.jpg","text":"TemporaryFile(/tmp/multipartBody4982041470233967381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277604391,"filename":"image_16112025_08_12_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/11/16/19f4c18330e90a66b2bff8510d32983d.jpg","text":"TemporaryFile(/tmp/multipartBody1963567970696231800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277604391,"filename":"image_16112025_08_12_44_2063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/767f6c3c1a4ee20194a86f279651198e.jpg","text":"TemporaryFile(/tmp/multipartBody6305135507810989627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277604391,"filename":"image_16112025_08_12_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/11/16/d2b5ef269af579d1bb12718fef25dd51.jpg","text":"TemporaryFile(/tmp/multipartBody367665980135644776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277604391,"filename":"image_16112025_08_12_42_3003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727042","file1":"1394727041","file0":"1394727040","file4":"1394727045","file5":"1394727048","file3":"1394727043"},"map_files_photo_id_array":[{"photo_id":"1394727048","filename":"file5"},{"photo_id":"1394727042","filename":"file2"},{"photo_id":"1394727045","filename":"file4"},{"photo_id":"1394727041","filename":"file1"},{"photo_id":"1394727040","filename":"file0"},{"photo_id":"1394727043","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727042":["hashtag1","hashtag2"]},{"1394727045":["hashtag1","hashtag2"]},{"1394727048":["hashtag1","hashtag2"]},{"1394727041":["hashtag1","hashtag2"]},{"1394727043":["hashtag1","hashtag2"]},{"1394727040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727042, 1394727045, 1394727048, 1394727041, 1394727043, 1394727040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40315008163452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:19:42.479762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_01_4196.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_03_1695.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_05_2563.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_09_3611.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_11_2571.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_14_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_01_4196.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_03_1695.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_05_2563.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_09_3611.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_11_2571.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_14_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727063","1394727065","1394727059","1394727068","1394727061","1394727055"],"photo_ids_order":["1394727055","1394727059","1394727061","1394727063","1394727065","1394727068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa707e19c301b6e2e08adc8508c8be70.jpg","text":"TemporaryFile(/tmp/multipartBody5855813503429855639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277643160,"filename":"image_16112025_08_13_09_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1e084386552a996265c403e8793e4d3.jpg","text":"TemporaryFile(/tmp/multipartBody6572441385418815836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277643160,"filename":"image_16112025_08_13_11_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/badec45ece8d5c4506be89aef6a615d4.jpg","text":"TemporaryFile(/tmp/multipartBody8896231302384140762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277643160,"filename":"image_16112025_08_13_03_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5b4395db546290eeb642f50cda55a52.jpg","text":"TemporaryFile(/tmp/multipartBody8059917747955232530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277643160,"filename":"image_16112025_08_13_14_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fb94fee06fc79326cd040bdb7ba73a6.jpg","text":"TemporaryFile(/tmp/multipartBody4357066899209099534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277643160,"filename":"image_16112025_08_13_05_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f0d002fc1e54a39f0744aac637ab734.jpg","text":"TemporaryFile(/tmp/multipartBody428918336591182812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277643160,"filename":"image_16112025_08_13_01_4196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727061","file1":"1394727059","file0":"1394727055","file4":"1394727065","file5":"1394727068","file3":"1394727063"},"map_files_photo_id_array":[{"photo_id":"1394727068","filename":"file5"},{"photo_id":"1394727061","filename":"file2"},{"photo_id":"1394727065","filename":"file4"},{"photo_id":"1394727059","filename":"file1"},{"photo_id":"1394727055","filename":"file0"},{"photo_id":"1394727063","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727063":["hashtag1","hashtag2"]},{"1394727065":["hashtag1","hashtag2"]},{"1394727059":["hashtag1","hashtag2"]},{"1394727068":["hashtag1","hashtag2"]},{"1394727061":["hashtag1","hashtag2"]},{"1394727055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727063, 1394727065, 1394727059, 1394727068, 1394727061, 1394727055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.626954555511475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:20:25.701883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_17_2823.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_21_3640.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_23_2650.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_26_2685.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_29_2824.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_32_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_17_2823.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_21_3640.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_23_2650.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_26_2685.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_29_2824.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_32_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727095","1394727083","1394727086","1394727076","1394727085","1394727079"],"photo_ids_order":["1394727076","1394727079","1394727083","1394727085","1394727086","1394727095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42060c5c4c47e87af47192b3e83a7daa.jpg","text":"TemporaryFile(/tmp/multipartBody3356230394659947993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277686425,"filename":"image_16112025_08_13_32_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bd7778492db9a6645ac336456c20482.jpg","text":"TemporaryFile(/tmp/multipartBody3626177671950193349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277686425,"filename":"image_16112025_08_13_23_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/851ca6566506c0f428ee1dac118fc186.jpg","text":"TemporaryFile(/tmp/multipartBody505861461647599435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277686425,"filename":"image_16112025_08_13_29_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/276e19484aadf0e4a33be2d0992d4be5.jpg","text":"TemporaryFile(/tmp/multipartBody1763078250668726316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277686425,"filename":"image_16112025_08_13_17_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd6133c7caa6c6c9ae5cc2bb550d52e3.jpg","text":"TemporaryFile(/tmp/multipartBody3171299759703427313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277686425,"filename":"image_16112025_08_13_26_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e704750721dc4c3b218f03ce504492a.jpg","text":"TemporaryFile(/tmp/multipartBody3113420361707780501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277686425,"filename":"image_16112025_08_13_21_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727083","file1":"1394727079","file0":"1394727076","file4":"1394727086","file5":"1394727095","file3":"1394727085"},"map_files_photo_id_array":[{"photo_id":"1394727095","filename":"file5"},{"photo_id":"1394727083","filename":"file2"},{"photo_id":"1394727086","filename":"file4"},{"photo_id":"1394727079","filename":"file1"},{"photo_id":"1394727076","filename":"file0"},{"photo_id":"1394727085","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727095":["hashtag1","hashtag2"]},{"1394727083":["hashtag1","hashtag2"]},{"1394727086":["hashtag1","hashtag2"]},{"1394727076":["hashtag1","hashtag2"]},{"1394727085":["hashtag1","hashtag2"]},{"1394727079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727095, 1394727083, 1394727086, 1394727076, 1394727085, 1394727079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95259761810303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:21:02.620648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_35_2761.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_41_2729.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_44_2612.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_47_2671.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_50_3602.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_53_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_35_2761.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_41_2729.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_44_2612.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_47_2671.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_50_3602.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_53_2875.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727100","1394727096","1394727098","1394727102","1394727104","1394727097"],"photo_ids_order":["1394727096","1394727097","1394727098","1394727100","1394727102","1394727104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dd2113c9d7ce6a6e6318c2e33e44b5e.jpg","text":"TemporaryFile(/tmp/multipartBody371868829995036685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277724092,"filename":"image_16112025_08_13_47_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf9fca2110222be417fc9275ec092413.jpg","text":"TemporaryFile(/tmp/multipartBody6602937955100775823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277724092,"filename":"image_16112025_08_13_35_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2eb3cbbeb6fd556616fca079b9a5368b.jpg","text":"TemporaryFile(/tmp/multipartBody2152276145125236050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277724092,"filename":"image_16112025_08_13_44_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73af398e206e9b0bffaee2c4c26d0022.jpg","text":"TemporaryFile(/tmp/multipartBody5641310302656212442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277724092,"filename":"image_16112025_08_13_50_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c315a4e6ec92a0f975c1c67907e9fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6753248895448742950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277724092,"filename":"image_16112025_08_13_53_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/097a9e60a778cdcbca1f00710e9cd071.jpg","text":"TemporaryFile(/tmp/multipartBody3564504952817891912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277724092,"filename":"image_16112025_08_13_41_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727098","file1":"1394727097","file0":"1394727096","file4":"1394727102","file5":"1394727104","file3":"1394727100"},"map_files_photo_id_array":[{"photo_id":"1394727104","filename":"file5"},{"photo_id":"1394727098","filename":"file2"},{"photo_id":"1394727102","filename":"file4"},{"photo_id":"1394727097","filename":"file1"},{"photo_id":"1394727096","filename":"file0"},{"photo_id":"1394727100","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727100":["hashtag1","hashtag2"]},{"1394727096":["hashtag1","hashtag2"]},{"1394727098":["hashtag1","hashtag2"]},{"1394727102":["hashtag1","hashtag2"]},{"1394727104":["hashtag1","hashtag2"]},{"1394727097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727100, 1394727096, 1394727098, 1394727102, 1394727104, 1394727097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.792240858078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:21:41.951843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_56_2750.jpg', '/home/pi/Desktop/images/16112025/08/13/image_16112025_08_14_00_3716.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_03_2822.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_05_2556.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_08_2732.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_14_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_13_56_2750.jpg
/home/pi/Desktop/images/16112025/08/13/image_16112025_08_14_00_3716.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_03_2822.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_05_2556.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_08_2732.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_14_2822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727123","1394727126","1394727122","1394727125","1394727119","1394727124"],"photo_ids_order":["1394727119","1394727122","1394727123","1394727124","1394727125","1394727126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78922ba34bcf8db7d1a7a2c9a5678cb9.jpg","text":"TemporaryFile(/tmp/multipartBody9055846489555954172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277762659,"filename":"image_16112025_08_14_03_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/036265ec7bcc0af86b0dd452188124ae.jpg","text":"TemporaryFile(/tmp/multipartBody2891378365116306632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277762659,"filename":"image_16112025_08_14_14_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4524ce0525183931f5b29556088b2f8.jpg","text":"TemporaryFile(/tmp/multipartBody8864761526778315565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277762659,"filename":"image_16112025_08_14_00_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e659ccb4ed919bc8b0d534ad79d1ed5b.jpg","text":"TemporaryFile(/tmp/multipartBody1042096164234469603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277762659,"filename":"image_16112025_08_14_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/11/16/a5e9736ddb224ae204f4fb92fc1b7d45.jpg","text":"TemporaryFile(/tmp/multipartBody5376124660652380324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277762659,"filename":"image_16112025_08_13_56_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e230c3c266a254344169229bc5728cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4344393380683426021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277762659,"filename":"image_16112025_08_14_05_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727123","file1":"1394727122","file0":"1394727119","file4":"1394727125","file5":"1394727126","file3":"1394727124"},"map_files_photo_id_array":[{"photo_id":"1394727126","filename":"file5"},{"photo_id":"1394727123","filename":"file2"},{"photo_id":"1394727125","filename":"file4"},{"photo_id":"1394727122","filename":"file1"},{"photo_id":"1394727119","filename":"file0"},{"photo_id":"1394727124","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727123":["hashtag1","hashtag2"]},{"1394727126":["hashtag1","hashtag2"]},{"1394727122":["hashtag1","hashtag2"]},{"1394727125":["hashtag1","hashtag2"]},{"1394727119":["hashtag1","hashtag2"]},{"1394727124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727123, 1394727126, 1394727122, 1394727125, 1394727119, 1394727124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44596242904663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:22:22.116591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_17_2753.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_20_2752.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_23_2875.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_26_3649.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_29_2693.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_32_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_17_2753.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_20_2752.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_23_2875.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_26_3649.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_29_2693.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_32_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727135","1394727138","1394727140","1394727137","1394727130","1394727133"],"photo_ids_order":["1394727130","1394727133","1394727135","1394727137","1394727138","1394727140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99a222d553f3a98abf6fe0a475289b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1745752122625818094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277802797,"filename":"image_16112025_08_14_23_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40ac91ee55d79beda18555b55c6600ef.jpg","text":"TemporaryFile(/tmp/multipartBody7474298532304262604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277802797,"filename":"image_16112025_08_14_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/11/16/d92ddc165d2e2b81782e463f62d18a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5181796291045822651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277802797,"filename":"image_16112025_08_14_32_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c11455b734be9612ebcb980ee881b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2185141517341592218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277802797,"filename":"image_16112025_08_14_26_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a9b3d06c48c5aba81e7775398cdaa49.jpg","text":"TemporaryFile(/tmp/multipartBody3526343465955968127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277802797,"filename":"image_16112025_08_14_17_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb578f6b35184ea7c9a419ae55085046.jpg","text":"TemporaryFile(/tmp/multipartBody811550475136551722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277802797,"filename":"image_16112025_08_14_20_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727135","file1":"1394727133","file0":"1394727130","file4":"1394727138","file5":"1394727140","file3":"1394727137"},"map_files_photo_id_array":[{"photo_id":"1394727140","filename":"file5"},{"photo_id":"1394727135","filename":"file2"},{"photo_id":"1394727138","filename":"file4"},{"photo_id":"1394727133","filename":"file1"},{"photo_id":"1394727130","filename":"file0"},{"photo_id":"1394727137","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727135":["hashtag1","hashtag2"]},{"1394727138":["hashtag1","hashtag2"]},{"1394727140":["hashtag1","hashtag2"]},{"1394727137":["hashtag1","hashtag2"]},{"1394727130":["hashtag1","hashtag2"]},{"1394727133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727135, 1394727138, 1394727140, 1394727137, 1394727130, 1394727133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71331834793091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:23:02.953201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_36_3610.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_38_2583.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_41_2636.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_44_3716.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_47_2761.jpg', '/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_53_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_36_3610.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_38_2583.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_41_2636.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_44_3716.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_47_2761.jpg
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_53_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727141","1394727144","1394727146","1394727143","1394727142","1394727148"],"photo_ids_order":["1394727141","1394727142","1394727143","1394727144","1394727146","1394727148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a16ad6b5e75860a55ce5f2482966ad72.jpg","text":"TemporaryFile(/tmp/multipartBody857320951376536125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277843738,"filename":"image_16112025_08_14_36_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5f702c3a2b798675a223ffee4974485.jpg","text":"TemporaryFile(/tmp/multipartBody3129930301984535074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277843738,"filename":"image_16112025_08_14_44_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad0ecffca161f483e9aaeb802a807c61.jpg","text":"TemporaryFile(/tmp/multipartBody5655448049444318986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277843738,"filename":"image_16112025_08_14_47_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40af5d27520a40c6dc82f3e7bc69a8e4.jpg","text":"TemporaryFile(/tmp/multipartBody1061433778684036712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277843738,"filename":"image_16112025_08_14_41_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0acc555f311e65697a2f13913fb80efa.jpg","text":"TemporaryFile(/tmp/multipartBody1990578769968882017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277843738,"filename":"image_16112025_08_14_38_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ba568d38c2dbbbf87d2181b07930a84.jpg","text":"TemporaryFile(/tmp/multipartBody3988744138348721391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277843738,"filename":"image_16112025_08_14_53_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727143","file1":"1394727142","file0":"1394727141","file4":"1394727146","file5":"1394727148","file3":"1394727144"},"map_files_photo_id_array":[{"photo_id":"1394727148","filename":"file5"},{"photo_id":"1394727143","filename":"file2"},{"photo_id":"1394727146","filename":"file4"},{"photo_id":"1394727142","filename":"file1"},{"photo_id":"1394727141","filename":"file0"},{"photo_id":"1394727144","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727141":["hashtag1","hashtag2"]},{"1394727144":["hashtag1","hashtag2"]},{"1394727146":["hashtag1","hashtag2"]},{"1394727143":["hashtag1","hashtag2"]},{"1394727142":["hashtag1","hashtag2"]},{"1394727148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727141, 1394727144, 1394727146, 1394727143, 1394727142, 1394727148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.904616355895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:23:42.393103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_56_3620.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_02_2612.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_06_4225.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_08_1708.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_14_2662.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_18_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/14/image_16112025_08_14_56_3620.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_02_2612.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_06_4225.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_08_1708.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_14_2662.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_18_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727168","1394727165","1394727164","1394727167","1394727166","1394727151"],"photo_ids_order":["1394727151","1394727164","1394727165","1394727166","1394727167","1394727168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0999e45046ac46997c40596b0789e982.jpg","text":"TemporaryFile(/tmp/multipartBody819117399558605288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277883103,"filename":"image_16112025_08_15_18_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5f143c20074fde8f6b079f9ed7a097f.jpg","text":"TemporaryFile(/tmp/multipartBody5089145425769338557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277883103,"filename":"image_16112025_08_15_06_4225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6792e41e2b8f134f5c61d9b72bb642f.jpg","text":"TemporaryFile(/tmp/multipartBody3299422553146678969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277883103,"filename":"image_16112025_08_15_02_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f0363f24d38058dc723c99e088ccadb.jpg","text":"TemporaryFile(/tmp/multipartBody704075199120640376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277883103,"filename":"image_16112025_08_15_14_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97d76c49c5fab90c657f810c9414cef9.jpg","text":"TemporaryFile(/tmp/multipartBody2989212088977188665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277883103,"filename":"image_16112025_08_15_08_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84623ec8b03533002730704892d31390.jpg","text":"TemporaryFile(/tmp/multipartBody3796676790409057252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277883103,"filename":"image_16112025_08_14_56_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727165","file1":"1394727164","file0":"1394727151","file4":"1394727167","file5":"1394727168","file3":"1394727166"},"map_files_photo_id_array":[{"photo_id":"1394727168","filename":"file5"},{"photo_id":"1394727165","filename":"file2"},{"photo_id":"1394727167","filename":"file4"},{"photo_id":"1394727164","filename":"file1"},{"photo_id":"1394727151","filename":"file0"},{"photo_id":"1394727166","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727168":["hashtag1","hashtag2"]},{"1394727165":["hashtag1","hashtag2"]},{"1394727164":["hashtag1","hashtag2"]},{"1394727167":["hashtag1","hashtag2"]},{"1394727166":["hashtag1","hashtag2"]},{"1394727151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727168, 1394727165, 1394727164, 1394727167, 1394727166, 1394727151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2240252494812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:24:22.625772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_20_2540.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_23_2788.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_26_3636.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_29_2677.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_36_3739.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_38_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_20_2540.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_23_2788.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_26_3636.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_29_2677.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_36_3739.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_38_2716.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.6237025260925293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:24:42.744079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_20_2540.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_23_2788.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_26_3636.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_29_2677.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_36_3739.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_38_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_20_2540.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_23_2788.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_26_3636.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_29_2677.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_36_3739.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_38_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727202","1394727204","1394727201","1394727203","1394727181","1394727205"],"photo_ids_order":["1394727181","1394727201","1394727202","1394727203","1394727204","1394727205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8723430d5b1219f9fb349dfef59cc96.jpg","text":"TemporaryFile(/tmp/multipartBody378042751673527183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277943415,"filename":"image_16112025_08_15_26_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53b3f8d4fee4b73e458f5ad42b79a7e6.jpg","text":"TemporaryFile(/tmp/multipartBody174147592721324758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277943415,"filename":"image_16112025_08_15_36_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/404040a59f215c3b6b90746daa94c9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5796935214071925705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277943415,"filename":"image_16112025_08_15_23_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecde9e44fd3a48658fcc3821a2268ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7869420469521943823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277943415,"filename":"image_16112025_08_15_29_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b599c7a9ba27d04ae399fd94d30b3af4.jpg","text":"TemporaryFile(/tmp/multipartBody7855893776321492279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277943415,"filename":"image_16112025_08_15_20_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4832a29cffa0ba0ad438c13ed2ef109f.jpg","text":"TemporaryFile(/tmp/multipartBody7040445570965690076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277943415,"filename":"image_16112025_08_15_38_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727202","file1":"1394727201","file0":"1394727181","file4":"1394727204","file5":"1394727205","file3":"1394727203"},"map_files_photo_id_array":[{"photo_id":"1394727205","filename":"file5"},{"photo_id":"1394727202","filename":"file2"},{"photo_id":"1394727204","filename":"file4"},{"photo_id":"1394727201","filename":"file1"},{"photo_id":"1394727181","filename":"file0"},{"photo_id":"1394727203","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727202":["hashtag1","hashtag2"]},{"1394727204":["hashtag1","hashtag2"]},{"1394727201":["hashtag1","hashtag2"]},{"1394727203":["hashtag1","hashtag2"]},{"1394727181":["hashtag1","hashtag2"]},{"1394727205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727202, 1394727204, 1394727201, 1394727203, 1394727181, 1394727205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45236778259277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:25:21.918436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_41_2817.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_47_3783.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_53_2564.jpg', '/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_59_2729.jpg', '/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_02_2683.jpg', '/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_11_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_41_2817.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_47_3783.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_53_2564.jpg
/home/pi/Desktop/images/16112025/08/15/image_16112025_08_15_59_2729.jpg
/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_02_2683.jpg
/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_11_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727220","1394727214","1394727216","1394727210","1394727207","1394727218"],"photo_ids_order":["1394727207","1394727210","1394727214","1394727216","1394727218","1394727220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d9c68b56b157941f3f3c9d4f58d22d1.jpg","text":"TemporaryFile(/tmp/multipartBody5839987622868057744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277982664,"filename":"image_16112025_08_16_11_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e9019144827c398dc375412f13ef0e6.jpg","text":"TemporaryFile(/tmp/multipartBody33591223298228254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277982664,"filename":"image_16112025_08_15_53_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58f4fca04ecd551fdac112af47f0758a.jpg","text":"TemporaryFile(/tmp/multipartBody5510211196570089694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277982664,"filename":"image_16112025_08_15_59_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8df8fff910290d3c6695800b6355679.jpg","text":"TemporaryFile(/tmp/multipartBody3294354089143580106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277982664,"filename":"image_16112025_08_15_47_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee4938203bc15a5b3d296b785328189f.jpg","text":"TemporaryFile(/tmp/multipartBody7218261044700559220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277982664,"filename":"image_16112025_08_15_41_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a82c55b683e5392edc6de1b5f162b622.jpg","text":"TemporaryFile(/tmp/multipartBody2457877656723927256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763277982664,"filename":"image_16112025_08_16_02_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727214","file1":"1394727210","file0":"1394727207","file4":"1394727218","file5":"1394727220","file3":"1394727216"},"map_files_photo_id_array":[{"photo_id":"1394727220","filename":"file5"},{"photo_id":"1394727214","filename":"file2"},{"photo_id":"1394727218","filename":"file4"},{"photo_id":"1394727210","filename":"file1"},{"photo_id":"1394727207","filename":"file0"},{"photo_id":"1394727216","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727220":["hashtag1","hashtag2"]},{"1394727214":["hashtag1","hashtag2"]},{"1394727216":["hashtag1","hashtag2"]},{"1394727210":["hashtag1","hashtag2"]},{"1394727207":["hashtag1","hashtag2"]},{"1394727218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727220, 1394727214, 1394727216, 1394727210, 1394727207, 1394727218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89275360107422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:26:02.633153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_14_3544.jpg', '/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_20_2704.jpg', '/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_23_3693.jpg', '/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_29_2787.jpg', '/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_44_3753.jpg', '/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_47_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_14_3544.jpg
/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_20_2704.jpg
/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_23_3693.jpg
/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_29_2787.jpg
/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_44_3753.jpg
/home/pi/Desktop/images/16112025/08/16/image_16112025_08_16_47_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727235","1394727229","1394727227","1394727224","1394727232","1394727226"],"photo_ids_order":["1394727224","1394727226","1394727227","1394727229","1394727232","1394727235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b020c4472ceef601f405ed705ce00cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6293665396248951125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278023372,"filename":"image_16112025_08_16_47_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/646573d28e6daabbc4303aedbd0f3858.jpg","text":"TemporaryFile(/tmp/multipartBody3593447129077206803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278023372,"filename":"image_16112025_08_16_29_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd8589fe1cc50119dcb4854b77a0682d.jpg","text":"TemporaryFile(/tmp/multipartBody9136181474047643380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278023372,"filename":"image_16112025_08_16_23_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad4ae675bd6449f2ee761f9f099ee237.jpg","text":"TemporaryFile(/tmp/multipartBody2181369928728247243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278023372,"filename":"image_16112025_08_16_14_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87b22e41eba90ee328f0f19dd594ddaf.jpg","text":"TemporaryFile(/tmp/multipartBody7558265290077419330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278023372,"filename":"image_16112025_08_16_44_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef7ee0e28fe374a4c2d2dac52ff4d172.jpg","text":"TemporaryFile(/tmp/multipartBody4417492501148645723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278023372,"filename":"image_16112025_08_16_20_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727227","file1":"1394727226","file0":"1394727224","file4":"1394727232","file5":"1394727235","file3":"1394727229"},"map_files_photo_id_array":[{"photo_id":"1394727235","filename":"file5"},{"photo_id":"1394727227","filename":"file2"},{"photo_id":"1394727232","filename":"file4"},{"photo_id":"1394727226","filename":"file1"},{"photo_id":"1394727224","filename":"file0"},{"photo_id":"1394727229","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727235":["hashtag1","hashtag2"]},{"1394727229":["hashtag1","hashtag2"]},{"1394727227":["hashtag1","hashtag2"]},{"1394727224":["hashtag1","hashtag2"]},{"1394727232":["hashtag1","hashtag2"]},{"1394727226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727235, 1394727229, 1394727227, 1394727224, 1394727232, 1394727226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.034035444259644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:26:42.108886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_17_3634.jpg', '/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_20_2790.jpg', '/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_23_3010.jpg', '/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_44_2725.jpg', '/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_47_2727.jpg', '/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_49_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_17_3634.jpg
/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_20_2790.jpg
/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_23_3010.jpg
/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_44_2725.jpg
/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_47_2727.jpg
/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_49_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727261","1394727258","1394727260","1394727262","1394727256","1394727244"],"photo_ids_order":["1394727244","1394727256","1394727258","1394727260","1394727261","1394727262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c47d6f3427bdb4815bd17464e924a404.jpg","text":"TemporaryFile(/tmp/multipartBody6103763383786960929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278062780,"filename":"image_16112025_08_17_47_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc6b4f3feef3c0d8b54de781854dbe28.jpg","text":"TemporaryFile(/tmp/multipartBody8743233765218782751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278062780,"filename":"image_16112025_08_17_23_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bdf4aa994216ff4ecdd8a8e58e109d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1072939433757062343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278062780,"filename":"image_16112025_08_17_44_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c0c324842adcf8c32d935dff335763b.jpg","text":"TemporaryFile(/tmp/multipartBody8458249118625304738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278062780,"filename":"image_16112025_08_17_49_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc8a1b7d84cd3e2f7a99efb7643a3b6b.jpg","text":"TemporaryFile(/tmp/multipartBody1083730036581755547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278062780,"filename":"image_16112025_08_17_20_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fa5dabb4a8a46f07724881fbed8881b.jpg","text":"TemporaryFile(/tmp/multipartBody2315539188397633390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278062780,"filename":"image_16112025_08_17_17_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727258","file1":"1394727256","file0":"1394727244","file4":"1394727261","file5":"1394727262","file3":"1394727260"},"map_files_photo_id_array":[{"photo_id":"1394727262","filename":"file5"},{"photo_id":"1394727258","filename":"file2"},{"photo_id":"1394727261","filename":"file4"},{"photo_id":"1394727256","filename":"file1"},{"photo_id":"1394727244","filename":"file0"},{"photo_id":"1394727260","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727261":["hashtag1","hashtag2"]},{"1394727258":["hashtag1","hashtag2"]},{"1394727260":["hashtag1","hashtag2"]},{"1394727262":["hashtag1","hashtag2"]},{"1394727256":["hashtag1","hashtag2"]},{"1394727244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727261, 1394727258, 1394727260, 1394727262, 1394727256, 1394727244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18958020210266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:27:22.306688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_56_2775.jpg', '/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_58_2589.jpg', '/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_11_3577.jpg', '/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_19_2728.jpg', '/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_26_2706.jpg', '/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_44_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_56_2775.jpg
/home/pi/Desktop/images/16112025/08/17/image_16112025_08_17_58_2589.jpg
/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_11_3577.jpg
/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_19_2728.jpg
/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_26_2706.jpg
/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_44_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727270","1394727288","1394727272","1394727266","1394727286","1394727268"],"photo_ids_order":["1394727266","1394727268","1394727270","1394727272","1394727286","1394727288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e27eb283afd4559518a77d4619efb86.jpg","text":"TemporaryFile(/tmp/multipartBody2444051465501365336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278102969,"filename":"image_16112025_08_18_11_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b10c3859368706b3d022ba87400dea80.jpg","text":"TemporaryFile(/tmp/multipartBody7746916883993232981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278102969,"filename":"image_16112025_08_18_44_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a01218d21446f31b4696cd2a7e1ead34.jpg","text":"TemporaryFile(/tmp/multipartBody2349026823597690794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278102969,"filename":"image_16112025_08_18_19_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8330fbf7acd5dc72963f1b48bde16642.jpg","text":"TemporaryFile(/tmp/multipartBody2374148407466915468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278102969,"filename":"image_16112025_08_17_56_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a6bfd239cbaa27343be7cfe709e3288a.jpg","text":"TemporaryFile(/tmp/multipartBody2613577767110869394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278102969,"filename":"image_16112025_08_18_26_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c3248241ea8e3b08191a733cb497c40.jpg","text":"TemporaryFile(/tmp/multipartBody8230178999146719978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278102969,"filename":"image_16112025_08_17_58_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727270","file1":"1394727268","file0":"1394727266","file4":"1394727286","file5":"1394727288","file3":"1394727272"},"map_files_photo_id_array":[{"photo_id":"1394727288","filename":"file5"},{"photo_id":"1394727270","filename":"file2"},{"photo_id":"1394727286","filename":"file4"},{"photo_id":"1394727268","filename":"file1"},{"photo_id":"1394727266","filename":"file0"},{"photo_id":"1394727272","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727270":["hashtag1","hashtag2"]},{"1394727288":["hashtag1","hashtag2"]},{"1394727272":["hashtag1","hashtag2"]},{"1394727266":["hashtag1","hashtag2"]},{"1394727286":["hashtag1","hashtag2"]},{"1394727268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727270, 1394727288, 1394727272, 1394727266, 1394727286, 1394727268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15450835227966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:28:02.931590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_55_2564.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_02_2877.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_05_2812.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_29_3572.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_34_2660.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_38_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_55_2564.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_02_2877.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_05_2812.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_29_3572.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_34_2660.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_38_3723.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.6970179080963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:28:22.427718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_55_2564.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_02_2877.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_05_2812.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_29_3572.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_34_2660.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_38_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/18/image_16112025_08_18_55_2564.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_02_2877.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_05_2812.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_29_3572.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_34_2660.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_38_3723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727303","1394727306","1394727308","1394727302","1394727305","1394727304"],"photo_ids_order":["1394727302","1394727303","1394727304","1394727305","1394727306","1394727308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96051c69756b0225b259704afdbca0be.jpg","text":"TemporaryFile(/tmp/multipartBody1920722326594437590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278163116,"filename":"image_16112025_08_19_02_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57588ed7c1440f41599d63531610f7e2.jpg","text":"TemporaryFile(/tmp/multipartBody688203852219394281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278163116,"filename":"image_16112025_08_19_34_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d055ff6640f16029ca0bb368eef1754.jpg","text":"TemporaryFile(/tmp/multipartBody7947706022708549023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278163116,"filename":"image_16112025_08_19_38_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3610bcbc519b8a533a59b7d430195058.jpg","text":"TemporaryFile(/tmp/multipartBody2528847650806404210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278163116,"filename":"image_16112025_08_18_55_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49bbf801f7382497cb7ca1796e77ae86.jpg","text":"TemporaryFile(/tmp/multipartBody2839543158563480325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278163116,"filename":"image_16112025_08_19_29_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9b68cdff1369ecc3d89828898a331bc.jpg","text":"TemporaryFile(/tmp/multipartBody5241289623543049086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278163116,"filename":"image_16112025_08_19_05_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727304","file1":"1394727303","file0":"1394727302","file4":"1394727306","file5":"1394727308","file3":"1394727305"},"map_files_photo_id_array":[{"photo_id":"1394727308","filename":"file5"},{"photo_id":"1394727304","filename":"file2"},{"photo_id":"1394727306","filename":"file4"},{"photo_id":"1394727303","filename":"file1"},{"photo_id":"1394727302","filename":"file0"},{"photo_id":"1394727305","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727303":["hashtag1","hashtag2"]},{"1394727306":["hashtag1","hashtag2"]},{"1394727308":["hashtag1","hashtag2"]},{"1394727302":["hashtag1","hashtag2"]},{"1394727305":["hashtag1","hashtag2"]},{"1394727304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727303, 1394727306, 1394727308, 1394727302, 1394727305, 1394727304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53711915016174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:29:03.966514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_47_3553.jpg', '/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_49_2626.jpg', '/home/pi/Desktop/images/16112025/08/20/image_16112025_08_20_14_3667.jpg', '/home/pi/Desktop/images/16112025/08/20/image_16112025_08_20_35_2627.jpg', '/home/pi/Desktop/images/16112025/08/20/image_16112025_08_20_41_3552.jpg', '/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_02_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_47_3553.jpg
/home/pi/Desktop/images/16112025/08/19/image_16112025_08_19_49_2626.jpg
/home/pi/Desktop/images/16112025/08/20/image_16112025_08_20_14_3667.jpg
/home/pi/Desktop/images/16112025/08/20/image_16112025_08_20_35_2627.jpg
/home/pi/Desktop/images/16112025/08/20/image_16112025_08_20_41_3552.jpg
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_02_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727313","1394727327","1394727321","1394727309","1394727317","1394727310"],"photo_ids_order":["1394727309","1394727310","1394727313","1394727317","1394727321","1394727327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6aa67239ea89f18df14514328262a1fb.jpg","text":"TemporaryFile(/tmp/multipartBody8763993763625289655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278204787,"filename":"image_16112025_08_20_14_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac1abc243fda7c16ef3ef079dd8185dd.jpg","text":"TemporaryFile(/tmp/multipartBody141415916097022558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278204787,"filename":"image_16112025_08_21_02_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f46a166fea3ef23bb1c2fbd67f58bddc.jpg","text":"TemporaryFile(/tmp/multipartBody7878702335002744627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278204787,"filename":"image_16112025_08_20_41_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c13baf676c4f6e3aa631e48dabbbf66b.jpg","text":"TemporaryFile(/tmp/multipartBody6088135353850865121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278204787,"filename":"image_16112025_08_19_47_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cd68d445ad6ff52abbafe3365fe0ca2.jpg","text":"TemporaryFile(/tmp/multipartBody5743375235940620727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278204787,"filename":"image_16112025_08_20_35_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d803560ddf337d308e5bef18136d136.jpg","text":"TemporaryFile(/tmp/multipartBody1863067989988860077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278204787,"filename":"image_16112025_08_19_49_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727313","file1":"1394727310","file0":"1394727309","file4":"1394727321","file5":"1394727327","file3":"1394727317"},"map_files_photo_id_array":[{"photo_id":"1394727327","filename":"file5"},{"photo_id":"1394727313","filename":"file2"},{"photo_id":"1394727321","filename":"file4"},{"photo_id":"1394727310","filename":"file1"},{"photo_id":"1394727309","filename":"file0"},{"photo_id":"1394727317","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727313":["hashtag1","hashtag2"]},{"1394727327":["hashtag1","hashtag2"]},{"1394727321":["hashtag1","hashtag2"]},{"1394727309":["hashtag1","hashtag2"]},{"1394727317":["hashtag1","hashtag2"]},{"1394727310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727313, 1394727327, 1394727321, 1394727309, 1394727317, 1394727310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86659216880798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:29:42.656743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_04_2578.jpg', '/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_08_3638.jpg', '/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_26_2677.jpg', '/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_35_3670.jpg', '/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_44_2814.jpg', '/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_46_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_04_2578.jpg
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_08_3638.jpg
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_26_2677.jpg
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_35_3670.jpg
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_44_2814.jpg
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_46_2552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727351","1394727348","1394727336","1394727353","1394727355","1394727349"],"photo_ids_order":["1394727336","1394727348","1394727349","1394727351","1394727353","1394727355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eba8b7554240f08b9ff3adebaaf8e9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3450727658902745480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278243315,"filename":"image_16112025_08_21_35_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b2a4ed0992207449072ee7163b87097.jpg","text":"TemporaryFile(/tmp/multipartBody5923261486954221789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278243315,"filename":"image_16112025_08_21_08_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/514b303e77aa4dce5a64d819dd11009b.jpg","text":"TemporaryFile(/tmp/multipartBody1755221085612463796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278243315,"filename":"image_16112025_08_21_04_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d43aae1347fd0cefeab1e73551d4a90.jpg","text":"TemporaryFile(/tmp/multipartBody1172074257297952901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278243315,"filename":"image_16112025_08_21_44_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5b1768b209bc452c499d60289159ad9.jpg","text":"TemporaryFile(/tmp/multipartBody5386247564379442244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278243315,"filename":"image_16112025_08_21_46_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9564aa06af44d31e22d35214842bba5c.jpg","text":"TemporaryFile(/tmp/multipartBody628270592398205127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278243315,"filename":"image_16112025_08_21_26_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727349","file1":"1394727348","file0":"1394727336","file4":"1394727353","file5":"1394727355","file3":"1394727351"},"map_files_photo_id_array":[{"photo_id":"1394727355","filename":"file5"},{"photo_id":"1394727349","filename":"file2"},{"photo_id":"1394727353","filename":"file4"},{"photo_id":"1394727348","filename":"file1"},{"photo_id":"1394727336","filename":"file0"},{"photo_id":"1394727351","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727351":["hashtag1","hashtag2"]},{"1394727348":["hashtag1","hashtag2"]},{"1394727336":["hashtag1","hashtag2"]},{"1394727353":["hashtag1","hashtag2"]},{"1394727355":["hashtag1","hashtag2"]},{"1394727349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727351, 1394727348, 1394727336, 1394727353, 1394727355, 1394727349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95278549194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:30:21.991650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_49_2695.jpg', '/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_53_3636.jpg', '/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_55_2576.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_02_2687.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_11_3600.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_14_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_49_2695.jpg
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_53_3636.jpg
/home/pi/Desktop/images/16112025/08/21/image_16112025_08_21_55_2576.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_02_2687.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_11_3600.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_14_2879.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727363","1394727366","1394727360","1394727368","1394727385","1394727364"],"photo_ids_order":["1394727360","1394727363","1394727364","1394727366","1394727368","1394727385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a51e126cd6904bb4c1e7b01c6efad29e.jpg","text":"TemporaryFile(/tmp/multipartBody7203611434526214083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278282728,"filename":"image_16112025_08_21_53_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51b454ccc5b7c7a3ca2fb8ec9c7f761b.jpg","text":"TemporaryFile(/tmp/multipartBody8237730644365920498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278282728,"filename":"image_16112025_08_22_02_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/020d19bbdfe671374ec541e313e70e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2046422532732603403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278282728,"filename":"image_16112025_08_21_49_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6d9291d0b7fbdaebc9b863fd2a330cb.jpg","text":"TemporaryFile(/tmp/multipartBody2990343703933095356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278282728,"filename":"image_16112025_08_22_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/11/16/1203c5a7221b95779ead7bfcb77ebf94.jpg","text":"TemporaryFile(/tmp/multipartBody7889969105988457972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278282728,"filename":"image_16112025_08_22_14_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16f3df05d56d40f4123da12f9975bd12.jpg","text":"TemporaryFile(/tmp/multipartBody3417452117498177457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278282728,"filename":"image_16112025_08_21_55_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727364","file1":"1394727363","file0":"1394727360","file4":"1394727368","file5":"1394727385","file3":"1394727366"},"map_files_photo_id_array":[{"photo_id":"1394727385","filename":"file5"},{"photo_id":"1394727364","filename":"file2"},{"photo_id":"1394727368","filename":"file4"},{"photo_id":"1394727363","filename":"file1"},{"photo_id":"1394727360","filename":"file0"},{"photo_id":"1394727366","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727363":["hashtag1","hashtag2"]},{"1394727366":["hashtag1","hashtag2"]},{"1394727360":["hashtag1","hashtag2"]},{"1394727368":["hashtag1","hashtag2"]},{"1394727385":["hashtag1","hashtag2"]},{"1394727364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727363, 1394727366, 1394727360, 1394727368, 1394727385, 1394727364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92871809005737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:31:02.837397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_19_2538.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_23_3606.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_25_2588.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_31_3538.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_34_2773.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_38_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_19_2538.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_23_3606.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_25_2588.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_31_3538.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_34_2773.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_38_3531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727387","1394727392","1394727395","1394727389","1394727386","1394727388"],"photo_ids_order":["1394727386","1394727387","1394727388","1394727389","1394727392","1394727395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b516ce870f38b958fe4855b34bc3f45.jpg","text":"TemporaryFile(/tmp/multipartBody258703307300226549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278323604,"filename":"image_16112025_08_22_23_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ec1938af064c9530dbc7a2f4d9aff57.jpg","text":"TemporaryFile(/tmp/multipartBody8675982787579696113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278323604,"filename":"image_16112025_08_22_34_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f6327bd3769870483315492f7b31cc8.jpg","text":"TemporaryFile(/tmp/multipartBody6329164797673687591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278323604,"filename":"image_16112025_08_22_38_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38e53737393978dc333d12f290e07549.jpg","text":"TemporaryFile(/tmp/multipartBody8403905685515532177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278323604,"filename":"image_16112025_08_22_31_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ced43a6c0c67201820d9998647ca6db2.jpg","text":"TemporaryFile(/tmp/multipartBody2740514316647557257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278323604,"filename":"image_16112025_08_22_19_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6aa8a4fbbc62564ccb1db429bd280f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6835072660075133704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278323604,"filename":"image_16112025_08_22_25_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727388","file1":"1394727387","file0":"1394727386","file4":"1394727392","file5":"1394727395","file3":"1394727389"},"map_files_photo_id_array":[{"photo_id":"1394727395","filename":"file5"},{"photo_id":"1394727388","filename":"file2"},{"photo_id":"1394727392","filename":"file4"},{"photo_id":"1394727387","filename":"file1"},{"photo_id":"1394727386","filename":"file0"},{"photo_id":"1394727389","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727387":["hashtag1","hashtag2"]},{"1394727392":["hashtag1","hashtag2"]},{"1394727395":["hashtag1","hashtag2"]},{"1394727389":["hashtag1","hashtag2"]},{"1394727386":["hashtag1","hashtag2"]},{"1394727388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727387, 1394727392, 1394727395, 1394727389, 1394727386, 1394727388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15976166725159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:31:42.056193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_40_2601.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_52_2679.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_56_3531.jpg', '/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_01_2543.jpg', '/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_11_3006.jpg', '/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_13_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_40_2601.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_52_2679.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_56_3531.jpg
/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_01_2543.jpg
/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_11_3006.jpg
/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_13_2609.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.5575737953186035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:32:02.794965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_40_2601.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_52_2679.jpg', '/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_56_3531.jpg', '/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_01_2543.jpg', '/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_11_3006.jpg', '/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_13_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_40_2601.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_52_2679.jpg
/home/pi/Desktop/images/16112025/08/22/image_16112025_08_22_56_3531.jpg
/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_01_2543.jpg
/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_11_3006.jpg
/home/pi/Desktop/images/16112025/08/23/image_16112025_08_23_13_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727412","1394727409","1394727408","1394727410","1394727407","1394727416"],"photo_ids_order":["1394727407","1394727408","1394727409","1394727410","1394727412","1394727416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb89f901c9c2be57bd70e995737bbb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8175703072721748611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278383501,"filename":"image_16112025_08_23_11_3006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc6d069b896c7e7d3533dde04c15b232.jpg","text":"TemporaryFile(/tmp/multipartBody1915304319369897649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278383501,"filename":"image_16112025_08_22_56_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40f340905df32d78686da0892ab20141.jpg","text":"TemporaryFile(/tmp/multipartBody564504911427044759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278383501,"filename":"image_16112025_08_22_52_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c33637bbb1fc5ebe96950b42272eb77.jpg","text":"TemporaryFile(/tmp/multipartBody4860670300149392540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278383501,"filename":"image_16112025_08_23_01_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c283eb41840a4fa86c18ca65c755a42b.jpg","text":"TemporaryFile(/tmp/multipartBody8185853474872304858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278383501,"filename":"image_16112025_08_22_40_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e89d0828e1225912f21ca16b7a19a07.jpg","text":"TemporaryFile(/tmp/multipartBody9185935999250068195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278383501,"filename":"image_16112025_08_23_13_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727409","file1":"1394727408","file0":"1394727407","file4":"1394727412","file5":"1394727416","file3":"1394727410"},"map_files_photo_id_array":[{"photo_id":"1394727416","filename":"file5"},{"photo_id":"1394727409","filename":"file2"},{"photo_id":"1394727412","filename":"file4"},{"photo_id":"1394727408","filename":"file1"},{"photo_id":"1394727407","filename":"file0"},{"photo_id":"1394727410","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727412":["hashtag1","hashtag2"]},{"1394727409":["hashtag1","hashtag2"]},{"1394727408":["hashtag1","hashtag2"]},{"1394727410":["hashtag1","hashtag2"]},{"1394727407":["hashtag1","hashtag2"]},{"1394727416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727412, 1394727409, 1394727408, 1394727410, 1394727407, 1394727416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.148796796798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:32:42.405147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_04_2484.jpg', '/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_07_3569.jpg', '/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_10_2821.jpg', '/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_25_2628.jpg', '/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_58_2582.jpg', '/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_01_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_04_2484.jpg
/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_07_3569.jpg
/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_10_2821.jpg
/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_25_2628.jpg
/home/pi/Desktop/images/16112025/08/24/image_16112025_08_24_58_2582.jpg
/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_01_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727433","1394727432","1394727435","1394727434","1394727421","1394727424"],"photo_ids_order":["1394727421","1394727424","1394727432","1394727433","1394727434","1394727435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbeba39267d8132395475b3ec3b06dd4.jpg","text":"TemporaryFile(/tmp/multipartBody3322359394893708878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278422999,"filename":"image_16112025_08_24_25_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e539ee0ae832f31975efb57bbf013eac.jpg","text":"TemporaryFile(/tmp/multipartBody7428281502530512195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278422999,"filename":"image_16112025_08_24_10_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47a764929ed9c982bce024023a538922.jpg","text":"TemporaryFile(/tmp/multipartBody2096550193678549432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278422999,"filename":"image_16112025_08_25_01_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a71eacf53171037aa6866558968d2600.jpg","text":"TemporaryFile(/tmp/multipartBody1666072314383007989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278422999,"filename":"image_16112025_08_24_58_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fad1683636a05dd7e2633a6fb1a46b0.jpg","text":"TemporaryFile(/tmp/multipartBody3518772191801756794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278422999,"filename":"image_16112025_08_24_04_2484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c3734ccc1ad86328b0a45f937a2ee55.jpg","text":"TemporaryFile(/tmp/multipartBody3421657175167821735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278422999,"filename":"image_16112025_08_24_07_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727432","file1":"1394727424","file0":"1394727421","file4":"1394727434","file5":"1394727435","file3":"1394727433"},"map_files_photo_id_array":[{"photo_id":"1394727435","filename":"file5"},{"photo_id":"1394727432","filename":"file2"},{"photo_id":"1394727434","filename":"file4"},{"photo_id":"1394727424","filename":"file1"},{"photo_id":"1394727421","filename":"file0"},{"photo_id":"1394727433","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727433":["hashtag1","hashtag2"]},{"1394727432":["hashtag1","hashtag2"]},{"1394727435":["hashtag1","hashtag2"]},{"1394727434":["hashtag1","hashtag2"]},{"1394727421":["hashtag1","hashtag2"]},{"1394727424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727433, 1394727432, 1394727435, 1394727434, 1394727421, 1394727424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41519546508789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:33:22.777748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_28_2514.jpg', '/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_32_3647.jpg', '/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_34_2568.jpg', '/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_37_2595.jpg', '/home/pi/Desktop/images/16112025/08/26/image_16112025_08_26_31_3646.jpg', '/home/pi/Desktop/images/16112025/08/26/image_16112025_08_26_34_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_28_2514.jpg
/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_32_3647.jpg
/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_34_2568.jpg
/home/pi/Desktop/images/16112025/08/25/image_16112025_08_25_37_2595.jpg
/home/pi/Desktop/images/16112025/08/26/image_16112025_08_26_31_3646.jpg
/home/pi/Desktop/images/16112025/08/26/image_16112025_08_26_34_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727450","1394727447","1394727443","1394727440","1394727448","1394727442"],"photo_ids_order":["1394727440","1394727442","1394727443","1394727447","1394727448","1394727450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4eef954e5806ad902041137b80cff75.jpg","text":"TemporaryFile(/tmp/multipartBody6679525357393107784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278463388,"filename":"image_16112025_08_26_34_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e893e738046441d198d79663b50a8688.jpg","text":"TemporaryFile(/tmp/multipartBody886239248555757045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278463388,"filename":"image_16112025_08_25_37_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/444225e688e07012a16b04be60dc83ce.jpg","text":"TemporaryFile(/tmp/multipartBody1780404420917255559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278463388,"filename":"image_16112025_08_25_34_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b0b91f92a6fdfa8a24ff0d32e186c24.jpg","text":"TemporaryFile(/tmp/multipartBody1586158865841215566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278463388,"filename":"image_16112025_08_25_28_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1e5f677904114903ba7a7038964bdd9.jpg","text":"TemporaryFile(/tmp/multipartBody934269657510934315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278463388,"filename":"image_16112025_08_26_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/11/16/aaa45cb48d88c8497d3443229769718c.jpg","text":"TemporaryFile(/tmp/multipartBody4404090258220826885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278463388,"filename":"image_16112025_08_25_32_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727443","file1":"1394727442","file0":"1394727440","file4":"1394727448","file5":"1394727450","file3":"1394727447"},"map_files_photo_id_array":[{"photo_id":"1394727450","filename":"file5"},{"photo_id":"1394727443","filename":"file2"},{"photo_id":"1394727448","filename":"file4"},{"photo_id":"1394727442","filename":"file1"},{"photo_id":"1394727440","filename":"file0"},{"photo_id":"1394727447","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727450":["hashtag1","hashtag2"]},{"1394727447":["hashtag1","hashtag2"]},{"1394727443":["hashtag1","hashtag2"]},{"1394727440":["hashtag1","hashtag2"]},{"1394727448":["hashtag1","hashtag2"]},{"1394727442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727450, 1394727447, 1394727443, 1394727440, 1394727448, 1394727442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20304751396179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:34:02.609680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/26/image_16112025_08_26_43_2606.jpg', '/home/pi/Desktop/images/16112025/08/26/image_16112025_08_26_58_2603.jpg', '/home/pi/Desktop/images/16112025/08/26/image_16112025_08_27_01_3568.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_13_2527.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_19_2683.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_22_3505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/26/image_16112025_08_26_43_2606.jpg
/home/pi/Desktop/images/16112025/08/26/image_16112025_08_26_58_2603.jpg
/home/pi/Desktop/images/16112025/08/26/image_16112025_08_27_01_3568.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_13_2527.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_19_2683.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_22_3505.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727453","1394727464","1394727452","1394727460","1394727454","1394727457"],"photo_ids_order":["1394727452","1394727453","1394727454","1394727457","1394727460","1394727464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1e0241ef261480a3f03528a330e9454.jpg","text":"TemporaryFile(/tmp/multipartBody556668933514747664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278504772,"filename":"image_16112025_08_26_58_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a92df0cb74bbb3ab191e3cf09692b8c.jpg","text":"TemporaryFile(/tmp/multipartBody3770608899269302979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278504772,"filename":"image_16112025_08_27_22_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01c4385eba069b65d0c6c459b9950954.jpg","text":"TemporaryFile(/tmp/multipartBody784242411937665046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278504772,"filename":"image_16112025_08_26_43_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c1e670373d36180f587b37f95f7bd60.jpg","text":"TemporaryFile(/tmp/multipartBody7825352021295400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278504772,"filename":"image_16112025_08_27_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/11/16/80cc650703de6ca9d1b5445c093429e8.jpg","text":"TemporaryFile(/tmp/multipartBody8537109461916426983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278504772,"filename":"image_16112025_08_27_01_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4acd958d32e0531070db3f09ec1f222.jpg","text":"TemporaryFile(/tmp/multipartBody266085927292659368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278504772,"filename":"image_16112025_08_27_13_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727454","file1":"1394727453","file0":"1394727452","file4":"1394727460","file5":"1394727464","file3":"1394727457"},"map_files_photo_id_array":[{"photo_id":"1394727464","filename":"file5"},{"photo_id":"1394727454","filename":"file2"},{"photo_id":"1394727460","filename":"file4"},{"photo_id":"1394727453","filename":"file1"},{"photo_id":"1394727452","filename":"file0"},{"photo_id":"1394727457","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727453":["hashtag1","hashtag2"]},{"1394727464":["hashtag1","hashtag2"]},{"1394727452":["hashtag1","hashtag2"]},{"1394727460":["hashtag1","hashtag2"]},{"1394727454":["hashtag1","hashtag2"]},{"1394727457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727453, 1394727464, 1394727452, 1394727460, 1394727454, 1394727457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84027290344238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:34:41.835840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_31_3821.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_36_2552.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_40_3710.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_43_2690.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_48_2760.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_52_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_31_3821.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_36_2552.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_40_3710.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_43_2690.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_48_2760.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_52_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727471","1394727473","1394727470","1394727467","1394727472","1394727469"],"photo_ids_order":["1394727467","1394727469","1394727470","1394727471","1394727472","1394727473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9546fa3d345178a9ae69c24703bc9e7.jpg","text":"TemporaryFile(/tmp/multipartBody7699842760869574864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278542486,"filename":"image_16112025_08_27_43_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22cca775ccce68021fcc505fd4ff8a36.jpg","text":"TemporaryFile(/tmp/multipartBody2380457285316185323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278542486,"filename":"image_16112025_08_27_52_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e06ef1de4d68dd17e6fa2ac0a0eac090.jpg","text":"TemporaryFile(/tmp/multipartBody3189374418273272362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278542486,"filename":"image_16112025_08_27_40_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94bfb61c3b1754b1cca1b6237924f8a7.jpg","text":"TemporaryFile(/tmp/multipartBody1578164351256757720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278542486,"filename":"image_16112025_08_27_31_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/861b6fe64473114b0a830dc575320f9e.jpg","text":"TemporaryFile(/tmp/multipartBody8796940205742157613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278542486,"filename":"image_16112025_08_27_48_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24acce5632ef6d4ba967f581118e4574.jpg","text":"TemporaryFile(/tmp/multipartBody8850547137792637722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278542486,"filename":"image_16112025_08_27_36_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727470","file1":"1394727469","file0":"1394727467","file4":"1394727472","file5":"1394727473","file3":"1394727471"},"map_files_photo_id_array":[{"photo_id":"1394727473","filename":"file5"},{"photo_id":"1394727470","filename":"file2"},{"photo_id":"1394727472","filename":"file4"},{"photo_id":"1394727469","filename":"file1"},{"photo_id":"1394727467","filename":"file0"},{"photo_id":"1394727471","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727471":["hashtag1","hashtag2"]},{"1394727473":["hashtag1","hashtag2"]},{"1394727470":["hashtag1","hashtag2"]},{"1394727467":["hashtag1","hashtag2"]},{"1394727472":["hashtag1","hashtag2"]},{"1394727469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727471, 1394727473, 1394727470, 1394727467, 1394727472, 1394727469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.895286083221436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:35:22.087243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_55_2613.jpg', '/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_57_2681.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_04_2676.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_07_3545.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_10_2520.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_13_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_55_2613.jpg
/home/pi/Desktop/images/16112025/08/27/image_16112025_08_27_57_2681.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_04_2676.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_07_3545.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_10_2520.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_13_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727480","1394727482","1394727476","1394727484","1394727478","1394727481"],"photo_ids_order":["1394727476","1394727478","1394727480","1394727481","1394727482","1394727484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c074b08de27b5ab250a9583bfbcb46a.jpg","text":"TemporaryFile(/tmp/multipartBody1209493919467867405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278582710,"filename":"image_16112025_08_28_04_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7092cfedc5871d19e4c60c2cd4da4d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5025826062191895424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278582710,"filename":"image_16112025_08_28_10_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5270554f065c7fbb55f673525f9ab4ec.jpg","text":"TemporaryFile(/tmp/multipartBody6001962973533479855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278582710,"filename":"image_16112025_08_27_55_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcd7038eb05186abb00d6f870da3ab5e.jpg","text":"TemporaryFile(/tmp/multipartBody25846124513397074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278582710,"filename":"image_16112025_08_28_13_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db4495458dba85eea70ef45f3bf4727c.jpg","text":"TemporaryFile(/tmp/multipartBody7848762092397999184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278582710,"filename":"image_16112025_08_27_57_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5830cb274e41dbc591f369fd2ae26ed.jpg","text":"TemporaryFile(/tmp/multipartBody9180784106365742654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278582710,"filename":"image_16112025_08_28_07_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727480","file1":"1394727478","file0":"1394727476","file4":"1394727482","file5":"1394727484","file3":"1394727481"},"map_files_photo_id_array":[{"photo_id":"1394727484","filename":"file5"},{"photo_id":"1394727480","filename":"file2"},{"photo_id":"1394727482","filename":"file4"},{"photo_id":"1394727478","filename":"file1"},{"photo_id":"1394727476","filename":"file0"},{"photo_id":"1394727481","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727480":["hashtag1","hashtag2"]},{"1394727482":["hashtag1","hashtag2"]},{"1394727476":["hashtag1","hashtag2"]},{"1394727484":["hashtag1","hashtag2"]},{"1394727478":["hashtag1","hashtag2"]},{"1394727481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727480, 1394727482, 1394727476, 1394727484, 1394727478, 1394727481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.989264726638794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:36:02.723522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_16_2775.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_19_2662.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_25_2487.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_31_3658.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_34_2685.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_36_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_16_2775.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_19_2662.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_25_2487.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_31_3658.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_34_2685.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_36_2528.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.5609641075134277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:36:22.216663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_16_2775.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_19_2662.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_25_2487.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_31_3658.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_34_2685.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_36_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_16_2775.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_19_2662.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_25_2487.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_31_3658.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_34_2685.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_36_2528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727498","1394727494","1394727496","1394727500","1394727499","1394727502"],"photo_ids_order":["1394727494","1394727496","1394727498","1394727499","1394727500","1394727502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07a19b0a957223015b7f1164f6816d7b.jpg","text":"TemporaryFile(/tmp/multipartBody4306157174197032726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278642856,"filename":"image_16112025_08_28_25_2487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/111ffa3dc32a38a71d722f3c8bfb7dca.jpg","text":"TemporaryFile(/tmp/multipartBody5873609327968607545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278642856,"filename":"image_16112025_08_28_16_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55f6fd2bf627eaa5ffeae3fd35b8678d.jpg","text":"TemporaryFile(/tmp/multipartBody8412544447482712686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278642856,"filename":"image_16112025_08_28_19_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e7a8aee1920e03589d6dcefd1427437.jpg","text":"TemporaryFile(/tmp/multipartBody3087431855536595266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278642856,"filename":"image_16112025_08_28_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/11/16/b3d2f5af4e15d459a73a67416e362be0.jpg","text":"TemporaryFile(/tmp/multipartBody2293929145461335419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278642856,"filename":"image_16112025_08_28_31_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27d90b527b66efa7b01179d159629ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2565540166803791755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278642856,"filename":"image_16112025_08_28_36_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727498","file1":"1394727496","file0":"1394727494","file4":"1394727500","file5":"1394727502","file3":"1394727499"},"map_files_photo_id_array":[{"photo_id":"1394727502","filename":"file5"},{"photo_id":"1394727498","filename":"file2"},{"photo_id":"1394727500","filename":"file4"},{"photo_id":"1394727496","filename":"file1"},{"photo_id":"1394727494","filename":"file0"},{"photo_id":"1394727499","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727498":["hashtag1","hashtag2"]},{"1394727494":["hashtag1","hashtag2"]},{"1394727496":["hashtag1","hashtag2"]},{"1394727500":["hashtag1","hashtag2"]},{"1394727499":["hashtag1","hashtag2"]},{"1394727502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727498, 1394727494, 1394727496, 1394727500, 1394727499, 1394727502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88354158401489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:37:03.289617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_40_3573.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_42_2501.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_46_3698.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_49_2560.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_51_2711.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_55_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_40_3573.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_42_2501.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_46_3698.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_49_2560.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_51_2711.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_55_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727505","1394727508","1394727504","1394727512","1394727506","1394727503"],"photo_ids_order":["1394727503","1394727504","1394727505","1394727506","1394727508","1394727512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d716f3bea447db73ca3d8c12bcbfdcac.jpg","text":"TemporaryFile(/tmp/multipartBody3878685173286477908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278683976,"filename":"image_16112025_08_28_46_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/037fcdcdb300985290fb7ed5234e87b6.jpg","text":"TemporaryFile(/tmp/multipartBody8932129696550211454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278683976,"filename":"image_16112025_08_28_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/11/16/ba4093a7646e6b18ca29191c38cfd2bc.jpg","text":"TemporaryFile(/tmp/multipartBody7090635761152295804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278683976,"filename":"image_16112025_08_28_42_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b67bcd09572bdf1d0a9c0946fd5506e.jpg","text":"TemporaryFile(/tmp/multipartBody3572110814239315848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278683976,"filename":"image_16112025_08_28_55_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c532f5c7dc23b52c5101dc1a6d4813f.jpg","text":"TemporaryFile(/tmp/multipartBody4296649974106716586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278683976,"filename":"image_16112025_08_28_49_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6219e5e26656933c233fbfe11605ab3d.jpg","text":"TemporaryFile(/tmp/multipartBody1246313789083794610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278683976,"filename":"image_16112025_08_28_40_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727505","file1":"1394727504","file0":"1394727503","file4":"1394727508","file5":"1394727512","file3":"1394727506"},"map_files_photo_id_array":[{"photo_id":"1394727512","filename":"file5"},{"photo_id":"1394727505","filename":"file2"},{"photo_id":"1394727508","filename":"file4"},{"photo_id":"1394727504","filename":"file1"},{"photo_id":"1394727503","filename":"file0"},{"photo_id":"1394727506","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727505":["hashtag1","hashtag2"]},{"1394727508":["hashtag1","hashtag2"]},{"1394727504":["hashtag1","hashtag2"]},{"1394727512":["hashtag1","hashtag2"]},{"1394727506":["hashtag1","hashtag2"]},{"1394727503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727505, 1394727508, 1394727504, 1394727512, 1394727506, 1394727503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.513603925704956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:37:42.616147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_58_2576.jpg', '/home/pi/Desktop/images/16112025/08/28/image_16112025_08_29_01_3611.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_04_2580.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_06_2599.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_10_3775.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_13_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_28_58_2576.jpg
/home/pi/Desktop/images/16112025/08/28/image_16112025_08_29_01_3611.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_04_2580.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_06_2599.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_10_3775.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_13_2546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727522","1394727518","1394727521","1394727515","1394727520","1394727523"],"photo_ids_order":["1394727515","1394727518","1394727520","1394727521","1394727522","1394727523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0698471f163a44fa96e049b52678f6ae.jpg","text":"TemporaryFile(/tmp/multipartBody3060374323681659426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278723263,"filename":"image_16112025_08_29_10_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da836e75ac45bf4d6df989122cb343bc.jpg","text":"TemporaryFile(/tmp/multipartBody4608870414981657268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278723263,"filename":"image_16112025_08_29_01_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b1b0980f890464695e75dddf68371cd.jpg","text":"TemporaryFile(/tmp/multipartBody8042169260080756744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278723263,"filename":"image_16112025_08_29_06_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f78c1ba85641451984230f20de375ac.jpg","text":"TemporaryFile(/tmp/multipartBody8603512101872974623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278723263,"filename":"image_16112025_08_28_58_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8bed7d1724563ba97aeebe6002aa92c.jpg","text":"TemporaryFile(/tmp/multipartBody1808062175534313896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278723263,"filename":"image_16112025_08_29_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/11/16/f7d1ae5a9a97bcfb1e0723f64c413f3a.jpg","text":"TemporaryFile(/tmp/multipartBody4892309400597826979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278723263,"filename":"image_16112025_08_29_13_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727520","file1":"1394727518","file0":"1394727515","file4":"1394727522","file5":"1394727523","file3":"1394727521"},"map_files_photo_id_array":[{"photo_id":"1394727523","filename":"file5"},{"photo_id":"1394727520","filename":"file2"},{"photo_id":"1394727522","filename":"file4"},{"photo_id":"1394727518","filename":"file1"},{"photo_id":"1394727515","filename":"file0"},{"photo_id":"1394727521","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727522":["hashtag1","hashtag2"]},{"1394727518":["hashtag1","hashtag2"]},{"1394727521":["hashtag1","hashtag2"]},{"1394727515":["hashtag1","hashtag2"]},{"1394727520":["hashtag1","hashtag2"]},{"1394727523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727522, 1394727518, 1394727521, 1394727515, 1394727520, 1394727523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78283882141113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:38:21.902108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_15_2640.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_19_3573.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_22_2685.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_25_3582.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_28_2750.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_34_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_15_2640.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_19_3573.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_22_2685.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_25_3582.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_28_2750.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_34_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727531","1394727525","1394727540","1394727534","1394727528","1394727536"],"photo_ids_order":["1394727525","1394727528","1394727531","1394727534","1394727536","1394727540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56ae86c030db43d65b19e21a2a4bd16d.jpg","text":"TemporaryFile(/tmp/multipartBody5086448776980293860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278762612,"filename":"image_16112025_08_29_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/11/16/a00b2e1d57ba4cc3941cadc43a9536dd.jpg","text":"TemporaryFile(/tmp/multipartBody964718994808207191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278762612,"filename":"image_16112025_08_29_15_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f312770076bb7aedc3b6dfce0058d7ad.jpg","text":"TemporaryFile(/tmp/multipartBody4684637035836110822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278762612,"filename":"image_16112025_08_29_34_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c336e506e43b2f5a1f1220cdff78aad7.jpg","text":"TemporaryFile(/tmp/multipartBody5756423819569722872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278762612,"filename":"image_16112025_08_29_25_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7552a186a6e9b777a8f42210775acbf9.jpg","text":"TemporaryFile(/tmp/multipartBody7089996585715682091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278762612,"filename":"image_16112025_08_29_19_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/725ff8fb21fea3dd84528cdc56f4d1d1.jpg","text":"TemporaryFile(/tmp/multipartBody3222318639748396533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278762612,"filename":"image_16112025_08_29_28_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727531","file1":"1394727528","file0":"1394727525","file4":"1394727536","file5":"1394727540","file3":"1394727534"},"map_files_photo_id_array":[{"photo_id":"1394727540","filename":"file5"},{"photo_id":"1394727531","filename":"file2"},{"photo_id":"1394727536","filename":"file4"},{"photo_id":"1394727528","filename":"file1"},{"photo_id":"1394727525","filename":"file0"},{"photo_id":"1394727534","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727531":["hashtag1","hashtag2"]},{"1394727525":["hashtag1","hashtag2"]},{"1394727540":["hashtag1","hashtag2"]},{"1394727534":["hashtag1","hashtag2"]},{"1394727528":["hashtag1","hashtag2"]},{"1394727536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727531, 1394727525, 1394727540, 1394727534, 1394727528, 1394727536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55603885650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:39:03.050926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_37_2568.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_39_2491.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_45_2570.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_49_3807.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_52_2661.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_54_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_37_2568.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_39_2491.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_45_2570.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_49_3807.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_52_2661.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_54_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727543","1394727542","1394727545","1394727550","1394727547","1394727544"],"photo_ids_order":["1394727542","1394727543","1394727544","1394727545","1394727547","1394727550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dc9c6e41613bf31ce0a947f0ce6bd37.jpg","text":"TemporaryFile(/tmp/multipartBody6237332691124798253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278803934,"filename":"image_16112025_08_29_39_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b421fa1d03eb9ae16952e5558b35e71d.jpg","text":"TemporaryFile(/tmp/multipartBody7979561117260958156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278803934,"filename":"image_16112025_08_29_37_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b69c1e20a7d94fd533572a7468d6b82.jpg","text":"TemporaryFile(/tmp/multipartBody3381591193353386640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278803934,"filename":"image_16112025_08_29_49_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f583ceac04570b7b1937c0b85a3b0d4.jpg","text":"TemporaryFile(/tmp/multipartBody616282551259041661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278803934,"filename":"image_16112025_08_29_54_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd1304e6d3ea5e3923bbca6b6d0cae80.jpg","text":"TemporaryFile(/tmp/multipartBody7095154533205592697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278803934,"filename":"image_16112025_08_29_52_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e4eea1bde3cb7d4c57b845c102e1791.jpg","text":"TemporaryFile(/tmp/multipartBody5368434667981371487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278803934,"filename":"image_16112025_08_29_45_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727544","file1":"1394727543","file0":"1394727542","file4":"1394727547","file5":"1394727550","file3":"1394727545"},"map_files_photo_id_array":[{"photo_id":"1394727550","filename":"file5"},{"photo_id":"1394727544","filename":"file2"},{"photo_id":"1394727547","filename":"file4"},{"photo_id":"1394727543","filename":"file1"},{"photo_id":"1394727542","filename":"file0"},{"photo_id":"1394727545","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727543":["hashtag1","hashtag2"]},{"1394727542":["hashtag1","hashtag2"]},{"1394727545":["hashtag1","hashtag2"]},{"1394727550":["hashtag1","hashtag2"]},{"1394727547":["hashtag1","hashtag2"]},{"1394727544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727543, 1394727542, 1394727545, 1394727550, 1394727547, 1394727544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25600266456604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:39:42.053876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_57_2683.jpg', '/home/pi/Desktop/images/16112025/08/29/image_16112025_08_30_01_3518.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_08_3011.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_12_3821.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_14_2659.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_17_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_29_57_2683.jpg
/home/pi/Desktop/images/16112025/08/29/image_16112025_08_30_01_3518.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_08_3011.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_12_3821.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_14_2659.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_17_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727561","1394727555","1394727560","1394727557","1394727559","1394727562"],"photo_ids_order":["1394727555","1394727557","1394727559","1394727560","1394727561","1394727562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fcb74af85447679418ce082657c97ea.jpg","text":"TemporaryFile(/tmp/multipartBody2735226671880178590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278842662,"filename":"image_16112025_08_30_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/11/16/b480f653caed62d7dece9a6adce8021b.jpg","text":"TemporaryFile(/tmp/multipartBody3122392460500964663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278842662,"filename":"image_16112025_08_29_57_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a760867450b36b9b426251ab3553778.jpg","text":"TemporaryFile(/tmp/multipartBody5440664941775636928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278842662,"filename":"image_16112025_08_30_12_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d14504a54990c703efe50f6b3056082.jpg","text":"TemporaryFile(/tmp/multipartBody3568535354115131334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278842662,"filename":"image_16112025_08_30_01_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50ce52c855feba9e802f0473beafb0c4.jpg","text":"TemporaryFile(/tmp/multipartBody8816499214328528084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278842662,"filename":"image_16112025_08_30_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee133ac00e7fd06e8d3e6d5ea1f492a1.jpg","text":"TemporaryFile(/tmp/multipartBody7300932715055321591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278842662,"filename":"image_16112025_08_30_17_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727559","file1":"1394727557","file0":"1394727555","file4":"1394727561","file5":"1394727562","file3":"1394727560"},"map_files_photo_id_array":[{"photo_id":"1394727562","filename":"file5"},{"photo_id":"1394727559","filename":"file2"},{"photo_id":"1394727561","filename":"file4"},{"photo_id":"1394727557","filename":"file1"},{"photo_id":"1394727555","filename":"file0"},{"photo_id":"1394727560","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727561":["hashtag1","hashtag2"]},{"1394727555":["hashtag1","hashtag2"]},{"1394727560":["hashtag1","hashtag2"]},{"1394727557":["hashtag1","hashtag2"]},{"1394727559":["hashtag1","hashtag2"]},{"1394727562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727561, 1394727555, 1394727560, 1394727557, 1394727559, 1394727562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.222432374954224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:40:22.492072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_21_3711.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_23_2536.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_26_2593.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_29_3525.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_32_2596.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_36_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_21_3711.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_23_2536.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_26_2593.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_29_3525.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_32_2596.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_36_3753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727573","1394727572","1394727575","1394727569","1394727566","1394727571"],"photo_ids_order":["1394727566","1394727569","1394727571","1394727572","1394727573","1394727575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dafb22a65cbd55fd7747e3c650b2ec2.jpg","text":"TemporaryFile(/tmp/multipartBody7442271571564767260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278883103,"filename":"image_16112025_08_30_32_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df571e33089945332f9455c2c4a51af3.jpg","text":"TemporaryFile(/tmp/multipartBody5377727562762545359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278883103,"filename":"image_16112025_08_30_29_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f159aaf25be74f9c297d178e647e34a.jpg","text":"TemporaryFile(/tmp/multipartBody2509298653644016279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278883103,"filename":"image_16112025_08_30_36_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f53f317a3ea914c0f74d208487b8d2c5.jpg","text":"TemporaryFile(/tmp/multipartBody7784090033830052818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278883103,"filename":"image_16112025_08_30_23_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/549cab8cb8d75306bbc4371346e9522f.jpg","text":"TemporaryFile(/tmp/multipartBody7333152023044310413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278883103,"filename":"image_16112025_08_30_21_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/045cc51d4e4b69bc6a04aadb0e5564c5.jpg","text":"TemporaryFile(/tmp/multipartBody898529780665484098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278883103,"filename":"image_16112025_08_30_26_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727571","file1":"1394727569","file0":"1394727566","file4":"1394727573","file5":"1394727575","file3":"1394727572"},"map_files_photo_id_array":[{"photo_id":"1394727575","filename":"file5"},{"photo_id":"1394727571","filename":"file2"},{"photo_id":"1394727573","filename":"file4"},{"photo_id":"1394727569","filename":"file1"},{"photo_id":"1394727566","filename":"file0"},{"photo_id":"1394727572","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727573":["hashtag1","hashtag2"]},{"1394727572":["hashtag1","hashtag2"]},{"1394727575":["hashtag1","hashtag2"]},{"1394727569":["hashtag1","hashtag2"]},{"1394727566":["hashtag1","hashtag2"]},{"1394727571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727573, 1394727572, 1394727575, 1394727569, 1394727566, 1394727571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.716763496398926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:41:03.390065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_38_2541.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_41_2525.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_56_2663.jpg', '/home/pi/Desktop/images/16112025/08/30/image_16112025_08_31_00_3554.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_02_2484.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_06_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_38_2541.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_41_2525.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_30_56_2663.jpg
/home/pi/Desktop/images/16112025/08/30/image_16112025_08_31_00_3554.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_02_2484.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_06_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727582","1394727576","1394727591","1394727579","1394727587","1394727584"],"photo_ids_order":["1394727576","1394727579","1394727582","1394727584","1394727587","1394727591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8f9a948cb090ea2fb3cda5a915dff29.jpg","text":"TemporaryFile(/tmp/multipartBody5687691080968586347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278924067,"filename":"image_16112025_08_30_56_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c07952d6d60eb5cf1bb19a198ddf040.jpg","text":"TemporaryFile(/tmp/multipartBody717397633439733209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278924067,"filename":"image_16112025_08_30_38_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f47eee23d11949faa9d9bf07376e0314.jpg","text":"TemporaryFile(/tmp/multipartBody9189014734379887624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278924067,"filename":"image_16112025_08_31_06_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63da975b2dc1ffd64a6e11b134ad77cc.jpg","text":"TemporaryFile(/tmp/multipartBody4214519999776699063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278924067,"filename":"image_16112025_08_30_41_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad0bd0348630691ec516aa3f098b4761.jpg","text":"TemporaryFile(/tmp/multipartBody6419474357642751956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278924067,"filename":"image_16112025_08_31_02_2484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7fe0785aa428aec78f6745df0712ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1030629890800715718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278924067,"filename":"image_16112025_08_31_00_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727582","file1":"1394727579","file0":"1394727576","file4":"1394727587","file5":"1394727591","file3":"1394727584"},"map_files_photo_id_array":[{"photo_id":"1394727591","filename":"file5"},{"photo_id":"1394727582","filename":"file2"},{"photo_id":"1394727587","filename":"file4"},{"photo_id":"1394727579","filename":"file1"},{"photo_id":"1394727576","filename":"file0"},{"photo_id":"1394727584","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727582":["hashtag1","hashtag2"]},{"1394727576":["hashtag1","hashtag2"]},{"1394727591":["hashtag1","hashtag2"]},{"1394727579":["hashtag1","hashtag2"]},{"1394727587":["hashtag1","hashtag2"]},{"1394727584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727582, 1394727576, 1394727591, 1394727579, 1394727587, 1394727584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13963770866394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:41:42.743468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_09_2770.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_11_2574.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_15_3633.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_17_2596.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_20_2767.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_23_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_09_2770.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_11_2574.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_15_3633.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_17_2596.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_20_2767.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_23_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727597","1394727600","1394727593","1394727596","1394727595","1394727598"],"photo_ids_order":["1394727593","1394727595","1394727596","1394727597","1394727598","1394727600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d644d2dd414cf8089a5135cf7bd3107.jpg","text":"TemporaryFile(/tmp/multipartBody5317481865932288903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278963354,"filename":"image_16112025_08_31_17_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca4fae8983f678dfa23c86bfcb47fa20.jpg","text":"TemporaryFile(/tmp/multipartBody2517822465682276320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278963354,"filename":"image_16112025_08_31_23_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71a2977b031f26ec4e9c7f493375f58e.jpg","text":"TemporaryFile(/tmp/multipartBody7124679977065036111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278963354,"filename":"image_16112025_08_31_09_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41ae9291a9198a95de26aa6c2f79473a.jpg","text":"TemporaryFile(/tmp/multipartBody6160745432496794098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278963354,"filename":"image_16112025_08_31_15_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e603705c0689159fd409f1789b2ee93d.jpg","text":"TemporaryFile(/tmp/multipartBody5373171549191524045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278963354,"filename":"image_16112025_08_31_11_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81a5856395c35b16789f1358a28d0191.jpg","text":"TemporaryFile(/tmp/multipartBody5346761534397652020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763278963354,"filename":"image_16112025_08_31_20_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727596","file1":"1394727595","file0":"1394727593","file4":"1394727598","file5":"1394727600","file3":"1394727597"},"map_files_photo_id_array":[{"photo_id":"1394727600","filename":"file5"},{"photo_id":"1394727596","filename":"file2"},{"photo_id":"1394727598","filename":"file4"},{"photo_id":"1394727595","filename":"file1"},{"photo_id":"1394727593","filename":"file0"},{"photo_id":"1394727597","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727597":["hashtag1","hashtag2"]},{"1394727600":["hashtag1","hashtag2"]},{"1394727593":["hashtag1","hashtag2"]},{"1394727596":["hashtag1","hashtag2"]},{"1394727595":["hashtag1","hashtag2"]},{"1394727598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727597, 1394727600, 1394727593, 1394727596, 1394727595, 1394727598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.917070627212524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:42:22.022154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_26_3695.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_29_2622.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_38_2533.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_41_3559.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_44_2800.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_47_2477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_26_3695.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_29_2622.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_38_2533.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_41_3559.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_44_2800.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_47_2477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727610","1394727604","1394727612","1394727606","1394727609","1394727608"],"photo_ids_order":["1394727604","1394727606","1394727608","1394727609","1394727610","1394727612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98545a2ac0403d9c98fee88cf0b1b7f5.jpg","text":"TemporaryFile(/tmp/multipartBody9076826324820811541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279002623,"filename":"image_16112025_08_31_44_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2a53d32791931f97b7c7389c4c7ecb8.jpg","text":"TemporaryFile(/tmp/multipartBody1811375190284174452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279002623,"filename":"image_16112025_08_31_26_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/298c8c0de04c4f7b5b1d40042f3161a7.jpg","text":"TemporaryFile(/tmp/multipartBody828038047818344095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279002623,"filename":"image_16112025_08_31_47_2477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c0d59a43c1700acaef071961ebde87d.jpg","text":"TemporaryFile(/tmp/multipartBody7648110895648053744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279002623,"filename":"image_16112025_08_31_29_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d74fc9e4edcbcac94352c42adaee9686.jpg","text":"TemporaryFile(/tmp/multipartBody4707998013939757937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279002623,"filename":"image_16112025_08_31_41_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4f0a3e6fb82ffb7d6785917cfda6e04.jpg","text":"TemporaryFile(/tmp/multipartBody6964710457122997863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279002623,"filename":"image_16112025_08_31_38_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727608","file1":"1394727606","file0":"1394727604","file4":"1394727610","file5":"1394727612","file3":"1394727609"},"map_files_photo_id_array":[{"photo_id":"1394727612","filename":"file5"},{"photo_id":"1394727608","filename":"file2"},{"photo_id":"1394727610","filename":"file4"},{"photo_id":"1394727606","filename":"file1"},{"photo_id":"1394727604","filename":"file0"},{"photo_id":"1394727609","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727610":["hashtag1","hashtag2"]},{"1394727604":["hashtag1","hashtag2"]},{"1394727612":["hashtag1","hashtag2"]},{"1394727606":["hashtag1","hashtag2"]},{"1394727609":["hashtag1","hashtag2"]},{"1394727608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727610, 1394727604, 1394727612, 1394727606, 1394727609, 1394727608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18405055999756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:43:02.963510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_51_3905.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_53_2607.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_56_2861.jpg', '/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_59_2618.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_02_3669.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_05_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_51_3905.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_53_2607.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_56_2861.jpg
/home/pi/Desktop/images/16112025/08/31/image_16112025_08_31_59_2618.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_02_3669.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_05_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727624","1394727618","1394727620","1394727614","1394727622","1394727616"],"photo_ids_order":["1394727614","1394727616","1394727618","1394727620","1394727622","1394727624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52f8c13e7cc8b03efe91c8f11884b57a.jpg","text":"TemporaryFile(/tmp/multipartBody3848836758352477695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279043650,"filename":"image_16112025_08_32_05_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46ef6fa630e8f2b675279467cc901ddf.jpg","text":"TemporaryFile(/tmp/multipartBody7691801259614897902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279043650,"filename":"image_16112025_08_31_56_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76d6bfb19a22c47186a94f4e780d041c.jpg","text":"TemporaryFile(/tmp/multipartBody9221088751816817974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279043650,"filename":"image_16112025_08_31_59_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe9e9c4d2b9c8d98281a523c2e2d26c9.jpg","text":"TemporaryFile(/tmp/multipartBody672398977794348652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279043650,"filename":"image_16112025_08_31_51_3905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68a3515741e2d55046bee29fa9f1156f.jpg","text":"TemporaryFile(/tmp/multipartBody6088080780246448548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279043650,"filename":"image_16112025_08_32_02_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/343b436d6195aa6ac492a5a264f721f6.jpg","text":"TemporaryFile(/tmp/multipartBody2228134160765996307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279043650,"filename":"image_16112025_08_31_53_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727618","file1":"1394727616","file0":"1394727614","file4":"1394727622","file5":"1394727624","file3":"1394727620"},"map_files_photo_id_array":[{"photo_id":"1394727624","filename":"file5"},{"photo_id":"1394727618","filename":"file2"},{"photo_id":"1394727622","filename":"file4"},{"photo_id":"1394727616","filename":"file1"},{"photo_id":"1394727614","filename":"file0"},{"photo_id":"1394727620","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727624":["hashtag1","hashtag2"]},{"1394727618":["hashtag1","hashtag2"]},{"1394727620":["hashtag1","hashtag2"]},{"1394727614":["hashtag1","hashtag2"]},{"1394727622":["hashtag1","hashtag2"]},{"1394727616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727624, 1394727618, 1394727620, 1394727614, 1394727622, 1394727616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01787352561951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:43:42.145785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_08_2589.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_14_2778.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_17_2702.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_21_3731.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_23_2716.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_26_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_08_2589.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_14_2778.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_17_2702.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_21_3731.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_23_2716.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_26_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727639","1394727641","1394727631","1394727640","1394727634","1394727637"],"photo_ids_order":["1394727631","1394727634","1394727637","1394727639","1394727640","1394727641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8017353d126cb226bce6d8bc124e2a7b.jpg","text":"TemporaryFile(/tmp/multipartBody1537671294922937300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279082727,"filename":"image_16112025_08_32_21_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6b2ace71f282e88fb9b6fcfae22da5b.jpg","text":"TemporaryFile(/tmp/multipartBody4868712209183769368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279082727,"filename":"image_16112025_08_32_26_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17aa76809c8c9f7069a0e0395442471b.jpg","text":"TemporaryFile(/tmp/multipartBody7437579080205882486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279082727,"filename":"image_16112025_08_32_08_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce42d1b7414e896f51ff1af26e007a15.jpg","text":"TemporaryFile(/tmp/multipartBody8836163885962830848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279082727,"filename":"image_16112025_08_32_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/11/16/be61f26bf6c7f449dbfb2221a7f13fc8.jpg","text":"TemporaryFile(/tmp/multipartBody6051259295079796267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279082727,"filename":"image_16112025_08_32_14_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e24264fe608f3e9e197b5c202ccffe0.jpg","text":"TemporaryFile(/tmp/multipartBody1985303781267268249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279082727,"filename":"image_16112025_08_32_17_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727637","file1":"1394727634","file0":"1394727631","file4":"1394727640","file5":"1394727641","file3":"1394727639"},"map_files_photo_id_array":[{"photo_id":"1394727641","filename":"file5"},{"photo_id":"1394727637","filename":"file2"},{"photo_id":"1394727640","filename":"file4"},{"photo_id":"1394727634","filename":"file1"},{"photo_id":"1394727631","filename":"file0"},{"photo_id":"1394727639","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727639":["hashtag1","hashtag2"]},{"1394727641":["hashtag1","hashtag2"]},{"1394727631":["hashtag1","hashtag2"]},{"1394727640":["hashtag1","hashtag2"]},{"1394727634":["hashtag1","hashtag2"]},{"1394727637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727639, 1394727641, 1394727631, 1394727640, 1394727634, 1394727637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.319761991500854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:44:22.313901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_29_2832.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_32_3477.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_35_2583.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_39_3653.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_41_2639.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_44_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_29_2832.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_32_3477.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_35_2583.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_39_3653.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_41_2639.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_44_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727651","1394727648","1394727653","1394727650","1394727652","1394727655"],"photo_ids_order":["1394727648","1394727650","1394727651","1394727652","1394727653","1394727655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bbfe19673852a0aad91e8c68a267ef1.jpg","text":"TemporaryFile(/tmp/multipartBody6481277697650738285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279122898,"filename":"image_16112025_08_32_35_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b90abf8be43a93daf05c1dfd6496f382.jpg","text":"TemporaryFile(/tmp/multipartBody1429493789515376728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279122898,"filename":"image_16112025_08_32_29_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3534c75770dc100c4ee8de8a20fb675.jpg","text":"TemporaryFile(/tmp/multipartBody6235683512619899556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279122898,"filename":"image_16112025_08_32_41_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc4c4a3c6c3ec6c78e625bb34dbcc0fc.jpg","text":"TemporaryFile(/tmp/multipartBody750110128986379588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279122898,"filename":"image_16112025_08_32_32_3477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f17087e515758206da21e277699318e1.jpg","text":"TemporaryFile(/tmp/multipartBody5072674039137306477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279122898,"filename":"image_16112025_08_32_39_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/011228eff0f7f2cd26d52d0cf5d0c3a9.jpg","text":"TemporaryFile(/tmp/multipartBody8326711290337166051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279122898,"filename":"image_16112025_08_32_44_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727651","file1":"1394727650","file0":"1394727648","file4":"1394727653","file5":"1394727655","file3":"1394727652"},"map_files_photo_id_array":[{"photo_id":"1394727655","filename":"file5"},{"photo_id":"1394727651","filename":"file2"},{"photo_id":"1394727653","filename":"file4"},{"photo_id":"1394727650","filename":"file1"},{"photo_id":"1394727648","filename":"file0"},{"photo_id":"1394727652","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727651":["hashtag1","hashtag2"]},{"1394727648":["hashtag1","hashtag2"]},{"1394727653":["hashtag1","hashtag2"]},{"1394727650":["hashtag1","hashtag2"]},{"1394727652":["hashtag1","hashtag2"]},{"1394727655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727651, 1394727648, 1394727653, 1394727650, 1394727652, 1394727655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.834677934646606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:45:07.657388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_55_7255.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_56_1621.jpg', '/home/pi/Desktop/images/16112025/08/32/image_16112025_08_33_00_1600.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_02_2743.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_05_2629.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_08_3475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_55_7255.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_32_56_1621.jpg
/home/pi/Desktop/images/16112025/08/32/image_16112025_08_33_00_1600.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_02_2743.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_05_2629.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_08_3475.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727663","1394727657","1394727665","1394727659","1394727667","1394727661"],"photo_ids_order":["1394727657","1394727659","1394727661","1394727663","1394727665","1394727667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29b367c71486f937c691120b00b2335b.jpg","text":"TemporaryFile(/tmp/multipartBody2025588230677286014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279168338,"filename":"image_16112025_08_33_02_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2609ef2c94ab6dba0ccd03d18481dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6253011207465605935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279168338,"filename":"image_16112025_08_32_55_7255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a931919b518d1fe63cf2a15df1882e0.jpg","text":"TemporaryFile(/tmp/multipartBody6336947374430481651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279168338,"filename":"image_16112025_08_33_05_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f92e2958103c3c7ef71fdf1a9583ad2c.jpg","text":"TemporaryFile(/tmp/multipartBody4801811211843302331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279168338,"filename":"image_16112025_08_32_56_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d01adaba99d8622611b70d29d717d8f2.jpg","text":"TemporaryFile(/tmp/multipartBody1567552081275637326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279168338,"filename":"image_16112025_08_33_08_3475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2abb42e8f59e54d9fe9831f1642d41a8.jpg","text":"TemporaryFile(/tmp/multipartBody4623127360938767666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279168338,"filename":"image_16112025_08_33_00_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727661","file1":"1394727659","file0":"1394727657","file4":"1394727665","file5":"1394727667","file3":"1394727663"},"map_files_photo_id_array":[{"photo_id":"1394727667","filename":"file5"},{"photo_id":"1394727661","filename":"file2"},{"photo_id":"1394727665","filename":"file4"},{"photo_id":"1394727659","filename":"file1"},{"photo_id":"1394727657","filename":"file0"},{"photo_id":"1394727663","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727663":["hashtag1","hashtag2"]},{"1394727657":["hashtag1","hashtag2"]},{"1394727665":["hashtag1","hashtag2"]},{"1394727659":["hashtag1","hashtag2"]},{"1394727667":["hashtag1","hashtag2"]},{"1394727661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727663, 1394727657, 1394727665, 1394727659, 1394727667, 1394727661)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.36215925216675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:46:03.277722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_17_2625.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_20_2697.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_23_3615.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_30_3620.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_32_2685.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_35_2507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_17_2625.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_20_2697.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_23_3615.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_30_3620.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_32_2685.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_35_2507.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727675","1394727672","1394727680","1394727674","1394727677","1394727673"],"photo_ids_order":["1394727672","1394727673","1394727674","1394727675","1394727677","1394727680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce56997f21c691acc92bb1b2453c0be5.jpg","text":"TemporaryFile(/tmp/multipartBody4952243172805847209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279223919,"filename":"image_16112025_08_33_30_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8c4ff1cc6500ecf5af16c1d8be06743.jpg","text":"TemporaryFile(/tmp/multipartBody1671500693067390164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279223919,"filename":"image_16112025_08_33_17_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1df1c13614f1e3e1e38d90b2e3c35ade.jpg","text":"TemporaryFile(/tmp/multipartBody5814298243191754467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279223919,"filename":"image_16112025_08_33_35_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3db53e543e361293b6c7cd68362142f7.jpg","text":"TemporaryFile(/tmp/multipartBody1594761956920503562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279223919,"filename":"image_16112025_08_33_23_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df995868124a2b370229eb5d24464518.jpg","text":"TemporaryFile(/tmp/multipartBody6681749447488086130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279223919,"filename":"image_16112025_08_33_32_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f827d9e80d738dc544e0a847d16a87b.jpg","text":"TemporaryFile(/tmp/multipartBody7058349433849752746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279223919,"filename":"image_16112025_08_33_20_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727674","file1":"1394727673","file0":"1394727672","file4":"1394727677","file5":"1394727680","file3":"1394727675"},"map_files_photo_id_array":[{"photo_id":"1394727680","filename":"file5"},{"photo_id":"1394727674","filename":"file2"},{"photo_id":"1394727677","filename":"file4"},{"photo_id":"1394727673","filename":"file1"},{"photo_id":"1394727672","filename":"file0"},{"photo_id":"1394727675","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727675":["hashtag1","hashtag2"]},{"1394727672":["hashtag1","hashtag2"]},{"1394727680":["hashtag1","hashtag2"]},{"1394727674":["hashtag1","hashtag2"]},{"1394727677":["hashtag1","hashtag2"]},{"1394727673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727675, 1394727672, 1394727680, 1394727674, 1394727677, 1394727673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.861451864242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:46:42.894716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_38_3541.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_41_2591.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_47_2828.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_50_2560.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_53_3533.jpg', '/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_56_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_38_3541.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_41_2591.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_47_2828.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_50_2560.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_53_3533.jpg
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_56_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727687","1394727681","1394727684","1394727683","1394727682","1394727685"],"photo_ids_order":["1394727681","1394727682","1394727683","1394727684","1394727685","1394727687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c73eb7e070e005ee3ea8e1a4a703a98.jpg","text":"TemporaryFile(/tmp/multipartBody8182310773347951160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279263474,"filename":"image_16112025_08_33_56_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab2586d053735742adf4ece7d24dbca6.jpg","text":"TemporaryFile(/tmp/multipartBody8638348313608014852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279263474,"filename":"image_16112025_08_33_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/11/16/e0c7b5151f6e667bc70213e663757ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8110957390950910947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279263474,"filename":"image_16112025_08_33_50_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/039bcd926abfef140aabdc5ce1b613bf.jpg","text":"TemporaryFile(/tmp/multipartBody4862155675306969540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279263474,"filename":"image_16112025_08_33_47_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92dbd184e4b29fc5651b87e95216a533.jpg","text":"TemporaryFile(/tmp/multipartBody399995413742040969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279263474,"filename":"image_16112025_08_33_41_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c97532e690c3ea78402c5a06f160a95.jpg","text":"TemporaryFile(/tmp/multipartBody1199287221985200187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279263474,"filename":"image_16112025_08_33_53_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727683","file1":"1394727682","file0":"1394727681","file4":"1394727685","file5":"1394727687","file3":"1394727684"},"map_files_photo_id_array":[{"photo_id":"1394727687","filename":"file5"},{"photo_id":"1394727683","filename":"file2"},{"photo_id":"1394727685","filename":"file4"},{"photo_id":"1394727682","filename":"file1"},{"photo_id":"1394727681","filename":"file0"},{"photo_id":"1394727684","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727687":["hashtag1","hashtag2"]},{"1394727681":["hashtag1","hashtag2"]},{"1394727684":["hashtag1","hashtag2"]},{"1394727683":["hashtag1","hashtag2"]},{"1394727682":["hashtag1","hashtag2"]},{"1394727685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727687, 1394727681, 1394727684, 1394727683, 1394727682, 1394727685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46367335319519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:47:22.090262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_59_2555.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_02_3709.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_05_2596.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_14_2616.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_17_3664.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_20_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/33/image_16112025_08_33_59_2555.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_02_3709.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_05_2596.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_14_2616.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_17_3664.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_20_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394727693","1394727696","1394727690","1394727714","1394727692","1394727694"],"photo_ids_order":["1394727690","1394727692","1394727693","1394727694","1394727696","1394727714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/407de7ce129f17d9baaf051e71f0743e.jpg","text":"TemporaryFile(/tmp/multipartBody5744417810833934752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279302694,"filename":"image_16112025_08_34_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/11/16/e38eff99609d3d3d526a3cf4b0599230.jpg","text":"TemporaryFile(/tmp/multipartBody2606744287790488629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279302694,"filename":"image_16112025_08_34_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/11/16/1fbb7bdffbbe2d8bccbe33c604bb6f93.jpg","text":"TemporaryFile(/tmp/multipartBody1095350950279515991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279302694,"filename":"image_16112025_08_33_59_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed474b93356f2b5235630eecd0177eac.jpg","text":"TemporaryFile(/tmp/multipartBody1591254698474106099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279302694,"filename":"image_16112025_08_34_20_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0e503bf9ae9410bbe400ea896d84af6.jpg","text":"TemporaryFile(/tmp/multipartBody2998591124494916751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279302694,"filename":"image_16112025_08_34_02_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebd0a8331b00a87a9dc7c9f000f2b517.jpg","text":"TemporaryFile(/tmp/multipartBody1017209108174798808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279302694,"filename":"image_16112025_08_34_14_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394727693","file1":"1394727692","file0":"1394727690","file4":"1394727696","file5":"1394727714","file3":"1394727694"},"map_files_photo_id_array":[{"photo_id":"1394727714","filename":"file5"},{"photo_id":"1394727693","filename":"file2"},{"photo_id":"1394727696","filename":"file4"},{"photo_id":"1394727692","filename":"file1"},{"photo_id":"1394727690","filename":"file0"},{"photo_id":"1394727694","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394727693":["hashtag1","hashtag2"]},{"1394727696":["hashtag1","hashtag2"]},{"1394727690":["hashtag1","hashtag2"]},{"1394727714":["hashtag1","hashtag2"]},{"1394727692":["hashtag1","hashtag2"]},{"1394727694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394727693, 1394727696, 1394727690, 1394727714, 1394727692, 1394727694)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.81620764732361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:48:44.120209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_26_2749.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_29_2680.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_38_2764.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_44_2582.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_47_3516.jpg', '/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_50_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_26_2749.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_29_2680.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_38_2764.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_44_2582.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_47_3516.jpg
/home/pi/Desktop/images/16112025/08/34/image_16112025_08_34_50_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728206","1394728130","1394728126","1394728207","1394728201","1394728164"],"photo_ids_order":["1394728126","1394728130","1394728164","1394728201","1394728206","1394728207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bfd90862d01e1bd8ca2960cc562849d.jpg","text":"TemporaryFile(/tmp/multipartBody1615716431601115687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279387205,"filename":"image_16112025_08_34_47_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aad767a6db2e8303dca339c7b92a571b.jpg","text":"TemporaryFile(/tmp/multipartBody1144033209194347233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279387205,"filename":"image_16112025_08_34_29_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c83b41fdb253e06b94a00bf1de02742.jpg","text":"TemporaryFile(/tmp/multipartBody7803867416452634324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279387205,"filename":"image_16112025_08_34_26_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a648f167a5285e05dfaf3810ce5534b9.jpg","text":"TemporaryFile(/tmp/multipartBody1175518388122896330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279387205,"filename":"image_16112025_08_34_50_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b424cf912e4fcfa49b1fe81780614fb.jpg","text":"TemporaryFile(/tmp/multipartBody430673884165038049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279387205,"filename":"image_16112025_08_34_44_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e9ed85254b64ffece3906d0cf56e908.jpg","text":"TemporaryFile(/tmp/multipartBody4765187365815571664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279387205,"filename":"image_16112025_08_34_38_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728164","file1":"1394728130","file0":"1394728126","file4":"1394728206","file5":"1394728207","file3":"1394728201"},"map_files_photo_id_array":[{"photo_id":"1394728207","filename":"file5"},{"photo_id":"1394728164","filename":"file2"},{"photo_id":"1394728206","filename":"file4"},{"photo_id":"1394728130","filename":"file1"},{"photo_id":"1394728126","filename":"file0"},{"photo_id":"1394728201","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728206":["hashtag1","hashtag2"]},{"1394728130":["hashtag1","hashtag2"]},{"1394728126":["hashtag1","hashtag2"]},{"1394728207":["hashtag1","hashtag2"]},{"1394728201":["hashtag1","hashtag2"]},{"1394728164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728206, 1394728130, 1394728126, 1394728207, 1394728201, 1394728164)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.7749547958374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:49:42.552393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_01_4446.jpg', '/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_08_2673.jpg', '/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_15_3827.jpg', '/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_20_3557.jpg', '/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_23_2640.jpg', '/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_32_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_01_4446.jpg
/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_08_2673.jpg
/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_15_3827.jpg
/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_20_3557.jpg
/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_23_2640.jpg
/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_32_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728221","1394728218","1394728220","1394728217","1394728216","1394728219"],"photo_ids_order":["1394728216","1394728217","1394728218","1394728219","1394728220","1394728221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f29e52af6b2f7f528ff9122d25fcd63c.jpg","text":"TemporaryFile(/tmp/multipartBody6585745114127822249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279443131,"filename":"image_16112025_08_35_32_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1194f3569ef1a05d1e3ba43a107290c4.jpg","text":"TemporaryFile(/tmp/multipartBody3873884063345906157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279443131,"filename":"image_16112025_08_35_15_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/552dd0c83cde21a37a07716ff55b5ba7.jpg","text":"TemporaryFile(/tmp/multipartBody5365412975386521256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279443131,"filename":"image_16112025_08_35_23_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/111a8c1ca08cb9ea7d42f9b4c446eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody3551542160612134775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279443131,"filename":"image_16112025_08_35_08_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e482a3d3631dc2a0fbef45aac26c4a6b.jpg","text":"TemporaryFile(/tmp/multipartBody719112763006381164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279443131,"filename":"image_16112025_08_35_01_4446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/724b01317b60c25346e56918a7724a8f.jpg","text":"TemporaryFile(/tmp/multipartBody4560373004424348009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279443131,"filename":"image_16112025_08_35_20_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728218","file1":"1394728217","file0":"1394728216","file4":"1394728220","file5":"1394728221","file3":"1394728219"},"map_files_photo_id_array":[{"photo_id":"1394728221","filename":"file5"},{"photo_id":"1394728218","filename":"file2"},{"photo_id":"1394728220","filename":"file4"},{"photo_id":"1394728217","filename":"file1"},{"photo_id":"1394728216","filename":"file0"},{"photo_id":"1394728219","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728221":["hashtag1","hashtag2"]},{"1394728218":["hashtag1","hashtag2"]},{"1394728220":["hashtag1","hashtag2"]},{"1394728217":["hashtag1","hashtag2"]},{"1394728216":["hashtag1","hashtag2"]},{"1394728219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728221, 1394728218, 1394728220, 1394728217, 1394728216, 1394728219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03811478614807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:50:32.194144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_47_3565.jpg', '/home/pi/Desktop/images/16112025/08/36/image_16112025_08_36_02_2873.jpg', '/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_08_3717.jpg', '/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_17_3577.jpg', '/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_26_2664.jpg', '/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_49_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/35/image_16112025_08_35_47_3565.jpg
/home/pi/Desktop/images/16112025/08/36/image_16112025_08_36_02_2873.jpg
/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_08_3717.jpg
/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_17_3577.jpg
/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_26_2664.jpg
/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_49_2520.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":["1394728232","1394728226","1394728229","1394728234","1394728228","1394728231"],"photo_ids_order":["1394728226","1394728228","1394728229","1394728231","1394728232","1394728234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e292254316c018db38f882eb069887e.jpg","text":"TemporaryFile(/tmp/multipartBody6719780287209178144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279492809,"filename":"image_16112025_08_37_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/11/16/7ac50f431ceb40382bb21254dd08d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody4365977812089660748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279492809,"filename":"image_16112025_08_35_47_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6331c4d18d6dca5eb9473598de9da215.jpg","text":"TemporaryFile(/tmp/multipartBody7481356253165389973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279492809,"filename":"image_16112025_08_37_08_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90b1d1b84e3caec6844b8d0a3ef24a59.jpg","text":"TemporaryFile(/tmp/multipartBody7651173081718238241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279492809,"filename":"image_16112025_08_37_49_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/187321f159b1f33c956babf87f947391.jpg","text":"TemporaryFile(/tmp/multipartBody8678677569036037494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279492809,"filename":"image_16112025_08_36_02_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a8676650d883a1dff11f192ed2ac05f.jpg","text":"TemporaryFile(/tmp/multipartBody7964557554164421720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279492809,"filename":"image_16112025_08_37_17_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728229","file1":"1394728228","file0":"1394728226","file4":"1394728232","file5":"1394728234","file3":"1394728231"},"map_files_photo_id_array":[{"photo_id":"1394728234","filename":"file5"},{"photo_id":"1394728229","filename":"file2"},{"photo_id":"1394728232","filename":"file4"},{"photo_id":"1394728228","filename":"file1"},{"photo_id":"1394728226","filename":"file0"},{"photo_id":"1394728231","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728232":["hashtag1","hashtag2"]},{"1394728226":["hashtag1","hashtag2"]},{"1394728229":["hashtag1","hashtag2"]},{"1394728234":["hashtag1","hashtag2"]},{"1394728228":["hashtag1","hashtag2"]},{"1394728231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728232, 1394728226, 1394728229, 1394728234, 1394728228, 1394728231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25235843658447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:51:22.764325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_53_3631.jpg', '/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_56_2708.jpg', '/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_58_2788.jpg', '/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_02_3570.jpg', '/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_05_2704.jpg', '/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_07_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_53_3631.jpg
/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_56_2708.jpg
/home/pi/Desktop/images/16112025/08/37/image_16112025_08_37_58_2788.jpg
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_02_3570.jpg
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_05_2704.jpg
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_07_2545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728251","1394728245","1394728244","1394728252","1394728246","1394728249"],"photo_ids_order":["1394728244","1394728245","1394728246","1394728249","1394728251","1394728252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c06c682f51131c96a7401219ba3a547.jpg","text":"TemporaryFile(/tmp/multipartBody3629631771510848437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279543348,"filename":"image_16112025_08_38_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/11/16/df4b9e34abb3d5284df53a539f4ac625.jpg","text":"TemporaryFile(/tmp/multipartBody3243890999026740019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279543348,"filename":"image_16112025_08_37_56_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/972b6e44659bb518545beefa4b4b87c7.jpg","text":"TemporaryFile(/tmp/multipartBody237065960372059858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279543348,"filename":"image_16112025_08_37_53_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33121a01382247308543b69f8b75a4aa.jpg","text":"TemporaryFile(/tmp/multipartBody719829107063973707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279543348,"filename":"image_16112025_08_38_07_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a87bf58db9d12fc636f131efa8f718dc.jpg","text":"TemporaryFile(/tmp/multipartBody7551203662471411179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279543348,"filename":"image_16112025_08_37_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/11/16/ec1ed52f0c22f91f574fc35ce8c659ed.jpg","text":"TemporaryFile(/tmp/multipartBody3221981468128891653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279543348,"filename":"image_16112025_08_38_02_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728246","file1":"1394728245","file0":"1394728244","file4":"1394728251","file5":"1394728252","file3":"1394728249"},"map_files_photo_id_array":[{"photo_id":"1394728252","filename":"file5"},{"photo_id":"1394728246","filename":"file2"},{"photo_id":"1394728251","filename":"file4"},{"photo_id":"1394728245","filename":"file1"},{"photo_id":"1394728244","filename":"file0"},{"photo_id":"1394728249","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728251":["hashtag1","hashtag2"]},{"1394728245":["hashtag1","hashtag2"]},{"1394728244":["hashtag1","hashtag2"]},{"1394728252":["hashtag1","hashtag2"]},{"1394728246":["hashtag1","hashtag2"]},{"1394728249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728251, 1394728245, 1394728244, 1394728252, 1394728246, 1394728249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54756212234497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:52:02.977729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_11_3676.jpg', '/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_14_2703.jpg', '/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_22_2484.jpg', '/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_44_3605.jpg', '/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_49_2668.jpg', '/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_58_2497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_11_3676.jpg
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_14_2703.jpg
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_22_2484.jpg
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_44_3605.jpg
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_49_2668.jpg
/home/pi/Desktop/images/16112025/08/38/image_16112025_08_38_58_2497.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728260","1394728254","1394728256","1394728253","1394728255","1394728258"],"photo_ids_order":["1394728253","1394728254","1394728255","1394728256","1394728258","1394728260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff12bb9ca5ed23cbf3796e91b8e7b835.jpg","text":"TemporaryFile(/tmp/multipartBody8711547605740441475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279583636,"filename":"image_16112025_08_38_58_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/120559ada20167e98b73f5b72b8c39af.jpg","text":"TemporaryFile(/tmp/multipartBody6995781205589311104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279583636,"filename":"image_16112025_08_38_14_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cea12eb2886f89550bb34bc432d5530.jpg","text":"TemporaryFile(/tmp/multipartBody7581007372939894771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279583636,"filename":"image_16112025_08_38_44_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a85b30aab8e189712034b86c57a29c8.jpg","text":"TemporaryFile(/tmp/multipartBody4480790228414497218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279583636,"filename":"image_16112025_08_38_11_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e0c92e9c0340ea2908f8cc928874c06.jpg","text":"TemporaryFile(/tmp/multipartBody5237391138781499384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279583636,"filename":"image_16112025_08_38_22_2484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc5dd6625e60f33569d68e401887a04d.jpg","text":"TemporaryFile(/tmp/multipartBody2471672713062591876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279583636,"filename":"image_16112025_08_38_49_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728255","file1":"1394728254","file0":"1394728253","file4":"1394728258","file5":"1394728260","file3":"1394728256"},"map_files_photo_id_array":[{"photo_id":"1394728260","filename":"file5"},{"photo_id":"1394728255","filename":"file2"},{"photo_id":"1394728258","filename":"file4"},{"photo_id":"1394728254","filename":"file1"},{"photo_id":"1394728253","filename":"file0"},{"photo_id":"1394728256","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728260":["hashtag1","hashtag2"]},{"1394728254":["hashtag1","hashtag2"]},{"1394728256":["hashtag1","hashtag2"]},{"1394728253":["hashtag1","hashtag2"]},{"1394728255":["hashtag1","hashtag2"]},{"1394728258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728260, 1394728254, 1394728256, 1394728253, 1394728255, 1394728258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.118518590927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:52:42.395204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_02_3590.jpg', '/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_04_2608.jpg', '/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_07_2628.jpg', '/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_13_2717.jpg', '/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_17_3592.jpg', '/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_20_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_02_3590.jpg
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_04_2608.jpg
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_07_2628.jpg
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_13_2717.jpg
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_17_3592.jpg
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_20_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728272","1394728269","1394728268","1394728271","1394728265","1394728270"],"photo_ids_order":["1394728265","1394728268","1394728269","1394728270","1394728271","1394728272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0580f18bbd5ad457024d0356c627a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody2613062532861270138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279622982,"filename":"image_16112025_08_39_20_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9964af129e9996327870c03d5fd7239e.jpg","text":"TemporaryFile(/tmp/multipartBody5531873402725215136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279622982,"filename":"image_16112025_08_39_07_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a8599de8c9661f36a7ed352db4c1dae.jpg","text":"TemporaryFile(/tmp/multipartBody7250218824002485587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279622982,"filename":"image_16112025_08_39_04_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/705cc46d8a462eadf7085b508078113d.jpg","text":"TemporaryFile(/tmp/multipartBody7097425826188873675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279622982,"filename":"image_16112025_08_39_17_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8dccc1b76dbf3a33ecf666826eff055d.jpg","text":"TemporaryFile(/tmp/multipartBody6294612036568219477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279622982,"filename":"image_16112025_08_39_02_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba8028575af763d40630e4de383a57d8.jpg","text":"TemporaryFile(/tmp/multipartBody1064542516676563386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279622982,"filename":"image_16112025_08_39_13_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728269","file1":"1394728268","file0":"1394728265","file4":"1394728271","file5":"1394728272","file3":"1394728270"},"map_files_photo_id_array":[{"photo_id":"1394728272","filename":"file5"},{"photo_id":"1394728269","filename":"file2"},{"photo_id":"1394728271","filename":"file4"},{"photo_id":"1394728268","filename":"file1"},{"photo_id":"1394728265","filename":"file0"},{"photo_id":"1394728270","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728272":["hashtag1","hashtag2"]},{"1394728269":["hashtag1","hashtag2"]},{"1394728268":["hashtag1","hashtag2"]},{"1394728271":["hashtag1","hashtag2"]},{"1394728265":["hashtag1","hashtag2"]},{"1394728270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728272, 1394728269, 1394728268, 1394728271, 1394728265, 1394728270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73481369018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:53:22.580288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_25_2617.jpg', '/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_29_3574.jpg', '/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_31_2645.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_04_2663.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_10_2569.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_26_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_25_2617.jpg
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_29_3574.jpg
/home/pi/Desktop/images/16112025/08/39/image_16112025_08_39_31_2645.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_04_2663.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_10_2569.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_26_3573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728287","1394728289","1394728283","1394728285","1394728288","1394728284"],"photo_ids_order":["1394728283","1394728284","1394728285","1394728287","1394728288","1394728289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af5ba3ecfca0ccae9b64114263456de5.jpg","text":"TemporaryFile(/tmp/multipartBody490520969150797745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279663169,"filename":"image_16112025_08_40_04_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81d27e89103f7980900ad32c74778faf.jpg","text":"TemporaryFile(/tmp/multipartBody1042834995540684376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279663169,"filename":"image_16112025_08_40_26_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a072d0da7cc094cf1cfd4b2a9443c3a.jpg","text":"TemporaryFile(/tmp/multipartBody2293939408279025060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279663169,"filename":"image_16112025_08_39_25_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83c6cfe42af64074ed96f2cacd992bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5202321706275376910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279663169,"filename":"image_16112025_08_39_31_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc336d0a5ff12df3eefc666dbaae8a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2170921574878544425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279663169,"filename":"image_16112025_08_40_10_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0936f250a89a1cf602481d5bc5144a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3627437691540248425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279663169,"filename":"image_16112025_08_39_29_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728285","file1":"1394728284","file0":"1394728283","file4":"1394728288","file5":"1394728289","file3":"1394728287"},"map_files_photo_id_array":[{"photo_id":"1394728289","filename":"file5"},{"photo_id":"1394728285","filename":"file2"},{"photo_id":"1394728288","filename":"file4"},{"photo_id":"1394728284","filename":"file1"},{"photo_id":"1394728283","filename":"file0"},{"photo_id":"1394728287","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728287":["hashtag1","hashtag2"]},{"1394728289":["hashtag1","hashtag2"]},{"1394728283":["hashtag1","hashtag2"]},{"1394728285":["hashtag1","hashtag2"]},{"1394728288":["hashtag1","hashtag2"]},{"1394728284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728287, 1394728289, 1394728283, 1394728285, 1394728288, 1394728284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.052513122558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:54:03.434452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_28_2556.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_32_3608.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_34_2638.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_41_3499.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_46_2556.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_49_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_28_2556.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_32_3608.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_34_2638.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_41_3499.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_46_2556.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_49_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728298","1394728292","1394728295","1394728291","1394728293","1394728290"],"photo_ids_order":["1394728290","1394728291","1394728292","1394728293","1394728295","1394728298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd71950aeec7aa66a14711cbe4e5e5f1.jpg","text":"TemporaryFile(/tmp/multipartBody4619271382701517646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279704100,"filename":"image_16112025_08_40_49_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/298b720b810955bb4ea1d53d4f1d0d7a.jpg","text":"TemporaryFile(/tmp/multipartBody8519046737691665929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279704100,"filename":"image_16112025_08_40_34_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c110573051c73aa4e9938378153349b.jpg","text":"TemporaryFile(/tmp/multipartBody4362558019133415763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279704100,"filename":"image_16112025_08_40_46_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b833f371a12aa53cb01ed9f188c3b466.jpg","text":"TemporaryFile(/tmp/multipartBody6505780198267666639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279704100,"filename":"image_16112025_08_40_32_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3beba9bb6a33f84fdc6c954232fd92e6.jpg","text":"TemporaryFile(/tmp/multipartBody7634864281054727601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279704100,"filename":"image_16112025_08_40_41_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26b925cd47772dad9f5e0ccd49eaf2aa.jpg","text":"TemporaryFile(/tmp/multipartBody6274975940483820041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279704100,"filename":"image_16112025_08_40_28_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728292","file1":"1394728291","file0":"1394728290","file4":"1394728295","file5":"1394728298","file3":"1394728293"},"map_files_photo_id_array":[{"photo_id":"1394728298","filename":"file5"},{"photo_id":"1394728292","filename":"file2"},{"photo_id":"1394728295","filename":"file4"},{"photo_id":"1394728291","filename":"file1"},{"photo_id":"1394728290","filename":"file0"},{"photo_id":"1394728293","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728298":["hashtag1","hashtag2"]},{"1394728292":["hashtag1","hashtag2"]},{"1394728295":["hashtag1","hashtag2"]},{"1394728291":["hashtag1","hashtag2"]},{"1394728293":["hashtag1","hashtag2"]},{"1394728290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728298, 1394728292, 1394728295, 1394728291, 1394728293, 1394728290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.142653703689575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:54:42.740925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_52_2629.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_56_3623.jpg', '/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_58_2701.jpg', '/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_07_2559.jpg', '/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_11_3647.jpg', '/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_20_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_52_2629.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_56_3623.jpg
/home/pi/Desktop/images/16112025/08/40/image_16112025_08_40_58_2701.jpg
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_07_2559.jpg
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_11_3647.jpg
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_20_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728308","1394728305","1394728307","1394728301","1394728303","1394728306"],"photo_ids_order":["1394728301","1394728303","1394728305","1394728306","1394728307","1394728308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f764a5f18ea33568673b142284d0457d.jpg","text":"TemporaryFile(/tmp/multipartBody4423113568312702031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279743328,"filename":"image_16112025_08_41_20_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3c7d18c5b54b5982e57261bdeb0800b.jpg","text":"TemporaryFile(/tmp/multipartBody349109789659525841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279743328,"filename":"image_16112025_08_40_58_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ef538c92193df9558d40c542d9a58e4.jpg","text":"TemporaryFile(/tmp/multipartBody5470645992507729145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279743328,"filename":"image_16112025_08_41_11_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43e8d6be639b596e6cf63b03ff51486b.jpg","text":"TemporaryFile(/tmp/multipartBody7104055899691173121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279743328,"filename":"image_16112025_08_40_52_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fe22f3984761c77f36aec5411e480ad.jpg","text":"TemporaryFile(/tmp/multipartBody8405956424412446061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279743328,"filename":"image_16112025_08_40_56_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bd7d0e76b6d7eeb19f6aad201d7698b.jpg","text":"TemporaryFile(/tmp/multipartBody2866401490955328829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279743328,"filename":"image_16112025_08_41_07_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728305","file1":"1394728303","file0":"1394728301","file4":"1394728307","file5":"1394728308","file3":"1394728306"},"map_files_photo_id_array":[{"photo_id":"1394728308","filename":"file5"},{"photo_id":"1394728305","filename":"file2"},{"photo_id":"1394728307","filename":"file4"},{"photo_id":"1394728303","filename":"file1"},{"photo_id":"1394728301","filename":"file0"},{"photo_id":"1394728306","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728308":["hashtag1","hashtag2"]},{"1394728305":["hashtag1","hashtag2"]},{"1394728307":["hashtag1","hashtag2"]},{"1394728301":["hashtag1","hashtag2"]},{"1394728303":["hashtag1","hashtag2"]},{"1394728306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728308, 1394728305, 1394728307, 1394728301, 1394728303, 1394728306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92435050010681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:55:21.952073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_26_3579.jpg', '/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_28_2591.jpg', '/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_35_3506.jpg', '/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_37_2739.jpg', '/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_53_3512.jpg', '/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_55_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_26_3579.jpg
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_28_2591.jpg
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_35_3506.jpg
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_37_2739.jpg
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_53_3512.jpg
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_55_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728326","1394728323","1394728319","1394728316","1394728321","1394728312"],"photo_ids_order":["1394728312","1394728316","1394728319","1394728321","1394728323","1394728326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fde9f076b0d693ba99f22a686ad578e8.jpg","text":"TemporaryFile(/tmp/multipartBody2290177627755201812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279782557,"filename":"image_16112025_08_41_55_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a4286aa88b36602457d2a2dd0b1de3a.jpg","text":"TemporaryFile(/tmp/multipartBody3371465201559956931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279782557,"filename":"image_16112025_08_41_53_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10abea43444a740732fc74a53f25634d.jpg","text":"TemporaryFile(/tmp/multipartBody8138337945426121391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279782557,"filename":"image_16112025_08_41_35_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00579ec2a2ca9ac91337c0566589df7f.jpg","text":"TemporaryFile(/tmp/multipartBody2791607784207809767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279782557,"filename":"image_16112025_08_41_28_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53ad11fb14072745b324ba8f16211ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1509034626065097910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279782557,"filename":"image_16112025_08_41_37_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3e2996efc4d02e3c04e7815aeb7c0a3.jpg","text":"TemporaryFile(/tmp/multipartBody6042130953509374436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279782557,"filename":"image_16112025_08_41_26_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728319","file1":"1394728316","file0":"1394728312","file4":"1394728323","file5":"1394728326","file3":"1394728321"},"map_files_photo_id_array":[{"photo_id":"1394728326","filename":"file5"},{"photo_id":"1394728319","filename":"file2"},{"photo_id":"1394728323","filename":"file4"},{"photo_id":"1394728316","filename":"file1"},{"photo_id":"1394728312","filename":"file0"},{"photo_id":"1394728321","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728326":["hashtag1","hashtag2"]},{"1394728323":["hashtag1","hashtag2"]},{"1394728319":["hashtag1","hashtag2"]},{"1394728316":["hashtag1","hashtag2"]},{"1394728321":["hashtag1","hashtag2"]},{"1394728312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728326, 1394728323, 1394728319, 1394728316, 1394728321, 1394728312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69807720184326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:56:02.711953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_58_2675.jpg', '/home/pi/Desktop/images/16112025/08/42/image_16112025_08_42_07_2777.jpg', '/home/pi/Desktop/images/16112025/08/42/image_16112025_08_42_58_2607.jpg', '/home/pi/Desktop/images/16112025/08/43/image_16112025_08_43_16_2620.jpg', '/home/pi/Desktop/images/16112025/08/43/image_16112025_08_43_19_2629.jpg', '/home/pi/Desktop/images/16112025/08/43/image_16112025_08_43_40_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/41/image_16112025_08_41_58_2675.jpg
/home/pi/Desktop/images/16112025/08/42/image_16112025_08_42_07_2777.jpg
/home/pi/Desktop/images/16112025/08/42/image_16112025_08_42_58_2607.jpg
/home/pi/Desktop/images/16112025/08/43/image_16112025_08_43_16_2620.jpg
/home/pi/Desktop/images/16112025/08/43/image_16112025_08_43_19_2629.jpg
/home/pi/Desktop/images/16112025/08/43/image_16112025_08_43_40_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728338","1394728335","1394728331","1394728328","1394728333","1394728342"],"photo_ids_order":["1394728328","1394728331","1394728333","1394728335","1394728338","1394728342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e6fca18442de24fd1ab530c8ef63721.jpg","text":"TemporaryFile(/tmp/multipartBody1731248454318990770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279823356,"filename":"image_16112025_08_43_19_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9810bbca5cbdb09bafc7c77ac0be0d07.jpg","text":"TemporaryFile(/tmp/multipartBody477324544246680874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279823356,"filename":"image_16112025_08_43_16_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9471b583e7ca79242fc8af1c24c351d4.jpg","text":"TemporaryFile(/tmp/multipartBody3207360334914068470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279823356,"filename":"image_16112025_08_42_07_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb2963fa667c77071993d501310d7cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4385234578169592660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279823356,"filename":"image_16112025_08_41_58_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9c33d808ddc24154f428265e8d35221.jpg","text":"TemporaryFile(/tmp/multipartBody2816990086579888113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279823356,"filename":"image_16112025_08_42_58_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e196c72a227a62179bbea88ddbd103da.jpg","text":"TemporaryFile(/tmp/multipartBody3624056552756268486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279823356,"filename":"image_16112025_08_43_40_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728333","file1":"1394728331","file0":"1394728328","file4":"1394728338","file5":"1394728342","file3":"1394728335"},"map_files_photo_id_array":[{"photo_id":"1394728342","filename":"file5"},{"photo_id":"1394728333","filename":"file2"},{"photo_id":"1394728338","filename":"file4"},{"photo_id":"1394728331","filename":"file1"},{"photo_id":"1394728328","filename":"file0"},{"photo_id":"1394728335","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728338":["hashtag1","hashtag2"]},{"1394728335":["hashtag1","hashtag2"]},{"1394728331":["hashtag1","hashtag2"]},{"1394728328":["hashtag1","hashtag2"]},{"1394728333":["hashtag1","hashtag2"]},{"1394728342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728338, 1394728335, 1394728331, 1394728328, 1394728333, 1394728342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47561573982239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:56:42.232148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/43/image_16112025_08_43_58_2730.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_01_2657.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_05_3691.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_10_2615.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_13_3572.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_19_3480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/43/image_16112025_08_43_58_2730.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_01_2657.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_05_3691.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_10_2615.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_13_3572.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_19_3480.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728479","1394728446","1394728512","1394728382","1394728349","1394728414"],"photo_ids_order":["1394728349","1394728382","1394728414","1394728446","1394728479","1394728512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f474774407dafc1165fa48b3681394e.jpg","text":"TemporaryFile(/tmp/multipartBody2221461732830484885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279862885,"filename":"image_16112025_08_44_13_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f7858a20e14aa0e10470c4a145605cc.jpg","text":"TemporaryFile(/tmp/multipartBody1558882936988393591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279862885,"filename":"image_16112025_08_44_10_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3434659316ea084082a22bdfeeda5c27.jpg","text":"TemporaryFile(/tmp/multipartBody2486121112361955487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279862885,"filename":"image_16112025_08_44_19_3480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd178d183beda94bdedd2bbc65a7010e.jpg","text":"TemporaryFile(/tmp/multipartBody3418675976447782386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279862885,"filename":"image_16112025_08_44_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/11/16/8b756aa56d1748a36207fee2774f84c9.jpg","text":"TemporaryFile(/tmp/multipartBody3725744453376544786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279862885,"filename":"image_16112025_08_43_58_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fef2a1b713ee71de996f260d9e3be783.jpg","text":"TemporaryFile(/tmp/multipartBody6618883895736846313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279862885,"filename":"image_16112025_08_44_05_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728414","file1":"1394728382","file0":"1394728349","file4":"1394728479","file5":"1394728512","file3":"1394728446"},"map_files_photo_id_array":[{"photo_id":"1394728512","filename":"file5"},{"photo_id":"1394728414","filename":"file2"},{"photo_id":"1394728479","filename":"file4"},{"photo_id":"1394728382","filename":"file1"},{"photo_id":"1394728349","filename":"file0"},{"photo_id":"1394728446","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728479":["hashtag1","hashtag2"]},{"1394728446":["hashtag1","hashtag2"]},{"1394728512":["hashtag1","hashtag2"]},{"1394728382":["hashtag1","hashtag2"]},{"1394728349":["hashtag1","hashtag2"]},{"1394728414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728479, 1394728446, 1394728512, 1394728382, 1394728349, 1394728414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54909014701843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 08:57:22.596366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_28_3864.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_31_2655.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_34_2517.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_43_3648.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_46_2592.jpg', '/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_51_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_28_3864.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_31_2655.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_34_2517.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_43_3648.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_46_2592.jpg
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_51_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394728676","1394728688","1394728675","1394728671","1394728674","1394728668"],"photo_ids_order":["1394728668","1394728671","1394728674","1394728675","1394728676","1394728688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/182a6de3658eab43b86e3e418585bae5.jpg","text":"TemporaryFile(/tmp/multipartBody1042296358499366383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279903213,"filename":"image_16112025_08_44_46_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74f411fc59afc55ec94242f80004a587.jpg","text":"TemporaryFile(/tmp/multipartBody3296467806107561490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279903213,"filename":"image_16112025_08_44_51_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eadd5732063601c0be276ca693b79b3c.jpg","text":"TemporaryFile(/tmp/multipartBody5582811764591746086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279903213,"filename":"image_16112025_08_44_43_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1e82edf5a7137c5e12e6bc1c2177574.jpg","text":"TemporaryFile(/tmp/multipartBody8114146323282812780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279903213,"filename":"image_16112025_08_44_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/11/16/61748edaf8d246932465de587986d5de.jpg","text":"TemporaryFile(/tmp/multipartBody7777526888408248157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279903213,"filename":"image_16112025_08_44_34_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d39b8ad87b0a31f00a7e912a7876f22d.jpg","text":"TemporaryFile(/tmp/multipartBody2427618799942369238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763279903213,"filename":"image_16112025_08_44_28_3864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394728674","file1":"1394728671","file0":"1394728668","file4":"1394728676","file5":"1394728688","file3":"1394728675"},"map_files_photo_id_array":[{"photo_id":"1394728688","filename":"file5"},{"photo_id":"1394728674","filename":"file2"},{"photo_id":"1394728676","filename":"file4"},{"photo_id":"1394728671","filename":"file1"},{"photo_id":"1394728668","filename":"file0"},{"photo_id":"1394728675","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394728676":["hashtag1","hashtag2"]},{"1394728688":["hashtag1","hashtag2"]},{"1394728675":["hashtag1","hashtag2"]},{"1394728671":["hashtag1","hashtag2"]},{"1394728674":["hashtag1","hashtag2"]},{"1394728668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394728676, 1394728688, 1394728675, 1394728671, 1394728674, 1394728668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.385032415390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 08:59:02.868899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_55_3776.jpg', '/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_09_2685.jpg', '/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_19_3570.jpg', '/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_25_3652.jpg', '/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_28_2611.jpg', '/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_31_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/44/image_16112025_08_44_55_3776.jpg
/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_09_2685.jpg
/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_19_3570.jpg
/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_25_3652.jpg
/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_28_2611.jpg
/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_31_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394729561","1394729486","1394729420","1394729722","1394729373","1394729628"],"photo_ids_order":["1394729373","1394729420","1394729486","1394729561","1394729628","1394729722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2ea2f0ec887b57fb817a1f916aef938.jpg","text":"TemporaryFile(/tmp/multipartBody978719585267838380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280003697,"filename":"image_16112025_08_45_25_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c52c44d5cd655a67b2b3bdd03f11bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4288331514956582904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280003697,"filename":"image_16112025_08_45_19_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e463a309306fa89a642a0791c88e3f2.jpg","text":"TemporaryFile(/tmp/multipartBody4183483244528179708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280003697,"filename":"image_16112025_08_45_09_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e715595e7ecaee7d3a9721cea0d49ba.jpg","text":"TemporaryFile(/tmp/multipartBody7777370187172182782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280003697,"filename":"image_16112025_08_45_31_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/190fb40671710d6a0855613eb8159f3a.jpg","text":"TemporaryFile(/tmp/multipartBody851216051238214664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280003697,"filename":"image_16112025_08_44_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/11/16/b6cff1a1932a531ca10bd3fd69b8d608.jpg","text":"TemporaryFile(/tmp/multipartBody943994509184204971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280003697,"filename":"image_16112025_08_45_28_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394729486","file1":"1394729420","file0":"1394729373","file4":"1394729628","file5":"1394729722","file3":"1394729561"},"map_files_photo_id_array":[{"photo_id":"1394729722","filename":"file5"},{"photo_id":"1394729486","filename":"file2"},{"photo_id":"1394729628","filename":"file4"},{"photo_id":"1394729420","filename":"file1"},{"photo_id":"1394729373","filename":"file0"},{"photo_id":"1394729561","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394729561":["hashtag1","hashtag2"]},{"1394729486":["hashtag1","hashtag2"]},{"1394729420":["hashtag1","hashtag2"]},{"1394729722":["hashtag1","hashtag2"]},{"1394729373":["hashtag1","hashtag2"]},{"1394729628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394729561, 1394729486, 1394729420, 1394729722, 1394729373, 1394729628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.495030879974365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 08:59:41.872191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_34_3666.jpg', '/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_39_2499.jpg', '/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_43_3694.jpg', '/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_07_11887.jpg', '/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_10_1602.jpg', '/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_25_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_34_3666.jpg
/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_39_2499.jpg
/home/pi/Desktop/images/16112025/08/45/image_16112025_08_45_43_3694.jpg
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_07_11887.jpg
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_10_1602.jpg
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_25_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730225","1394730359","1394730188","1394730085","1394730151","1394730297"],"photo_ids_order":["1394730085","1394730151","1394730188","1394730225","1394730297","1394730359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/565dbceb36746c52bb1993d5dc389954.jpg","text":"TemporaryFile(/tmp/multipartBody3962624678208954057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280042464,"filename":"image_16112025_08_46_07_11887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d06316c16b09e86f584bb16d0f5fb76.jpg","text":"TemporaryFile(/tmp/multipartBody7764992084105878183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280042464,"filename":"image_16112025_08_46_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/11/16/1bbd06966e9a4d722c920628ab37fdf7.jpg","text":"TemporaryFile(/tmp/multipartBody8469539853760022557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280042464,"filename":"image_16112025_08_45_43_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5e470a25e09fabcf1a497317df57276.jpg","text":"TemporaryFile(/tmp/multipartBody2099105712287976126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280042464,"filename":"image_16112025_08_45_34_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f48e4172d817639e9e697cfc3b8de7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5166914969065666749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280042464,"filename":"image_16112025_08_45_39_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6d184ec0110b3fdd6913113fbee7c31.jpg","text":"TemporaryFile(/tmp/multipartBody4201821212992948896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280042464,"filename":"image_16112025_08_46_10_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730188","file1":"1394730151","file0":"1394730085","file4":"1394730297","file5":"1394730359","file3":"1394730225"},"map_files_photo_id_array":[{"photo_id":"1394730359","filename":"file5"},{"photo_id":"1394730188","filename":"file2"},{"photo_id":"1394730297","filename":"file4"},{"photo_id":"1394730151","filename":"file1"},{"photo_id":"1394730085","filename":"file0"},{"photo_id":"1394730225","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730225":["hashtag1","hashtag2"]},{"1394730359":["hashtag1","hashtag2"]},{"1394730188":["hashtag1","hashtag2"]},{"1394730085":["hashtag1","hashtag2"]},{"1394730151":["hashtag1","hashtag2"]},{"1394730297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730225, 1394730359, 1394730188, 1394730085, 1394730151, 1394730297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34010934829712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:00:22.151526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_40_1649.jpg', '/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_43_2562.jpg', '/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_49_1855.jpg', '/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_52_2589.jpg', '/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_55_2762.jpg', '/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_57_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_40_1649.jpg
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_43_2562.jpg
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_49_1855.jpg
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_52_2589.jpg
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_55_2762.jpg
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_46_57_2523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730537","1394730603","1394730575","1394730499","1394730580","1394730616"],"photo_ids_order":["1394730499","1394730537","1394730575","1394730580","1394730603","1394730616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e64bb401e8e50c14cf572227c8b1ef24.jpg","text":"TemporaryFile(/tmp/multipartBody9167949530064817880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280082815,"filename":"image_16112025_08_46_43_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ada06ae714495cbca5f5f48c1473d5b.jpg","text":"TemporaryFile(/tmp/multipartBody5788456585126794516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280082815,"filename":"image_16112025_08_46_55_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9db10f7178603773ec8d80fafc135c38.jpg","text":"TemporaryFile(/tmp/multipartBody3945366424223714312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280082815,"filename":"image_16112025_08_46_49_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd4e0716ef1e77ff108cf37b41e35c47.jpg","text":"TemporaryFile(/tmp/multipartBody1373008390472436082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280082815,"filename":"image_16112025_08_46_40_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6be7d96b6d9ec7a5718a2d3701ce278.jpg","text":"TemporaryFile(/tmp/multipartBody6230673360251916306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280082815,"filename":"image_16112025_08_46_52_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d06fea01f8fcec01fdf81cba524fda42.jpg","text":"TemporaryFile(/tmp/multipartBody6837672129959754956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280082815,"filename":"image_16112025_08_46_57_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730575","file1":"1394730537","file0":"1394730499","file4":"1394730603","file5":"1394730616","file3":"1394730580"},"map_files_photo_id_array":[{"photo_id":"1394730616","filename":"file5"},{"photo_id":"1394730575","filename":"file2"},{"photo_id":"1394730603","filename":"file4"},{"photo_id":"1394730537","filename":"file1"},{"photo_id":"1394730499","filename":"file0"},{"photo_id":"1394730580","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730537":["hashtag1","hashtag2"]},{"1394730603":["hashtag1","hashtag2"]},{"1394730575":["hashtag1","hashtag2"]},{"1394730499":["hashtag1","hashtag2"]},{"1394730580":["hashtag1","hashtag2"]},{"1394730616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730537, 1394730603, 1394730575, 1394730499, 1394730580, 1394730616)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.646207094192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:01:23.456987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 09:01:49.429203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/46/image_16112025_08_47_01_3562.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_10_3215.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_13_2557.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_15_2631.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_19_3605.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_28_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/46/image_16112025_08_47_01_3562.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_10_3215.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_13_2557.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_15_2631.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_19_3605.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_28_3614.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":["1394730630","1394730627","1394730632","1394730629","1394730631","1394730628"],"photo_ids_order":["1394730627","1394730628","1394730629","1394730630","1394730631","1394730632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a8be419a7ab4792f5e6f28a473d891e.jpg","text":"TemporaryFile(/tmp/multipartBody8578108579638516822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280170024,"filename":"image_16112025_08_47_15_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/110988fd7b2e77cdf887f2ae18c60fac.jpg","text":"TemporaryFile(/tmp/multipartBody7634004359998450221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280170024,"filename":"image_16112025_08_47_01_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a40dba525a5ce63b4c6f226b9e71365.jpg","text":"TemporaryFile(/tmp/multipartBody1440490750701333368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280170024,"filename":"image_16112025_08_47_28_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecdef19c189faefe97e57760c17d96c4.jpg","text":"TemporaryFile(/tmp/multipartBody853828049553784745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280170024,"filename":"image_16112025_08_47_13_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d567ed02ad12be95fd780bc47c744ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6687498154020446868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280170024,"filename":"image_16112025_08_47_19_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99222e16789a5833151daea668c01169.jpg","text":"TemporaryFile(/tmp/multipartBody551973169219749212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280170024,"filename":"image_16112025_08_47_10_3215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730629","file1":"1394730628","file0":"1394730627","file4":"1394730631","file5":"1394730632","file3":"1394730630"},"map_files_photo_id_array":[{"photo_id":"1394730632","filename":"file5"},{"photo_id":"1394730629","filename":"file2"},{"photo_id":"1394730631","filename":"file4"},{"photo_id":"1394730628","filename":"file1"},{"photo_id":"1394730627","filename":"file0"},{"photo_id":"1394730630","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730630":["hashtag1","hashtag2"]},{"1394730627":["hashtag1","hashtag2"]},{"1394730632":["hashtag1","hashtag2"]},{"1394730629":["hashtag1","hashtag2"]},{"1394730631":["hashtag1","hashtag2"]},{"1394730628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730630, 1394730627, 1394730632, 1394730629, 1394730631, 1394730628)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.67886734008789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:03:02.589625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 09:03:21.986745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_31_2695.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_39_2599.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_43_3647.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_49_5634.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_52_2950.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_55_1535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_31_2695.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_39_2599.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_43_3647.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_49_5634.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_52_2950.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_55_1535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730645","1394730648","1394730641","1394730647","1394730646","1394730643"],"photo_ids_order":["1394730641","1394730643","1394730645","1394730646","1394730647","1394730648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/daaf02e97e4bf3d0fd7ab9f6b4384bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6388371047193697004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280262613,"filename":"image_16112025_08_47_43_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96189f3aaeee1b821e4081f19c319ddd.jpg","text":"TemporaryFile(/tmp/multipartBody6048615784031309514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280262613,"filename":"image_16112025_08_47_55_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c0ad9433eb232211ff6b0fd8ca5606c.jpg","text":"TemporaryFile(/tmp/multipartBody6566258734881864612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280262613,"filename":"image_16112025_08_47_31_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bccd8e60e2e314547d122426be663bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7823340226362078176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280262613,"filename":"image_16112025_08_47_52_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62a6174942b5772d05ca95e6a0b45691.jpg","text":"TemporaryFile(/tmp/multipartBody7080830655097316526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280262613,"filename":"image_16112025_08_47_49_5634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcb35c088e48ef155558db9bccea4f89.jpg","text":"TemporaryFile(/tmp/multipartBody3943643362370595035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280262613,"filename":"image_16112025_08_47_39_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730645","file1":"1394730643","file0":"1394730641","file4":"1394730647","file5":"1394730648","file3":"1394730646"},"map_files_photo_id_array":[{"photo_id":"1394730648","filename":"file5"},{"photo_id":"1394730645","filename":"file2"},{"photo_id":"1394730647","filename":"file4"},{"photo_id":"1394730643","filename":"file1"},{"photo_id":"1394730641","filename":"file0"},{"photo_id":"1394730646","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730645":["hashtag1","hashtag2"]},{"1394730648":["hashtag1","hashtag2"]},{"1394730641":["hashtag1","hashtag2"]},{"1394730647":["hashtag1","hashtag2"]},{"1394730646":["hashtag1","hashtag2"]},{"1394730643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730645, 1394730648, 1394730641, 1394730647, 1394730646, 1394730643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41375279426575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:04:02.870970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_57_2611.jpg', '/home/pi/Desktop/images/16112025/08/47/image_16112025_08_48_01_3570.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_03_2590.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_07_3583.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_10_2513.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_12_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_47_57_2611.jpg
/home/pi/Desktop/images/16112025/08/47/image_16112025_08_48_01_3570.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_03_2590.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_07_3583.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_10_2513.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_12_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730654","1394730650","1394730652","1394730655","1394730660","1394730657"],"photo_ids_order":["1394730650","1394730652","1394730654","1394730655","1394730657","1394730660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd4c2bde6562a3ca65700b2bac5ead94.jpg","text":"TemporaryFile(/tmp/multipartBody1302794508671232858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280303557,"filename":"image_16112025_08_48_03_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/794e8cb4df8189055d94231043956e28.jpg","text":"TemporaryFile(/tmp/multipartBody3612506741177270162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280303557,"filename":"image_16112025_08_47_57_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/331b6323192fc123fd3eee2d8abf4c0c.jpg","text":"TemporaryFile(/tmp/multipartBody323032935193327449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280303557,"filename":"image_16112025_08_48_01_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc3ff8d025766941d995c2b95aafc81b.jpg","text":"TemporaryFile(/tmp/multipartBody1594745285217438078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280303557,"filename":"image_16112025_08_48_07_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2b07838e323ece5ff708839bbcd0671.jpg","text":"TemporaryFile(/tmp/multipartBody8806920706579968176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280303557,"filename":"image_16112025_08_48_12_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2f42ec1180fbfb764f41d67c38bef72.jpg","text":"TemporaryFile(/tmp/multipartBody2484166720087560439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280303557,"filename":"image_16112025_08_48_10_2513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730654","file1":"1394730652","file0":"1394730650","file4":"1394730657","file5":"1394730660","file3":"1394730655"},"map_files_photo_id_array":[{"photo_id":"1394730660","filename":"file5"},{"photo_id":"1394730654","filename":"file2"},{"photo_id":"1394730657","filename":"file4"},{"photo_id":"1394730652","filename":"file1"},{"photo_id":"1394730650","filename":"file0"},{"photo_id":"1394730655","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730654":["hashtag1","hashtag2"]},{"1394730650":["hashtag1","hashtag2"]},{"1394730652":["hashtag1","hashtag2"]},{"1394730655":["hashtag1","hashtag2"]},{"1394730660":["hashtag1","hashtag2"]},{"1394730657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730654, 1394730650, 1394730652, 1394730655, 1394730660, 1394730657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.958325147628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:04:42.231499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_16_3685.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_19_2746.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_21_2697.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_25_3745.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_28_2529.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_31_2911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_16_3685.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_19_2746.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_21_2697.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_25_3745.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_28_2529.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_31_2911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730666","1394730668","1394730665","1394730667","1394730669","1394730663"],"photo_ids_order":["1394730663","1394730665","1394730666","1394730667","1394730668","1394730669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59ec5e4a6c61a377fe099cfc230ffd21.jpg","text":"TemporaryFile(/tmp/multipartBody4008488892077164423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280342929,"filename":"image_16112025_08_48_21_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d9bb5ba32be72977eb103c3c3105ce6.jpg","text":"TemporaryFile(/tmp/multipartBody2203395338389719725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280342929,"filename":"image_16112025_08_48_28_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ab0c154e7f3b171c7577c1f812c0d34.jpg","text":"TemporaryFile(/tmp/multipartBody7232523878682933568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280342929,"filename":"image_16112025_08_48_19_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/704a50f5e116ab6d1076399ea00a97d6.jpg","text":"TemporaryFile(/tmp/multipartBody9150037551668340057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280342929,"filename":"image_16112025_08_48_25_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3815331f4776bc3ec79424c3c8d81d0.jpg","text":"TemporaryFile(/tmp/multipartBody3695595122782217419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280342929,"filename":"image_16112025_08_48_31_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8d1a234060a597bbbeab81def908556.jpg","text":"TemporaryFile(/tmp/multipartBody6550523534170701406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280342929,"filename":"image_16112025_08_48_16_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730666","file1":"1394730665","file0":"1394730663","file4":"1394730668","file5":"1394730669","file3":"1394730667"},"map_files_photo_id_array":[{"photo_id":"1394730669","filename":"file5"},{"photo_id":"1394730666","filename":"file2"},{"photo_id":"1394730668","filename":"file4"},{"photo_id":"1394730665","filename":"file1"},{"photo_id":"1394730663","filename":"file0"},{"photo_id":"1394730667","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730666":["hashtag1","hashtag2"]},{"1394730668":["hashtag1","hashtag2"]},{"1394730665":["hashtag1","hashtag2"]},{"1394730667":["hashtag1","hashtag2"]},{"1394730669":["hashtag1","hashtag2"]},{"1394730663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730666, 1394730668, 1394730665, 1394730667, 1394730669, 1394730663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9195761680603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:05:22.374986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_33_2574.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_37_3631.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_39_2592.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_43_3579.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_45_2592.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_48_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_33_2574.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_37_3631.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_39_2592.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_43_3579.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_45_2592.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_48_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730672","1394730680","1394730682","1394730675","1394730684","1394730678"],"photo_ids_order":["1394730672","1394730675","1394730678","1394730680","1394730682","1394730684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3e067f13031ab3c1be75e06914e721d.jpg","text":"TemporaryFile(/tmp/multipartBody8019341536467221185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280382979,"filename":"image_16112025_08_48_33_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/501d4e40d442bc4ec28de15c2ce1a4ae.jpg","text":"TemporaryFile(/tmp/multipartBody3822007209151680280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280382979,"filename":"image_16112025_08_48_43_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e28148ee5572aae915d656e330dd1fd3.jpg","text":"TemporaryFile(/tmp/multipartBody8892526360875188987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280382979,"filename":"image_16112025_08_48_45_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/947f3113eab37bd245b298acff97c27b.jpg","text":"TemporaryFile(/tmp/multipartBody4565298650298140880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280382979,"filename":"image_16112025_08_48_37_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0829be8406becf2df8e1fc6f735e071c.jpg","text":"TemporaryFile(/tmp/multipartBody8264141506306820394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280382979,"filename":"image_16112025_08_48_48_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/430075e9b698210ca8d72bce6d8753ca.jpg","text":"TemporaryFile(/tmp/multipartBody9215103924859008090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280382979,"filename":"image_16112025_08_48_39_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730678","file1":"1394730675","file0":"1394730672","file4":"1394730682","file5":"1394730684","file3":"1394730680"},"map_files_photo_id_array":[{"photo_id":"1394730684","filename":"file5"},{"photo_id":"1394730678","filename":"file2"},{"photo_id":"1394730682","filename":"file4"},{"photo_id":"1394730675","filename":"file1"},{"photo_id":"1394730672","filename":"file0"},{"photo_id":"1394730680","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730672":["hashtag1","hashtag2"]},{"1394730680":["hashtag1","hashtag2"]},{"1394730682":["hashtag1","hashtag2"]},{"1394730675":["hashtag1","hashtag2"]},{"1394730684":["hashtag1","hashtag2"]},{"1394730678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730672, 1394730680, 1394730682, 1394730675, 1394730684, 1394730678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.683146476745605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:06:03.110449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_52_3621.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_55_2682.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_57_2752.jpg', '/home/pi/Desktop/images/16112025/08/48/image_16112025_08_49_00_2733.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_04_3546.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_19_14955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_52_3621.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_55_2682.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_48_57_2752.jpg
/home/pi/Desktop/images/16112025/08/48/image_16112025_08_49_00_2733.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_04_3546.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_19_14955.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730686","1394730689","1394730694","1394730691","1394730687","1394730699"],"photo_ids_order":["1394730686","1394730687","1394730689","1394730691","1394730694","1394730699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2716eee95474322e9960c2e3cc313f66.jpg","text":"TemporaryFile(/tmp/multipartBody4622687271482187842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280423788,"filename":"image_16112025_08_48_52_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f30d53f4bdd395eb5d550a06f89b6919.jpg","text":"TemporaryFile(/tmp/multipartBody3465138535266679858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280423788,"filename":"image_16112025_08_48_57_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66fd9fde06c86fd47570048a1cb37275.jpg","text":"TemporaryFile(/tmp/multipartBody8047701443603902838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280423788,"filename":"image_16112025_08_49_04_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66eafe1d700813e1b67f8f33e14a2b91.jpg","text":"TemporaryFile(/tmp/multipartBody2691624043984661767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280423788,"filename":"image_16112025_08_49_00_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48b0b10f206ad4d71f1c5875fb74cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody358364179428213046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280423788,"filename":"image_16112025_08_48_55_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ff6e433e85d8c0381b2facb933b2fcd.jpg","text":"TemporaryFile(/tmp/multipartBody8443550870715596141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280423788,"filename":"image_16112025_08_49_19_14955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730689","file1":"1394730687","file0":"1394730686","file4":"1394730694","file5":"1394730699","file3":"1394730691"},"map_files_photo_id_array":[{"photo_id":"1394730699","filename":"file5"},{"photo_id":"1394730689","filename":"file2"},{"photo_id":"1394730694","filename":"file4"},{"photo_id":"1394730687","filename":"file1"},{"photo_id":"1394730686","filename":"file0"},{"photo_id":"1394730691","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730686":["hashtag1","hashtag2"]},{"1394730689":["hashtag1","hashtag2"]},{"1394730694":["hashtag1","hashtag2"]},{"1394730691":["hashtag1","hashtag2"]},{"1394730687":["hashtag1","hashtag2"]},{"1394730699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730686, 1394730689, 1394730694, 1394730691, 1394730687, 1394730699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44925141334534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:06:42.769949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_22_3393.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_24_1575.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_25_1583.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_27_1568.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_28_1749.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_30_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_22_3393.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_24_1575.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_25_1583.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_27_1568.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_28_1749.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_30_1655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730711","1394730717","1394730716","1394730713","1394730715","1394730709"],"photo_ids_order":["1394730709","1394730711","1394730713","1394730715","1394730716","1394730717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1246b1d0496e38dd726b18162770762.jpg","text":"TemporaryFile(/tmp/multipartBody8527472870876207126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280463406,"filename":"image_16112025_08_49_24_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9a9a81f8e1b503daadac3f4219649fc.jpg","text":"TemporaryFile(/tmp/multipartBody6969141015203175043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280463406,"filename":"image_16112025_08_49_30_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aff6293807dbb7207fa4edb027b6bbdc.jpg","text":"TemporaryFile(/tmp/multipartBody7640064330490162434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280463406,"filename":"image_16112025_08_49_28_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/352bb97db0d564e2c8bb5db8824fda8f.jpg","text":"TemporaryFile(/tmp/multipartBody9144123779216680219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280463406,"filename":"image_16112025_08_49_25_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7cfc745aed5d798128938ff4693dfd7.jpg","text":"TemporaryFile(/tmp/multipartBody224696632819507020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280463406,"filename":"image_16112025_08_49_27_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/560a80f3b9395b9d30aba9bdccce3cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1944898463649697286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280463406,"filename":"image_16112025_08_49_22_3393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730713","file1":"1394730711","file0":"1394730709","file4":"1394730716","file5":"1394730717","file3":"1394730715"},"map_files_photo_id_array":[{"photo_id":"1394730717","filename":"file5"},{"photo_id":"1394730713","filename":"file2"},{"photo_id":"1394730716","filename":"file4"},{"photo_id":"1394730711","filename":"file1"},{"photo_id":"1394730709","filename":"file0"},{"photo_id":"1394730715","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730711":["hashtag1","hashtag2"]},{"1394730717":["hashtag1","hashtag2"]},{"1394730716":["hashtag1","hashtag2"]},{"1394730713":["hashtag1","hashtag2"]},{"1394730715":["hashtag1","hashtag2"]},{"1394730709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730711, 1394730717, 1394730716, 1394730713, 1394730715, 1394730709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8543267250061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:07:22.087968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_32_1538.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_41_9758.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_43_1803.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_47_4157.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_49_1720.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_51_1512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_32_1538.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_41_9758.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_43_1803.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_47_4157.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_49_1720.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_51_1512.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730726","1394730729","1394730728","1394730731","1394730721","1394730724"],"photo_ids_order":["1394730721","1394730724","1394730726","1394730728","1394730729","1394730731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3b461c6bb07b0b0d446fe00375ab3e5.jpg","text":"TemporaryFile(/tmp/multipartBody1879935848215352814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280502721,"filename":"image_16112025_08_49_43_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4ac8f0fb824af4e75eadb13f2082d6c.jpg","text":"TemporaryFile(/tmp/multipartBody3824820332826966370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280502721,"filename":"image_16112025_08_49_49_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5c01e16d7cce7f3ce4e1b8b7fe6fa92.jpg","text":"TemporaryFile(/tmp/multipartBody5346832281369640315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280502721,"filename":"image_16112025_08_49_47_4157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01be2d98ceb840c009ae3e7fd76a05c9.jpg","text":"TemporaryFile(/tmp/multipartBody3883301047676102873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280502721,"filename":"image_16112025_08_49_51_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d63bebf51e550d0c830447ed70d58d5.jpg","text":"TemporaryFile(/tmp/multipartBody5555557083250570437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280502721,"filename":"image_16112025_08_49_32_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bf8181959d1622e3665aea089da9025.jpg","text":"TemporaryFile(/tmp/multipartBody1743668246192621075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280502721,"filename":"image_16112025_08_49_41_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730726","file1":"1394730724","file0":"1394730721","file4":"1394730729","file5":"1394730731","file3":"1394730728"},"map_files_photo_id_array":[{"photo_id":"1394730731","filename":"file5"},{"photo_id":"1394730726","filename":"file2"},{"photo_id":"1394730729","filename":"file4"},{"photo_id":"1394730724","filename":"file1"},{"photo_id":"1394730721","filename":"file0"},{"photo_id":"1394730728","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730726":["hashtag1","hashtag2"]},{"1394730729":["hashtag1","hashtag2"]},{"1394730728":["hashtag1","hashtag2"]},{"1394730731":["hashtag1","hashtag2"]},{"1394730721":["hashtag1","hashtag2"]},{"1394730724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730726, 1394730729, 1394730728, 1394730731, 1394730721, 1394730724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.663665771484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:08:02.780021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_52_1646.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_54_1638.jpg', '/home/pi/Desktop/images/16112025/08/49/image_16112025_08_50_00_6470.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_03_3127.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_05_1627.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_07_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_52_1646.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_49_54_1638.jpg
/home/pi/Desktop/images/16112025/08/49/image_16112025_08_50_00_6470.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_03_3127.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_05_1627.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_07_1545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730735","1394730746","1394730734","1394730737","1394730739","1394730742"],"photo_ids_order":["1394730734","1394730735","1394730737","1394730739","1394730742","1394730746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4f52593ebfbfddac5991e16be4807e5.jpg","text":"TemporaryFile(/tmp/multipartBody8646979180861744090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280543488,"filename":"image_16112025_08_49_54_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb5a5228007ef40f1a4ddec4b04e7238.jpg","text":"TemporaryFile(/tmp/multipartBody4970774563225116843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280543488,"filename":"image_16112025_08_50_07_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0664e6e9994eac88a02a711a4056f6ba.jpg","text":"TemporaryFile(/tmp/multipartBody4810698941851267297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280543488,"filename":"image_16112025_08_49_52_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ad45ffe4193bf8f9b002754d341f867.jpg","text":"TemporaryFile(/tmp/multipartBody6098112657358182733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280543488,"filename":"image_16112025_08_50_00_6470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cbbae252d0482d85ba679ca84a01d84.jpg","text":"TemporaryFile(/tmp/multipartBody3436158321193449520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280543488,"filename":"image_16112025_08_50_03_3127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6c158f00b9de9ba5b9b122882e7990b.jpg","text":"TemporaryFile(/tmp/multipartBody2241460726904268860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280543488,"filename":"image_16112025_08_50_05_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730737","file1":"1394730735","file0":"1394730734","file4":"1394730742","file5":"1394730746","file3":"1394730739"},"map_files_photo_id_array":[{"photo_id":"1394730746","filename":"file5"},{"photo_id":"1394730737","filename":"file2"},{"photo_id":"1394730742","filename":"file4"},{"photo_id":"1394730735","filename":"file1"},{"photo_id":"1394730734","filename":"file0"},{"photo_id":"1394730739","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730735":["hashtag1","hashtag2"]},{"1394730746":["hashtag1","hashtag2"]},{"1394730734":["hashtag1","hashtag2"]},{"1394730737":["hashtag1","hashtag2"]},{"1394730739":["hashtag1","hashtag2"]},{"1394730742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730735, 1394730746, 1394730734, 1394730737, 1394730739, 1394730742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17523002624512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:08:42.243330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_09_2601.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_11_1696.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_13_1597.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_14_1732.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_16_1568.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_19_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_09_2601.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_11_1696.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_13_1597.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_14_1732.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_16_1568.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_19_2780.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.5352635383605957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:09:03.317441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_09_2601.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_11_1696.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_13_1597.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_14_1732.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_16_1568.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_19_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_09_2601.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_11_1696.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_13_1597.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_14_1732.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_16_1568.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_19_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730764","1394730773","1394730761","1394730766","1394730769","1394730762"],"photo_ids_order":["1394730761","1394730762","1394730764","1394730766","1394730769","1394730773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff347f8bd09379dc267a23f8776a0a51.jpg","text":"TemporaryFile(/tmp/multipartBody3558421529574861926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280604105,"filename":"image_16112025_08_50_13_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e61b146c130e7a8db9a4677101dc1dbf.jpg","text":"TemporaryFile(/tmp/multipartBody8021586782296798329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280604105,"filename":"image_16112025_08_50_19_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5049ff74d8d16f6f7b385357b36c8dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2104627207770792791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280604105,"filename":"image_16112025_08_50_09_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e2ab535ec1c284d7b85f6fd0c44b02d.jpg","text":"TemporaryFile(/tmp/multipartBody6653581981288123582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280604105,"filename":"image_16112025_08_50_14_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd3c64078f20f6cdb04b710b384aa9ba.jpg","text":"TemporaryFile(/tmp/multipartBody6623858544070934452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280604105,"filename":"image_16112025_08_50_16_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ddc49c28dfa2a0a623258ef8d389e21e.jpg","text":"TemporaryFile(/tmp/multipartBody3529406487483082465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280604105,"filename":"image_16112025_08_50_11_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730764","file1":"1394730762","file0":"1394730761","file4":"1394730769","file5":"1394730773","file3":"1394730766"},"map_files_photo_id_array":[{"photo_id":"1394730773","filename":"file5"},{"photo_id":"1394730764","filename":"file2"},{"photo_id":"1394730769","filename":"file4"},{"photo_id":"1394730762","filename":"file1"},{"photo_id":"1394730761","filename":"file0"},{"photo_id":"1394730766","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730764":["hashtag1","hashtag2"]},{"1394730773":["hashtag1","hashtag2"]},{"1394730761":["hashtag1","hashtag2"]},{"1394730766":["hashtag1","hashtag2"]},{"1394730769":["hashtag1","hashtag2"]},{"1394730762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730764, 1394730773, 1394730761, 1394730766, 1394730769, 1394730762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18426585197449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:09:42.520448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_21_2703.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_27_2904.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_30_2669.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_34_3690.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_38_3739.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_39_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_21_2703.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_27_2904.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_30_2669.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_34_3690.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_38_3739.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_39_1603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730782","1394730779","1394730784","1394730786","1394730783","1394730777"],"photo_ids_order":["1394730777","1394730779","1394730782","1394730783","1394730784","1394730786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/016f5cec37de87e7df1991e874e5b6c3.jpg","text":"TemporaryFile(/tmp/multipartBody441468028656957663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280643132,"filename":"image_16112025_08_50_30_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/548af93ab3739c85c49c73ca7d4d2906.jpg","text":"TemporaryFile(/tmp/multipartBody4296231993118906254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280643132,"filename":"image_16112025_08_50_27_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c52373a5141db57ed456c7229afb80a.jpg","text":"TemporaryFile(/tmp/multipartBody6112768406971664944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280643132,"filename":"image_16112025_08_50_38_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/743677f3f18a93c4c089c617b5b8ad84.jpg","text":"TemporaryFile(/tmp/multipartBody6641343692209852980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280643132,"filename":"image_16112025_08_50_39_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47a842ce7048c0dd94febbf18d583771.jpg","text":"TemporaryFile(/tmp/multipartBody3568001877388943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280643132,"filename":"image_16112025_08_50_34_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9551642e0e0887c6777b0a8796138954.jpg","text":"TemporaryFile(/tmp/multipartBody112665555239264138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280643132,"filename":"image_16112025_08_50_21_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730782","file1":"1394730779","file0":"1394730777","file4":"1394730784","file5":"1394730786","file3":"1394730783"},"map_files_photo_id_array":[{"photo_id":"1394730786","filename":"file5"},{"photo_id":"1394730782","filename":"file2"},{"photo_id":"1394730784","filename":"file4"},{"photo_id":"1394730779","filename":"file1"},{"photo_id":"1394730777","filename":"file0"},{"photo_id":"1394730783","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730782":["hashtag1","hashtag2"]},{"1394730779":["hashtag1","hashtag2"]},{"1394730784":["hashtag1","hashtag2"]},{"1394730786":["hashtag1","hashtag2"]},{"1394730783":["hashtag1","hashtag2"]},{"1394730777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730782, 1394730779, 1394730784, 1394730786, 1394730783, 1394730777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08409786224365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:10:22.920156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_43_3545.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_45_2690.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_51_5986.jpg', '/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_57_5776.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_12_14748.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_14_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_43_3545.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_45_2690.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_51_5986.jpg
/home/pi/Desktop/images/16112025/08/50/image_16112025_08_50_57_5776.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_12_14748.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_14_1637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730797","1394730794","1394730793","1394730796","1394730799","1394730795"],"photo_ids_order":["1394730793","1394730794","1394730795","1394730796","1394730797","1394730799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8188fbf5cdd788df5fb295f6df3919c0.jpg","text":"TemporaryFile(/tmp/multipartBody3677438254880917417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280683569,"filename":"image_16112025_08_51_12_14748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/856049d48013956817d628485ac61acb.jpg","text":"TemporaryFile(/tmp/multipartBody4752778133815990766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280683569,"filename":"image_16112025_08_50_45_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d920616924a276da5bec3fe0c688bff8.jpg","text":"TemporaryFile(/tmp/multipartBody1993851531185453914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280683569,"filename":"image_16112025_08_50_43_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/366e34c1ca7c74b862695776f53a1a17.jpg","text":"TemporaryFile(/tmp/multipartBody6477467571553515588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280683569,"filename":"image_16112025_08_50_57_5776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/897b98549995c519e67176e50c889b9a.jpg","text":"TemporaryFile(/tmp/multipartBody8511512263776502263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280683569,"filename":"image_16112025_08_51_14_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3efe3e4df0436b63bd99672c864d8685.jpg","text":"TemporaryFile(/tmp/multipartBody6675676745024425660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280683569,"filename":"image_16112025_08_50_51_5986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730795","file1":"1394730794","file0":"1394730793","file4":"1394730797","file5":"1394730799","file3":"1394730796"},"map_files_photo_id_array":[{"photo_id":"1394730799","filename":"file5"},{"photo_id":"1394730795","filename":"file2"},{"photo_id":"1394730797","filename":"file4"},{"photo_id":"1394730794","filename":"file1"},{"photo_id":"1394730793","filename":"file0"},{"photo_id":"1394730796","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730797":["hashtag1","hashtag2"]},{"1394730794":["hashtag1","hashtag2"]},{"1394730793":["hashtag1","hashtag2"]},{"1394730796":["hashtag1","hashtag2"]},{"1394730799":["hashtag1","hashtag2"]},{"1394730795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730797, 1394730794, 1394730793, 1394730796, 1394730799, 1394730795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97677516937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:11:02.542157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_15_1733.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_17_1691.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_21_4184.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_23_1864.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_25_1585.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_32_7408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_15_1733.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_17_1691.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_21_4184.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_23_1864.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_25_1585.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_32_7408.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730801","1394730803","1394730800","1394730808","1394730802","1394730805"],"photo_ids_order":["1394730800","1394730801","1394730802","1394730803","1394730805","1394730808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64a7358396de36f2c6a8b7b430325221.jpg","text":"TemporaryFile(/tmp/multipartBody1246739922819585071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280723252,"filename":"image_16112025_08_51_17_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e578b060ec2edcfdfc194465fa19c23a.jpg","text":"TemporaryFile(/tmp/multipartBody5766503259276540226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280723252,"filename":"image_16112025_08_51_23_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d53750e3b2f8013bd17814df1dd57d61.jpg","text":"TemporaryFile(/tmp/multipartBody8322017312486539719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280723252,"filename":"image_16112025_08_51_15_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ddeae080161fcb4acdbfe4725376654e.jpg","text":"TemporaryFile(/tmp/multipartBody3628159815729245350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280723252,"filename":"image_16112025_08_51_32_7408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbbc6f339f9700676f7b194ae3b77268.jpg","text":"TemporaryFile(/tmp/multipartBody8101936884290939006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280723252,"filename":"image_16112025_08_51_21_4184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb176e7eafbd8808de39469289884758.jpg","text":"TemporaryFile(/tmp/multipartBody2333729448550203170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280723252,"filename":"image_16112025_08_51_25_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730802","file1":"1394730801","file0":"1394730800","file4":"1394730805","file5":"1394730808","file3":"1394730803"},"map_files_photo_id_array":[{"photo_id":"1394730808","filename":"file5"},{"photo_id":"1394730802","filename":"file2"},{"photo_id":"1394730805","filename":"file4"},{"photo_id":"1394730801","filename":"file1"},{"photo_id":"1394730800","filename":"file0"},{"photo_id":"1394730803","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730801":["hashtag1","hashtag2"]},{"1394730803":["hashtag1","hashtag2"]},{"1394730800":["hashtag1","hashtag2"]},{"1394730808":["hashtag1","hashtag2"]},{"1394730802":["hashtag1","hashtag2"]},{"1394730805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730801, 1394730803, 1394730800, 1394730808, 1394730802, 1394730805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59964895248413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:11:42.030632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_35_2990.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_37_1648.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_38_1701.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_40_1547.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_42_1750.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_57_15205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_35_2990.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_37_1648.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_38_1701.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_40_1547.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_42_1750.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_57_15205.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730819","1394730816","1394730818","1394730812","1394730814","1394730817"],"photo_ids_order":["1394730812","1394730814","1394730816","1394730817","1394730818","1394730819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38a7d489ec1be83fef4140337e1a2341.jpg","text":"TemporaryFile(/tmp/multipartBody3790718126927794490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280762652,"filename":"image_16112025_08_51_57_15205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63205c785f5da3c5a6d533fd38b91d00.jpg","text":"TemporaryFile(/tmp/multipartBody7164394585008772067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280762652,"filename":"image_16112025_08_51_38_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d1ae1cdba1011edd36822dfa657ec76.jpg","text":"TemporaryFile(/tmp/multipartBody5213542082887061008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280762652,"filename":"image_16112025_08_51_42_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5979bc29c6b27830ee47e48d0274582a.jpg","text":"TemporaryFile(/tmp/multipartBody7884668268792227385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280762652,"filename":"image_16112025_08_51_35_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9d2767f9da3329b07c26664e60e05da.jpg","text":"TemporaryFile(/tmp/multipartBody7539217762018081554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280762652,"filename":"image_16112025_08_51_37_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bc1a441643215607b626af8b3bf1ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7843543426254482218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280762652,"filename":"image_16112025_08_51_40_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730816","file1":"1394730814","file0":"1394730812","file4":"1394730818","file5":"1394730819","file3":"1394730817"},"map_files_photo_id_array":[{"photo_id":"1394730819","filename":"file5"},{"photo_id":"1394730816","filename":"file2"},{"photo_id":"1394730818","filename":"file4"},{"photo_id":"1394730814","filename":"file1"},{"photo_id":"1394730812","filename":"file0"},{"photo_id":"1394730817","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730819":["hashtag1","hashtag2"]},{"1394730816":["hashtag1","hashtag2"]},{"1394730818":["hashtag1","hashtag2"]},{"1394730812":["hashtag1","hashtag2"]},{"1394730814":["hashtag1","hashtag2"]},{"1394730817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730819, 1394730816, 1394730818, 1394730812, 1394730814, 1394730817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89277219772339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:12:22.313473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_59_1739.jpg', '/home/pi/Desktop/images/16112025/08/51/image_16112025_08_52_00_1660.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_02_1564.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_06_4082.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_08_1695.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_12_4491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_51_59_1739.jpg
/home/pi/Desktop/images/16112025/08/51/image_16112025_08_52_00_1660.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_02_1564.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_06_4082.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_08_1695.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_12_4491.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394730833","1394730830","1394730832","1394730826","1394730835","1394730823"],"photo_ids_order":["1394730823","1394730826","1394730830","1394730832","1394730833","1394730835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52d171eff4eeb3799eff1d354be86fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1788497558641477153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280802957,"filename":"image_16112025_08_52_08_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8646f1370302d9219d1bf9bfbaa6592.jpg","text":"TemporaryFile(/tmp/multipartBody4766984308026735244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280802957,"filename":"image_16112025_08_52_02_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76af1a74c7b31f920ef93ee532be5ec9.jpg","text":"TemporaryFile(/tmp/multipartBody5780833799156205988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280802957,"filename":"image_16112025_08_52_06_4082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36d86b3b074cc27d7ac6e2019befecb1.jpg","text":"TemporaryFile(/tmp/multipartBody5575914350222467684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280802957,"filename":"image_16112025_08_52_00_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07e97ac928e68ba079aed76f5e6a660f.jpg","text":"TemporaryFile(/tmp/multipartBody8317387601408704250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280802957,"filename":"image_16112025_08_52_12_4491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68bbfad6c97eb5b3a00b59294e21f65a.jpg","text":"TemporaryFile(/tmp/multipartBody6654139838677057363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280802957,"filename":"image_16112025_08_51_59_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394730830","file1":"1394730826","file0":"1394730823","file4":"1394730833","file5":"1394730835","file3":"1394730832"},"map_files_photo_id_array":[{"photo_id":"1394730835","filename":"file5"},{"photo_id":"1394730830","filename":"file2"},{"photo_id":"1394730833","filename":"file4"},{"photo_id":"1394730826","filename":"file1"},{"photo_id":"1394730823","filename":"file0"},{"photo_id":"1394730832","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394730833":["hashtag1","hashtag2"]},{"1394730830":["hashtag1","hashtag2"]},{"1394730832":["hashtag1","hashtag2"]},{"1394730826":["hashtag1","hashtag2"]},{"1394730835":["hashtag1","hashtag2"]},{"1394730823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394730833, 1394730830, 1394730832, 1394730826, 1394730835, 1394730823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07970452308655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:13:03.312607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_14_1535.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_15_1658.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_17_1584.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_19_1931.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_20_1589.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_23_2239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_14_1535.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_15_1658.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_17_1584.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_19_1931.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_20_1589.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_23_2239.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731069","1394731036","1394731105","1394731003","1394731140","1394730966"],"photo_ids_order":["1394730966","1394731003","1394731036","1394731069","1394731105","1394731140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e0248c99ccdc499aa09f5807e914c58.jpg","text":"TemporaryFile(/tmp/multipartBody1364442460472958026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280844104,"filename":"image_16112025_08_52_19_1931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50d021b5bb9cf8ff48f6aa2177b8dd1a.jpg","text":"TemporaryFile(/tmp/multipartBody2779019317055111574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280844104,"filename":"image_16112025_08_52_17_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d887109ea1f1ed7e44351ce42575ab1a.jpg","text":"TemporaryFile(/tmp/multipartBody6426595218450490154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280844104,"filename":"image_16112025_08_52_20_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e006db08314a378aa6d163121f94b89.jpg","text":"TemporaryFile(/tmp/multipartBody2372682341823182639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280844104,"filename":"image_16112025_08_52_15_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/698eb148c47ec5b805c7f604113381b6.jpg","text":"TemporaryFile(/tmp/multipartBody3368327594529926200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280844104,"filename":"image_16112025_08_52_23_2239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50f4e5390099e64610561c83e6e64924.jpg","text":"TemporaryFile(/tmp/multipartBody7170982524358403139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280844104,"filename":"image_16112025_08_52_14_1535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731036","file1":"1394731003","file0":"1394730966","file4":"1394731105","file5":"1394731140","file3":"1394731069"},"map_files_photo_id_array":[{"photo_id":"1394731140","filename":"file5"},{"photo_id":"1394731036","filename":"file2"},{"photo_id":"1394731105","filename":"file4"},{"photo_id":"1394731003","filename":"file1"},{"photo_id":"1394730966","filename":"file0"},{"photo_id":"1394731069","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731069":["hashtag1","hashtag2"]},{"1394731036":["hashtag1","hashtag2"]},{"1394731105":["hashtag1","hashtag2"]},{"1394731003":["hashtag1","hashtag2"]},{"1394731140":["hashtag1","hashtag2"]},{"1394730966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731069, 1394731036, 1394731105, 1394731003, 1394731140, 1394730966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97570085525513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:13:42.477540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_24_1718.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_26_1732.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_28_1810.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_30_1595.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_31_1736.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_33_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_24_1718.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_26_1732.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_28_1810.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_30_1595.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_31_1736.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_33_1617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731157","1394731162","1394731165","1394731170","1394731164","1394731167"],"photo_ids_order":["1394731157","1394731162","1394731164","1394731165","1394731167","1394731170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7102af9ce17b78a43e2211393321b0a0.jpg","text":"TemporaryFile(/tmp/multipartBody8593042729379819612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280883097,"filename":"image_16112025_08_52_24_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3aa4f30174179a029442f8b0d2950397.jpg","text":"TemporaryFile(/tmp/multipartBody6347653093269958619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280883097,"filename":"image_16112025_08_52_26_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/619ba174533f8cb52a84666f25713834.jpg","text":"TemporaryFile(/tmp/multipartBody66763301068288925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280883097,"filename":"image_16112025_08_52_30_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/460adccba7308930d0134ee4e520996d.jpg","text":"TemporaryFile(/tmp/multipartBody2318230710122445962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280883097,"filename":"image_16112025_08_52_33_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fdfd027d908aebb21da4b9027bee90c.jpg","text":"TemporaryFile(/tmp/multipartBody3060533878472528326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280883097,"filename":"image_16112025_08_52_28_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72a480472cb531c1f0301bd803081e71.jpg","text":"TemporaryFile(/tmp/multipartBody6505456780948002339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280883097,"filename":"image_16112025_08_52_31_1736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731164","file1":"1394731162","file0":"1394731157","file4":"1394731167","file5":"1394731170","file3":"1394731165"},"map_files_photo_id_array":[{"photo_id":"1394731170","filename":"file5"},{"photo_id":"1394731164","filename":"file2"},{"photo_id":"1394731167","filename":"file4"},{"photo_id":"1394731162","filename":"file1"},{"photo_id":"1394731157","filename":"file0"},{"photo_id":"1394731165","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731157":["hashtag1","hashtag2"]},{"1394731162":["hashtag1","hashtag2"]},{"1394731165":["hashtag1","hashtag2"]},{"1394731170":["hashtag1","hashtag2"]},{"1394731164":["hashtag1","hashtag2"]},{"1394731167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731157, 1394731162, 1394731165, 1394731170, 1394731164, 1394731167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.957271337509155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:14:22.686881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_48_14758.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_49_1681.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_51_1608.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_53_1657.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_54_1562.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_56_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_48_14758.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_49_1681.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_51_1608.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_53_1657.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_54_1562.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_56_1715.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.5785934925079346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:14:42.682913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_48_14758.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_49_1681.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_51_1608.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_53_1657.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_54_1562.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_56_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_48_14758.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_49_1681.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_51_1608.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_53_1657.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_54_1562.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_56_1715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731190","1394731192","1394731186","1394731195","1394731183","1394731188"],"photo_ids_order":["1394731183","1394731186","1394731188","1394731190","1394731192","1394731195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d63a303cd36610715bc4dc1b623ca638.jpg","text":"TemporaryFile(/tmp/multipartBody3959036327949811870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280943310,"filename":"image_16112025_08_52_53_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e04aa637f8dd9cf75c349f325056207.jpg","text":"TemporaryFile(/tmp/multipartBody6085545778056630753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280943310,"filename":"image_16112025_08_52_54_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/925de39c2b8eb1dd2095de211a6796e7.jpg","text":"TemporaryFile(/tmp/multipartBody3640729780441843270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280943310,"filename":"image_16112025_08_52_49_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acd86cd28936e7a5bae9269446983070.jpg","text":"TemporaryFile(/tmp/multipartBody7590941685158289567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280943310,"filename":"image_16112025_08_52_56_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc7f9ae50d50041d0a6d46061e75d1aa.jpg","text":"TemporaryFile(/tmp/multipartBody4556664972734049179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280943310,"filename":"image_16112025_08_52_48_14758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08a6f4cc8852ced6de8f527fdc92396e.jpg","text":"TemporaryFile(/tmp/multipartBody8457785470135992178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280943310,"filename":"image_16112025_08_52_51_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731188","file1":"1394731186","file0":"1394731183","file4":"1394731192","file5":"1394731195","file3":"1394731190"},"map_files_photo_id_array":[{"photo_id":"1394731195","filename":"file5"},{"photo_id":"1394731188","filename":"file2"},{"photo_id":"1394731192","filename":"file4"},{"photo_id":"1394731186","filename":"file1"},{"photo_id":"1394731183","filename":"file0"},{"photo_id":"1394731190","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731190":["hashtag1","hashtag2"]},{"1394731192":["hashtag1","hashtag2"]},{"1394731186":["hashtag1","hashtag2"]},{"1394731195":["hashtag1","hashtag2"]},{"1394731183":["hashtag1","hashtag2"]},{"1394731188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731190, 1394731192, 1394731186, 1394731195, 1394731183, 1394731188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54735708236694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:15:24.060441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_57_1543.jpg', '/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_59_1571.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_01_1646.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_02_1612.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_04_1779.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_06_1772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_57_1543.jpg
/home/pi/Desktop/images/16112025/08/52/image_16112025_08_52_59_1571.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_01_1646.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_02_1612.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_04_1779.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_06_1772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731211","1394731205","1394731208","1394731202","1394731209","1394731200"],"photo_ids_order":["1394731200","1394731202","1394731205","1394731208","1394731209","1394731211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e09779493e711076b642b5c7029a9463.jpg","text":"TemporaryFile(/tmp/multipartBody35392378465874164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280984706,"filename":"image_16112025_08_53_06_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b197f3e0a256ddac1c7d212a898afbda.jpg","text":"TemporaryFile(/tmp/multipartBody2080344441349530017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280984706,"filename":"image_16112025_08_53_01_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/338849063b72ece3932f6e23c29ccdd3.jpg","text":"TemporaryFile(/tmp/multipartBody5516340566623172597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280984706,"filename":"image_16112025_08_53_02_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce9439b540035014b39d2ff6da039dfa.jpg","text":"TemporaryFile(/tmp/multipartBody7704183111406746824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280984706,"filename":"image_16112025_08_52_59_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3319096618e2aabce5e0f350cf593ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2249067675800520892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280984706,"filename":"image_16112025_08_53_04_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a025b13259d2c82fc0ca2d90f7a6047.jpg","text":"TemporaryFile(/tmp/multipartBody369348776246395252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763280984706,"filename":"image_16112025_08_52_57_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731205","file1":"1394731202","file0":"1394731200","file4":"1394731209","file5":"1394731211","file3":"1394731208"},"map_files_photo_id_array":[{"photo_id":"1394731211","filename":"file5"},{"photo_id":"1394731205","filename":"file2"},{"photo_id":"1394731209","filename":"file4"},{"photo_id":"1394731202","filename":"file1"},{"photo_id":"1394731200","filename":"file0"},{"photo_id":"1394731208","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731211":["hashtag1","hashtag2"]},{"1394731205":["hashtag1","hashtag2"]},{"1394731208":["hashtag1","hashtag2"]},{"1394731202":["hashtag1","hashtag2"]},{"1394731209":["hashtag1","hashtag2"]},{"1394731200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731211, 1394731205, 1394731208, 1394731202, 1394731209, 1394731200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3662371635437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:16:02.825450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_07_1643.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_09_1687.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_12_2625.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_15_3685.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_18_2599.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_21_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_07_1643.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_09_1687.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_12_2625.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_15_3685.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_18_2599.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_21_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731224","1394731220","1394731214","1394731217","1394731216","1394731213"],"photo_ids_order":["1394731213","1394731214","1394731216","1394731217","1394731220","1394731224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e48a4e9ae0d5eb5b27455478f04f9b88.jpg","text":"TemporaryFile(/tmp/multipartBody6223728843242898064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281024239,"filename":"image_16112025_08_53_21_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc3aaaddbe1bf88e3eb80bc77c48790e.jpg","text":"TemporaryFile(/tmp/multipartBody7842511002639220879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281024239,"filename":"image_16112025_08_53_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/11/16/d7013c0df409735767d293fb0f89b40e.jpg","text":"TemporaryFile(/tmp/multipartBody3293870398720197283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281024239,"filename":"image_16112025_08_53_09_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e800fb2f21117e704a58b5f0df03c969.jpg","text":"TemporaryFile(/tmp/multipartBody6316905073923629168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281024239,"filename":"image_16112025_08_53_15_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ef9b8a12ad7935f2fe25a3f6d270fd9.jpg","text":"TemporaryFile(/tmp/multipartBody441267010761963853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281024239,"filename":"image_16112025_08_53_12_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83116c18196e01b0dab80dbd16653840.jpg","text":"TemporaryFile(/tmp/multipartBody7789523896422578610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281024239,"filename":"image_16112025_08_53_07_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731216","file1":"1394731214","file0":"1394731213","file4":"1394731220","file5":"1394731224","file3":"1394731217"},"map_files_photo_id_array":[{"photo_id":"1394731224","filename":"file5"},{"photo_id":"1394731216","filename":"file2"},{"photo_id":"1394731220","filename":"file4"},{"photo_id":"1394731214","filename":"file1"},{"photo_id":"1394731213","filename":"file0"},{"photo_id":"1394731217","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731224":["hashtag1","hashtag2"]},{"1394731220":["hashtag1","hashtag2"]},{"1394731214":["hashtag1","hashtag2"]},{"1394731217":["hashtag1","hashtag2"]},{"1394731216":["hashtag1","hashtag2"]},{"1394731213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731224, 1394731220, 1394731214, 1394731217, 1394731216, 1394731213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.346068143844604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:16:42.300353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_24_3658.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_27_2721.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_30_2652.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_33_3691.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_36_2690.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_39_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_24_3658.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_27_2721.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_30_2652.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_33_3691.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_36_2690.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_39_2732.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.5426137447357178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:17:03.727638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_24_3658.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_27_2721.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_30_2652.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_33_3691.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_36_2690.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_39_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_24_3658.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_27_2721.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_30_2652.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_33_3691.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_36_2690.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_39_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731235","1394731237","1394731245","1394731239","1394731242","1394731236"],"photo_ids_order":["1394731235","1394731236","1394731237","1394731239","1394731242","1394731245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a88fcf71e119a2ad8ed0ecdd576a5a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4701946987364454377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281086070,"filename":"image_16112025_08_53_24_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/287aac052e619b0769e8a203e3b3b764.jpg","text":"TemporaryFile(/tmp/multipartBody630277563726305622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281086070,"filename":"image_16112025_08_53_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/11/16/34f550f40cbe895d25eef362adf3b168.jpg","text":"TemporaryFile(/tmp/multipartBody6002399016895591707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281086070,"filename":"image_16112025_08_53_39_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ac51c6d813992b245f631899aa277a4.jpg","text":"TemporaryFile(/tmp/multipartBody8622203893976444216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281086070,"filename":"image_16112025_08_53_33_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a27b5ba217fef82ee26f8e4916cac49.jpg","text":"TemporaryFile(/tmp/multipartBody5175011201599613438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281086070,"filename":"image_16112025_08_53_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/11/16/0eeec9ca68808b605c371dfdb74b0592.jpg","text":"TemporaryFile(/tmp/multipartBody5866560904325317823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281086070,"filename":"image_16112025_08_53_27_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731237","file1":"1394731236","file0":"1394731235","file4":"1394731242","file5":"1394731245","file3":"1394731239"},"map_files_photo_id_array":[{"photo_id":"1394731245","filename":"file5"},{"photo_id":"1394731237","filename":"file2"},{"photo_id":"1394731242","filename":"file4"},{"photo_id":"1394731236","filename":"file1"},{"photo_id":"1394731235","filename":"file0"},{"photo_id":"1394731239","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731235":["hashtag1","hashtag2"]},{"1394731237":["hashtag1","hashtag2"]},{"1394731245":["hashtag1","hashtag2"]},{"1394731239":["hashtag1","hashtag2"]},{"1394731242":["hashtag1","hashtag2"]},{"1394731236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731235, 1394731237, 1394731245, 1394731239, 1394731242, 1394731236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59758424758911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:17:43.154978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_42_2898.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_45_3718.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_48_2718.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_51_2756.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_54_2805.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_57_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_42_2898.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_45_3718.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_48_2718.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_51_2756.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_54_2805.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_57_3675.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.5405583381652832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:18:02.833569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_42_2898.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_45_3718.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_48_2718.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_51_2756.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_54_2805.jpg', '/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_57_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_42_2898.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_45_3718.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_48_2718.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_51_2756.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_54_2805.jpg
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_53_57_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731256","1394731264","1394731267","1394731255","1394731258","1394731260"],"photo_ids_order":["1394731255","1394731256","1394731258","1394731260","1394731264","1394731267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10f6de683d095d20ddd75bf9ed5287e0.jpg","text":"TemporaryFile(/tmp/multipartBody8483600655473140773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281143568,"filename":"image_16112025_08_53_45_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/298357aa26e8092dd0600a14bf2f8252.jpg","text":"TemporaryFile(/tmp/multipartBody3891875945275271197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281143568,"filename":"image_16112025_08_53_54_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1bca8a89b3314511725730fde15bd4c.jpg","text":"TemporaryFile(/tmp/multipartBody6577401842727233911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281143568,"filename":"image_16112025_08_53_57_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcc77f3f78ea9d2fba4f60f069a33c7f.jpg","text":"TemporaryFile(/tmp/multipartBody1371127449140603356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281143568,"filename":"image_16112025_08_53_42_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a74bdac9e1a741bde6ce059b418cc2bf.jpg","text":"TemporaryFile(/tmp/multipartBody1140014152161183460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281143568,"filename":"image_16112025_08_53_48_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb2a6e65e3c6b26e091d3b156e94ea92.jpg","text":"TemporaryFile(/tmp/multipartBody3663022250619890519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281143568,"filename":"image_16112025_08_53_51_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731258","file1":"1394731256","file0":"1394731255","file4":"1394731264","file5":"1394731267","file3":"1394731260"},"map_files_photo_id_array":[{"photo_id":"1394731267","filename":"file5"},{"photo_id":"1394731258","filename":"file2"},{"photo_id":"1394731264","filename":"file4"},{"photo_id":"1394731256","filename":"file1"},{"photo_id":"1394731255","filename":"file0"},{"photo_id":"1394731260","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731256":["hashtag1","hashtag2"]},{"1394731264":["hashtag1","hashtag2"]},{"1394731267":["hashtag1","hashtag2"]},{"1394731255":["hashtag1","hashtag2"]},{"1394731258":["hashtag1","hashtag2"]},{"1394731260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731256, 1394731264, 1394731267, 1394731255, 1394731258, 1394731260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.722501039505005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:18:42.379063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/53/image_16112025_08_54_00_2670.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_03_2655.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_06_3786.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_09_2564.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_12_2572.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_15_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/53/image_16112025_08_54_00_2670.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_03_2655.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_06_3786.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_09_2564.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_12_2572.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_15_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731280","1394731274","1394731277","1394731279","1394731276","1394731278"],"photo_ids_order":["1394731274","1394731276","1394731277","1394731278","1394731279","1394731280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c14fad6974d64a2ac3951168bdb34f4.jpg","text":"TemporaryFile(/tmp/multipartBody7386954465481925006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281183061,"filename":"image_16112025_08_54_15_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e94d1effcf502f73a43ba3743706f2d.jpg","text":"TemporaryFile(/tmp/multipartBody5887966984404996178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281183061,"filename":"image_16112025_08_54_00_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2430cac32d37d4c874cecf4b32f443b4.jpg","text":"TemporaryFile(/tmp/multipartBody8157030231635658066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281183061,"filename":"image_16112025_08_54_06_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a019f5c261b4e9677f2d01f981ec15dd.jpg","text":"TemporaryFile(/tmp/multipartBody2134313382295042585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281183061,"filename":"image_16112025_08_54_12_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/788c8d6ac59689a1404d2cc58268bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody703244067658363595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281183061,"filename":"image_16112025_08_54_03_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62fc869577f1f2386496d18a29ef916b.jpg","text":"TemporaryFile(/tmp/multipartBody7905747024637117713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281183061,"filename":"image_16112025_08_54_09_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731277","file1":"1394731276","file0":"1394731274","file4":"1394731279","file5":"1394731280","file3":"1394731278"},"map_files_photo_id_array":[{"photo_id":"1394731280","filename":"file5"},{"photo_id":"1394731277","filename":"file2"},{"photo_id":"1394731279","filename":"file4"},{"photo_id":"1394731276","filename":"file1"},{"photo_id":"1394731274","filename":"file0"},{"photo_id":"1394731278","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731280":["hashtag1","hashtag2"]},{"1394731274":["hashtag1","hashtag2"]},{"1394731277":["hashtag1","hashtag2"]},{"1394731279":["hashtag1","hashtag2"]},{"1394731276":["hashtag1","hashtag2"]},{"1394731278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731280, 1394731274, 1394731277, 1394731279, 1394731276, 1394731278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27894306182861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:19:22.602314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_18_2579.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_20_2742.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_24_3678.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_27_2623.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_30_2835.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_33_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_18_2579.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_20_2742.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_24_3678.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_27_2623.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_30_2835.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_33_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731292","1394731286","1394731289","1394731288","1394731290","1394731284"],"photo_ids_order":["1394731284","1394731286","1394731288","1394731289","1394731290","1394731292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b988b88710391be749030be16c287c3.jpg","text":"TemporaryFile(/tmp/multipartBody7572533848600650939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281223245,"filename":"image_16112025_08_54_33_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ae1f31e9f3c520e25281ef118d5a9a1.jpg","text":"TemporaryFile(/tmp/multipartBody5342478187630273338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281223245,"filename":"image_16112025_08_54_20_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9fef37ef4ce46bf0c4fe74e9ea2ac56.jpg","text":"TemporaryFile(/tmp/multipartBody1899635996120048640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281223245,"filename":"image_16112025_08_54_27_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fdc7efaf1b70a060565feec9d0eee90.jpg","text":"TemporaryFile(/tmp/multipartBody820747209109319146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281223245,"filename":"image_16112025_08_54_24_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae785ea6e39e76e6847097ec0f7f46fc.jpg","text":"TemporaryFile(/tmp/multipartBody2116578762175874861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281223245,"filename":"image_16112025_08_54_30_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6baab18156172dcac3632f674364bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody8489868640004787009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281223245,"filename":"image_16112025_08_54_18_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731288","file1":"1394731286","file0":"1394731284","file4":"1394731290","file5":"1394731292","file3":"1394731289"},"map_files_photo_id_array":[{"photo_id":"1394731292","filename":"file5"},{"photo_id":"1394731288","filename":"file2"},{"photo_id":"1394731290","filename":"file4"},{"photo_id":"1394731286","filename":"file1"},{"photo_id":"1394731284","filename":"file0"},{"photo_id":"1394731289","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731292":["hashtag1","hashtag2"]},{"1394731286":["hashtag1","hashtag2"]},{"1394731289":["hashtag1","hashtag2"]},{"1394731288":["hashtag1","hashtag2"]},{"1394731290":["hashtag1","hashtag2"]},{"1394731284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731292, 1394731286, 1394731289, 1394731288, 1394731290, 1394731284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13906407356262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:20:02.308432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_36_2563.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_39_3608.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_42_2533.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_45_2625.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_48_3701.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_51_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_36_2563.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_39_3608.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_42_2533.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_45_2625.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_48_3701.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_51_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731302","1394731295","1394731297","1394731294","1394731296","1394731299"],"photo_ids_order":["1394731294","1394731295","1394731296","1394731297","1394731299","1394731302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8fee3ab6737edeb93a954cbe65727f7.jpg","text":"TemporaryFile(/tmp/multipartBody2788763881764370044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281262983,"filename":"image_16112025_08_54_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/11/16/9b83f7e1ac34b1f81e7161976fd104ea.jpg","text":"TemporaryFile(/tmp/multipartBody7810470714628338539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281262983,"filename":"image_16112025_08_54_39_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa643b793d3cdf7a9bb94f8da8a325a2.jpg","text":"TemporaryFile(/tmp/multipartBody5708019776364877279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281262983,"filename":"image_16112025_08_54_45_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/effeb35130ad9780f3eb4eeff1724bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1290174115875332862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281262983,"filename":"image_16112025_08_54_36_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed77bee693734b7f36a456aa5cc8d548.jpg","text":"TemporaryFile(/tmp/multipartBody8698147953424664670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281262983,"filename":"image_16112025_08_54_42_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06c23be236992d9fc169ce34f18ba811.jpg","text":"TemporaryFile(/tmp/multipartBody7395387168652211717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281262983,"filename":"image_16112025_08_54_48_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731296","file1":"1394731295","file0":"1394731294","file4":"1394731299","file5":"1394731302","file3":"1394731297"},"map_files_photo_id_array":[{"photo_id":"1394731302","filename":"file5"},{"photo_id":"1394731296","filename":"file2"},{"photo_id":"1394731299","filename":"file4"},{"photo_id":"1394731295","filename":"file1"},{"photo_id":"1394731294","filename":"file0"},{"photo_id":"1394731297","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731302":["hashtag1","hashtag2"]},{"1394731295":["hashtag1","hashtag2"]},{"1394731297":["hashtag1","hashtag2"]},{"1394731294":["hashtag1","hashtag2"]},{"1394731296":["hashtag1","hashtag2"]},{"1394731299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731302, 1394731295, 1394731297, 1394731294, 1394731296, 1394731299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18117380142212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:20:41.802972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_54_2592.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_57_3654.jpg', '/home/pi/Desktop/images/16112025/08/54/image_16112025_08_55_00_2600.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_02_2570.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_06_3718.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_09_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_54_2592.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_54_57_3654.jpg
/home/pi/Desktop/images/16112025/08/54/image_16112025_08_55_00_2600.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_02_2570.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_06_3718.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_09_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731313","1394731316","1394731309","1394731312","1394731311","1394731314"],"photo_ids_order":["1394731309","1394731311","1394731312","1394731313","1394731314","1394731316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/959a0051568f28e04495f6e285d4afe5.jpg","text":"TemporaryFile(/tmp/multipartBody1029963077218750303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281302426,"filename":"image_16112025_08_55_02_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96ab32efe329872556f5a166ce94ef87.jpg","text":"TemporaryFile(/tmp/multipartBody8134361246290756371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281302426,"filename":"image_16112025_08_55_09_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b5f88b7511c8a368cf33fc9ae8348e7.jpg","text":"TemporaryFile(/tmp/multipartBody6145250458071098593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281302426,"filename":"image_16112025_08_54_54_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf77233808932efe7ef9e85442cb2cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7822726773779043753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281302426,"filename":"image_16112025_08_55_00_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e7d0de86057c66c91a77740e6a9e969.jpg","text":"TemporaryFile(/tmp/multipartBody4723559949622951520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281302426,"filename":"image_16112025_08_54_57_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cb85b0de07d91d829234d991d2399b7.jpg","text":"TemporaryFile(/tmp/multipartBody8948283416112012103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281302426,"filename":"image_16112025_08_55_06_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731312","file1":"1394731311","file0":"1394731309","file4":"1394731314","file5":"1394731316","file3":"1394731313"},"map_files_photo_id_array":[{"photo_id":"1394731316","filename":"file5"},{"photo_id":"1394731312","filename":"file2"},{"photo_id":"1394731314","filename":"file4"},{"photo_id":"1394731311","filename":"file1"},{"photo_id":"1394731309","filename":"file0"},{"photo_id":"1394731313","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731313":["hashtag1","hashtag2"]},{"1394731316":["hashtag1","hashtag2"]},{"1394731309":["hashtag1","hashtag2"]},{"1394731312":["hashtag1","hashtag2"]},{"1394731311":["hashtag1","hashtag2"]},{"1394731314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731313, 1394731316, 1394731309, 1394731312, 1394731311, 1394731314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.443426847457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:21:21.925607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_12_3626.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_15_2592.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_18_2793.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_21_3529.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_24_2643.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_27_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_12_3626.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_15_2592.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_18_2793.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_21_3529.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_24_2643.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_27_3528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731337","1394731322","1394731334","1394731330","1394731332","1394731326"],"photo_ids_order":["1394731322","1394731326","1394731330","1394731332","1394731334","1394731337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/813c2105f98297f9c07fb94752abc9cc.jpg","text":"TemporaryFile(/tmp/multipartBody8220206364831756745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281342563,"filename":"image_16112025_08_55_27_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc43a3661cf3b74cc167e66e0b3c3fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1002647699085793454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281342563,"filename":"image_16112025_08_55_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/11/16/c1aefdff3f3a1bba0259d94c4e3f74a4.jpg","text":"TemporaryFile(/tmp/multipartBody3575482287223822314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281342563,"filename":"image_16112025_08_55_24_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31613d6c043bbdf9b5127d3da6030631.jpg","text":"TemporaryFile(/tmp/multipartBody2359914914362628470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281342563,"filename":"image_16112025_08_55_18_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/043195df7bc12dd1254d417e7497ebe4.jpg","text":"TemporaryFile(/tmp/multipartBody7152283613427461470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281342563,"filename":"image_16112025_08_55_21_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1800df750fae39e1e873136e68e93949.jpg","text":"TemporaryFile(/tmp/multipartBody5950333914118384714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281342563,"filename":"image_16112025_08_55_15_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731330","file1":"1394731326","file0":"1394731322","file4":"1394731334","file5":"1394731337","file3":"1394731332"},"map_files_photo_id_array":[{"photo_id":"1394731337","filename":"file5"},{"photo_id":"1394731330","filename":"file2"},{"photo_id":"1394731334","filename":"file4"},{"photo_id":"1394731326","filename":"file1"},{"photo_id":"1394731322","filename":"file0"},{"photo_id":"1394731332","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731337":["hashtag1","hashtag2"]},{"1394731322":["hashtag1","hashtag2"]},{"1394731334":["hashtag1","hashtag2"]},{"1394731330":["hashtag1","hashtag2"]},{"1394731332":["hashtag1","hashtag2"]},{"1394731326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731337, 1394731322, 1394731334, 1394731330, 1394731332, 1394731326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43937635421753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:22:02.726955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_30_2584.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_33_2615.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_36_3715.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_39_2524.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_41_2676.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_45_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_30_2584.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_33_2615.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_36_3715.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_39_2524.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_41_2676.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_45_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731343","1394731345","1394731342","1394731339","1394731347","1394731341"],"photo_ids_order":["1394731339","1394731341","1394731342","1394731343","1394731345","1394731347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b78e7b983b89cec4b4b36080be72fee9.jpg","text":"TemporaryFile(/tmp/multipartBody381252256428586149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281383416,"filename":"image_16112025_08_55_39_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d76dedeeb0fdbe417cb6bac19cfd3554.jpg","text":"TemporaryFile(/tmp/multipartBody1160796086823195957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281383416,"filename":"image_16112025_08_55_41_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77463dce0b33e40332831b5efc57031a.jpg","text":"TemporaryFile(/tmp/multipartBody4869089392919028015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281383416,"filename":"image_16112025_08_55_36_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b777535db6072a87961217e19f30c964.jpg","text":"TemporaryFile(/tmp/multipartBody766479243465783010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281383416,"filename":"image_16112025_08_55_30_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac884db010a5623cc5ee3846e58e8698.jpg","text":"TemporaryFile(/tmp/multipartBody5036359254812097684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281383416,"filename":"image_16112025_08_55_45_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52540809bc873c078b0bf6b09f1e5480.jpg","text":"TemporaryFile(/tmp/multipartBody7977751958187818304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281383416,"filename":"image_16112025_08_55_33_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731342","file1":"1394731341","file0":"1394731339","file4":"1394731345","file5":"1394731347","file3":"1394731343"},"map_files_photo_id_array":[{"photo_id":"1394731347","filename":"file5"},{"photo_id":"1394731342","filename":"file2"},{"photo_id":"1394731345","filename":"file4"},{"photo_id":"1394731341","filename":"file1"},{"photo_id":"1394731339","filename":"file0"},{"photo_id":"1394731343","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731343":["hashtag1","hashtag2"]},{"1394731345":["hashtag1","hashtag2"]},{"1394731342":["hashtag1","hashtag2"]},{"1394731339":["hashtag1","hashtag2"]},{"1394731347":["hashtag1","hashtag2"]},{"1394731341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731343, 1394731345, 1394731342, 1394731339, 1394731347, 1394731341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41750645637512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:22:42.256824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_48_2635.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_50_2717.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_54_3510.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_56_2533.jpg', '/home/pi/Desktop/images/16112025/08/55/image_16112025_08_56_00_3632.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_03_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_48_2635.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_50_2717.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_54_3510.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_55_56_2533.jpg
/home/pi/Desktop/images/16112025/08/55/image_16112025_08_56_00_3632.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_03_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731355","1394731352","1394731354","1394731357","1394731356","1394731353"],"photo_ids_order":["1394731352","1394731353","1394731354","1394731355","1394731356","1394731357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81cb0ef42117c7e05bcbebc9fb184321.jpg","text":"TemporaryFile(/tmp/multipartBody5034756833299678279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281422877,"filename":"image_16112025_08_55_56_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a143da2dfb20764f08d3a081de89338c.jpg","text":"TemporaryFile(/tmp/multipartBody8029867610891433455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281422877,"filename":"image_16112025_08_55_48_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94708756bcbb82ade3c0dc665d050a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6527529649297817040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281422877,"filename":"image_16112025_08_55_54_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/163e0d8da440e2eaa8be599802e456ae.jpg","text":"TemporaryFile(/tmp/multipartBody8208871927716587146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281422877,"filename":"image_16112025_08_56_03_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79b82cacbe40ff2e6f951168cd8ffba2.jpg","text":"TemporaryFile(/tmp/multipartBody1501935817373097823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281422877,"filename":"image_16112025_08_56_00_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b05e4633ebcb34de8ebf6e2af3f5751c.jpg","text":"TemporaryFile(/tmp/multipartBody3231281044605239291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281422877,"filename":"image_16112025_08_55_50_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731354","file1":"1394731353","file0":"1394731352","file4":"1394731356","file5":"1394731357","file3":"1394731355"},"map_files_photo_id_array":[{"photo_id":"1394731357","filename":"file5"},{"photo_id":"1394731354","filename":"file2"},{"photo_id":"1394731356","filename":"file4"},{"photo_id":"1394731353","filename":"file1"},{"photo_id":"1394731352","filename":"file0"},{"photo_id":"1394731355","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731355":["hashtag1","hashtag2"]},{"1394731352":["hashtag1","hashtag2"]},{"1394731354":["hashtag1","hashtag2"]},{"1394731357":["hashtag1","hashtag2"]},{"1394731356":["hashtag1","hashtag2"]},{"1394731353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731355, 1394731352, 1394731354, 1394731357, 1394731356, 1394731353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.455597162246704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:23:22.523734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_05_2651.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_09_3842.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_12_2703.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_15_2869.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_18_2717.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_21_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_05_2651.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_09_3842.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_12_2703.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_15_2869.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_18_2717.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_21_3635.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: 15.046204566955566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:23:49.968859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_05_2651.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_09_3842.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_12_2703.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_15_2869.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_18_2717.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_21_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_05_2651.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_09_3842.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_12_2703.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_15_2869.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_18_2717.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_21_3635.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":["1394731373","1394731376","1394731378","1394731372","1394731375","1394731371"],"photo_ids_order":["1394731371","1394731372","1394731373","1394731375","1394731376","1394731378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73f453d985e1a1715e7a40db01571c24.jpg","text":"TemporaryFile(/tmp/multipartBody5694979766047015406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281495828,"filename":"image_16112025_08_56_12_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b6442b8076111ae89723ecb1f206b5e.jpg","text":"TemporaryFile(/tmp/multipartBody498422259548701783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281495828,"filename":"image_16112025_08_56_18_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38db187d984f1beaff5b1d49559c593b.jpg","text":"TemporaryFile(/tmp/multipartBody1150615871001251256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281495828,"filename":"image_16112025_08_56_21_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b109320cfcbc0021e3bea78dd637801.jpg","text":"TemporaryFile(/tmp/multipartBody1126909120580205331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281495828,"filename":"image_16112025_08_56_09_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcb80dba90317d4c54a6c2be07c0d667.jpg","text":"TemporaryFile(/tmp/multipartBody3824740395647816400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281495828,"filename":"image_16112025_08_56_15_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4240443cdece99629540632fe5643241.jpg","text":"TemporaryFile(/tmp/multipartBody2202314407357907352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281495828,"filename":"image_16112025_08_56_05_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731373","file1":"1394731372","file0":"1394731371","file4":"1394731376","file5":"1394731378","file3":"1394731375"},"map_files_photo_id_array":[{"photo_id":"1394731378","filename":"file5"},{"photo_id":"1394731373","filename":"file2"},{"photo_id":"1394731376","filename":"file4"},{"photo_id":"1394731372","filename":"file1"},{"photo_id":"1394731371","filename":"file0"},{"photo_id":"1394731375","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731373":["hashtag1","hashtag2"]},{"1394731376":["hashtag1","hashtag2"]},{"1394731378":["hashtag1","hashtag2"]},{"1394731372":["hashtag1","hashtag2"]},{"1394731375":["hashtag1","hashtag2"]},{"1394731371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731373, 1394731376, 1394731378, 1394731372, 1394731375, 1394731371)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.364699840545654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:25:04.799812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 09:25:24.290492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_24_2665.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_27_2666.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_30_3680.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_33_2655.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_35_2574.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_39_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_24_2665.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_27_2666.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_30_3680.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_33_2655.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_35_2574.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_39_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731404","1394731396","1394731400","1394731390","1394731393","1394731398"],"photo_ids_order":["1394731390","1394731393","1394731396","1394731398","1394731400","1394731404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37ee3b9addb2d40f85498939fc04d46a.jpg","text":"TemporaryFile(/tmp/multipartBody2979662008462238527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281584944,"filename":"image_16112025_08_56_39_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/899e03de7986d04f89b4353d4f45b269.jpg","text":"TemporaryFile(/tmp/multipartBody6250379626367501614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281584944,"filename":"image_16112025_08_56_30_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b646449a720a752339b92a9443d756a.jpg","text":"TemporaryFile(/tmp/multipartBody8443741325323769063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281584944,"filename":"image_16112025_08_56_35_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4264fc342ef0a8239961cd71bbda90e0.jpg","text":"TemporaryFile(/tmp/multipartBody6863900709034964612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281584944,"filename":"image_16112025_08_56_24_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd9e5ebf6c52c53afc43b45bc1219865.jpg","text":"TemporaryFile(/tmp/multipartBody3660250287980824589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281584944,"filename":"image_16112025_08_56_27_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38fa6f1ce3981b2e0107d61195b66939.jpg","text":"TemporaryFile(/tmp/multipartBody6449246758644465861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281584944,"filename":"image_16112025_08_56_33_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731396","file1":"1394731393","file0":"1394731390","file4":"1394731400","file5":"1394731404","file3":"1394731398"},"map_files_photo_id_array":[{"photo_id":"1394731404","filename":"file5"},{"photo_id":"1394731396","filename":"file2"},{"photo_id":"1394731400","filename":"file4"},{"photo_id":"1394731393","filename":"file1"},{"photo_id":"1394731390","filename":"file0"},{"photo_id":"1394731398","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731404":["hashtag1","hashtag2"]},{"1394731396":["hashtag1","hashtag2"]},{"1394731400":["hashtag1","hashtag2"]},{"1394731390":["hashtag1","hashtag2"]},{"1394731393":["hashtag1","hashtag2"]},{"1394731398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731404, 1394731396, 1394731400, 1394731390, 1394731393, 1394731398)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.420780181884766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:26:22.230304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_42_2580.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_45_2892.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_47_2663.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_51_3842.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_54_2642.jpg', '/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_56_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_42_2580.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_45_2892.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_47_2663.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_51_3842.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_54_2642.jpg
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_56_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731422","1394731412","1394731415","1394731420","1394731417","1394731425"],"photo_ids_order":["1394731412","1394731415","1394731417","1394731420","1394731422","1394731425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50bae890b3b0cd7805c36296acd1ca66.jpg","text":"TemporaryFile(/tmp/multipartBody2956751213028857964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281642909,"filename":"image_16112025_08_56_54_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b6c2a5f5063581085a4a751f0ca3cc8.jpg","text":"TemporaryFile(/tmp/multipartBody7652265721279700876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281642909,"filename":"image_16112025_08_56_42_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb3260db5c19caa5a970701831a2aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody7806621145956436115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281642909,"filename":"image_16112025_08_56_45_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b78c91e789b6917bebae880776917b8b.jpg","text":"TemporaryFile(/tmp/multipartBody4189170036202442463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281642909,"filename":"image_16112025_08_56_51_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c26669d817e9e349c1299818391d2f4.jpg","text":"TemporaryFile(/tmp/multipartBody7467569441658783404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281642909,"filename":"image_16112025_08_56_47_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6966a5c88468ed54f6fb065bedd44b65.jpg","text":"TemporaryFile(/tmp/multipartBody7240501792501772136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281642909,"filename":"image_16112025_08_56_56_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731417","file1":"1394731415","file0":"1394731412","file4":"1394731422","file5":"1394731425","file3":"1394731420"},"map_files_photo_id_array":[{"photo_id":"1394731425","filename":"file5"},{"photo_id":"1394731417","filename":"file2"},{"photo_id":"1394731422","filename":"file4"},{"photo_id":"1394731415","filename":"file1"},{"photo_id":"1394731412","filename":"file0"},{"photo_id":"1394731420","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731422":["hashtag1","hashtag2"]},{"1394731412":["hashtag1","hashtag2"]},{"1394731415":["hashtag1","hashtag2"]},{"1394731420":["hashtag1","hashtag2"]},{"1394731417":["hashtag1","hashtag2"]},{"1394731425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731422, 1394731412, 1394731415, 1394731420, 1394731417, 1394731425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.863900661468506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:27:03.065779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_59_2842.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_03_3576.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_06_2682.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_09_3622.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_12_2625.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_15_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/56/image_16112025_08_56_59_2842.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_03_3576.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_06_2682.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_09_3622.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_12_2625.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_15_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731436","1394731439","1394731433","1394731432","1394731431","1394731434"],"photo_ids_order":["1394731431","1394731432","1394731433","1394731434","1394731436","1394731439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee63e7fcad2db4200e2c0e15f05aca3b.jpg","text":"TemporaryFile(/tmp/multipartBody5914831587663825550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281683807,"filename":"image_16112025_08_57_12_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af5ba8ae5b6dba8bddd76a2486435d73.jpg","text":"TemporaryFile(/tmp/multipartBody8603205313554109097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281683807,"filename":"image_16112025_08_57_15_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a62e94a48a3f676fba2a38104447ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8004475148645956784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281683807,"filename":"image_16112025_08_57_06_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8aff226d7aa62ffde512f98dbb2a7dd8.jpg","text":"TemporaryFile(/tmp/multipartBody5968657691293519662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281683807,"filename":"image_16112025_08_57_03_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/571f1e0ddf76f6109dd158bd4a2a4d07.jpg","text":"TemporaryFile(/tmp/multipartBody7605173696510550333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281683807,"filename":"image_16112025_08_56_59_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0b1be35c8a934883731d179ba259438.jpg","text":"TemporaryFile(/tmp/multipartBody1104620432760314117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281683807,"filename":"image_16112025_08_57_09_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731433","file1":"1394731432","file0":"1394731431","file4":"1394731436","file5":"1394731439","file3":"1394731434"},"map_files_photo_id_array":[{"photo_id":"1394731439","filename":"file5"},{"photo_id":"1394731433","filename":"file2"},{"photo_id":"1394731436","filename":"file4"},{"photo_id":"1394731432","filename":"file1"},{"photo_id":"1394731431","filename":"file0"},{"photo_id":"1394731434","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731436":["hashtag1","hashtag2"]},{"1394731439":["hashtag1","hashtag2"]},{"1394731433":["hashtag1","hashtag2"]},{"1394731432":["hashtag1","hashtag2"]},{"1394731431":["hashtag1","hashtag2"]},{"1394731434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731436, 1394731439, 1394731433, 1394731432, 1394731431, 1394731434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73099160194397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:27:42.422847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_18_3635.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_21_2818.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_24_2670.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_26_2743.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_30_3578.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_33_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_18_3635.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_21_2818.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_24_2670.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_26_2743.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_30_3578.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_33_2717.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.5415322780609131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:28:03.010164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_18_3635.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_21_2818.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_24_2670.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_26_2743.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_30_3578.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_33_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_18_3635.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_21_2818.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_24_2670.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_26_2743.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_30_3578.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_33_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731499","1394731637","1394731672","1394731567","1394731603","1394731533"],"photo_ids_order":["1394731499","1394731533","1394731567","1394731603","1394731637","1394731672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ede23a2acc01625ae640915bd4c98699.jpg","text":"TemporaryFile(/tmp/multipartBody7991173781063582959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281743713,"filename":"image_16112025_08_57_18_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28f3e93424d7b386a9a18598fc0ee79e.jpg","text":"TemporaryFile(/tmp/multipartBody9061946504676590275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281743713,"filename":"image_16112025_08_57_30_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5163505f03655b3b7d49cb5ab46b6bb.jpg","text":"TemporaryFile(/tmp/multipartBody1238803795202802179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281743713,"filename":"image_16112025_08_57_33_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9b711bce1c5dc47036a4d5dbb50e918.jpg","text":"TemporaryFile(/tmp/multipartBody6138054275993560118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281743713,"filename":"image_16112025_08_57_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/11/16/9d2b6f9f71562690cbdbfc723888ecdb.jpg","text":"TemporaryFile(/tmp/multipartBody7578561332632109242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281743713,"filename":"image_16112025_08_57_26_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/111af29d421c5796993fe6933fe30bd2.jpg","text":"TemporaryFile(/tmp/multipartBody6209286414282157809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281743713,"filename":"image_16112025_08_57_21_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731567","file1":"1394731533","file0":"1394731499","file4":"1394731637","file5":"1394731672","file3":"1394731603"},"map_files_photo_id_array":[{"photo_id":"1394731672","filename":"file5"},{"photo_id":"1394731567","filename":"file2"},{"photo_id":"1394731637","filename":"file4"},{"photo_id":"1394731533","filename":"file1"},{"photo_id":"1394731499","filename":"file0"},{"photo_id":"1394731603","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731499":["hashtag1","hashtag2"]},{"1394731637":["hashtag1","hashtag2"]},{"1394731672":["hashtag1","hashtag2"]},{"1394731567":["hashtag1","hashtag2"]},{"1394731603":["hashtag1","hashtag2"]},{"1394731533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731499, 1394731637, 1394731672, 1394731567, 1394731603, 1394731533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32394504547119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:28:42.640251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_35_2670.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_39_3651.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_42_2649.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_44_2587.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_48_3602.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_50_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_35_2670.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_39_3651.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_42_2649.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_44_2587.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_48_3602.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_50_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731775","1394731778","1394731780","1394731774","1394731773","1394731776"],"photo_ids_order":["1394731773","1394731774","1394731775","1394731776","1394731778","1394731780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc7323a11be599d58820e6b2a53d080b.jpg","text":"TemporaryFile(/tmp/multipartBody7198874577535948602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281783369,"filename":"image_16112025_08_57_42_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b840697dcaef53cff86762f9f9deecd.jpg","text":"TemporaryFile(/tmp/multipartBody3740802144607276556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281783369,"filename":"image_16112025_08_57_48_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd12134eae5469aa3eb5772ed5f9df6a.jpg","text":"TemporaryFile(/tmp/multipartBody8519165836306816631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281783369,"filename":"image_16112025_08_57_50_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03dd6fcffbe655f4585a3dab9df0ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody278899169600555763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281783369,"filename":"image_16112025_08_57_39_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfb8faea49a2e1de42bb02a9ebd327e8.jpg","text":"TemporaryFile(/tmp/multipartBody3788240981356008444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281783369,"filename":"image_16112025_08_57_35_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a469a7e216df47999764c07414253093.jpg","text":"TemporaryFile(/tmp/multipartBody6000048454110668614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281783369,"filename":"image_16112025_08_57_44_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731775","file1":"1394731774","file0":"1394731773","file4":"1394731778","file5":"1394731780","file3":"1394731776"},"map_files_photo_id_array":[{"photo_id":"1394731780","filename":"file5"},{"photo_id":"1394731775","filename":"file2"},{"photo_id":"1394731778","filename":"file4"},{"photo_id":"1394731774","filename":"file1"},{"photo_id":"1394731773","filename":"file0"},{"photo_id":"1394731776","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731775":["hashtag1","hashtag2"]},{"1394731778":["hashtag1","hashtag2"]},{"1394731780":["hashtag1","hashtag2"]},{"1394731774":["hashtag1","hashtag2"]},{"1394731773":["hashtag1","hashtag2"]},{"1394731776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731775, 1394731778, 1394731780, 1394731774, 1394731773, 1394731776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41882276535034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:29:22.002249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_53_2675.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_57_3597.jpg', '/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_59_2640.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_03_3599.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_06_2609.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_08_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_53_2675.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_57_3597.jpg
/home/pi/Desktop/images/16112025/08/57/image_16112025_08_57_59_2640.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_03_3599.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_06_2609.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_08_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731796","1394731784","1394731791","1394731794","1394731788","1394731793"],"photo_ids_order":["1394731784","1394731788","1394731791","1394731793","1394731794","1394731796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4276d1f1a7073fd1516d1a3742a5d8b.jpg","text":"TemporaryFile(/tmp/multipartBody1210289721857768790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281822644,"filename":"image_16112025_08_58_08_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c21b87f8dfb648a587e57b8795673c2.jpg","text":"TemporaryFile(/tmp/multipartBody8236311469120002477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281822644,"filename":"image_16112025_08_57_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/11/16/909dde8caeda37d4582157d2f5189e1a.jpg","text":"TemporaryFile(/tmp/multipartBody6947625546012411869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281822644,"filename":"image_16112025_08_57_59_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83727430ec9d07e918ac04bf0af4a763.jpg","text":"TemporaryFile(/tmp/multipartBody6484865189974500953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281822644,"filename":"image_16112025_08_58_06_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93e2261744c071324a4723c552466499.jpg","text":"TemporaryFile(/tmp/multipartBody5826500948713212792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281822644,"filename":"image_16112025_08_57_57_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11a40ce4782bdd8e8cc69694c6175afe.jpg","text":"TemporaryFile(/tmp/multipartBody5821692224693693813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281822644,"filename":"image_16112025_08_58_03_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731791","file1":"1394731788","file0":"1394731784","file4":"1394731794","file5":"1394731796","file3":"1394731793"},"map_files_photo_id_array":[{"photo_id":"1394731796","filename":"file5"},{"photo_id":"1394731791","filename":"file2"},{"photo_id":"1394731794","filename":"file4"},{"photo_id":"1394731788","filename":"file1"},{"photo_id":"1394731784","filename":"file0"},{"photo_id":"1394731793","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731796":["hashtag1","hashtag2"]},{"1394731784":["hashtag1","hashtag2"]},{"1394731791":["hashtag1","hashtag2"]},{"1394731794":["hashtag1","hashtag2"]},{"1394731788":["hashtag1","hashtag2"]},{"1394731793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731796, 1394731784, 1394731791, 1394731794, 1394731788, 1394731793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.682474851608276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:30:02.625350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_12_3758.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_15_2750.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_17_2633.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_21_3632.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_24_2650.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_26_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_12_3758.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_15_2750.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_17_2633.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_21_3632.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_24_2650.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_26_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731806","1394731799","1394731798","1394731801","1394731800","1394731803"],"photo_ids_order":["1394731798","1394731799","1394731800","1394731801","1394731803","1394731806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35d719b248d989aea1204e385da3b0f3.jpg","text":"TemporaryFile(/tmp/multipartBody2123380666759615835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281863278,"filename":"image_16112025_08_58_26_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c435949aa2c18f1dde6b2320358566ea.jpg","text":"TemporaryFile(/tmp/multipartBody4234094009596245755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281863278,"filename":"image_16112025_08_58_15_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3784d66ced20cbb52873942cb60d1e6.jpg","text":"TemporaryFile(/tmp/multipartBody2748598049345799506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281863278,"filename":"image_16112025_08_58_12_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c54a8bfa63a632fa707c5c1e4f0b47d6.jpg","text":"TemporaryFile(/tmp/multipartBody7348039914575446758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281863278,"filename":"image_16112025_08_58_21_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d87a60e9d64d51c5a332c33b78f03d3.jpg","text":"TemporaryFile(/tmp/multipartBody7876018832775961412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281863278,"filename":"image_16112025_08_58_17_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/661ba87c9abe96ee58f882f92a18208b.jpg","text":"TemporaryFile(/tmp/multipartBody3492492948816371841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281863278,"filename":"image_16112025_08_58_24_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731800","file1":"1394731799","file0":"1394731798","file4":"1394731803","file5":"1394731806","file3":"1394731801"},"map_files_photo_id_array":[{"photo_id":"1394731806","filename":"file5"},{"photo_id":"1394731800","filename":"file2"},{"photo_id":"1394731803","filename":"file4"},{"photo_id":"1394731799","filename":"file1"},{"photo_id":"1394731798","filename":"file0"},{"photo_id":"1394731801","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731806":["hashtag1","hashtag2"]},{"1394731799":["hashtag1","hashtag2"]},{"1394731798":["hashtag1","hashtag2"]},{"1394731801":["hashtag1","hashtag2"]},{"1394731800":["hashtag1","hashtag2"]},{"1394731803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731806, 1394731799, 1394731798, 1394731801, 1394731800, 1394731803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7565221786499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:30:42.083630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_30_3602.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_33_2615.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_35_2641.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_39_3535.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_42_2719.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_44_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_30_3602.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_33_2615.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_35_2641.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_39_3535.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_42_2719.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_44_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731812","1394731811","1394731814","1394731813","1394731815","1394731809"],"photo_ids_order":["1394731809","1394731811","1394731812","1394731813","1394731814","1394731815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7f50ad217f6c77db1514fe0a2105ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1699425836726401883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281902718,"filename":"image_16112025_08_58_35_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b720d2b90f080b12eff6cce310490843.jpg","text":"TemporaryFile(/tmp/multipartBody378103540858510833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281902718,"filename":"image_16112025_08_58_33_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8964845e8f260727b7a9a2fc4a2307eb.jpg","text":"TemporaryFile(/tmp/multipartBody729461215025748938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281902718,"filename":"image_16112025_08_58_42_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc098ead2192948c3ea014eb09bacf80.jpg","text":"TemporaryFile(/tmp/multipartBody3374874520057701139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281902718,"filename":"image_16112025_08_58_39_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0848d05b8b93b2c3e72a452b4a203a47.jpg","text":"TemporaryFile(/tmp/multipartBody4587606113826889471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281902718,"filename":"image_16112025_08_58_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/11/16/dde8c905aa5fadd437d89759edc2a56e.jpg","text":"TemporaryFile(/tmp/multipartBody8361584058719975050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281902718,"filename":"image_16112025_08_58_30_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731812","file1":"1394731811","file0":"1394731809","file4":"1394731814","file5":"1394731815","file3":"1394731813"},"map_files_photo_id_array":[{"photo_id":"1394731815","filename":"file5"},{"photo_id":"1394731812","filename":"file2"},{"photo_id":"1394731814","filename":"file4"},{"photo_id":"1394731811","filename":"file1"},{"photo_id":"1394731809","filename":"file0"},{"photo_id":"1394731813","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731812":["hashtag1","hashtag2"]},{"1394731811":["hashtag1","hashtag2"]},{"1394731814":["hashtag1","hashtag2"]},{"1394731813":["hashtag1","hashtag2"]},{"1394731815":["hashtag1","hashtag2"]},{"1394731809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731812, 1394731811, 1394731814, 1394731813, 1394731815, 1394731809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36133694648743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:31:22.358351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_48_3627.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_51_2630.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_53_2871.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_56_2658.jpg', '/home/pi/Desktop/images/16112025/08/58/image_16112025_08_59_00_3704.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_03_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_48_3627.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_51_2630.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_53_2871.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_58_56_2658.jpg
/home/pi/Desktop/images/16112025/08/58/image_16112025_08_59_00_3704.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_03_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731826","1394731820","1394731822","1394731828","1394731824","1394731818"],"photo_ids_order":["1394731818","1394731820","1394731822","1394731824","1394731826","1394731828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a3ed55e665cb53c4db245fbebc24ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1140539892024536940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281942998,"filename":"image_16112025_08_59_00_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24abc33ec02c0bb1aba01181bbbd7e58.jpg","text":"TemporaryFile(/tmp/multipartBody4991051680880569678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281942998,"filename":"image_16112025_08_58_51_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6884e440e0b0b4c5ae1777fecd4b9dd.jpg","text":"TemporaryFile(/tmp/multipartBody5375475683262000700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281942998,"filename":"image_16112025_08_58_53_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdab80175cccbf3f281cba663d7fec8a.jpg","text":"TemporaryFile(/tmp/multipartBody3107752278718929013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281942998,"filename":"image_16112025_08_59_03_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc42b235fdd24e8194cdfb8e11e0c528.jpg","text":"TemporaryFile(/tmp/multipartBody2018545007003871919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281942998,"filename":"image_16112025_08_58_56_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48d2e64e3454610fd89289b30f6f127d.jpg","text":"TemporaryFile(/tmp/multipartBody6435014073085127896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281942998,"filename":"image_16112025_08_58_48_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731822","file1":"1394731820","file0":"1394731818","file4":"1394731826","file5":"1394731828","file3":"1394731824"},"map_files_photo_id_array":[{"photo_id":"1394731828","filename":"file5"},{"photo_id":"1394731822","filename":"file2"},{"photo_id":"1394731826","filename":"file4"},{"photo_id":"1394731820","filename":"file1"},{"photo_id":"1394731818","filename":"file0"},{"photo_id":"1394731824","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731826":["hashtag1","hashtag2"]},{"1394731820":["hashtag1","hashtag2"]},{"1394731822":["hashtag1","hashtag2"]},{"1394731828":["hashtag1","hashtag2"]},{"1394731824":["hashtag1","hashtag2"]},{"1394731818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731826, 1394731820, 1394731822, 1394731828, 1394731824, 1394731818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.066749572753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:32:03.004829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_05_2881.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_08_2709.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_12_3855.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_15_2583.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_17_2768.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_20_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_05_2881.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_08_2709.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_12_3855.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_15_2583.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_17_2768.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_20_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731850","1394731844","1394731840","1394731834","1394731837","1394731831"],"photo_ids_order":["1394731831","1394731834","1394731837","1394731840","1394731844","1394731850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99c49c49ca3916a82a505a42cecc55e9.jpg","text":"TemporaryFile(/tmp/multipartBody3852358918090653409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281983674,"filename":"image_16112025_08_59_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/11/16/5d9eb8197ec316b6bfac63ecec263998.jpg","text":"TemporaryFile(/tmp/multipartBody3192522113052826901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281983674,"filename":"image_16112025_08_59_17_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01559cb6d574c7aa7f232eea236c657f.jpg","text":"TemporaryFile(/tmp/multipartBody1480162953086175984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281983674,"filename":"image_16112025_08_59_15_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02f14f83aa0e679021c6821135eeba29.jpg","text":"TemporaryFile(/tmp/multipartBody5792851308777302407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281983674,"filename":"image_16112025_08_59_08_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ae2f881e874f153036ac733c5ac2a17.jpg","text":"TemporaryFile(/tmp/multipartBody6630550083562457168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281983674,"filename":"image_16112025_08_59_12_3855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63ead3e9d7c205e9c624fc66dee0c9fe.jpg","text":"TemporaryFile(/tmp/multipartBody8133603690048076735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763281983674,"filename":"image_16112025_08_59_05_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731837","file1":"1394731834","file0":"1394731831","file4":"1394731844","file5":"1394731850","file3":"1394731840"},"map_files_photo_id_array":[{"photo_id":"1394731850","filename":"file5"},{"photo_id":"1394731837","filename":"file2"},{"photo_id":"1394731844","filename":"file4"},{"photo_id":"1394731834","filename":"file1"},{"photo_id":"1394731831","filename":"file0"},{"photo_id":"1394731840","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731850":["hashtag1","hashtag2"]},{"1394731844":["hashtag1","hashtag2"]},{"1394731840":["hashtag1","hashtag2"]},{"1394731834":["hashtag1","hashtag2"]},{"1394731837":["hashtag1","hashtag2"]},{"1394731831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731850, 1394731844, 1394731840, 1394731834, 1394731837, 1394731831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14487338066101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:32:42.601017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_24_3553.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_26_2709.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_29_2797.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_33_3680.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_35_2566.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_39_3492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_24_3553.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_26_2709.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_29_2797.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_33_3680.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_35_2566.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_39_3492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731862","1394731861","1394731864","1394731858","1394731863","1394731860"],"photo_ids_order":["1394731858","1394731860","1394731861","1394731862","1394731863","1394731864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b60b4e0c95f20b1481d4f0dd7a1747fd.jpg","text":"TemporaryFile(/tmp/multipartBody4458573227383953168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282023289,"filename":"image_16112025_08_59_33_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69ddfe2184d1c307f85d7fab9d95b38b.jpg","text":"TemporaryFile(/tmp/multipartBody4829241794487266470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282023289,"filename":"image_16112025_08_59_29_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7184da0c4dce9a24e92debf79d312d79.jpg","text":"TemporaryFile(/tmp/multipartBody6848790545228173482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282023289,"filename":"image_16112025_08_59_39_3492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e37ad7d66c1618654a33016fa358133e.jpg","text":"TemporaryFile(/tmp/multipartBody1254052124496177964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282023289,"filename":"image_16112025_08_59_24_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2118011829b89b9870154b972150337d.jpg","text":"TemporaryFile(/tmp/multipartBody4907546380353082326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282023289,"filename":"image_16112025_08_59_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/11/16/e7cd9af1381e48aa04b40fbd6ca42117.jpg","text":"TemporaryFile(/tmp/multipartBody1203570240416980043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282023289,"filename":"image_16112025_08_59_26_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731861","file1":"1394731860","file0":"1394731858","file4":"1394731863","file5":"1394731864","file3":"1394731862"},"map_files_photo_id_array":[{"photo_id":"1394731864","filename":"file5"},{"photo_id":"1394731861","filename":"file2"},{"photo_id":"1394731863","filename":"file4"},{"photo_id":"1394731860","filename":"file1"},{"photo_id":"1394731858","filename":"file0"},{"photo_id":"1394731862","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731862":["hashtag1","hashtag2"]},{"1394731861":["hashtag1","hashtag2"]},{"1394731864":["hashtag1","hashtag2"]},{"1394731858":["hashtag1","hashtag2"]},{"1394731863":["hashtag1","hashtag2"]},{"1394731860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731862, 1394731861, 1394731864, 1394731858, 1394731863, 1394731860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8830828666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:33:21.869699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_42_2791.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_44_2656.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_47_2698.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_51_3647.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_53_2631.jpg', '/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_57_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_42_2791.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_44_2656.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_47_2698.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_51_3647.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_53_2631.jpg
/home/pi/Desktop/images/16112025/08/59/image_16112025_08_59_57_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731880","1394731874","1394731877","1394731871","1394731867","1394731875"],"photo_ids_order":["1394731867","1394731871","1394731874","1394731875","1394731877","1394731880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce44dccfc5e6da50076bd57e1bf920c7.jpg","text":"TemporaryFile(/tmp/multipartBody645005998232657840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282062558,"filename":"image_16112025_08_59_57_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9403a98c0af7eaa7bf45308a3794a84.jpg","text":"TemporaryFile(/tmp/multipartBody8637971736114055195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282062558,"filename":"image_16112025_08_59_47_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c29f1723ba2fb30b44d68366519c308c.jpg","text":"TemporaryFile(/tmp/multipartBody4010344351700671369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282062558,"filename":"image_16112025_08_59_53_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fad90da18ce955a15928794fcee6e840.jpg","text":"TemporaryFile(/tmp/multipartBody3152725143676322991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282062558,"filename":"image_16112025_08_59_44_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bc86efa36a2aba8fa077a777eb248fb.jpg","text":"TemporaryFile(/tmp/multipartBody6040666940548911173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282062558,"filename":"image_16112025_08_59_42_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3c26e6e3eb71ae1a022fd8db74f185c.jpg","text":"TemporaryFile(/tmp/multipartBody6239629203982530539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282062558,"filename":"image_16112025_08_59_51_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731874","file1":"1394731871","file0":"1394731867","file4":"1394731877","file5":"1394731880","file3":"1394731875"},"map_files_photo_id_array":[{"photo_id":"1394731880","filename":"file5"},{"photo_id":"1394731874","filename":"file2"},{"photo_id":"1394731877","filename":"file4"},{"photo_id":"1394731871","filename":"file1"},{"photo_id":"1394731867","filename":"file0"},{"photo_id":"1394731875","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731880":["hashtag1","hashtag2"]},{"1394731874":["hashtag1","hashtag2"]},{"1394731877":["hashtag1","hashtag2"]},{"1394731871":["hashtag1","hashtag2"]},{"1394731867":["hashtag1","hashtag2"]},{"1394731875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731880, 1394731874, 1394731877, 1394731871, 1394731867, 1394731875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6339967250824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:34:02.756854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/08/59/image_16112025_09_00_00_2670.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_07_3011.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_11_3629.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_13_2644.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_17_3581.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_21_3840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/08/59/image_16112025_09_00_00_2670.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_07_3011.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_11_3629.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_13_2644.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_17_3581.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_21_3840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731883","1394731886","1394731885","1394731888","1394731890","1394731884"],"photo_ids_order":["1394731883","1394731884","1394731885","1394731886","1394731888","1394731890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33bb52be0d20b02ddcf775a5dee8e586.jpg","text":"TemporaryFile(/tmp/multipartBody5091177686366841818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282103525,"filename":"image_16112025_09_00_00_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1edc5957da96742bbfee2be1bb25d7ab.jpg","text":"TemporaryFile(/tmp/multipartBody2603369957497583502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282103525,"filename":"image_16112025_09_00_13_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5265a8ba0ba700295d5dec7c853faaf.jpg","text":"TemporaryFile(/tmp/multipartBody8924141529790743387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282103525,"filename":"image_16112025_09_00_11_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e79a036d24b78cec32c69f4f2cfbe520.jpg","text":"TemporaryFile(/tmp/multipartBody652695973788606046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282103525,"filename":"image_16112025_09_00_17_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50d6cba363a55403f1943c9322ec2e54.jpg","text":"TemporaryFile(/tmp/multipartBody7473462252684947724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282103525,"filename":"image_16112025_09_00_21_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d57c3a5f01f1c53a6fb7a37e640eed1.jpg","text":"TemporaryFile(/tmp/multipartBody7693652995003578888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282103525,"filename":"image_16112025_09_00_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731885","file1":"1394731884","file0":"1394731883","file4":"1394731888","file5":"1394731890","file3":"1394731886"},"map_files_photo_id_array":[{"photo_id":"1394731890","filename":"file5"},{"photo_id":"1394731885","filename":"file2"},{"photo_id":"1394731888","filename":"file4"},{"photo_id":"1394731884","filename":"file1"},{"photo_id":"1394731883","filename":"file0"},{"photo_id":"1394731886","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731883":["hashtag1","hashtag2"]},{"1394731886":["hashtag1","hashtag2"]},{"1394731885":["hashtag1","hashtag2"]},{"1394731888":["hashtag1","hashtag2"]},{"1394731890":["hashtag1","hashtag2"]},{"1394731884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731883, 1394731886, 1394731885, 1394731888, 1394731890, 1394731884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.102365016937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:34:42.043903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_22_1670.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_26_3523.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_29_2579.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_31_2581.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_35_3692.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_38_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_22_1670.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_26_3523.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_29_2579.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_31_2581.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_35_3692.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_38_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731895","1394731898","1394731897","1394731901","1394731899","1394731902"],"photo_ids_order":["1394731895","1394731897","1394731898","1394731899","1394731901","1394731902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a75cd7c8fc8f976fb110ae0cef97c0d.jpg","text":"TemporaryFile(/tmp/multipartBody8521893283049335596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282142664,"filename":"image_16112025_09_00_22_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85467435dc5f80eef0a05608d6890c57.jpg","text":"TemporaryFile(/tmp/multipartBody5858612211318340250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282142664,"filename":"image_16112025_09_00_29_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2c4e2e643b4302b40ac46d417cfbf62.jpg","text":"TemporaryFile(/tmp/multipartBody3234501729281198721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282142664,"filename":"image_16112025_09_00_26_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f73781114820a5bb63c268b81989859.jpg","text":"TemporaryFile(/tmp/multipartBody6441558511768389456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282142664,"filename":"image_16112025_09_00_35_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba4048de8e65fd8623408e6cc65bb34f.jpg","text":"TemporaryFile(/tmp/multipartBody8670338948072444826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282142664,"filename":"image_16112025_09_00_31_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c25e8bea47d95aae07fd591e58fd32f5.jpg","text":"TemporaryFile(/tmp/multipartBody2557311490140172545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282142664,"filename":"image_16112025_09_00_38_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731898","file1":"1394731897","file0":"1394731895","file4":"1394731901","file5":"1394731902","file3":"1394731899"},"map_files_photo_id_array":[{"photo_id":"1394731902","filename":"file5"},{"photo_id":"1394731898","filename":"file2"},{"photo_id":"1394731901","filename":"file4"},{"photo_id":"1394731897","filename":"file1"},{"photo_id":"1394731895","filename":"file0"},{"photo_id":"1394731899","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731895":["hashtag1","hashtag2"]},{"1394731898":["hashtag1","hashtag2"]},{"1394731897":["hashtag1","hashtag2"]},{"1394731901":["hashtag1","hashtag2"]},{"1394731899":["hashtag1","hashtag2"]},{"1394731902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731895, 1394731898, 1394731897, 1394731901, 1394731899, 1394731902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62412214279175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:35:22.268778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_40_2659.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_43_2817.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_47_3550.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_50_3239.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_53_2925.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_55_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_40_2659.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_43_2817.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_47_3550.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_50_3239.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_53_2925.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_55_2680.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.5529158115386963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:35:42.195452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_40_2659.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_43_2817.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_47_3550.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_50_3239.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_53_2925.jpg', '/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_55_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_40_2659.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_43_2817.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_47_3550.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_50_3239.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_53_2925.jpg
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_55_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731925","1394731928","1394731921","1394731927","1394731926","1394731923"],"photo_ids_order":["1394731921","1394731923","1394731925","1394731926","1394731927","1394731928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3ce3bd033069c5d39ddd61df3debffa.jpg","text":"TemporaryFile(/tmp/multipartBody4902544767112453488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282202836,"filename":"image_16112025_09_00_47_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed0548aad25a113702b97b22485c9426.jpg","text":"TemporaryFile(/tmp/multipartBody7143516509226844395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282202836,"filename":"image_16112025_09_00_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/11/16/88603e0fafb053a742bbf71ce86c2807.jpg","text":"TemporaryFile(/tmp/multipartBody9099457846306484087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282202836,"filename":"image_16112025_09_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/11/16/0d9140bb4f32be80c1bc3ad9949e1bad.jpg","text":"TemporaryFile(/tmp/multipartBody7514688935764434954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282202836,"filename":"image_16112025_09_00_53_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28f913121ecc6130787c0609ddf2caa6.jpg","text":"TemporaryFile(/tmp/multipartBody3320095958234974060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282202836,"filename":"image_16112025_09_00_50_3239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2aefbe339f418245923197e6e2096693.jpg","text":"TemporaryFile(/tmp/multipartBody6554074625322254111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282202836,"filename":"image_16112025_09_00_43_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731925","file1":"1394731923","file0":"1394731921","file4":"1394731927","file5":"1394731928","file3":"1394731926"},"map_files_photo_id_array":[{"photo_id":"1394731928","filename":"file5"},{"photo_id":"1394731925","filename":"file2"},{"photo_id":"1394731927","filename":"file4"},{"photo_id":"1394731923","filename":"file1"},{"photo_id":"1394731921","filename":"file0"},{"photo_id":"1394731926","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731925":["hashtag1","hashtag2"]},{"1394731928":["hashtag1","hashtag2"]},{"1394731921":["hashtag1","hashtag2"]},{"1394731927":["hashtag1","hashtag2"]},{"1394731926":["hashtag1","hashtag2"]},{"1394731923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731925, 1394731928, 1394731921, 1394731927, 1394731926, 1394731923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03979563713074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:36:22.461726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_58_2619.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_02_3788.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_05_2781.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_07_2720.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_10_2682.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_13_2889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/00/image_16112025_09_00_58_2619.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_02_3788.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_05_2781.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_07_2720.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_10_2682.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_13_2889.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731937","1394731931","1394731934","1394731936","1394731939","1394731935"],"photo_ids_order":["1394731931","1394731934","1394731935","1394731936","1394731937","1394731939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6fe693b2670f61bbcce44808302b3b0.jpg","text":"TemporaryFile(/tmp/multipartBody354523274210863823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282243167,"filename":"image_16112025_09_01_10_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e4a5858a01489f75d151fd5e39189e8.jpg","text":"TemporaryFile(/tmp/multipartBody5202495381440521831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282243167,"filename":"image_16112025_09_00_58_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e30d18ba525f0dc0ca247003e447408b.jpg","text":"TemporaryFile(/tmp/multipartBody3346453278837961061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282243167,"filename":"image_16112025_09_01_02_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ae590475299efe414498dfc1effa936.jpg","text":"TemporaryFile(/tmp/multipartBody8778380278021018266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282243167,"filename":"image_16112025_09_01_07_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/115a6f91ef7bcff0214cd4313c2bfa2f.jpg","text":"TemporaryFile(/tmp/multipartBody1937071787401497629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282243167,"filename":"image_16112025_09_01_13_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37a0a12020110498ffa1349d90a726fa.jpg","text":"TemporaryFile(/tmp/multipartBody2506088954359115993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282243167,"filename":"image_16112025_09_01_05_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731935","file1":"1394731934","file0":"1394731931","file4":"1394731937","file5":"1394731939","file3":"1394731936"},"map_files_photo_id_array":[{"photo_id":"1394731939","filename":"file5"},{"photo_id":"1394731935","filename":"file2"},{"photo_id":"1394731937","filename":"file4"},{"photo_id":"1394731934","filename":"file1"},{"photo_id":"1394731931","filename":"file0"},{"photo_id":"1394731936","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731937":["hashtag1","hashtag2"]},{"1394731931":["hashtag1","hashtag2"]},{"1394731934":["hashtag1","hashtag2"]},{"1394731936":["hashtag1","hashtag2"]},{"1394731939":["hashtag1","hashtag2"]},{"1394731935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731937, 1394731931, 1394731934, 1394731936, 1394731939, 1394731935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.562110900878906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:37:03.288690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_17_3663.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_19_2656.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_22_2678.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_26_3676.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_28_2589.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_34_5437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_17_3663.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_19_2656.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_22_2678.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_26_3676.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_28_2589.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_34_5437.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731943","1394731940","1394731948","1394731942","1394731945","1394731941"],"photo_ids_order":["1394731940","1394731941","1394731942","1394731943","1394731945","1394731948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e053f78361ef993a246728f8c2a556a9.jpg","text":"TemporaryFile(/tmp/multipartBody2479621828623387951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282284021,"filename":"image_16112025_09_01_26_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5016963a5b5bbf58614df5fd0547e78.jpg","text":"TemporaryFile(/tmp/multipartBody1986322489850707037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282284021,"filename":"image_16112025_09_01_17_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7af0acb59b1082ca572934d588ec6fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5742762874190360338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282284021,"filename":"image_16112025_09_01_34_5437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cffc8c9dff46462026ddb1aef9de2dd.jpg","text":"TemporaryFile(/tmp/multipartBody4746826070662187867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282284021,"filename":"image_16112025_09_01_22_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/711f8e2b1d8bc2bee423735ee10b839e.jpg","text":"TemporaryFile(/tmp/multipartBody908472760080439049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282284021,"filename":"image_16112025_09_01_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/11/16/e60a324fad276c8332846d0f81c6e061.jpg","text":"TemporaryFile(/tmp/multipartBody8330042743237003307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282284021,"filename":"image_16112025_09_01_19_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731942","file1":"1394731941","file0":"1394731940","file4":"1394731945","file5":"1394731948","file3":"1394731943"},"map_files_photo_id_array":[{"photo_id":"1394731948","filename":"file5"},{"photo_id":"1394731942","filename":"file2"},{"photo_id":"1394731945","filename":"file4"},{"photo_id":"1394731941","filename":"file1"},{"photo_id":"1394731940","filename":"file0"},{"photo_id":"1394731943","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731943":["hashtag1","hashtag2"]},{"1394731940":["hashtag1","hashtag2"]},{"1394731948":["hashtag1","hashtag2"]},{"1394731942":["hashtag1","hashtag2"]},{"1394731945":["hashtag1","hashtag2"]},{"1394731941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731943, 1394731940, 1394731948, 1394731942, 1394731945, 1394731941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.989946126937866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:37:42.567346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_35_1674.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_37_1732.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_41_3676.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_43_2565.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_46_2591.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_50_3841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_35_1674.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_37_1732.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_41_3676.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_43_2565.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_46_2591.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_50_3841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731958","1394731960","1394731954","1394731957","1394731953","1394731956"],"photo_ids_order":["1394731953","1394731954","1394731956","1394731957","1394731958","1394731960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/453faf5fced38a45b77be77369b8c75b.jpg","text":"TemporaryFile(/tmp/multipartBody8155605609410230482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282323179,"filename":"image_16112025_09_01_46_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c01d7baf83bedbf28182afd8e08366c.jpg","text":"TemporaryFile(/tmp/multipartBody2179476795442695618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282323179,"filename":"image_16112025_09_01_50_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81cfad80b579ca9c2658bb3d2bab9dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1762173039653632252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282323179,"filename":"image_16112025_09_01_37_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/403436220ef54101aaa77fe35e88723f.jpg","text":"TemporaryFile(/tmp/multipartBody8200739241336137106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282323179,"filename":"image_16112025_09_01_43_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7315276b01e17f1735ae274e888698c5.jpg","text":"TemporaryFile(/tmp/multipartBody7459828238433932843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282323179,"filename":"image_16112025_09_01_35_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24d63686a95f5878447fbde37b1f9925.jpg","text":"TemporaryFile(/tmp/multipartBody5186659734014318350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282323179,"filename":"image_16112025_09_01_41_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731956","file1":"1394731954","file0":"1394731953","file4":"1394731958","file5":"1394731960","file3":"1394731957"},"map_files_photo_id_array":[{"photo_id":"1394731960","filename":"file5"},{"photo_id":"1394731956","filename":"file2"},{"photo_id":"1394731958","filename":"file4"},{"photo_id":"1394731954","filename":"file1"},{"photo_id":"1394731953","filename":"file0"},{"photo_id":"1394731957","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731958":["hashtag1","hashtag2"]},{"1394731960":["hashtag1","hashtag2"]},{"1394731954":["hashtag1","hashtag2"]},{"1394731957":["hashtag1","hashtag2"]},{"1394731953":["hashtag1","hashtag2"]},{"1394731956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731958, 1394731960, 1394731954, 1394731957, 1394731953, 1394731956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.216294050216675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:38:22.924376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_52_2710.jpg', '/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_55_2650.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_01_6074.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_03_2066.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_05_1632.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_07_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_52_2710.jpg
/home/pi/Desktop/images/16112025/09/01/image_16112025_09_01_55_2650.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_01_6074.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_03_2066.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_05_1632.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_07_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731973","1394731976","1394731972","1394731969","1394731965","1394731974"],"photo_ids_order":["1394731965","1394731969","1394731972","1394731973","1394731974","1394731976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77d15dffa03da0ab04b323aaef16afd6.jpg","text":"TemporaryFile(/tmp/multipartBody8182478956231353604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282363565,"filename":"image_16112025_09_02_03_2066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fc2e8c0f81944640a13a75dc9f006e2.jpg","text":"TemporaryFile(/tmp/multipartBody9168481511277664523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282363565,"filename":"image_16112025_09_02_07_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7172967a8947b42100c0df73d358d181.jpg","text":"TemporaryFile(/tmp/multipartBody1822551467716341239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282363565,"filename":"image_16112025_09_02_01_6074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3520d7f50c06e7847ae54a4ef0666a04.jpg","text":"TemporaryFile(/tmp/multipartBody8678089382910181062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282363565,"filename":"image_16112025_09_01_55_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3798f466f972d63f848daba702844432.jpg","text":"TemporaryFile(/tmp/multipartBody2493917532771568213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282363565,"filename":"image_16112025_09_01_52_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ba0da4d1201e1ffbdce66776c3e5a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3260508697985509383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282363565,"filename":"image_16112025_09_02_05_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731972","file1":"1394731969","file0":"1394731965","file4":"1394731974","file5":"1394731976","file3":"1394731973"},"map_files_photo_id_array":[{"photo_id":"1394731976","filename":"file5"},{"photo_id":"1394731972","filename":"file2"},{"photo_id":"1394731974","filename":"file4"},{"photo_id":"1394731969","filename":"file1"},{"photo_id":"1394731965","filename":"file0"},{"photo_id":"1394731973","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731973":["hashtag1","hashtag2"]},{"1394731976":["hashtag1","hashtag2"]},{"1394731972":["hashtag1","hashtag2"]},{"1394731969":["hashtag1","hashtag2"]},{"1394731965":["hashtag1","hashtag2"]},{"1394731974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731973, 1394731976, 1394731972, 1394731969, 1394731965, 1394731974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20746350288391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:39:02.960344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_10_2604.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_14_3601.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_24_9949.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_32_8811.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_36_3064.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_37_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_10_2604.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_14_3601.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_24_9949.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_32_8811.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_36_3064.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_37_1649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394731982","1394731979","1394731984","1394731987","1394731981","1394731977"],"photo_ids_order":["1394731977","1394731979","1394731981","1394731982","1394731984","1394731987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5f46cc4143f5cd2ac0718358ab9e55e.jpg","text":"TemporaryFile(/tmp/multipartBody3373235518705306484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282403763,"filename":"image_16112025_09_02_32_8811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ac65d8b629aad412f1590a4109488f0.jpg","text":"TemporaryFile(/tmp/multipartBody7479353344189798399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282403763,"filename":"image_16112025_09_02_14_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac034b51f1aa6104aba37c9a79a5bf66.jpg","text":"TemporaryFile(/tmp/multipartBody6813360578193257923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282403763,"filename":"image_16112025_09_02_36_3064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48cd6aaaaa2796f20bca01252b0e7e83.jpg","text":"TemporaryFile(/tmp/multipartBody2663818858433796067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282403763,"filename":"image_16112025_09_02_37_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82c5dfb17b8f1654cdb1a14d67a1b4e4.jpg","text":"TemporaryFile(/tmp/multipartBody4194307013034360301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282403763,"filename":"image_16112025_09_02_24_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8930a12766fe8beb9ee06335fbce73cb.jpg","text":"TemporaryFile(/tmp/multipartBody6788304474455083492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282403763,"filename":"image_16112025_09_02_10_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394731981","file1":"1394731979","file0":"1394731977","file4":"1394731984","file5":"1394731987","file3":"1394731982"},"map_files_photo_id_array":[{"photo_id":"1394731987","filename":"file5"},{"photo_id":"1394731981","filename":"file2"},{"photo_id":"1394731984","filename":"file4"},{"photo_id":"1394731979","filename":"file1"},{"photo_id":"1394731977","filename":"file0"},{"photo_id":"1394731982","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394731982":["hashtag1","hashtag2"]},{"1394731979":["hashtag1","hashtag2"]},{"1394731984":["hashtag1","hashtag2"]},{"1394731987":["hashtag1","hashtag2"]},{"1394731981":["hashtag1","hashtag2"]},{"1394731977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394731982, 1394731979, 1394731984, 1394731987, 1394731981, 1394731977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78472709655762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:39:42.045018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_39_1746.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_41_1681.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_42_1562.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_49_7235.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_51_1675.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_54_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_39_1746.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_41_1681.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_42_1562.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_49_7235.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_51_1675.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_54_1681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732000","1394731996","1394732002","1394732005","1394731998","1394732004"],"photo_ids_order":["1394731996","1394731998","1394732000","1394732002","1394732004","1394732005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfc2d11b83e7fbdf3ec89c5ed3d1be53.jpg","text":"TemporaryFile(/tmp/multipartBody6869351129867756690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282442721,"filename":"image_16112025_09_02_42_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d880540a3fa7f0aee24cd7f2e513589b.jpg","text":"TemporaryFile(/tmp/multipartBody7559783746097775808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282442721,"filename":"image_16112025_09_02_39_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a61478d033f11e72c13616c00bc81a00.jpg","text":"TemporaryFile(/tmp/multipartBody535239368145162025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282442721,"filename":"image_16112025_09_02_49_7235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1daf07c9c8d06cf3b6eb8a636509bb51.jpg","text":"TemporaryFile(/tmp/multipartBody805633917870464199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282442721,"filename":"image_16112025_09_02_54_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84e28a95c245cdf74e176073be352da4.jpg","text":"TemporaryFile(/tmp/multipartBody2068863640661336118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282442721,"filename":"image_16112025_09_02_41_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13b031ae996e70b8bec1a70762d9ce9f.jpg","text":"TemporaryFile(/tmp/multipartBody1801023390041367557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282442721,"filename":"image_16112025_09_02_51_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732000","file1":"1394731998","file0":"1394731996","file4":"1394732004","file5":"1394732005","file3":"1394732002"},"map_files_photo_id_array":[{"photo_id":"1394732005","filename":"file5"},{"photo_id":"1394732000","filename":"file2"},{"photo_id":"1394732004","filename":"file4"},{"photo_id":"1394731998","filename":"file1"},{"photo_id":"1394731996","filename":"file0"},{"photo_id":"1394732002","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732000":["hashtag1","hashtag2"]},{"1394731996":["hashtag1","hashtag2"]},{"1394732002":["hashtag1","hashtag2"]},{"1394732005":["hashtag1","hashtag2"]},{"1394731998":["hashtag1","hashtag2"]},{"1394732004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732000, 1394731996, 1394732002, 1394732005, 1394731998, 1394732004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26422429084778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:40:22.315338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_56_1636.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_58_1576.jpg', '/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_59_1569.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_02_3103.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_08_5868.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_10_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_56_1636.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_58_1576.jpg
/home/pi/Desktop/images/16112025/09/02/image_16112025_09_02_59_1569.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_02_3103.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_08_5868.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_10_1632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732015","1394732014","1394732017","1394732011","1394732008","1394732013"],"photo_ids_order":["1394732008","1394732011","1394732013","1394732014","1394732015","1394732017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/268fe7a048c6e9653fbe89380759f235.jpg","text":"TemporaryFile(/tmp/multipartBody809425563984290781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282483039,"filename":"image_16112025_09_03_08_5868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92662152979ea411341461b8a8105ab0.jpg","text":"TemporaryFile(/tmp/multipartBody3113062793911812401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282483039,"filename":"image_16112025_09_03_02_3103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8773f205dd2d6a9ef5ce590be8b40ac.jpg","text":"TemporaryFile(/tmp/multipartBody1156112073350802272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282483039,"filename":"image_16112025_09_03_10_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd5f7792ba8dde19173c24860d2b7461.jpg","text":"TemporaryFile(/tmp/multipartBody1720597818531115516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282483039,"filename":"image_16112025_09_02_58_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9d63ba15689b7e8824b64c86fd0416f.jpg","text":"TemporaryFile(/tmp/multipartBody1601804658017995717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282483039,"filename":"image_16112025_09_02_56_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/235b5bfa2716f72168051681ed936705.jpg","text":"TemporaryFile(/tmp/multipartBody6071549331984173299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282483039,"filename":"image_16112025_09_02_59_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732013","file1":"1394732011","file0":"1394732008","file4":"1394732015","file5":"1394732017","file3":"1394732014"},"map_files_photo_id_array":[{"photo_id":"1394732017","filename":"file5"},{"photo_id":"1394732013","filename":"file2"},{"photo_id":"1394732015","filename":"file4"},{"photo_id":"1394732011","filename":"file1"},{"photo_id":"1394732008","filename":"file0"},{"photo_id":"1394732014","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732015":["hashtag1","hashtag2"]},{"1394732014":["hashtag1","hashtag2"]},{"1394732017":["hashtag1","hashtag2"]},{"1394732011":["hashtag1","hashtag2"]},{"1394732008":["hashtag1","hashtag2"]},{"1394732013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732015, 1394732014, 1394732017, 1394732011, 1394732008, 1394732013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.361294746398926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:41:03.278022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_15_5006.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_17_1687.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_18_1515.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_20_1642.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_21_1502.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_23_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_15_5006.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_17_1687.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_18_1515.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_20_1642.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_21_1502.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_23_1607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732030","1394732024","1394732027","1394732021","1394732020","1394732022"],"photo_ids_order":["1394732020","1394732021","1394732022","1394732024","1394732027","1394732030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/607792c280fe61e94269962644454f62.jpg","text":"TemporaryFile(/tmp/multipartBody5949503700370481608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282524011,"filename":"image_16112025_09_03_23_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6746bfda92eeaeed96ead8a49552ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7234683185294549808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282524011,"filename":"image_16112025_09_03_20_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb8a929af2426d77d81be84221baf5fc.jpg","text":"TemporaryFile(/tmp/multipartBody3793027190249785626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282524011,"filename":"image_16112025_09_03_21_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c82f889ba736c0ae6ea6d4130a1a1a6.jpg","text":"TemporaryFile(/tmp/multipartBody2303201277075896875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282524011,"filename":"image_16112025_09_03_17_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/139c0d8fbe6e961f7cb02e6f67941f41.jpg","text":"TemporaryFile(/tmp/multipartBody774131432566440662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282524011,"filename":"image_16112025_09_03_15_5006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38ecc041539a47e7607879c2fd368b0e.jpg","text":"TemporaryFile(/tmp/multipartBody1747400318293023760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282524011,"filename":"image_16112025_09_03_18_1515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732022","file1":"1394732021","file0":"1394732020","file4":"1394732027","file5":"1394732030","file3":"1394732024"},"map_files_photo_id_array":[{"photo_id":"1394732030","filename":"file5"},{"photo_id":"1394732022","filename":"file2"},{"photo_id":"1394732027","filename":"file4"},{"photo_id":"1394732021","filename":"file1"},{"photo_id":"1394732020","filename":"file0"},{"photo_id":"1394732024","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732030":["hashtag1","hashtag2"]},{"1394732024":["hashtag1","hashtag2"]},{"1394732027":["hashtag1","hashtag2"]},{"1394732021":["hashtag1","hashtag2"]},{"1394732020":["hashtag1","hashtag2"]},{"1394732022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732030, 1394732024, 1394732027, 1394732021, 1394732020, 1394732022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62224984169006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:41:42.508665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_33_10075.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_34_1580.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_36_1789.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_38_1612.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_48_9841.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_49_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_33_10075.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_34_1580.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_36_1789.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_38_1612.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_48_9841.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_49_1680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732042","1394732045","1394732039","1394732041","1394732035","1394732046"],"photo_ids_order":["1394732035","1394732039","1394732041","1394732042","1394732045","1394732046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12e1b6f65f54eac00fde7c35ee8584ef.jpg","text":"TemporaryFile(/tmp/multipartBody2581560441194371414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282563178,"filename":"image_16112025_09_03_38_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/820a499c92d1ea8d13aa85cc55715912.jpg","text":"TemporaryFile(/tmp/multipartBody1576773816786914607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282563178,"filename":"image_16112025_09_03_48_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/539bcad2fdb37f9dcd012eb1051c96e3.jpg","text":"TemporaryFile(/tmp/multipartBody8429273958258314788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282563178,"filename":"image_16112025_09_03_34_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c5c0e434a050ccf5b8744fc26abdf94.jpg","text":"TemporaryFile(/tmp/multipartBody2605231698623189476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282563178,"filename":"image_16112025_09_03_36_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f19110f2d7e1f677ca88dd0a1e3f6053.jpg","text":"TemporaryFile(/tmp/multipartBody8889053258635545820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282563178,"filename":"image_16112025_09_03_33_10075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5583dc4d54f4f117f965dbafab11aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2322792291703652662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282563178,"filename":"image_16112025_09_03_49_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732041","file1":"1394732039","file0":"1394732035","file4":"1394732045","file5":"1394732046","file3":"1394732042"},"map_files_photo_id_array":[{"photo_id":"1394732046","filename":"file5"},{"photo_id":"1394732041","filename":"file2"},{"photo_id":"1394732045","filename":"file4"},{"photo_id":"1394732039","filename":"file1"},{"photo_id":"1394732035","filename":"file0"},{"photo_id":"1394732042","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732042":["hashtag1","hashtag2"]},{"1394732045":["hashtag1","hashtag2"]},{"1394732039":["hashtag1","hashtag2"]},{"1394732041":["hashtag1","hashtag2"]},{"1394732035":["hashtag1","hashtag2"]},{"1394732046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732042, 1394732045, 1394732039, 1394732041, 1394732035, 1394732046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.195026874542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:42:22.765994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_57_7231.jpg', '/home/pi/Desktop/images/16112025/09/03/image_16112025_09_04_00_2897.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_01_1742.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_03_1498.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_04_1650.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_09_4403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_03_57_7231.jpg
/home/pi/Desktop/images/16112025/09/03/image_16112025_09_04_00_2897.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_01_1742.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_03_1498.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_04_1650.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_09_4403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732056","1394732061","1394732064","1394732058","1394732052","1394732060"],"photo_ids_order":["1394732052","1394732056","1394732058","1394732060","1394732061","1394732064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/babb507e94338212a8571ef119b37c41.jpg","text":"TemporaryFile(/tmp/multipartBody69354377932977122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282603385,"filename":"image_16112025_09_04_00_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94e53cc212cf6fdd34cf4c8256023f88.jpg","text":"TemporaryFile(/tmp/multipartBody4858127484727146655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282603385,"filename":"image_16112025_09_04_04_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01d7d35aa862ec529b687a4280f6bce6.jpg","text":"TemporaryFile(/tmp/multipartBody4557333229441904098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282603385,"filename":"image_16112025_09_04_09_4403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bfd069354bb7b9f0d20f8fe2c37ea7f.jpg","text":"TemporaryFile(/tmp/multipartBody7285486448157638418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282603385,"filename":"image_16112025_09_04_01_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/376e5170ed335d62434bfe9aee8e20b4.jpg","text":"TemporaryFile(/tmp/multipartBody4962113240371058636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282603385,"filename":"image_16112025_09_03_57_7231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29431139a9545e7b274df4e72dfaf29c.jpg","text":"TemporaryFile(/tmp/multipartBody8309352925869284946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282603385,"filename":"image_16112025_09_04_03_1498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732058","file1":"1394732056","file0":"1394732052","file4":"1394732061","file5":"1394732064","file3":"1394732060"},"map_files_photo_id_array":[{"photo_id":"1394732064","filename":"file5"},{"photo_id":"1394732058","filename":"file2"},{"photo_id":"1394732061","filename":"file4"},{"photo_id":"1394732056","filename":"file1"},{"photo_id":"1394732052","filename":"file0"},{"photo_id":"1394732060","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732056":["hashtag1","hashtag2"]},{"1394732061":["hashtag1","hashtag2"]},{"1394732064":["hashtag1","hashtag2"]},{"1394732058":["hashtag1","hashtag2"]},{"1394732052":["hashtag1","hashtag2"]},{"1394732060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732056, 1394732061, 1394732064, 1394732058, 1394732052, 1394732060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.529529094696045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:43:02.717410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_11_1687.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_12_1802.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_16_1608.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_17_1618.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_19_1711.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_21_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_11_1687.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_12_1802.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_16_1608.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_17_1618.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_19_1711.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_21_1607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732138","1394732065","1394732068","1394732067","1394732100","1394732066"],"photo_ids_order":["1394732065","1394732066","1394732067","1394732068","1394732100","1394732138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9588bae7643778fd953fd2bbeb96de7.jpg","text":"TemporaryFile(/tmp/multipartBody3726330356140284142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282643460,"filename":"image_16112025_09_04_21_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6ce5c6e78a05f149652c9738e462421.jpg","text":"TemporaryFile(/tmp/multipartBody1872219123081668505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282643460,"filename":"image_16112025_09_04_11_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4ee2a5b6bb7be39db1116b23fc79448.jpg","text":"TemporaryFile(/tmp/multipartBody4575000509272857428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282643460,"filename":"image_16112025_09_04_17_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eeb3a2db5267509875605452fae02271.jpg","text":"TemporaryFile(/tmp/multipartBody1589819670150000078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282643460,"filename":"image_16112025_09_04_16_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f7efb5662767dfba1530e0287674a30.jpg","text":"TemporaryFile(/tmp/multipartBody1887820147369123590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282643460,"filename":"image_16112025_09_04_19_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88da2d876a7a9083895dad9ba8e1a86b.jpg","text":"TemporaryFile(/tmp/multipartBody8842816591899346738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282643460,"filename":"image_16112025_09_04_12_1802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732067","file1":"1394732066","file0":"1394732065","file4":"1394732100","file5":"1394732138","file3":"1394732068"},"map_files_photo_id_array":[{"photo_id":"1394732138","filename":"file5"},{"photo_id":"1394732067","filename":"file2"},{"photo_id":"1394732100","filename":"file4"},{"photo_id":"1394732066","filename":"file1"},{"photo_id":"1394732065","filename":"file0"},{"photo_id":"1394732068","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732138":["hashtag1","hashtag2"]},{"1394732065":["hashtag1","hashtag2"]},{"1394732068":["hashtag1","hashtag2"]},{"1394732067":["hashtag1","hashtag2"]},{"1394732100":["hashtag1","hashtag2"]},{"1394732066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732138, 1394732065, 1394732068, 1394732067, 1394732100, 1394732066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60608172416687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:43:42.045678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_22_1722.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_25_2548.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_28_3615.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_31_2611.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_34_2789.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_37_3521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_22_1722.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_25_2548.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_28_3615.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_31_2611.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_34_2789.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_37_3521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732362","1394732286","1394732322","1394732390","1394732393","1394732387"],"photo_ids_order":["1394732286","1394732322","1394732362","1394732387","1394732390","1394732393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81f695ad8a8fb7bff2d451e05a771b83.jpg","text":"TemporaryFile(/tmp/multipartBody7923368728674270826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282682651,"filename":"image_16112025_09_04_28_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72bda82670a8313ed97c1350b878522b.jpg","text":"TemporaryFile(/tmp/multipartBody3011822456438309517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282682651,"filename":"image_16112025_09_04_22_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20f6bca15f1d91c2f883eef91a92c5a0.jpg","text":"TemporaryFile(/tmp/multipartBody2698615666132350148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282682651,"filename":"image_16112025_09_04_25_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/971e16b476a0d8f2f2a032e9591f9e74.jpg","text":"TemporaryFile(/tmp/multipartBody439839080511825306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282682651,"filename":"image_16112025_09_04_34_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d0559d5b258bc0e2276bc0495251d60.jpg","text":"TemporaryFile(/tmp/multipartBody3850283323368622917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282682651,"filename":"image_16112025_09_04_37_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e78420dd1de684c584a83a3e3d05b57.jpg","text":"TemporaryFile(/tmp/multipartBody1700428424835752280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282682651,"filename":"image_16112025_09_04_31_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732362","file1":"1394732322","file0":"1394732286","file4":"1394732390","file5":"1394732393","file3":"1394732387"},"map_files_photo_id_array":[{"photo_id":"1394732393","filename":"file5"},{"photo_id":"1394732362","filename":"file2"},{"photo_id":"1394732390","filename":"file4"},{"photo_id":"1394732322","filename":"file1"},{"photo_id":"1394732286","filename":"file0"},{"photo_id":"1394732387","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732362":["hashtag1","hashtag2"]},{"1394732286":["hashtag1","hashtag2"]},{"1394732322":["hashtag1","hashtag2"]},{"1394732390":["hashtag1","hashtag2"]},{"1394732393":["hashtag1","hashtag2"]},{"1394732387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732362, 1394732286, 1394732322, 1394732390, 1394732393, 1394732387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13007307052612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:44:22.325889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_40_2809.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_43_2616.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_46_2799.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_49_3737.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_52_2724.jpg', '/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_55_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_40_2809.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_43_2616.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_46_2799.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_49_3737.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_52_2724.jpg
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_55_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732414","1394732411","1394732407","1394732401","1394732404","1394732409"],"photo_ids_order":["1394732401","1394732404","1394732407","1394732409","1394732411","1394732414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c32ef96b29a1654e3b27a960f3a507db.jpg","text":"TemporaryFile(/tmp/multipartBody3307210955489625813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282722957,"filename":"image_16112025_09_04_55_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbdfc5bed4d20df6d7f3996e49b677d2.jpg","text":"TemporaryFile(/tmp/multipartBody8992992956338808026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282722957,"filename":"image_16112025_09_04_52_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe8c37de3e2dc6fa3a1fd100762ec5cd.jpg","text":"TemporaryFile(/tmp/multipartBody2556292894111158231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282722957,"filename":"image_16112025_09_04_46_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4283e440e236457f2c283d4ceee42d6.jpg","text":"TemporaryFile(/tmp/multipartBody606961678175135703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282722957,"filename":"image_16112025_09_04_40_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d6e8878815372d458404fed972539cc.jpg","text":"TemporaryFile(/tmp/multipartBody2558820495770163570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282722957,"filename":"image_16112025_09_04_43_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d768fbb64d26e00e990ccc318014d72.jpg","text":"TemporaryFile(/tmp/multipartBody6391366853448928200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282722957,"filename":"image_16112025_09_04_49_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732407","file1":"1394732404","file0":"1394732401","file4":"1394732411","file5":"1394732414","file3":"1394732409"},"map_files_photo_id_array":[{"photo_id":"1394732414","filename":"file5"},{"photo_id":"1394732407","filename":"file2"},{"photo_id":"1394732411","filename":"file4"},{"photo_id":"1394732404","filename":"file1"},{"photo_id":"1394732401","filename":"file0"},{"photo_id":"1394732409","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732414":["hashtag1","hashtag2"]},{"1394732411":["hashtag1","hashtag2"]},{"1394732407":["hashtag1","hashtag2"]},{"1394732401":["hashtag1","hashtag2"]},{"1394732404":["hashtag1","hashtag2"]},{"1394732409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732414, 1394732411, 1394732407, 1394732401, 1394732404, 1394732409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.207233905792236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:45:03.222489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_58_3552.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_01_2582.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_04_2824.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_07_3542.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_13_5619.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_15_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/04/image_16112025_09_04_58_3552.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_01_2582.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_04_2824.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_07_3542.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_13_5619.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_15_1711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732420","1394732419","1394732422","1394732421","1394732424","1394732427"],"photo_ids_order":["1394732419","1394732420","1394732421","1394732422","1394732424","1394732427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdff569f83366f881c144a1f9683b8be.jpg","text":"TemporaryFile(/tmp/multipartBody1106924740902255987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282763944,"filename":"image_16112025_09_05_01_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5190545279f3a70d446170748861acc9.jpg","text":"TemporaryFile(/tmp/multipartBody8507802456667565695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282763944,"filename":"image_16112025_09_04_58_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca423ec1ae24dffebfaf06b25906bac9.jpg","text":"TemporaryFile(/tmp/multipartBody1564621122339536821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282763944,"filename":"image_16112025_09_05_07_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a58fe588d335a3fb588d1c774aa4b52.jpg","text":"TemporaryFile(/tmp/multipartBody5804450645766920786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282763944,"filename":"image_16112025_09_05_04_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1ae5e7d274ff009efa6262c2da4f678.jpg","text":"TemporaryFile(/tmp/multipartBody8558631994058287767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282763944,"filename":"image_16112025_09_05_13_5619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f5b68a7d373a0258b7633021b4ee934.jpg","text":"TemporaryFile(/tmp/multipartBody3522731777726564842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282763944,"filename":"image_16112025_09_05_15_1711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732421","file1":"1394732420","file0":"1394732419","file4":"1394732424","file5":"1394732427","file3":"1394732422"},"map_files_photo_id_array":[{"photo_id":"1394732427","filename":"file5"},{"photo_id":"1394732421","filename":"file2"},{"photo_id":"1394732424","filename":"file4"},{"photo_id":"1394732420","filename":"file1"},{"photo_id":"1394732419","filename":"file0"},{"photo_id":"1394732422","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732420":["hashtag1","hashtag2"]},{"1394732419":["hashtag1","hashtag2"]},{"1394732422":["hashtag1","hashtag2"]},{"1394732421":["hashtag1","hashtag2"]},{"1394732424":["hashtag1","hashtag2"]},{"1394732427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732420, 1394732419, 1394732422, 1394732421, 1394732424, 1394732427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72924852371216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:45:42.545137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_16_1669.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_19_2708.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_22_2701.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_25_3799.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_28_2667.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_31_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_16_1669.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_19_2708.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_22_2701.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_25_3799.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_28_2667.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_31_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732435","1394732438","1394732437","1394732433","1394732436","1394732439"],"photo_ids_order":["1394732433","1394732435","1394732436","1394732437","1394732438","1394732439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c61993942448b06b7dbddf7e77d59392.jpg","text":"TemporaryFile(/tmp/multipartBody1113698899240314707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282803158,"filename":"image_16112025_09_05_19_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c400a055c3372e68c076761e5742846.jpg","text":"TemporaryFile(/tmp/multipartBody134220059315633784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282803158,"filename":"image_16112025_09_05_28_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4daed495bd67319757528631ee10fa7c.jpg","text":"TemporaryFile(/tmp/multipartBody6467752911326069691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282803158,"filename":"image_16112025_09_05_25_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f06057890c5c82506e78052732425544.jpg","text":"TemporaryFile(/tmp/multipartBody4988360611404004535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282803158,"filename":"image_16112025_09_05_16_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02beb6c27b0fa01ae30f375e0905557b.jpg","text":"TemporaryFile(/tmp/multipartBody363625743790885348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282803158,"filename":"image_16112025_09_05_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/11/16/a01e960b0fbd7860389bf22e9c92dc0e.jpg","text":"TemporaryFile(/tmp/multipartBody803296955039869727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282803158,"filename":"image_16112025_09_05_31_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732436","file1":"1394732435","file0":"1394732433","file4":"1394732438","file5":"1394732439","file3":"1394732437"},"map_files_photo_id_array":[{"photo_id":"1394732439","filename":"file5"},{"photo_id":"1394732436","filename":"file2"},{"photo_id":"1394732438","filename":"file4"},{"photo_id":"1394732435","filename":"file1"},{"photo_id":"1394732433","filename":"file0"},{"photo_id":"1394732437","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732435":["hashtag1","hashtag2"]},{"1394732438":["hashtag1","hashtag2"]},{"1394732437":["hashtag1","hashtag2"]},{"1394732433":["hashtag1","hashtag2"]},{"1394732436":["hashtag1","hashtag2"]},{"1394732439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732435, 1394732438, 1394732437, 1394732433, 1394732436, 1394732439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69328784942627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:46:22.904720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_34_2733.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_38_3970.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_40_2670.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_43_2806.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_46_2638.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_49_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_34_2733.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_38_3970.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_40_2670.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_43_2806.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_46_2638.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_49_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732453","1394732443","1394732446","1394732451","1394732448","1394732450"],"photo_ids_order":["1394732443","1394732446","1394732448","1394732450","1394732451","1394732453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0391827e138ef19e8e95110135190f4.jpg","text":"TemporaryFile(/tmp/multipartBody8064752861864807017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282843538,"filename":"image_16112025_09_05_49_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/630da7dc24fe166367ea0e119265fa04.jpg","text":"TemporaryFile(/tmp/multipartBody6897717555336913514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282843538,"filename":"image_16112025_09_05_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/11/16/8a8b5895f495be4a24b4d217bd74cf3a.jpg","text":"TemporaryFile(/tmp/multipartBody872003698630533420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282843538,"filename":"image_16112025_09_05_38_3970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/128aed2d2dbb52d5cd4a22c4e7d22622.jpg","text":"TemporaryFile(/tmp/multipartBody3297945927639570970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282843538,"filename":"image_16112025_09_05_46_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79c31531eb581e5700f423eba823fefd.jpg","text":"TemporaryFile(/tmp/multipartBody1345861557660201537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282843538,"filename":"image_16112025_09_05_40_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74c3c1058dab0c980306cf2c95c2bc81.jpg","text":"TemporaryFile(/tmp/multipartBody929322074955320074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282843538,"filename":"image_16112025_09_05_43_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732448","file1":"1394732446","file0":"1394732443","file4":"1394732451","file5":"1394732453","file3":"1394732450"},"map_files_photo_id_array":[{"photo_id":"1394732453","filename":"file5"},{"photo_id":"1394732448","filename":"file2"},{"photo_id":"1394732451","filename":"file4"},{"photo_id":"1394732446","filename":"file1"},{"photo_id":"1394732443","filename":"file0"},{"photo_id":"1394732450","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732453":["hashtag1","hashtag2"]},{"1394732443":["hashtag1","hashtag2"]},{"1394732446":["hashtag1","hashtag2"]},{"1394732451":["hashtag1","hashtag2"]},{"1394732448":["hashtag1","hashtag2"]},{"1394732450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732453, 1394732443, 1394732446, 1394732451, 1394732448, 1394732450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.245771646499634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:47:02.797106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_52_2606.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_55_2641.jpg', '/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_58_3623.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_01_2665.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_04_2689.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_10_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_52_2606.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_55_2641.jpg
/home/pi/Desktop/images/16112025/09/05/image_16112025_09_05_58_3623.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_01_2665.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_04_2689.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_10_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732456","1394732455","1394732454","1394732457","1394732462","1394732459"],"photo_ids_order":["1394732454","1394732455","1394732456","1394732457","1394732459","1394732462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93ea83b569e572f2d1687c904abc9f92.jpg","text":"TemporaryFile(/tmp/multipartBody4265287354200406869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282883591,"filename":"image_16112025_09_05_58_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bbd8bde786c8611fefa268eb4cc83a5.jpg","text":"TemporaryFile(/tmp/multipartBody4126805663598789122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282883591,"filename":"image_16112025_09_05_55_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a8eebcf71509c06e518d6398fd4b9e8.jpg","text":"TemporaryFile(/tmp/multipartBody8286123739684033861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282883591,"filename":"image_16112025_09_05_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/11/16/2ee8aa6f5de758cfb323e4470d7a1d1c.jpg","text":"TemporaryFile(/tmp/multipartBody7461354130234980664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282883591,"filename":"image_16112025_09_06_01_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ef320a4b1eaa08d04b5072d4d56633a.jpg","text":"TemporaryFile(/tmp/multipartBody1639839462754664233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282883591,"filename":"image_16112025_09_06_10_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e0e8699e6c49a826038d24a07ab1b66.jpg","text":"TemporaryFile(/tmp/multipartBody9030897340975638442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282883591,"filename":"image_16112025_09_06_04_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732456","file1":"1394732455","file0":"1394732454","file4":"1394732459","file5":"1394732462","file3":"1394732457"},"map_files_photo_id_array":[{"photo_id":"1394732462","filename":"file5"},{"photo_id":"1394732456","filename":"file2"},{"photo_id":"1394732459","filename":"file4"},{"photo_id":"1394732455","filename":"file1"},{"photo_id":"1394732454","filename":"file0"},{"photo_id":"1394732457","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732456":["hashtag1","hashtag2"]},{"1394732455":["hashtag1","hashtag2"]},{"1394732454":["hashtag1","hashtag2"]},{"1394732457":["hashtag1","hashtag2"]},{"1394732462":["hashtag1","hashtag2"]},{"1394732459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732456, 1394732455, 1394732454, 1394732457, 1394732462, 1394732459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01291060447693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:47:42.000217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_13_3633.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_19_2609.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_22_2716.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_25_3633.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_28_2609.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_32_3793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_13_3633.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_19_2609.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_22_2716.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_25_3633.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_28_2609.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_32_3793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732473","1394732467","1394732470","1394732472","1394732475","1394732471"],"photo_ids_order":["1394732467","1394732470","1394732471","1394732472","1394732473","1394732475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7e74c5faa526865c2c7f55454c66f98.jpg","text":"TemporaryFile(/tmp/multipartBody8250039709748737665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282922612,"filename":"image_16112025_09_06_28_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b7c09e2d0ab679e1440950e2e30a426.jpg","text":"TemporaryFile(/tmp/multipartBody3480351833785688799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282922612,"filename":"image_16112025_09_06_13_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fe976300ede3f63fbed4946cbe97f29.jpg","text":"TemporaryFile(/tmp/multipartBody8058514324480688327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282922612,"filename":"image_16112025_09_06_19_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c75533146ba75ff2b564b89adf0e5dca.jpg","text":"TemporaryFile(/tmp/multipartBody8515312720726335707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282922612,"filename":"image_16112025_09_06_25_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1233ac04a3f1d4054067cb99632f6111.jpg","text":"TemporaryFile(/tmp/multipartBody5068075524150816487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282922612,"filename":"image_16112025_09_06_32_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a5ea180eca1e27e04ca79a31c17ac36.jpg","text":"TemporaryFile(/tmp/multipartBody7536546711810520515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282922612,"filename":"image_16112025_09_06_22_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732471","file1":"1394732470","file0":"1394732467","file4":"1394732473","file5":"1394732475","file3":"1394732472"},"map_files_photo_id_array":[{"photo_id":"1394732475","filename":"file5"},{"photo_id":"1394732471","filename":"file2"},{"photo_id":"1394732473","filename":"file4"},{"photo_id":"1394732470","filename":"file1"},{"photo_id":"1394732467","filename":"file0"},{"photo_id":"1394732472","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732473":["hashtag1","hashtag2"]},{"1394732467":["hashtag1","hashtag2"]},{"1394732470":["hashtag1","hashtag2"]},{"1394732472":["hashtag1","hashtag2"]},{"1394732475":["hashtag1","hashtag2"]},{"1394732471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732473, 1394732467, 1394732470, 1394732472, 1394732475, 1394732471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.306620597839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:48:22.300257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_34_2548.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_37_2805.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_40_2565.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_43_3658.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_46_2662.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_49_3480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_34_2548.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_37_2805.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_40_2565.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_43_3658.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_46_2662.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_49_3480.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732485","1394732490","1394732478","1394732487","1394732481","1394732483"],"photo_ids_order":["1394732478","1394732481","1394732483","1394732485","1394732487","1394732490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4c66be33d02511cde3402ffeefa4143.jpg","text":"TemporaryFile(/tmp/multipartBody2015140733055618823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282962930,"filename":"image_16112025_09_06_43_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4399eb5ec47c03fcb8875d1bdcdcbefd.jpg","text":"TemporaryFile(/tmp/multipartBody6412416703192588034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282962930,"filename":"image_16112025_09_06_49_3480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c0d56fc1f2ae05b74588917219b620a.jpg","text":"TemporaryFile(/tmp/multipartBody1342924496696331040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282962930,"filename":"image_16112025_09_06_34_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bf1b6c0627bd9f871d7703b52ee9eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3464534055124513327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282962930,"filename":"image_16112025_09_06_46_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5675813db9bcef9655be9af453b05d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5397586708400634894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282962930,"filename":"image_16112025_09_06_37_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/428e946117918c32f84b0210d0b527f5.jpg","text":"TemporaryFile(/tmp/multipartBody7764519042696924235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763282962930,"filename":"image_16112025_09_06_40_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732483","file1":"1394732481","file0":"1394732478","file4":"1394732487","file5":"1394732490","file3":"1394732485"},"map_files_photo_id_array":[{"photo_id":"1394732490","filename":"file5"},{"photo_id":"1394732483","filename":"file2"},{"photo_id":"1394732487","filename":"file4"},{"photo_id":"1394732481","filename":"file1"},{"photo_id":"1394732478","filename":"file0"},{"photo_id":"1394732485","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732485":["hashtag1","hashtag2"]},{"1394732490":["hashtag1","hashtag2"]},{"1394732478":["hashtag1","hashtag2"]},{"1394732487":["hashtag1","hashtag2"]},{"1394732481":["hashtag1","hashtag2"]},{"1394732483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732485, 1394732490, 1394732478, 1394732487, 1394732481, 1394732483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0502028465271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:49:03.558148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_52_2664.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_55_2653.jpg', '/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_58_3635.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_01_2728.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_04_2795.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_07_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_52_2664.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_55_2653.jpg
/home/pi/Desktop/images/16112025/09/06/image_16112025_09_06_58_3635.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_01_2728.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_04_2795.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_07_2863.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732501","1394732494","1394732496","1394732505","1394732498","1394732492"],"photo_ids_order":["1394732492","1394732494","1394732496","1394732498","1394732501","1394732505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a6de93a39e4ca5e7b399367b314eb55e.jpg","text":"TemporaryFile(/tmp/multipartBody3505459328962767286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283004417,"filename":"image_16112025_09_07_04_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e48638f9911c43acdc1b31935f16ad5e.jpg","text":"TemporaryFile(/tmp/multipartBody662149147100523430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283004417,"filename":"image_16112025_09_06_55_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5aee1737ec8ac40df7eb942a8d87ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6704025388547914496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283004417,"filename":"image_16112025_09_06_58_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2725d9a8969f11fa9587a55b12899901.jpg","text":"TemporaryFile(/tmp/multipartBody8623426259929534585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283004417,"filename":"image_16112025_09_07_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/11/16/8efd3f615a4fef8e9ad1ef486f5a85e8.jpg","text":"TemporaryFile(/tmp/multipartBody5861267148376785999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283004417,"filename":"image_16112025_09_07_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/11/16/1936060f98e5e118e07394b8616f6d5d.jpg","text":"TemporaryFile(/tmp/multipartBody9007913026019617247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283004417,"filename":"image_16112025_09_06_52_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732496","file1":"1394732494","file0":"1394732492","file4":"1394732501","file5":"1394732505","file3":"1394732498"},"map_files_photo_id_array":[{"photo_id":"1394732505","filename":"file5"},{"photo_id":"1394732496","filename":"file2"},{"photo_id":"1394732501","filename":"file4"},{"photo_id":"1394732494","filename":"file1"},{"photo_id":"1394732492","filename":"file0"},{"photo_id":"1394732498","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732501":["hashtag1","hashtag2"]},{"1394732494":["hashtag1","hashtag2"]},{"1394732496":["hashtag1","hashtag2"]},{"1394732505":["hashtag1","hashtag2"]},{"1394732498":["hashtag1","hashtag2"]},{"1394732492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732501, 1394732494, 1394732496, 1394732505, 1394732498, 1394732492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09641098976135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:49:42.486252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_10_3604.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_13_2538.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_16_2677.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_19_3584.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_22_2698.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_24_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_10_3604.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_13_2538.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_16_2677.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_19_3584.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_22_2698.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_24_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732513","1394732512","1394732515","1394732509","1394732514","1394732511"],"photo_ids_order":["1394732509","1394732511","1394732512","1394732513","1394732514","1394732515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4344d1cc8185956f93919718159c59f.jpg","text":"TemporaryFile(/tmp/multipartBody6174274584828250529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283043097,"filename":"image_16112025_09_07_19_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f64ee156fa26c008a2b68558865c1ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2995136025031951149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283043097,"filename":"image_16112025_09_07_16_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bfe713de36f6f7d97710e4037347690.jpg","text":"TemporaryFile(/tmp/multipartBody5850157665534705891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283043097,"filename":"image_16112025_09_07_24_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4093600c5c3729ab8ce61b6c752a378c.jpg","text":"TemporaryFile(/tmp/multipartBody5081127744604039574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283043097,"filename":"image_16112025_09_07_10_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bb258d50e4e5f849872811431ff70e1.jpg","text":"TemporaryFile(/tmp/multipartBody5432250378632419197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283043097,"filename":"image_16112025_09_07_22_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d4be5f7342ab723a9d5957f9b9e5655.jpg","text":"TemporaryFile(/tmp/multipartBody4994880610707761070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283043097,"filename":"image_16112025_09_07_13_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732512","file1":"1394732511","file0":"1394732509","file4":"1394732514","file5":"1394732515","file3":"1394732513"},"map_files_photo_id_array":[{"photo_id":"1394732515","filename":"file5"},{"photo_id":"1394732512","filename":"file2"},{"photo_id":"1394732514","filename":"file4"},{"photo_id":"1394732511","filename":"file1"},{"photo_id":"1394732509","filename":"file0"},{"photo_id":"1394732513","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732513":["hashtag1","hashtag2"]},{"1394732512":["hashtag1","hashtag2"]},{"1394732515":["hashtag1","hashtag2"]},{"1394732509":["hashtag1","hashtag2"]},{"1394732514":["hashtag1","hashtag2"]},{"1394732511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732513, 1394732512, 1394732515, 1394732509, 1394732514, 1394732511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28714156150818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:50:22.716915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_28_3616.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_31_2599.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_34_3723.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_37_2578.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_39_2595.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_43_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_28_3616.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_31_2599.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_34_3723.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_37_2578.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_39_2595.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_43_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732522","1394732524","1394732518","1394732527","1394732520","1394732517"],"photo_ids_order":["1394732517","1394732518","1394732520","1394732522","1394732524","1394732527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09dc723808fa1e244bb36af2269cdd13.jpg","text":"TemporaryFile(/tmp/multipartBody8015180496447516598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283083416,"filename":"image_16112025_09_07_37_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91fe4e54e3d6e9d2f0cb1bcba1f8177f.jpg","text":"TemporaryFile(/tmp/multipartBody7005788629078489095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283083416,"filename":"image_16112025_09_07_39_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24281bdbf63566da56be6d45558347cc.jpg","text":"TemporaryFile(/tmp/multipartBody1457834534804254201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283083416,"filename":"image_16112025_09_07_31_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/310f833168de4476279329bcc269c44c.jpg","text":"TemporaryFile(/tmp/multipartBody2047507784044978966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283083416,"filename":"image_16112025_09_07_43_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/995294d00c88e44c04220259488acd5f.jpg","text":"TemporaryFile(/tmp/multipartBody3272202681335945460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283083416,"filename":"image_16112025_09_07_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/11/16/2b3f1aa61fc8157c31a43721580399d6.jpg","text":"TemporaryFile(/tmp/multipartBody5111148227502880457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283083416,"filename":"image_16112025_09_07_28_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732520","file1":"1394732518","file0":"1394732517","file4":"1394732524","file5":"1394732527","file3":"1394732522"},"map_files_photo_id_array":[{"photo_id":"1394732527","filename":"file5"},{"photo_id":"1394732520","filename":"file2"},{"photo_id":"1394732524","filename":"file4"},{"photo_id":"1394732518","filename":"file1"},{"photo_id":"1394732517","filename":"file0"},{"photo_id":"1394732522","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732522":["hashtag1","hashtag2"]},{"1394732524":["hashtag1","hashtag2"]},{"1394732518":["hashtag1","hashtag2"]},{"1394732527":["hashtag1","hashtag2"]},{"1394732520":["hashtag1","hashtag2"]},{"1394732517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732522, 1394732524, 1394732518, 1394732527, 1394732520, 1394732517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66045379638672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:51:02.644116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_46_2669.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_48_2608.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_52_3756.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_55_2690.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_57_2594.jpg', '/home/pi/Desktop/images/16112025/09/07/image_16112025_09_08_01_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_46_2669.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_48_2608.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_52_3756.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_55_2690.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_07_57_2594.jpg
/home/pi/Desktop/images/16112025/09/07/image_16112025_09_08_01_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732531","1394732530","1394732533","1394732532","1394732535","1394732538"],"photo_ids_order":["1394732530","1394732531","1394732532","1394732533","1394732535","1394732538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/738471d394b0abdd3a54ff2456230b48.jpg","text":"TemporaryFile(/tmp/multipartBody6924524399306572813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283123374,"filename":"image_16112025_09_07_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/11/16/d1aaef08333d4c3b5af7537d7079e82e.jpg","text":"TemporaryFile(/tmp/multipartBody7636348963287971396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283123374,"filename":"image_16112025_09_07_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/11/16/845fccd8d792e9c23a165e0eb0242698.jpg","text":"TemporaryFile(/tmp/multipartBody8041300685948319459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283123374,"filename":"image_16112025_09_07_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/11/16/71203722991a094d7fbad8d8fba45300.jpg","text":"TemporaryFile(/tmp/multipartBody7345799869352238033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283123374,"filename":"image_16112025_09_07_52_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/201dbca6f41e544d3ca16d5a056a9cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4308399062946671350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283123374,"filename":"image_16112025_09_07_57_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9509da67a43e1a0fed34ec68f4f2363a.jpg","text":"TemporaryFile(/tmp/multipartBody6829577854967911629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283123374,"filename":"image_16112025_09_08_01_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732532","file1":"1394732531","file0":"1394732530","file4":"1394732535","file5":"1394732538","file3":"1394732533"},"map_files_photo_id_array":[{"photo_id":"1394732538","filename":"file5"},{"photo_id":"1394732532","filename":"file2"},{"photo_id":"1394732535","filename":"file4"},{"photo_id":"1394732531","filename":"file1"},{"photo_id":"1394732530","filename":"file0"},{"photo_id":"1394732533","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732531":["hashtag1","hashtag2"]},{"1394732530":["hashtag1","hashtag2"]},{"1394732533":["hashtag1","hashtag2"]},{"1394732532":["hashtag1","hashtag2"]},{"1394732535":["hashtag1","hashtag2"]},{"1394732538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732531, 1394732530, 1394732533, 1394732532, 1394732535, 1394732538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.072399854660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:51:42.077629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_04_2529.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_07_3595.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_10_2795.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_13_2779.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_15_2697.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_19_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_04_2529.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_07_3595.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_10_2795.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_13_2779.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_15_2697.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_19_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732552","1394732546","1394732549","1394732554","1394732550","1394732556"],"photo_ids_order":["1394732546","1394732549","1394732550","1394732552","1394732554","1394732556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c6f3e79e199083e8a6fe9c782bb4f99.jpg","text":"TemporaryFile(/tmp/multipartBody8889987354136412750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283162699,"filename":"image_16112025_09_08_13_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d0e008f8516c9dd6795c55f509052a3.jpg","text":"TemporaryFile(/tmp/multipartBody2414630923033745603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283162699,"filename":"image_16112025_09_08_04_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ffb422d2b705129492fa3e50e74c602.jpg","text":"TemporaryFile(/tmp/multipartBody5856962387473194256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283162699,"filename":"image_16112025_09_08_07_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c67c6f18f5911bb5ad2605a07f3ea074.jpg","text":"TemporaryFile(/tmp/multipartBody9029801161177594871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283162699,"filename":"image_16112025_09_08_15_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f61f6f65c83aa7f901ed846ed913962.jpg","text":"TemporaryFile(/tmp/multipartBody2262895934920804147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283162699,"filename":"image_16112025_09_08_10_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3d9c167b7f31ad75cd0da1689f1a3d2.jpg","text":"TemporaryFile(/tmp/multipartBody5201672037381267514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283162699,"filename":"image_16112025_09_08_19_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732550","file1":"1394732549","file0":"1394732546","file4":"1394732554","file5":"1394732556","file3":"1394732552"},"map_files_photo_id_array":[{"photo_id":"1394732556","filename":"file5"},{"photo_id":"1394732550","filename":"file2"},{"photo_id":"1394732554","filename":"file4"},{"photo_id":"1394732549","filename":"file1"},{"photo_id":"1394732546","filename":"file0"},{"photo_id":"1394732552","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732552":["hashtag1","hashtag2"]},{"1394732546":["hashtag1","hashtag2"]},{"1394732549":["hashtag1","hashtag2"]},{"1394732554":["hashtag1","hashtag2"]},{"1394732550":["hashtag1","hashtag2"]},{"1394732556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732552, 1394732546, 1394732549, 1394732554, 1394732550, 1394732556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.524800062179565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:52:22.434097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_22_2528.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_24_2679.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_28_3734.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_31_2735.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_33_2573.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_37_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_22_2528.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_24_2679.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_28_3734.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_31_2735.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_33_2573.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_37_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732573","1394732566","1394732571","1394732568","1394732562","1394732576"],"photo_ids_order":["1394732562","1394732566","1394732568","1394732571","1394732573","1394732576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f56367d8dbff840c3baa2d49acf77516.jpg","text":"TemporaryFile(/tmp/multipartBody4767045686799162115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283203108,"filename":"image_16112025_09_08_33_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46d85ed36d5b167761e664cf26ac17d2.jpg","text":"TemporaryFile(/tmp/multipartBody4427159038933891116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283203108,"filename":"image_16112025_09_08_24_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c3cddc1a060dd69d0c9f3175147dadb.jpg","text":"TemporaryFile(/tmp/multipartBody5305379008765661928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283203108,"filename":"image_16112025_09_08_31_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28611bb0036e9b0768b2e0b77927a576.jpg","text":"TemporaryFile(/tmp/multipartBody7705748027647376891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283203108,"filename":"image_16112025_09_08_28_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b5c5a2a243dd015debe35447773abce.jpg","text":"TemporaryFile(/tmp/multipartBody2051128526230957065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283203108,"filename":"image_16112025_09_08_22_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f15a42f61f4bd50e1f354f8d0df82402.jpg","text":"TemporaryFile(/tmp/multipartBody7421550885350545157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283203108,"filename":"image_16112025_09_08_37_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732568","file1":"1394732566","file0":"1394732562","file4":"1394732573","file5":"1394732576","file3":"1394732571"},"map_files_photo_id_array":[{"photo_id":"1394732576","filename":"file5"},{"photo_id":"1394732568","filename":"file2"},{"photo_id":"1394732573","filename":"file4"},{"photo_id":"1394732566","filename":"file1"},{"photo_id":"1394732562","filename":"file0"},{"photo_id":"1394732571","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732573":["hashtag1","hashtag2"]},{"1394732566":["hashtag1","hashtag2"]},{"1394732571":["hashtag1","hashtag2"]},{"1394732568":["hashtag1","hashtag2"]},{"1394732562":["hashtag1","hashtag2"]},{"1394732576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732573, 1394732566, 1394732571, 1394732568, 1394732562, 1394732576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.530149698257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:53:03.249346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_40_2636.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_42_2886.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_46_3563.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_49_2751.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_51_2686.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_55_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_40_2636.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_42_2886.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_46_3563.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_49_2751.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_51_2686.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_55_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732581","1394732583","1394732586","1394732588","1394732591","1394732585"],"photo_ids_order":["1394732581","1394732583","1394732585","1394732586","1394732588","1394732591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74a324b67c96df33d998d9755331233c.jpg","text":"TemporaryFile(/tmp/multipartBody8690559652413498816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283243970,"filename":"image_16112025_09_08_40_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/786f0631c6695dd943759b0c6f0b1b89.jpg","text":"TemporaryFile(/tmp/multipartBody5677609095482411078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283243970,"filename":"image_16112025_09_08_42_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b7f800ad966b909fe66e021ae50dea1.jpg","text":"TemporaryFile(/tmp/multipartBody1908181881050971723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283243970,"filename":"image_16112025_09_08_49_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5069af7d6c8eaf3d05260fa28d3c55c9.jpg","text":"TemporaryFile(/tmp/multipartBody1077832750456765681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283243970,"filename":"image_16112025_09_08_51_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5525850b34f02ae531cf807209778a46.jpg","text":"TemporaryFile(/tmp/multipartBody5539979417974037174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283243970,"filename":"image_16112025_09_08_55_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44fc27c3108aa061b6076ee1da41d8de.jpg","text":"TemporaryFile(/tmp/multipartBody1416048396168770224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283243970,"filename":"image_16112025_09_08_46_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732585","file1":"1394732583","file0":"1394732581","file4":"1394732588","file5":"1394732591","file3":"1394732586"},"map_files_photo_id_array":[{"photo_id":"1394732591","filename":"file5"},{"photo_id":"1394732585","filename":"file2"},{"photo_id":"1394732588","filename":"file4"},{"photo_id":"1394732583","filename":"file1"},{"photo_id":"1394732581","filename":"file0"},{"photo_id":"1394732586","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732581":["hashtag1","hashtag2"]},{"1394732583":["hashtag1","hashtag2"]},{"1394732586":["hashtag1","hashtag2"]},{"1394732588":["hashtag1","hashtag2"]},{"1394732591":["hashtag1","hashtag2"]},{"1394732585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732581, 1394732583, 1394732586, 1394732588, 1394732591, 1394732585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81459617614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:53:42.533379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_57_2498.jpg', '/home/pi/Desktop/images/16112025/09/08/image_16112025_09_09_01_3659.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_04_2533.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_06_2794.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_10_3611.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_13_2489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_08_57_2498.jpg
/home/pi/Desktop/images/16112025/09/08/image_16112025_09_09_01_3659.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_04_2533.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_06_2794.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_10_3611.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_13_2489.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732606","1394732600","1394732603","1394732602","1394732605","1394732604"],"photo_ids_order":["1394732600","1394732602","1394732603","1394732604","1394732605","1394732606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d869fdbf7078994f933932e670fe2e0.jpg","text":"TemporaryFile(/tmp/multipartBody8615153351213550881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283283147,"filename":"image_16112025_09_09_13_2489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4266c91f32ab5da61059772dfcedf1c7.jpg","text":"TemporaryFile(/tmp/multipartBody6319136702463691810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283283147,"filename":"image_16112025_09_08_57_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5a5664a58b61a482c353b9844559046.jpg","text":"TemporaryFile(/tmp/multipartBody3530241037199427591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283283147,"filename":"image_16112025_09_09_04_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b61285f6adf44a2367d7d7c23a41c58.jpg","text":"TemporaryFile(/tmp/multipartBody2292501800101866589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283283147,"filename":"image_16112025_09_09_01_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac17b1abae0c759c1fdd3106f2c348e8.jpg","text":"TemporaryFile(/tmp/multipartBody5065922307306328549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283283147,"filename":"image_16112025_09_09_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/11/16/e81e449927242825b9e84bf9100bf3c9.jpg","text":"TemporaryFile(/tmp/multipartBody5267319571923440148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283283147,"filename":"image_16112025_09_09_06_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732603","file1":"1394732602","file0":"1394732600","file4":"1394732605","file5":"1394732606","file3":"1394732604"},"map_files_photo_id_array":[{"photo_id":"1394732606","filename":"file5"},{"photo_id":"1394732603","filename":"file2"},{"photo_id":"1394732605","filename":"file4"},{"photo_id":"1394732602","filename":"file1"},{"photo_id":"1394732600","filename":"file0"},{"photo_id":"1394732604","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732606":["hashtag1","hashtag2"]},{"1394732600":["hashtag1","hashtag2"]},{"1394732603":["hashtag1","hashtag2"]},{"1394732602":["hashtag1","hashtag2"]},{"1394732605":["hashtag1","hashtag2"]},{"1394732604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732606, 1394732600, 1394732603, 1394732602, 1394732605, 1394732604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.891547441482544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:54:24.346132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_15_2728.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_19_3638.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_22_2698.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_24_2607.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_28_3685.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_30_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_15_2728.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_19_3638.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_22_2698.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_24_2607.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_28_3685.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_30_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732612","1394732728","1394732623","1394732690","1394732610","1394732657"],"photo_ids_order":["1394732610","1394732612","1394732623","1394732657","1394732690","1394732728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7d8617047f8995c710e1fbdaa163d4c.jpg","text":"TemporaryFile(/tmp/multipartBody595044334818438721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283324964,"filename":"image_16112025_09_09_19_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd9e28f40d414f8f7530c52dd5e41727.jpg","text":"TemporaryFile(/tmp/multipartBody8231080598676224275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283324964,"filename":"image_16112025_09_09_30_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9600099d68a5df69e971fc6626f9054b.jpg","text":"TemporaryFile(/tmp/multipartBody4045332686427548476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283324964,"filename":"image_16112025_09_09_22_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bf3975cf7ae280fa7bbac6a8f8b0e66.jpg","text":"TemporaryFile(/tmp/multipartBody2204530479193046600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283324964,"filename":"image_16112025_09_09_28_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e074cd18b97ab8c30f8a0ad64e9088b7.jpg","text":"TemporaryFile(/tmp/multipartBody1229451904232752757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283324964,"filename":"image_16112025_09_09_15_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/307d03f065ca654149a7aaf5b4c154a1.jpg","text":"TemporaryFile(/tmp/multipartBody6505830486175787946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283324964,"filename":"image_16112025_09_09_24_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732623","file1":"1394732612","file0":"1394732610","file4":"1394732690","file5":"1394732728","file3":"1394732657"},"map_files_photo_id_array":[{"photo_id":"1394732728","filename":"file5"},{"photo_id":"1394732623","filename":"file2"},{"photo_id":"1394732690","filename":"file4"},{"photo_id":"1394732612","filename":"file1"},{"photo_id":"1394732610","filename":"file0"},{"photo_id":"1394732657","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732612":["hashtag1","hashtag2"]},{"1394732728":["hashtag1","hashtag2"]},{"1394732623":["hashtag1","hashtag2"]},{"1394732690":["hashtag1","hashtag2"]},{"1394732610":["hashtag1","hashtag2"]},{"1394732657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732612, 1394732728, 1394732623, 1394732690, 1394732610, 1394732657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0146062374115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:55:03.244749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_33_2640.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_37_3662.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_39_2555.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_43_3581.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_46_2613.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_48_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_33_2640.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_37_3662.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_39_2555.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_43_3581.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_46_2613.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_48_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732843","1394732839","1394732850","1394732838","1394732847","1394732841"],"photo_ids_order":["1394732838","1394732839","1394732841","1394732843","1394732847","1394732850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e4ba8480a59e8b1ce68feeb0147bd74.jpg","text":"TemporaryFile(/tmp/multipartBody9088737913764931213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283364010,"filename":"image_16112025_09_09_43_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f4f75db26826537f1a3ad909ee50bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7458268326752194811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283364010,"filename":"image_16112025_09_09_37_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4580a1a6187a58450eecbd16f4243fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7264985571501817759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283364010,"filename":"image_16112025_09_09_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/11/16/0847290eeba22516e7117e1b2c2b76f6.jpg","text":"TemporaryFile(/tmp/multipartBody7358856092118753880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283364010,"filename":"image_16112025_09_09_33_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2729f68c303a1a9e2e92e2f6d38577c.jpg","text":"TemporaryFile(/tmp/multipartBody7065111361068641384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283364010,"filename":"image_16112025_09_09_46_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfb51979def7c972a1b8448a29dd1050.jpg","text":"TemporaryFile(/tmp/multipartBody9104712274421064410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283364010,"filename":"image_16112025_09_09_39_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732841","file1":"1394732839","file0":"1394732838","file4":"1394732847","file5":"1394732850","file3":"1394732843"},"map_files_photo_id_array":[{"photo_id":"1394732850","filename":"file5"},{"photo_id":"1394732841","filename":"file2"},{"photo_id":"1394732847","filename":"file4"},{"photo_id":"1394732839","filename":"file1"},{"photo_id":"1394732838","filename":"file0"},{"photo_id":"1394732843","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732843":["hashtag1","hashtag2"]},{"1394732839":["hashtag1","hashtag2"]},{"1394732850":["hashtag1","hashtag2"]},{"1394732838":["hashtag1","hashtag2"]},{"1394732847":["hashtag1","hashtag2"]},{"1394732841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732843, 1394732839, 1394732850, 1394732838, 1394732847, 1394732841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95417332649231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:55:42.538678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_52_3600.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_55_2779.jpg', '/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_57_2603.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_04_2919.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_06_2655.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_10_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_52_3600.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_55_2779.jpg
/home/pi/Desktop/images/16112025/09/09/image_16112025_09_09_57_2603.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_04_2919.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_06_2655.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_10_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732864","1394732863","1394732856","1394732865","1394732859","1394732861"],"photo_ids_order":["1394732856","1394732859","1394732861","1394732863","1394732864","1394732865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63272bbedd9a40a33bb54009918c6ca4.jpg","text":"TemporaryFile(/tmp/multipartBody2350227094693911862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283403153,"filename":"image_16112025_09_10_06_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19c07d0a899b2de3ad7a4068c0c03d22.jpg","text":"TemporaryFile(/tmp/multipartBody2625922886384829412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283403153,"filename":"image_16112025_09_10_04_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a45f2a10b2038172bea99a97e51291a7.jpg","text":"TemporaryFile(/tmp/multipartBody3110804966249890519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283403153,"filename":"image_16112025_09_09_52_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a61aaf36b00d093c893e3e2366c75c7.jpg","text":"TemporaryFile(/tmp/multipartBody208793158577016057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283403153,"filename":"image_16112025_09_10_10_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c9e1be7fb92c4ced1f28534d6b38926.jpg","text":"TemporaryFile(/tmp/multipartBody213102582865653968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283403153,"filename":"image_16112025_09_09_55_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a9881dd6521e1dab1db129ab4c6398a.jpg","text":"TemporaryFile(/tmp/multipartBody3334357565521644352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283403153,"filename":"image_16112025_09_09_57_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732861","file1":"1394732859","file0":"1394732856","file4":"1394732864","file5":"1394732865","file3":"1394732863"},"map_files_photo_id_array":[{"photo_id":"1394732865","filename":"file5"},{"photo_id":"1394732861","filename":"file2"},{"photo_id":"1394732864","filename":"file4"},{"photo_id":"1394732859","filename":"file1"},{"photo_id":"1394732856","filename":"file0"},{"photo_id":"1394732863","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732864":["hashtag1","hashtag2"]},{"1394732863":["hashtag1","hashtag2"]},{"1394732856":["hashtag1","hashtag2"]},{"1394732865":["hashtag1","hashtag2"]},{"1394732859":["hashtag1","hashtag2"]},{"1394732861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732864, 1394732863, 1394732856, 1394732865, 1394732859, 1394732861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26169443130493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 09:56:22.857962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_12_2500.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_15_2637.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_19_3704.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_21_2579.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_25_3648.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_28_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_12_2500.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_15_2637.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_19_3704.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_21_2579.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_25_3648.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_28_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394732921","1394732956","1394732991","1394733047","1394733029","1394732888"],"photo_ids_order":["1394732888","1394732921","1394732956","1394732991","1394733029","1394733047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c17f774e3282fbdef62a41a4fba2cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6157175075603716785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283443474,"filename":"image_16112025_09_10_15_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/111c4a9d38884c0a191b64ce5e0b4740.jpg","text":"TemporaryFile(/tmp/multipartBody5167373941309617477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283443474,"filename":"image_16112025_09_10_19_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6916e656829d1347b15bc8d5c0950f3.jpg","text":"TemporaryFile(/tmp/multipartBody3503160279639866436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283443474,"filename":"image_16112025_09_10_21_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc97677d1469898d6841f93b4ffa7ab9.jpg","text":"TemporaryFile(/tmp/multipartBody6468801882536824025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283443474,"filename":"image_16112025_09_10_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/11/16/13783adcac415cb12fdea8aef8d2a2b3.jpg","text":"TemporaryFile(/tmp/multipartBody4760094117604475200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283443474,"filename":"image_16112025_09_10_25_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ff7d4f5b04d9fe2da646604f9750426.jpg","text":"TemporaryFile(/tmp/multipartBody6797104667849949127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283443474,"filename":"image_16112025_09_10_12_2500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394732956","file1":"1394732921","file0":"1394732888","file4":"1394733029","file5":"1394733047","file3":"1394732991"},"map_files_photo_id_array":[{"photo_id":"1394733047","filename":"file5"},{"photo_id":"1394732956","filename":"file2"},{"photo_id":"1394733029","filename":"file4"},{"photo_id":"1394732921","filename":"file1"},{"photo_id":"1394732888","filename":"file0"},{"photo_id":"1394732991","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394732921":["hashtag1","hashtag2"]},{"1394732956":["hashtag1","hashtag2"]},{"1394732991":["hashtag1","hashtag2"]},{"1394733047":["hashtag1","hashtag2"]},{"1394733029":["hashtag1","hashtag2"]},{"1394732888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394732921, 1394732956, 1394732991, 1394733047, 1394733029, 1394732888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17367362976074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:57:02.681639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_30_2641.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_33_2701.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_37_3669.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_39_2674.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_43_3606.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_46_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_30_2641.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_33_2701.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_37_3669.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_39_2674.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_43_3606.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_46_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394733125","1394733115","1394733138","1394733146","1394733140","1394733143"],"photo_ids_order":["1394733115","1394733125","1394733138","1394733140","1394733143","1394733146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/054611aacbc7433a3f9c06eb427061fa.jpg","text":"TemporaryFile(/tmp/multipartBody8593628212709497995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283483409,"filename":"image_16112025_09_10_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/11/16/3c820805791e88b49602b8f0b6ad3a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3227443541488051235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283483409,"filename":"image_16112025_09_10_30_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/296ba98d611b7b18111731e24d0b42ec.jpg","text":"TemporaryFile(/tmp/multipartBody2843765269651009567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283483409,"filename":"image_16112025_09_10_37_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1dde747667725832c42bd72c780dfea4.jpg","text":"TemporaryFile(/tmp/multipartBody4941274096155208760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283483409,"filename":"image_16112025_09_10_46_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a5a70c85719dae316b2a94c4d2b0862.jpg","text":"TemporaryFile(/tmp/multipartBody9128914842459639974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283483409,"filename":"image_16112025_09_10_39_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff3f1b53618b63d37cdc6c5d6a445d4f.jpg","text":"TemporaryFile(/tmp/multipartBody6162129991531354692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283483409,"filename":"image_16112025_09_10_43_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394733138","file1":"1394733125","file0":"1394733115","file4":"1394733143","file5":"1394733146","file3":"1394733140"},"map_files_photo_id_array":[{"photo_id":"1394733146","filename":"file5"},{"photo_id":"1394733138","filename":"file2"},{"photo_id":"1394733143","filename":"file4"},{"photo_id":"1394733125","filename":"file1"},{"photo_id":"1394733115","filename":"file0"},{"photo_id":"1394733140","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394733125":["hashtag1","hashtag2"]},{"1394733115":["hashtag1","hashtag2"]},{"1394733138":["hashtag1","hashtag2"]},{"1394733146":["hashtag1","hashtag2"]},{"1394733140":["hashtag1","hashtag2"]},{"1394733143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394733125, 1394733115, 1394733138, 1394733146, 1394733140, 1394733143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99487829208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:57:42.013107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_48_2678.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_51_2800.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_55_3635.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_57_2737.jpg', '/home/pi/Desktop/images/16112025/09/10/image_16112025_09_11_00_2677.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_04_3788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_48_2678.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_51_2800.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_55_3635.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_10_57_2737.jpg
/home/pi/Desktop/images/16112025/09/10/image_16112025_09_11_00_2677.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_04_3788.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394733160","1394733157","1394733151","1394733153","1394733158","1394733155"],"photo_ids_order":["1394733151","1394733153","1394733155","1394733157","1394733158","1394733160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d34fa20725536c4a58f9f0e148f55fe2.jpg","text":"TemporaryFile(/tmp/multipartBody6454842447293768928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283522627,"filename":"image_16112025_09_11_04_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c005ef5c64dbad1ce485bd6d5afd8f31.jpg","text":"TemporaryFile(/tmp/multipartBody2104455131648748211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283522627,"filename":"image_16112025_09_10_57_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75a9d17baef6a2ae73b7179b0fed8743.jpg","text":"TemporaryFile(/tmp/multipartBody4262797099041968873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283522627,"filename":"image_16112025_09_10_48_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa4003970b832363259ec91754894bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2811777573489954134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283522627,"filename":"image_16112025_09_10_51_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4009724792272e826364361f22574fd5.jpg","text":"TemporaryFile(/tmp/multipartBody6996516127103389272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283522627,"filename":"image_16112025_09_11_00_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6a1e20675dbc81d00e014324e8d680d.jpg","text":"TemporaryFile(/tmp/multipartBody8652628758141875443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283522627,"filename":"image_16112025_09_10_55_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394733155","file1":"1394733153","file0":"1394733151","file4":"1394733158","file5":"1394733160","file3":"1394733157"},"map_files_photo_id_array":[{"photo_id":"1394733160","filename":"file5"},{"photo_id":"1394733155","filename":"file2"},{"photo_id":"1394733158","filename":"file4"},{"photo_id":"1394733153","filename":"file1"},{"photo_id":"1394733151","filename":"file0"},{"photo_id":"1394733157","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394733160":["hashtag1","hashtag2"]},{"1394733157":["hashtag1","hashtag2"]},{"1394733151":["hashtag1","hashtag2"]},{"1394733153":["hashtag1","hashtag2"]},{"1394733158":["hashtag1","hashtag2"]},{"1394733155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394733160, 1394733157, 1394733151, 1394733153, 1394733158, 1394733155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50453758239746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 09:59:03.411540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_07_2629.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_09_2571.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_13_3655.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_15_2560.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_19_3579.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_22_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_07_2629.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_09_2571.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_13_3655.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_15_2560.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_19_3579.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_22_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394733614","1394733442","1394733561","1394733666","1394733522","1394733482"],"photo_ids_order":["1394733442","1394733482","1394733522","1394733561","1394733614","1394733666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2ef6209bf1de18e68557f19f03fe894.jpg","text":"TemporaryFile(/tmp/multipartBody6145824169618053773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283604147,"filename":"image_16112025_09_11_19_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b2ddb8cbf405591c2d5c768adea99ca.jpg","text":"TemporaryFile(/tmp/multipartBody5648245059201211876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283604147,"filename":"image_16112025_09_11_07_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09a3cddf68d11131c199ad2b7fb300e8.jpg","text":"TemporaryFile(/tmp/multipartBody1906298983632348436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283604147,"filename":"image_16112025_09_11_15_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ec4153d1661686d618fa13d8249e8a5.jpg","text":"TemporaryFile(/tmp/multipartBody757983919114786839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283604147,"filename":"image_16112025_09_11_22_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12ec665deaa2a9fda7cb256e92685d46.jpg","text":"TemporaryFile(/tmp/multipartBody5590123721849376225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283604147,"filename":"image_16112025_09_11_13_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcae8f60c41b5ed18c180b3cd8e15813.jpg","text":"TemporaryFile(/tmp/multipartBody8437839218671877633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283604147,"filename":"image_16112025_09_11_09_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394733522","file1":"1394733482","file0":"1394733442","file4":"1394733614","file5":"1394733666","file3":"1394733561"},"map_files_photo_id_array":[{"photo_id":"1394733666","filename":"file5"},{"photo_id":"1394733522","filename":"file2"},{"photo_id":"1394733614","filename":"file4"},{"photo_id":"1394733482","filename":"file1"},{"photo_id":"1394733442","filename":"file0"},{"photo_id":"1394733561","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394733614":["hashtag1","hashtag2"]},{"1394733442":["hashtag1","hashtag2"]},{"1394733561":["hashtag1","hashtag2"]},{"1394733666":["hashtag1","hashtag2"]},{"1394733522":["hashtag1","hashtag2"]},{"1394733482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394733614, 1394733442, 1394733561, 1394733666, 1394733522, 1394733482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51412057876587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 09:59:42.419499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_24_2769.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_28_3594.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_31_2820.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_33_2679.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_36_2658.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_40_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_24_2769.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_28_3594.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_31_2820.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_33_2679.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_36_2658.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_40_3756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394733847","1394733916","1394734044","1394733981","1394733804","1394734099"],"photo_ids_order":["1394733804","1394733847","1394733916","1394733981","1394734044","1394734099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/babc6c5264f457a39cc315ba988bb849.jpg","text":"TemporaryFile(/tmp/multipartBody5769363868815396860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283643034,"filename":"image_16112025_09_11_28_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1168b6fb5a241ad42404c2b96fea3654.jpg","text":"TemporaryFile(/tmp/multipartBody7259615555650957229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283643034,"filename":"image_16112025_09_11_31_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b85ea2586e51fc7935519f7746fc55fd.jpg","text":"TemporaryFile(/tmp/multipartBody7664524382288639392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283643034,"filename":"image_16112025_09_11_36_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b77209ec2991f4e600655f4a3014f91b.jpg","text":"TemporaryFile(/tmp/multipartBody2749682369474068679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283643034,"filename":"image_16112025_09_11_33_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d012a67d1ae68808839c675b0c6a5c46.jpg","text":"TemporaryFile(/tmp/multipartBody1171204650764482780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283643034,"filename":"image_16112025_09_11_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/11/16/b111e445db4320efc9682a75c127ad42.jpg","text":"TemporaryFile(/tmp/multipartBody5572696013528333343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283643034,"filename":"image_16112025_09_11_40_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394733916","file1":"1394733847","file0":"1394733804","file4":"1394734044","file5":"1394734099","file3":"1394733981"},"map_files_photo_id_array":[{"photo_id":"1394734099","filename":"file5"},{"photo_id":"1394733916","filename":"file2"},{"photo_id":"1394734044","filename":"file4"},{"photo_id":"1394733847","filename":"file1"},{"photo_id":"1394733804","filename":"file0"},{"photo_id":"1394733981","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394733847":["hashtag1","hashtag2"]},{"1394733916":["hashtag1","hashtag2"]},{"1394734044":["hashtag1","hashtag2"]},{"1394733981":["hashtag1","hashtag2"]},{"1394733804":["hashtag1","hashtag2"]},{"1394734099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394733847, 1394733916, 1394734044, 1394733981, 1394733804, 1394734099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02784991264343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:00:22.791965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_42_2605.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_45_2538.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_49_3566.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_51_2691.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_54_2874.jpg', '/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_58_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_42_2605.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_45_2538.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_49_3566.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_51_2691.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_54_2874.jpg
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_11_58_3747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734332","1394734280","1394734283","1394734364","1394734297","1394734285"],"photo_ids_order":["1394734280","1394734283","1394734285","1394734297","1394734332","1394734364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d95608439a0961888ee1b9cfc476577f.jpg","text":"TemporaryFile(/tmp/multipartBody9143975823232590499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283683433,"filename":"image_16112025_09_11_54_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20d275b98c1fb1f197125fbdf4f3a267.jpg","text":"TemporaryFile(/tmp/multipartBody2915126610279303232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283683433,"filename":"image_16112025_09_11_42_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0aaed7ccdf641c59c046a7c3b0a01346.jpg","text":"TemporaryFile(/tmp/multipartBody487837928633505334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283683433,"filename":"image_16112025_09_11_45_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fd60f895046c9823e3f87b7901aa8f3.jpg","text":"TemporaryFile(/tmp/multipartBody3373666594343983016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283683433,"filename":"image_16112025_09_11_58_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f01eeac1a5376ae614caeaec114920d1.jpg","text":"TemporaryFile(/tmp/multipartBody8302987524152144636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283683433,"filename":"image_16112025_09_11_51_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66b2ce18bebb05986ae51564f97bba7c.jpg","text":"TemporaryFile(/tmp/multipartBody2750440380444728675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283683433,"filename":"image_16112025_09_11_49_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734285","file1":"1394734283","file0":"1394734280","file4":"1394734332","file5":"1394734364","file3":"1394734297"},"map_files_photo_id_array":[{"photo_id":"1394734364","filename":"file5"},{"photo_id":"1394734285","filename":"file2"},{"photo_id":"1394734332","filename":"file4"},{"photo_id":"1394734283","filename":"file1"},{"photo_id":"1394734280","filename":"file0"},{"photo_id":"1394734297","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734332":["hashtag1","hashtag2"]},{"1394734280":["hashtag1","hashtag2"]},{"1394734283":["hashtag1","hashtag2"]},{"1394734364":["hashtag1","hashtag2"]},{"1394734297":["hashtag1","hashtag2"]},{"1394734285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734332, 1394734280, 1394734283, 1394734364, 1394734297, 1394734285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70081806182861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:01:02.614929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/11/image_16112025_09_12_00_2579.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_03_2562.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_07_3687.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_09_2694.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_12_2725.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_16_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/11/image_16112025_09_12_00_2579.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_03_2562.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_07_3687.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_09_2694.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_12_2725.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_16_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734420","1394734423","1394734422","1394734425","1394734421","1394734427"],"photo_ids_order":["1394734420","1394734421","1394734422","1394734423","1394734425","1394734427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/791a67091772f0c7054909075918b9cd.jpg","text":"TemporaryFile(/tmp/multipartBody4629379679752733222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283723368,"filename":"image_16112025_09_12_00_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37a47a36f69f1786c70ce952886fa214.jpg","text":"TemporaryFile(/tmp/multipartBody525281197007637528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283723368,"filename":"image_16112025_09_12_09_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f006489ee6713d2dc0d2b5e134b3bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7100597586649775672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283723368,"filename":"image_16112025_09_12_07_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc2f5c8c9f83d228c5b3a9e5c0b29682.jpg","text":"TemporaryFile(/tmp/multipartBody7990570866042906283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283723368,"filename":"image_16112025_09_12_12_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b45ed41281e4baa307e08ca64d1b91e9.jpg","text":"TemporaryFile(/tmp/multipartBody3597935262516344718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283723368,"filename":"image_16112025_09_12_03_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdde53f383e1ef7ab11de552574f90d5.jpg","text":"TemporaryFile(/tmp/multipartBody5975500296575654876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283723368,"filename":"image_16112025_09_12_16_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734422","file1":"1394734421","file0":"1394734420","file4":"1394734425","file5":"1394734427","file3":"1394734423"},"map_files_photo_id_array":[{"photo_id":"1394734427","filename":"file5"},{"photo_id":"1394734422","filename":"file2"},{"photo_id":"1394734425","filename":"file4"},{"photo_id":"1394734421","filename":"file1"},{"photo_id":"1394734420","filename":"file0"},{"photo_id":"1394734423","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734420":["hashtag1","hashtag2"]},{"1394734423":["hashtag1","hashtag2"]},{"1394734422":["hashtag1","hashtag2"]},{"1394734425":["hashtag1","hashtag2"]},{"1394734421":["hashtag1","hashtag2"]},{"1394734427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734420, 1394734423, 1394734422, 1394734425, 1394734421, 1394734427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90726661682129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:01:41.854467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_19_2834.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_21_2745.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_24_2797.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_28_3642.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_31_2737.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_37_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_19_2834.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_21_2745.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_24_2797.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_28_3642.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_31_2737.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_37_3573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734432","1394734435","1394734429","1394734434","1394734433","1394734436"],"photo_ids_order":["1394734429","1394734432","1394734433","1394734434","1394734435","1394734436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71e378d1778c1997cc55df98003aa37a.jpg","text":"TemporaryFile(/tmp/multipartBody8080246461433314395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283762528,"filename":"image_16112025_09_12_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/11/16/062caae1e8507fcea25dd86bea969aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1176345435982763685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283762528,"filename":"image_16112025_09_12_31_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfdc0b13306f21779428a35d42d76b27.jpg","text":"TemporaryFile(/tmp/multipartBody7447215502641930471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283762528,"filename":"image_16112025_09_12_19_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3c7e6712a3c9ef0beb67c2292cb4e95.jpg","text":"TemporaryFile(/tmp/multipartBody6472409337298083671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283762528,"filename":"image_16112025_09_12_28_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c0cdca07df956c17a0b99eb5caa6e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3834694460856287566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283762528,"filename":"image_16112025_09_12_24_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb8ab567e0148e71cfeb76cca1a7ff46.jpg","text":"TemporaryFile(/tmp/multipartBody637023358651952067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283762528,"filename":"image_16112025_09_12_37_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734433","file1":"1394734432","file0":"1394734429","file4":"1394734435","file5":"1394734436","file3":"1394734434"},"map_files_photo_id_array":[{"photo_id":"1394734436","filename":"file5"},{"photo_id":"1394734433","filename":"file2"},{"photo_id":"1394734435","filename":"file4"},{"photo_id":"1394734432","filename":"file1"},{"photo_id":"1394734429","filename":"file0"},{"photo_id":"1394734434","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734432":["hashtag1","hashtag2"]},{"1394734435":["hashtag1","hashtag2"]},{"1394734429":["hashtag1","hashtag2"]},{"1394734434":["hashtag1","hashtag2"]},{"1394734433":["hashtag1","hashtag2"]},{"1394734436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734432, 1394734435, 1394734429, 1394734434, 1394734433, 1394734436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.037474393844604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:02:25.145534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_39_2680.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_42_2655.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_46_3713.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_48_2728.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_51_2607.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_54_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_39_2680.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_42_2655.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_46_3713.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_48_2728.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_51_2607.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_54_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734453","1394734447","1394734441","1394734452","1394734450","1394734444"],"photo_ids_order":["1394734441","1394734444","1394734447","1394734450","1394734452","1394734453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/290f1f0a445935e0f4bbb6139182b5dc.jpg","text":"TemporaryFile(/tmp/multipartBody4058554271618561604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283805795,"filename":"image_16112025_09_12_54_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbd643df60a9a4eefdb2b0aadc8dd83c.jpg","text":"TemporaryFile(/tmp/multipartBody6773831263714931627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283805795,"filename":"image_16112025_09_12_46_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b6749aa98144c52ff55345faa785e7e.jpg","text":"TemporaryFile(/tmp/multipartBody706633237567018277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283805795,"filename":"image_16112025_09_12_39_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f77effcfc5e8a3098ddaa85cafc956ff.jpg","text":"TemporaryFile(/tmp/multipartBody6999648450085781321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283805795,"filename":"image_16112025_09_12_51_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5186c38407116bfb0e3855bff7238bc.jpg","text":"TemporaryFile(/tmp/multipartBody7089091031014507900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283805795,"filename":"image_16112025_09_12_48_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7f2fbde7a7aea0d35557249eecb9048.jpg","text":"TemporaryFile(/tmp/multipartBody3125997672333826054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283805795,"filename":"image_16112025_09_12_42_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734447","file1":"1394734444","file0":"1394734441","file4":"1394734452","file5":"1394734453","file3":"1394734450"},"map_files_photo_id_array":[{"photo_id":"1394734453","filename":"file5"},{"photo_id":"1394734447","filename":"file2"},{"photo_id":"1394734452","filename":"file4"},{"photo_id":"1394734444","filename":"file1"},{"photo_id":"1394734441","filename":"file0"},{"photo_id":"1394734450","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734453":["hashtag1","hashtag2"]},{"1394734447":["hashtag1","hashtag2"]},{"1394734441":["hashtag1","hashtag2"]},{"1394734452":["hashtag1","hashtag2"]},{"1394734450":["hashtag1","hashtag2"]},{"1394734444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734453, 1394734447, 1394734441, 1394734452, 1394734450, 1394734444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54135298728943 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-11-16 10:03:22.336744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_57_3695.jpg', '/home/pi/Desktop/images/16112025/09/12/image_16112025_09_13_00_2570.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_03_2727.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_06_3669.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_09_2721.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_12_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_12_57_3695.jpg
/home/pi/Desktop/images/16112025/09/12/image_16112025_09_13_00_2570.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_03_2727.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_06_3669.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_09_2721.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_12_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734464","1394734466","1394734460","1394734463","1394734457","1394734462"],"photo_ids_order":["1394734457","1394734460","1394734462","1394734463","1394734464","1394734466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aadb58dc7dac7b347fb0b1a7006cb4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2838055375089553890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283863016,"filename":"image_16112025_09_13_09_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07bde8e701e6728bb91d20650f246f5e.jpg","text":"TemporaryFile(/tmp/multipartBody8487119177397675880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283863016,"filename":"image_16112025_09_13_12_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41d0aaa8fc16fc5b6e7be25ed3cdbb43.jpg","text":"TemporaryFile(/tmp/multipartBody5321751038976042889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283863016,"filename":"image_16112025_09_13_00_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e12987e30dfc1264491e724e449ec7d.jpg","text":"TemporaryFile(/tmp/multipartBody676693816984630703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283863016,"filename":"image_16112025_09_13_06_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/018dd70d1bc049bbaea45b71fc5fa2b0.jpg","text":"TemporaryFile(/tmp/multipartBody541226142007301860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283863016,"filename":"image_16112025_09_12_57_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d73c09d8e1e200500eb6ddd21b03763.jpg","text":"TemporaryFile(/tmp/multipartBody1332573395322813514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283863016,"filename":"image_16112025_09_13_03_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734462","file1":"1394734460","file0":"1394734457","file4":"1394734464","file5":"1394734466","file3":"1394734463"},"map_files_photo_id_array":[{"photo_id":"1394734466","filename":"file5"},{"photo_id":"1394734462","filename":"file2"},{"photo_id":"1394734464","filename":"file4"},{"photo_id":"1394734460","filename":"file1"},{"photo_id":"1394734457","filename":"file0"},{"photo_id":"1394734463","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734464":["hashtag1","hashtag2"]},{"1394734466":["hashtag1","hashtag2"]},{"1394734460":["hashtag1","hashtag2"]},{"1394734463":["hashtag1","hashtag2"]},{"1394734457":["hashtag1","hashtag2"]},{"1394734462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734464, 1394734466, 1394734460, 1394734463, 1394734457, 1394734462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.468729972839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:04:03.029993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_16_3601.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_18_2687.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_21_2761.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_25_3739.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_28_2805.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_30_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_16_3601.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_18_2687.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_21_2761.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_25_3739.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_28_2805.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_30_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734468","1394734470","1394734478","1394734469","1394734474","1394734471"],"photo_ids_order":["1394734468","1394734469","1394734470","1394734471","1394734474","1394734478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a42c85e248602b0f818a35e870f77b7.jpg","text":"TemporaryFile(/tmp/multipartBody2596679398041658511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283903704,"filename":"image_16112025_09_13_16_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a62ff3ed9277ceb1c90af94fa6f060b.jpg","text":"TemporaryFile(/tmp/multipartBody3459778122365872966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283903704,"filename":"image_16112025_09_13_21_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6980466ced673e46205e9245e4a7afca.jpg","text":"TemporaryFile(/tmp/multipartBody1611244149329735490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283903704,"filename":"image_16112025_09_13_30_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8722cc1726c4c9882e3ad47679f541db.jpg","text":"TemporaryFile(/tmp/multipartBody512624982745615584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283903704,"filename":"image_16112025_09_13_18_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51d835cc0e445e33638bf16fade1a428.jpg","text":"TemporaryFile(/tmp/multipartBody7097996060288721286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283903704,"filename":"image_16112025_09_13_28_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37fecb0a455ed92ffc5376c3fcb83fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1080435723056300129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283903704,"filename":"image_16112025_09_13_25_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734470","file1":"1394734469","file0":"1394734468","file4":"1394734474","file5":"1394734478","file3":"1394734471"},"map_files_photo_id_array":[{"photo_id":"1394734478","filename":"file5"},{"photo_id":"1394734470","filename":"file2"},{"photo_id":"1394734474","filename":"file4"},{"photo_id":"1394734469","filename":"file1"},{"photo_id":"1394734468","filename":"file0"},{"photo_id":"1394734471","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734468":["hashtag1","hashtag2"]},{"1394734470":["hashtag1","hashtag2"]},{"1394734478":["hashtag1","hashtag2"]},{"1394734469":["hashtag1","hashtag2"]},{"1394734474":["hashtag1","hashtag2"]},{"1394734471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734468, 1394734470, 1394734478, 1394734469, 1394734474, 1394734471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67377781867981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:04:42.560580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_33_2662.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_36_3718.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_39_2639.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_42_2665.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_45_3583.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_48_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_33_2662.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_36_3718.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_39_2639.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_42_2665.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_45_3583.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_48_2829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734501","1394734488","1394734497","1394734500","1394734492","1394734495"],"photo_ids_order":["1394734488","1394734492","1394734495","1394734497","1394734500","1394734501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9734fda53a9ccb750fa6c5b12af75ce.jpg","text":"TemporaryFile(/tmp/multipartBody2197244699977051999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283943277,"filename":"image_16112025_09_13_48_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dd40f592cb942bb6fa83e690073b1f1.jpg","text":"TemporaryFile(/tmp/multipartBody5117688993625029036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283943277,"filename":"image_16112025_09_13_33_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/441247e032a94cc224747d4ee09182f3.jpg","text":"TemporaryFile(/tmp/multipartBody2836376092619222226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283943277,"filename":"image_16112025_09_13_42_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85abdec1241bebb32fcc4e7cbe97e3d7.jpg","text":"TemporaryFile(/tmp/multipartBody6884168052931396140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283943277,"filename":"image_16112025_09_13_45_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5222b1e737516f5516129661a3027236.jpg","text":"TemporaryFile(/tmp/multipartBody3251625185052242728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283943277,"filename":"image_16112025_09_13_36_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24378240d11b08190426521b6eb70616.jpg","text":"TemporaryFile(/tmp/multipartBody1806482805693001419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283943277,"filename":"image_16112025_09_13_39_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734495","file1":"1394734492","file0":"1394734488","file4":"1394734500","file5":"1394734501","file3":"1394734497"},"map_files_photo_id_array":[{"photo_id":"1394734501","filename":"file5"},{"photo_id":"1394734495","filename":"file2"},{"photo_id":"1394734500","filename":"file4"},{"photo_id":"1394734492","filename":"file1"},{"photo_id":"1394734488","filename":"file0"},{"photo_id":"1394734497","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734501":["hashtag1","hashtag2"]},{"1394734488":["hashtag1","hashtag2"]},{"1394734497":["hashtag1","hashtag2"]},{"1394734500":["hashtag1","hashtag2"]},{"1394734492":["hashtag1","hashtag2"]},{"1394734495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734501, 1394734488, 1394734497, 1394734500, 1394734492, 1394734495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71284461021423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:05:22.869262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_52_4145.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_54_1504.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_57_3616.jpg', '/home/pi/Desktop/images/16112025/09/13/image_16112025_09_14_00_2520.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_03_2814.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_07_3852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_52_4145.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_54_1504.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_13_57_3616.jpg
/home/pi/Desktop/images/16112025/09/13/image_16112025_09_14_00_2520.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_03_2814.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_07_3852.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734513","1394734512","1394734517","1394734511","1394734505","1394734508"],"photo_ids_order":["1394734505","1394734508","1394734511","1394734512","1394734513","1394734517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea86ac4207618884191094d4e1f0d94e.jpg","text":"TemporaryFile(/tmp/multipartBody795335349150215505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283983508,"filename":"image_16112025_09_14_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/11/16/eb8e4105a7a0fdb97bfcadbd6bf2595d.jpg","text":"TemporaryFile(/tmp/multipartBody5678657977284022423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283983508,"filename":"image_16112025_09_14_00_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b13660a758b193da7d0257dedaea64c.jpg","text":"TemporaryFile(/tmp/multipartBody8527993895076668540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283983508,"filename":"image_16112025_09_14_07_3852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c4a8f3c7f95df1bae9241f5ad050522.jpg","text":"TemporaryFile(/tmp/multipartBody742932067844810283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283983508,"filename":"image_16112025_09_13_57_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20f3938bbb1d1cded9cfc60f28348f6d.jpg","text":"TemporaryFile(/tmp/multipartBody291881227047118893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283983508,"filename":"image_16112025_09_13_52_4145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc3fa0da65b491f07bf9225843e566be.jpg","text":"TemporaryFile(/tmp/multipartBody5792883261969675121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763283983508,"filename":"image_16112025_09_13_54_1504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734511","file1":"1394734508","file0":"1394734505","file4":"1394734513","file5":"1394734517","file3":"1394734512"},"map_files_photo_id_array":[{"photo_id":"1394734517","filename":"file5"},{"photo_id":"1394734511","filename":"file2"},{"photo_id":"1394734513","filename":"file4"},{"photo_id":"1394734508","filename":"file1"},{"photo_id":"1394734505","filename":"file0"},{"photo_id":"1394734512","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734513":["hashtag1","hashtag2"]},{"1394734512":["hashtag1","hashtag2"]},{"1394734517":["hashtag1","hashtag2"]},{"1394734511":["hashtag1","hashtag2"]},{"1394734505":["hashtag1","hashtag2"]},{"1394734508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734513, 1394734512, 1394734517, 1394734511, 1394734505, 1394734508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84529161453247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:06:02.553455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_09_2591.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_12_2638.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_15_3558.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_18_2638.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_21_2661.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_24_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_09_2591.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_12_2638.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_15_3558.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_18_2638.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_21_2661.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_24_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734525","1394734528","1394734530","1394734524","1394734523","1394734526"],"photo_ids_order":["1394734523","1394734524","1394734525","1394734526","1394734528","1394734530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e9afb1662e4de464ad57e350800b2fb.jpg","text":"TemporaryFile(/tmp/multipartBody4615054718220035810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284023294,"filename":"image_16112025_09_14_15_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e866ec21055cbe1eaf5a67ea2740974c.jpg","text":"TemporaryFile(/tmp/multipartBody2525850214296139555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284023294,"filename":"image_16112025_09_14_21_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3451639737c638f47fa9720a102aef8.jpg","text":"TemporaryFile(/tmp/multipartBody543090523186161445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284023294,"filename":"image_16112025_09_14_24_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de4d270a543b1f754290c9bd2d71eb28.jpg","text":"TemporaryFile(/tmp/multipartBody2136154567430269119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284023294,"filename":"image_16112025_09_14_12_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42fbe1000922f75f548649f7c3d79b27.jpg","text":"TemporaryFile(/tmp/multipartBody4446238212336750172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284023294,"filename":"image_16112025_09_14_09_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87315646845c52cf18af47aa8c1774e6.jpg","text":"TemporaryFile(/tmp/multipartBody5206722582560673762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284023294,"filename":"image_16112025_09_14_18_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734525","file1":"1394734524","file0":"1394734523","file4":"1394734528","file5":"1394734530","file3":"1394734526"},"map_files_photo_id_array":[{"photo_id":"1394734530","filename":"file5"},{"photo_id":"1394734525","filename":"file2"},{"photo_id":"1394734528","filename":"file4"},{"photo_id":"1394734524","filename":"file1"},{"photo_id":"1394734523","filename":"file0"},{"photo_id":"1394734526","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734525":["hashtag1","hashtag2"]},{"1394734528":["hashtag1","hashtag2"]},{"1394734530":["hashtag1","hashtag2"]},{"1394734524":["hashtag1","hashtag2"]},{"1394734523":["hashtag1","hashtag2"]},{"1394734526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734525, 1394734528, 1394734530, 1394734524, 1394734523, 1394734526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50654149055481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:06:42.084739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_27_2684.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_30_2665.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_33_3621.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_38_4393.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_39_1633.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_42_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_27_2684.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_30_2665.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_33_3621.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_38_4393.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_39_1633.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_42_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734534","1394734536","1394734533","1394734535","1394734538","1394734537"],"photo_ids_order":["1394734533","1394734534","1394734535","1394734536","1394734537","1394734538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4d22099fd76e547228439003baab46a.jpg","text":"TemporaryFile(/tmp/multipartBody6927903349868864817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284062701,"filename":"image_16112025_09_14_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/11/16/b8b2e60f77b2986980a7680bf73434cb.jpg","text":"TemporaryFile(/tmp/multipartBody9001068409470892165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284062701,"filename":"image_16112025_09_14_38_4393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c9722ac2265a5b6a5f55a44c2601d9d.jpg","text":"TemporaryFile(/tmp/multipartBody4602520969437584822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284062701,"filename":"image_16112025_09_14_27_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ef13e8efd195fb9e3456ec0bbde5c75.jpg","text":"TemporaryFile(/tmp/multipartBody5359903458286748280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284062701,"filename":"image_16112025_09_14_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/11/16/f95016b708fe4a8410d701be8d0cf8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8164886629291298634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284062701,"filename":"image_16112025_09_14_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/11/16/6fff428ffdad6935f6dc5dc8fc2745fd.jpg","text":"TemporaryFile(/tmp/multipartBody1079383216023335826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284062701,"filename":"image_16112025_09_14_39_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734535","file1":"1394734534","file0":"1394734533","file4":"1394734537","file5":"1394734538","file3":"1394734536"},"map_files_photo_id_array":[{"photo_id":"1394734538","filename":"file5"},{"photo_id":"1394734535","filename":"file2"},{"photo_id":"1394734537","filename":"file4"},{"photo_id":"1394734534","filename":"file1"},{"photo_id":"1394734533","filename":"file0"},{"photo_id":"1394734536","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734534":["hashtag1","hashtag2"]},{"1394734536":["hashtag1","hashtag2"]},{"1394734533":["hashtag1","hashtag2"]},{"1394734535":["hashtag1","hashtag2"]},{"1394734538":["hashtag1","hashtag2"]},{"1394734537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734534, 1394734536, 1394734533, 1394734535, 1394734538, 1394734537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77266883850098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:07:22.444337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_45_2712.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_48_3493.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_51_2760.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_54_2670.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_57_3595.jpg', '/home/pi/Desktop/images/16112025/09/14/image_16112025_09_15_00_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_45_2712.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_48_3493.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_51_2760.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_54_2670.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_14_57_3595.jpg
/home/pi/Desktop/images/16112025/09/14/image_16112025_09_15_00_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734552","1394734546","1394734554","1394734548","1394734550","1394734544"],"photo_ids_order":["1394734544","1394734546","1394734548","1394734550","1394734552","1394734554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a11a9eda801bbab071f4dd4cdbc0689.jpg","text":"TemporaryFile(/tmp/multipartBody1639812449481382633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284103077,"filename":"image_16112025_09_14_57_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea9e7fc35f47a8cab140ba274c2516a2.jpg","text":"TemporaryFile(/tmp/multipartBody2883826152848222484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284103077,"filename":"image_16112025_09_14_48_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df767ca07d2ea94e9f839a3705482714.jpg","text":"TemporaryFile(/tmp/multipartBody2457486199240276837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284103077,"filename":"image_16112025_09_15_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/11/16/52abd6b2b86ca9e33b2c4e48edeefc76.jpg","text":"TemporaryFile(/tmp/multipartBody7528172049285542812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284103077,"filename":"image_16112025_09_14_51_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61fa6ce20ce475c8161010fd31317ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4861350121181596400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284103077,"filename":"image_16112025_09_14_54_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/381a534d2c9a52f16cd422c6b8070ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3168255750528669767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284103077,"filename":"image_16112025_09_14_45_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734548","file1":"1394734546","file0":"1394734544","file4":"1394734552","file5":"1394734554","file3":"1394734550"},"map_files_photo_id_array":[{"photo_id":"1394734554","filename":"file5"},{"photo_id":"1394734548","filename":"file2"},{"photo_id":"1394734552","filename":"file4"},{"photo_id":"1394734546","filename":"file1"},{"photo_id":"1394734544","filename":"file0"},{"photo_id":"1394734550","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734552":["hashtag1","hashtag2"]},{"1394734546":["hashtag1","hashtag2"]},{"1394734554":["hashtag1","hashtag2"]},{"1394734548":["hashtag1","hashtag2"]},{"1394734550":["hashtag1","hashtag2"]},{"1394734544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734552, 1394734546, 1394734554, 1394734548, 1394734550, 1394734544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30584907531738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:08:03.043887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_03_2589.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_06_3749.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_09_2501.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_12_2667.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_15_3652.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_18_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_03_2589.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_06_3749.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_09_2501.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_12_2667.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_15_3652.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_18_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734557","1394734559","1394734556","1394734561","1394734564","1394734558"],"photo_ids_order":["1394734556","1394734557","1394734558","1394734559","1394734561","1394734564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90cfb418c13d9d4136a3737b106fb1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4212970683719748992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284143715,"filename":"image_16112025_09_15_06_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa35bd986c04b314ab8101f06d281cc0.jpg","text":"TemporaryFile(/tmp/multipartBody7997803395970683047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284143715,"filename":"image_16112025_09_15_12_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6f41bba70bdd066ec87f1c5d8694e81.jpg","text":"TemporaryFile(/tmp/multipartBody2553522094769950686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284143715,"filename":"image_16112025_09_15_03_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f87fc94d176f16d71dde954479bd925.jpg","text":"TemporaryFile(/tmp/multipartBody4040879755430635253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284143715,"filename":"image_16112025_09_15_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/11/16/0518f649d72562a1918ba6374c8b59a0.jpg","text":"TemporaryFile(/tmp/multipartBody8732372935799319854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284143715,"filename":"image_16112025_09_15_18_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5c8746c5ed04bc1202b314386c4cacc.jpg","text":"TemporaryFile(/tmp/multipartBody825565953414342316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284143715,"filename":"image_16112025_09_15_09_2501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734558","file1":"1394734557","file0":"1394734556","file4":"1394734561","file5":"1394734564","file3":"1394734559"},"map_files_photo_id_array":[{"photo_id":"1394734564","filename":"file5"},{"photo_id":"1394734558","filename":"file2"},{"photo_id":"1394734561","filename":"file4"},{"photo_id":"1394734557","filename":"file1"},{"photo_id":"1394734556","filename":"file0"},{"photo_id":"1394734559","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734557":["hashtag1","hashtag2"]},{"1394734559":["hashtag1","hashtag2"]},{"1394734556":["hashtag1","hashtag2"]},{"1394734561":["hashtag1","hashtag2"]},{"1394734564":["hashtag1","hashtag2"]},{"1394734558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734557, 1394734559, 1394734556, 1394734561, 1394734564, 1394734558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48941993713379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:08:42.682968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_22_3673.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_24_2604.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_27_2798.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_30_2881.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_33_3582.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_36_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_22_3673.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_24_2604.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_27_2798.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_30_2881.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_33_3582.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_36_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734572","1394734575","1394734577","1394734574","1394734573","1394734576"],"photo_ids_order":["1394734572","1394734573","1394734574","1394734575","1394734576","1394734577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a718adcdf204ee6ef3b3546523ccdf17.jpg","text":"TemporaryFile(/tmp/multipartBody8122970366814583123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284183376,"filename":"image_16112025_09_15_22_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c385b31a891b83bee0b200326d7f737f.jpg","text":"TemporaryFile(/tmp/multipartBody4564139756490056675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284183376,"filename":"image_16112025_09_15_30_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/172ce1d5b6e71f9af85ed8c5b3e10429.jpg","text":"TemporaryFile(/tmp/multipartBody2103929001119174662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284183376,"filename":"image_16112025_09_15_36_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3aac978e1b25e10bf98bde3535531528.jpg","text":"TemporaryFile(/tmp/multipartBody842152854187037798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284183376,"filename":"image_16112025_09_15_27_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5999e5aaa0dc22f7a7f373a86b98d741.jpg","text":"TemporaryFile(/tmp/multipartBody1771996172701912772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284183376,"filename":"image_16112025_09_15_24_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e4b125ee5e2d218e6536aa54c5b5a40.jpg","text":"TemporaryFile(/tmp/multipartBody2167360462087606263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284183376,"filename":"image_16112025_09_15_33_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734574","file1":"1394734573","file0":"1394734572","file4":"1394734576","file5":"1394734577","file3":"1394734575"},"map_files_photo_id_array":[{"photo_id":"1394734577","filename":"file5"},{"photo_id":"1394734574","filename":"file2"},{"photo_id":"1394734576","filename":"file4"},{"photo_id":"1394734573","filename":"file1"},{"photo_id":"1394734572","filename":"file0"},{"photo_id":"1394734575","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734572":["hashtag1","hashtag2"]},{"1394734575":["hashtag1","hashtag2"]},{"1394734577":["hashtag1","hashtag2"]},{"1394734574":["hashtag1","hashtag2"]},{"1394734573":["hashtag1","hashtag2"]},{"1394734576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734572, 1394734575, 1394734577, 1394734574, 1394734573, 1394734576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6679425239563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:09:21.933716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_39_2583.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_42_3647.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_45_2568.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_48_2617.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_51_2991.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_54_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_39_2583.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_42_3647.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_45_2568.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_48_2617.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_51_2991.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_54_3529.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.537825345993042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:09:41.954669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_39_2583.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_42_3647.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_45_2568.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_48_2617.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_51_2991.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_54_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_39_2583.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_42_3647.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_45_2568.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_48_2617.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_51_2991.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_54_3529.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734590","1394734593","1394734587","1394734592","1394734591","1394734594"],"photo_ids_order":["1394734587","1394734590","1394734591","1394734592","1394734593","1394734594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/538d8f4d79cd5a6e959c95f78a272034.jpg","text":"TemporaryFile(/tmp/multipartBody7529654438926061861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284242637,"filename":"image_16112025_09_15_42_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9179c90431c695f1c06fd793918a1d9.jpg","text":"TemporaryFile(/tmp/multipartBody3311135767730234629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284242637,"filename":"image_16112025_09_15_51_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2192e891469b9240d3874f1300a20c7.jpg","text":"TemporaryFile(/tmp/multipartBody5013770718323620427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284242637,"filename":"image_16112025_09_15_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/11/16/98e449721166a69187e657f716c5a02f.jpg","text":"TemporaryFile(/tmp/multipartBody6589103590605098476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284242637,"filename":"image_16112025_09_15_48_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b677071b74148f50344a126fa83fd31.jpg","text":"TemporaryFile(/tmp/multipartBody8928617017380935804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284242637,"filename":"image_16112025_09_15_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/11/16/3dbeb17cbe78258dcdc68c606f4f6814.jpg","text":"TemporaryFile(/tmp/multipartBody298713404799161904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284242637,"filename":"image_16112025_09_15_54_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734591","file1":"1394734590","file0":"1394734587","file4":"1394734593","file5":"1394734594","file3":"1394734592"},"map_files_photo_id_array":[{"photo_id":"1394734594","filename":"file5"},{"photo_id":"1394734591","filename":"file2"},{"photo_id":"1394734593","filename":"file4"},{"photo_id":"1394734590","filename":"file1"},{"photo_id":"1394734587","filename":"file0"},{"photo_id":"1394734592","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734590":["hashtag1","hashtag2"]},{"1394734593":["hashtag1","hashtag2"]},{"1394734587":["hashtag1","hashtag2"]},{"1394734592":["hashtag1","hashtag2"]},{"1394734591":["hashtag1","hashtag2"]},{"1394734594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734590, 1394734593, 1394734587, 1394734592, 1394734591, 1394734594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46869230270386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:10:22.386338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_57_2935.jpg', '/home/pi/Desktop/images/16112025/09/15/image_16112025_09_16_00_2690.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_04_4135.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_05_1611.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_09_3554.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_12_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_15_57_2935.jpg
/home/pi/Desktop/images/16112025/09/15/image_16112025_09_16_00_2690.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_04_4135.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_05_1611.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_09_3554.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_12_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734606","1394734609","1394734599","1394734602","1394734604","1394734597"],"photo_ids_order":["1394734597","1394734599","1394734602","1394734604","1394734606","1394734609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44ae39b65ab570253ace6c80c325918d.jpg","text":"TemporaryFile(/tmp/multipartBody2751921561720394056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284283038,"filename":"image_16112025_09_16_09_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e72693c8129635d1ddc22a3ec45ffce9.jpg","text":"TemporaryFile(/tmp/multipartBody2494268697370744116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284283038,"filename":"image_16112025_09_16_12_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2eda001a5f0bd91fba8a7cbe008f4e07.jpg","text":"TemporaryFile(/tmp/multipartBody6731205545826729202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284283038,"filename":"image_16112025_09_16_00_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9dba80a91ecd206e3e4ede0a10408bb1.jpg","text":"TemporaryFile(/tmp/multipartBody4026682283194129046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284283038,"filename":"image_16112025_09_16_04_4135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7066cb8c865ffd11f2a180c61471e0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2078565831851040625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284283038,"filename":"image_16112025_09_16_05_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3cc89a35df2255f3ee6b2cea2a4eb3b9.jpg","text":"TemporaryFile(/tmp/multipartBody4142109024617771194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284283038,"filename":"image_16112025_09_15_57_2935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734602","file1":"1394734599","file0":"1394734597","file4":"1394734606","file5":"1394734609","file3":"1394734604"},"map_files_photo_id_array":[{"photo_id":"1394734609","filename":"file5"},{"photo_id":"1394734602","filename":"file2"},{"photo_id":"1394734606","filename":"file4"},{"photo_id":"1394734599","filename":"file1"},{"photo_id":"1394734597","filename":"file0"},{"photo_id":"1394734604","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734606":["hashtag1","hashtag2"]},{"1394734609":["hashtag1","hashtag2"]},{"1394734599":["hashtag1","hashtag2"]},{"1394734602":["hashtag1","hashtag2"]},{"1394734604":["hashtag1","hashtag2"]},{"1394734597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734606, 1394734609, 1394734599, 1394734602, 1394734604, 1394734597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.146207094192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:11:03.101291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_15_3596.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_18_2720.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_21_2654.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_24_3777.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_27_2525.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_30_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_15_3596.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_18_2720.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_21_2654.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_24_3777.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_27_2525.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_30_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734615","1394734617","1394734625","1394734613","1394734622","1394734619"],"photo_ids_order":["1394734613","1394734615","1394734617","1394734619","1394734622","1394734625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1e59482825892a8a76a7aec4ce03b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2981435601994523937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284323799,"filename":"image_16112025_09_16_18_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/511e3792e4db7997a8818a147cb5d1c2.jpg","text":"TemporaryFile(/tmp/multipartBody4680963585550848880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284323799,"filename":"image_16112025_09_16_21_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dba8f7a4fe079823d03f648d3519b8af.jpg","text":"TemporaryFile(/tmp/multipartBody4858972975634727335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284323799,"filename":"image_16112025_09_16_30_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac8d9559640233e6b527ac17344ba084.jpg","text":"TemporaryFile(/tmp/multipartBody2866935497888500385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284323799,"filename":"image_16112025_09_16_15_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd56e25844eb3488a40e5aa237c7ee9b.jpg","text":"TemporaryFile(/tmp/multipartBody3378307024254715320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284323799,"filename":"image_16112025_09_16_27_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e3a197493b0c71ce547638a8883cb07.jpg","text":"TemporaryFile(/tmp/multipartBody9111355413620547161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284323799,"filename":"image_16112025_09_16_24_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734617","file1":"1394734615","file0":"1394734613","file4":"1394734622","file5":"1394734625","file3":"1394734619"},"map_files_photo_id_array":[{"photo_id":"1394734625","filename":"file5"},{"photo_id":"1394734617","filename":"file2"},{"photo_id":"1394734622","filename":"file4"},{"photo_id":"1394734615","filename":"file1"},{"photo_id":"1394734613","filename":"file0"},{"photo_id":"1394734619","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734615":["hashtag1","hashtag2"]},{"1394734617":["hashtag1","hashtag2"]},{"1394734625":["hashtag1","hashtag2"]},{"1394734613":["hashtag1","hashtag2"]},{"1394734622":["hashtag1","hashtag2"]},{"1394734619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734615, 1394734617, 1394734625, 1394734613, 1394734622, 1394734619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.559903383255005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:11:42.446891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_33_3654.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_36_2633.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_39_2766.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_42_3744.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_45_2651.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_48_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_33_3654.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_36_2633.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_39_2766.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_42_3744.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_45_2651.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_48_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734630","1394734633","1394734629","1394734632","1394734634","1394734637"],"photo_ids_order":["1394734629","1394734630","1394734632","1394734633","1394734634","1394734637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f06866d71434492763038c2d1932d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1928414293378994603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284363085,"filename":"image_16112025_09_16_36_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dff7bac01d12038052b69d8f892f0366.jpg","text":"TemporaryFile(/tmp/multipartBody5516695104533666894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284363085,"filename":"image_16112025_09_16_42_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ee3cf887fc1311eecec8ae4e5286ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8449085334130211146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284363085,"filename":"image_16112025_09_16_33_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d2cf3787c47d831138b42a42a96ce8c.jpg","text":"TemporaryFile(/tmp/multipartBody7060287097817788963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284363085,"filename":"image_16112025_09_16_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/11/16/e366476c7fa84a2819dcf2e86f636d19.jpg","text":"TemporaryFile(/tmp/multipartBody6469039655314946951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284363085,"filename":"image_16112025_09_16_45_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b56c2e3ca08451b5bf66d2114e49222b.jpg","text":"TemporaryFile(/tmp/multipartBody7468532579251472568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284363085,"filename":"image_16112025_09_16_48_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734632","file1":"1394734630","file0":"1394734629","file4":"1394734634","file5":"1394734637","file3":"1394734633"},"map_files_photo_id_array":[{"photo_id":"1394734637","filename":"file5"},{"photo_id":"1394734632","filename":"file2"},{"photo_id":"1394734634","filename":"file4"},{"photo_id":"1394734630","filename":"file1"},{"photo_id":"1394734629","filename":"file0"},{"photo_id":"1394734633","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734630":["hashtag1","hashtag2"]},{"1394734633":["hashtag1","hashtag2"]},{"1394734629":["hashtag1","hashtag2"]},{"1394734632":["hashtag1","hashtag2"]},{"1394734634":["hashtag1","hashtag2"]},{"1394734637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734630, 1394734633, 1394734629, 1394734632, 1394734634, 1394734637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49689555168152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:12:22.751138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_51_3597.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_54_2694.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_57_2686.jpg', '/home/pi/Desktop/images/16112025/09/16/image_16112025_09_17_00_3684.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_03_2793.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_06_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_51_3597.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_54_2694.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_16_57_2686.jpg
/home/pi/Desktop/images/16112025/09/16/image_16112025_09_17_00_3684.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_03_2793.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_06_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734651","1394734645","1394734648","1394734650","1394734652","1394734654"],"photo_ids_order":["1394734645","1394734648","1394734650","1394734651","1394734652","1394734654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c865044f554c45c7c10a7a273031d14.jpg","text":"TemporaryFile(/tmp/multipartBody1261113835334030569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284403375,"filename":"image_16112025_09_17_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/11/16/f8805e2f1767613f44e70865fb45f099.jpg","text":"TemporaryFile(/tmp/multipartBody6997994341566598198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284403375,"filename":"image_16112025_09_16_51_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e36b279b65e372fb53520d8439cff05.jpg","text":"TemporaryFile(/tmp/multipartBody2564702094247175217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284403375,"filename":"image_16112025_09_16_54_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdbc8c9a03eca55ea78a2a517c5c6956.jpg","text":"TemporaryFile(/tmp/multipartBody510298893603011978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284403375,"filename":"image_16112025_09_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/11/16/cbeabe08bec52fe57f31e853372ed1ed.jpg","text":"TemporaryFile(/tmp/multipartBody2822649635851257219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284403375,"filename":"image_16112025_09_17_03_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65edc23f3bd4839f4571d4480b537545.jpg","text":"TemporaryFile(/tmp/multipartBody8911461678249983076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284403375,"filename":"image_16112025_09_17_06_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734650","file1":"1394734648","file0":"1394734645","file4":"1394734652","file5":"1394734654","file3":"1394734651"},"map_files_photo_id_array":[{"photo_id":"1394734654","filename":"file5"},{"photo_id":"1394734650","filename":"file2"},{"photo_id":"1394734652","filename":"file4"},{"photo_id":"1394734648","filename":"file1"},{"photo_id":"1394734645","filename":"file0"},{"photo_id":"1394734651","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734651":["hashtag1","hashtag2"]},{"1394734645":["hashtag1","hashtag2"]},{"1394734648":["hashtag1","hashtag2"]},{"1394734650":["hashtag1","hashtag2"]},{"1394734652":["hashtag1","hashtag2"]},{"1394734654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734651, 1394734645, 1394734648, 1394734650, 1394734652, 1394734654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17024827003479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:13:02.814342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_09_3694.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_12_2632.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_15_2519.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_18_3544.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_21_2588.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_25_4100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_09_3694.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_12_2632.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_15_2519.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_18_3544.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_21_2588.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_25_4100.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734665","1394734661","1394734658","1394734655","1394734660","1394734663"],"photo_ids_order":["1394734655","1394734658","1394734660","1394734661","1394734663","1394734665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aff82ae62f7bd738d077c54d7c151c43.jpg","text":"TemporaryFile(/tmp/multipartBody2834128345479913530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284443588,"filename":"image_16112025_09_17_25_4100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76889e3999b8ad8a2c4f7124b40e989f.jpg","text":"TemporaryFile(/tmp/multipartBody8459664952344890970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284443588,"filename":"image_16112025_09_17_18_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9cfadb62a60c5702dd711b172a12388.jpg","text":"TemporaryFile(/tmp/multipartBody7162069892450197605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284443588,"filename":"image_16112025_09_17_12_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4ffaabf4fe204df84f122ad18e47ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1425920366063642743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284443588,"filename":"image_16112025_09_17_09_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7dec3eae4e288d6ecf6029062d90ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody2201870595610587381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284443588,"filename":"image_16112025_09_17_15_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/677917e9da91c74caf9fae1c2715ffc6.jpg","text":"TemporaryFile(/tmp/multipartBody6818054282399541879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284443588,"filename":"image_16112025_09_17_21_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734660","file1":"1394734658","file0":"1394734655","file4":"1394734663","file5":"1394734665","file3":"1394734661"},"map_files_photo_id_array":[{"photo_id":"1394734665","filename":"file5"},{"photo_id":"1394734660","filename":"file2"},{"photo_id":"1394734663","filename":"file4"},{"photo_id":"1394734658","filename":"file1"},{"photo_id":"1394734655","filename":"file0"},{"photo_id":"1394734661","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734665":["hashtag1","hashtag2"]},{"1394734661":["hashtag1","hashtag2"]},{"1394734658":["hashtag1","hashtag2"]},{"1394734655":["hashtag1","hashtag2"]},{"1394734660":["hashtag1","hashtag2"]},{"1394734663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734665, 1394734661, 1394734658, 1394734655, 1394734660, 1394734663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4115092754364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:13:42.046292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_26_1725.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_30_3649.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_35_2602.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_39_3633.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_42_2650.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_45_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_26_1725.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_30_3649.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_35_2602.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_39_3633.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_42_2650.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_45_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734666","1394734668","1394734670","1394734667","1394734672","1394734675"],"photo_ids_order":["1394734666","1394734667","1394734668","1394734670","1394734672","1394734675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58ce64451f812f116c2e4b94e8cbf05e.jpg","text":"TemporaryFile(/tmp/multipartBody3705145514368074619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284482651,"filename":"image_16112025_09_17_26_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4fbd7eb912cfa002ee66923a94c8d75.jpg","text":"TemporaryFile(/tmp/multipartBody229065598653151829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284482651,"filename":"image_16112025_09_17_35_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/544219ceb29479ea97972f1a45e9ea57.jpg","text":"TemporaryFile(/tmp/multipartBody4462943058279615935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284482651,"filename":"image_16112025_09_17_39_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/092e9517b98fae56404c62209f9f1033.jpg","text":"TemporaryFile(/tmp/multipartBody8194497588733942510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284482651,"filename":"image_16112025_09_17_30_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48f436e36c34288fa99d852ee7e195c7.jpg","text":"TemporaryFile(/tmp/multipartBody5540288054270565714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284482651,"filename":"image_16112025_09_17_42_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a139b266fe324e2e6e45b86151cfa69.jpg","text":"TemporaryFile(/tmp/multipartBody5259530300666745192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284482651,"filename":"image_16112025_09_17_45_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734668","file1":"1394734667","file0":"1394734666","file4":"1394734672","file5":"1394734675","file3":"1394734670"},"map_files_photo_id_array":[{"photo_id":"1394734675","filename":"file5"},{"photo_id":"1394734668","filename":"file2"},{"photo_id":"1394734672","filename":"file4"},{"photo_id":"1394734667","filename":"file1"},{"photo_id":"1394734666","filename":"file0"},{"photo_id":"1394734670","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734666":["hashtag1","hashtag2"]},{"1394734668":["hashtag1","hashtag2"]},{"1394734670":["hashtag1","hashtag2"]},{"1394734667":["hashtag1","hashtag2"]},{"1394734672":["hashtag1","hashtag2"]},{"1394734675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734666, 1394734668, 1394734670, 1394734667, 1394734672, 1394734675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82410550117493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:14:22.263194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_48_2720.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_51_2590.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_55_4266.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_56_1623.jpg', '/home/pi/Desktop/images/16112025/09/17/image_16112025_09_18_00_3850.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_03_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_48_2720.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_51_2590.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_55_4266.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_17_56_1623.jpg
/home/pi/Desktop/images/16112025/09/17/image_16112025_09_18_00_3850.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_03_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734683","1394734692","1394734686","1394734694","1394734697","1394734690"],"photo_ids_order":["1394734683","1394734686","1394734690","1394734692","1394734694","1394734697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/892e3aedf4069360fbbf049f8d08a1c7.jpg","text":"TemporaryFile(/tmp/multipartBody6384759529173762263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284522896,"filename":"image_16112025_09_17_48_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25a37ec092b5372eed659e3c5b172430.jpg","text":"TemporaryFile(/tmp/multipartBody9213146881529118814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284522896,"filename":"image_16112025_09_17_56_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3286994e8d742fb36c1d9d9d9cbeef2.jpg","text":"TemporaryFile(/tmp/multipartBody1447132820670589478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284522896,"filename":"image_16112025_09_17_51_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/856fdba0df3b4188aa50d34b1373df35.jpg","text":"TemporaryFile(/tmp/multipartBody1737869850292359105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284522896,"filename":"image_16112025_09_18_00_3850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0269e16c102a3f2023cbad2fcb59b338.jpg","text":"TemporaryFile(/tmp/multipartBody5958693926495069681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284522896,"filename":"image_16112025_09_18_03_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fdfe69198147f528aca1ceb410b868c.jpg","text":"TemporaryFile(/tmp/multipartBody1722397955316272223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284522896,"filename":"image_16112025_09_17_55_4266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734690","file1":"1394734686","file0":"1394734683","file4":"1394734694","file5":"1394734697","file3":"1394734692"},"map_files_photo_id_array":[{"photo_id":"1394734697","filename":"file5"},{"photo_id":"1394734690","filename":"file2"},{"photo_id":"1394734694","filename":"file4"},{"photo_id":"1394734686","filename":"file1"},{"photo_id":"1394734683","filename":"file0"},{"photo_id":"1394734692","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734683":["hashtag1","hashtag2"]},{"1394734692":["hashtag1","hashtag2"]},{"1394734686":["hashtag1","hashtag2"]},{"1394734694":["hashtag1","hashtag2"]},{"1394734697":["hashtag1","hashtag2"]},{"1394734690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734683, 1394734692, 1394734686, 1394734694, 1394734697, 1394734690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26007413864136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:15:03.099886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_05_2628.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_09_3581.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_12_2583.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_14_2656.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_18_3800.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_21_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_05_2628.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_09_3581.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_12_2583.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_14_2656.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_18_3800.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_21_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734698","1394734701","1394734707","1394734700","1394734699","1394734703"],"photo_ids_order":["1394734698","1394734699","1394734700","1394734701","1394734703","1394734707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c20681c6299550c6fcb8a3c04deb8bad.jpg","text":"TemporaryFile(/tmp/multipartBody6363259195227274164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284563816,"filename":"image_16112025_09_18_05_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd52d0dafe6e123e7ef43c6e69d68796.jpg","text":"TemporaryFile(/tmp/multipartBody5850804796183486659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284563816,"filename":"image_16112025_09_18_14_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72b2842b08cc760c30b0b935fc57fd5b.jpg","text":"TemporaryFile(/tmp/multipartBody8674512249183811010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284563816,"filename":"image_16112025_09_18_21_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b98b5f924e89b523cecf1c8cb6b2d768.jpg","text":"TemporaryFile(/tmp/multipartBody8407260049122055882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284563816,"filename":"image_16112025_09_18_12_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34fde100ca00b652b6904105d84fa11f.jpg","text":"TemporaryFile(/tmp/multipartBody6862867904965875870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284563816,"filename":"image_16112025_09_18_09_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00073f0020558e1bc510c87fe2064243.jpg","text":"TemporaryFile(/tmp/multipartBody7576441748406887028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284563816,"filename":"image_16112025_09_18_18_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734700","file1":"1394734699","file0":"1394734698","file4":"1394734703","file5":"1394734707","file3":"1394734701"},"map_files_photo_id_array":[{"photo_id":"1394734707","filename":"file5"},{"photo_id":"1394734700","filename":"file2"},{"photo_id":"1394734703","filename":"file4"},{"photo_id":"1394734699","filename":"file1"},{"photo_id":"1394734698","filename":"file0"},{"photo_id":"1394734701","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734698":["hashtag1","hashtag2"]},{"1394734701":["hashtag1","hashtag2"]},{"1394734707":["hashtag1","hashtag2"]},{"1394734700":["hashtag1","hashtag2"]},{"1394734699":["hashtag1","hashtag2"]},{"1394734703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734698, 1394734701, 1394734707, 1394734700, 1394734699, 1394734703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.602131605148315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:15:42.371630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_24_2706.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_26_2741.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_30_3660.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_33_2703.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_36_3575.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_39_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_24_2706.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_26_2741.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_30_3660.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_33_2703.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_36_3575.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_39_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734722","1394734719","1394734724","1394734727","1394734712","1394734715"],"photo_ids_order":["1394734712","1394734715","1394734719","1394734722","1394734724","1394734727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfafb946e9944ac766f70df6d838c65d.jpg","text":"TemporaryFile(/tmp/multipartBody4260527662400689565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284603005,"filename":"image_16112025_09_18_33_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/424ede2f256fe37ad350797e061b25c8.jpg","text":"TemporaryFile(/tmp/multipartBody7288173167099575448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284603005,"filename":"image_16112025_09_18_30_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab50acaa8272336d51acac5f7757a132.jpg","text":"TemporaryFile(/tmp/multipartBody8504282204188249838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284603005,"filename":"image_16112025_09_18_36_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/995aecf0bd391c0999d78a4bb102a1eb.jpg","text":"TemporaryFile(/tmp/multipartBody1628173991172486155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284603005,"filename":"image_16112025_09_18_39_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9337b48ca98c431b57e05cb6c7885e6.jpg","text":"TemporaryFile(/tmp/multipartBody4935637093923287865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284603005,"filename":"image_16112025_09_18_24_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75350c396d06a0abfc2eaeb717a451c4.jpg","text":"TemporaryFile(/tmp/multipartBody7367983296000378981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284603005,"filename":"image_16112025_09_18_26_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734719","file1":"1394734715","file0":"1394734712","file4":"1394734724","file5":"1394734727","file3":"1394734722"},"map_files_photo_id_array":[{"photo_id":"1394734727","filename":"file5"},{"photo_id":"1394734719","filename":"file2"},{"photo_id":"1394734724","filename":"file4"},{"photo_id":"1394734715","filename":"file1"},{"photo_id":"1394734712","filename":"file0"},{"photo_id":"1394734722","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734722":["hashtag1","hashtag2"]},{"1394734719":["hashtag1","hashtag2"]},{"1394734724":["hashtag1","hashtag2"]},{"1394734727":["hashtag1","hashtag2"]},{"1394734712":["hashtag1","hashtag2"]},{"1394734715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734722, 1394734719, 1394734724, 1394734727, 1394734712, 1394734715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.000263929367065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:16:22.707427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_42_2742.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_45_3574.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_48_2548.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_50_2620.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_54_3675.jpg', '/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_57_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_42_2742.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_45_3574.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_48_2548.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_50_2620.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_54_3675.jpg
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_57_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734744","1394734738","1394734747","1394734746","1394734740","1394734734"],"photo_ids_order":["1394734734","1394734738","1394734740","1394734744","1394734746","1394734747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7e896a4883ae7d8fc34e3f924fc4853.jpg","text":"TemporaryFile(/tmp/multipartBody206403402428448031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284643415,"filename":"image_16112025_09_18_50_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f7508e4e0692ffbe0b97aedf6324002.jpg","text":"TemporaryFile(/tmp/multipartBody339515537386137391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284643415,"filename":"image_16112025_09_18_45_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37b616b5779dee0f5818bc117cc73284.jpg","text":"TemporaryFile(/tmp/multipartBody3923106050286709492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284643415,"filename":"image_16112025_09_18_57_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/caf69c29cea38337fcf689fff6819c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6320745539007896952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284643415,"filename":"image_16112025_09_18_54_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa14d6a670472d1d85967db706f747c9.jpg","text":"TemporaryFile(/tmp/multipartBody6825274197343956659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284643415,"filename":"image_16112025_09_18_48_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7653ab1d47c7bd2283d1c5de0b7ba673.jpg","text":"TemporaryFile(/tmp/multipartBody8433748136173159929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284643415,"filename":"image_16112025_09_18_42_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734740","file1":"1394734738","file0":"1394734734","file4":"1394734746","file5":"1394734747","file3":"1394734744"},"map_files_photo_id_array":[{"photo_id":"1394734747","filename":"file5"},{"photo_id":"1394734740","filename":"file2"},{"photo_id":"1394734746","filename":"file4"},{"photo_id":"1394734738","filename":"file1"},{"photo_id":"1394734734","filename":"file0"},{"photo_id":"1394734744","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734744":["hashtag1","hashtag2"]},{"1394734738":["hashtag1","hashtag2"]},{"1394734747":["hashtag1","hashtag2"]},{"1394734746":["hashtag1","hashtag2"]},{"1394734740":["hashtag1","hashtag2"]},{"1394734734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734744, 1394734738, 1394734747, 1394734746, 1394734740, 1394734734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04879951477051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:17:02.413549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_59_2726.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_02_2786.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_06_3669.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_09_2685.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_12_3594.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_15_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/18/image_16112025_09_18_59_2726.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_02_2786.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_06_3669.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_09_2685.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_12_3594.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_15_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734750","1394734749","1394734751","1394734748","1394734753","1394734756"],"photo_ids_order":["1394734748","1394734749","1394734750","1394734751","1394734753","1394734756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcc8997b82950e13d80776ae41cda342.jpg","text":"TemporaryFile(/tmp/multipartBody7320927121808122605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284683122,"filename":"image_16112025_09_19_06_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46dfa08632a54d347b0ac6a8853fa40b.jpg","text":"TemporaryFile(/tmp/multipartBody8164743030598172209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284683122,"filename":"image_16112025_09_19_02_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be7cafa54e0c8656434023bdbe86e840.jpg","text":"TemporaryFile(/tmp/multipartBody4988657507884966334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284683122,"filename":"image_16112025_09_19_09_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd219ab6118f81d675006998c01864ac.jpg","text":"TemporaryFile(/tmp/multipartBody6229476288114670224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284683122,"filename":"image_16112025_09_18_59_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ef7a62fc0852903b41ffe6c379541bc.jpg","text":"TemporaryFile(/tmp/multipartBody1637624235984596614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284683122,"filename":"image_16112025_09_19_12_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f15e7b8720282920b40b1a6d3b5925e4.jpg","text":"TemporaryFile(/tmp/multipartBody6011049867611714686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284683122,"filename":"image_16112025_09_19_15_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734750","file1":"1394734749","file0":"1394734748","file4":"1394734753","file5":"1394734756","file3":"1394734751"},"map_files_photo_id_array":[{"photo_id":"1394734756","filename":"file5"},{"photo_id":"1394734750","filename":"file2"},{"photo_id":"1394734753","filename":"file4"},{"photo_id":"1394734749","filename":"file1"},{"photo_id":"1394734748","filename":"file0"},{"photo_id":"1394734751","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734750":["hashtag1","hashtag2"]},{"1394734749":["hashtag1","hashtag2"]},{"1394734751":["hashtag1","hashtag2"]},{"1394734748":["hashtag1","hashtag2"]},{"1394734753":["hashtag1","hashtag2"]},{"1394734756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734750, 1394734749, 1394734751, 1394734748, 1394734753, 1394734756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06071901321411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:17:41.807633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_18_2680.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_20_2638.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_24_3654.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_26_2618.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_30_3707.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_33_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_18_2680.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_20_2638.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_24_3654.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_26_2618.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_30_3707.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_33_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734765","1394734770","1394734761","1394734763","1394734766","1394734768"],"photo_ids_order":["1394734761","1394734763","1394734765","1394734766","1394734768","1394734770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac36f6046253c009753ee0699daa8921.jpg","text":"TemporaryFile(/tmp/multipartBody7401338246333589917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284722423,"filename":"image_16112025_09_19_24_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eaa8fc8ee39452601470fa1eac87d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody5374535696642661437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284722423,"filename":"image_16112025_09_19_33_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7132db76d65f460fe34c334829f3c0ff.jpg","text":"TemporaryFile(/tmp/multipartBody5307345880196210897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284722423,"filename":"image_16112025_09_19_18_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1b7e9e706dfc9d13c953cd576c42cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1860706380391201754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284722423,"filename":"image_16112025_09_19_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/11/16/07c513dd57fa27d8f3387b0e8424ebfb.jpg","text":"TemporaryFile(/tmp/multipartBody3434200285394684892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284722423,"filename":"image_16112025_09_19_26_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c29d5b08cd87b5f51146d567c9afc27.jpg","text":"TemporaryFile(/tmp/multipartBody6529898872165119444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284722423,"filename":"image_16112025_09_19_30_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734765","file1":"1394734763","file0":"1394734761","file4":"1394734768","file5":"1394734770","file3":"1394734766"},"map_files_photo_id_array":[{"photo_id":"1394734770","filename":"file5"},{"photo_id":"1394734765","filename":"file2"},{"photo_id":"1394734768","filename":"file4"},{"photo_id":"1394734763","filename":"file1"},{"photo_id":"1394734761","filename":"file0"},{"photo_id":"1394734766","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734765":["hashtag1","hashtag2"]},{"1394734770":["hashtag1","hashtag2"]},{"1394734761":["hashtag1","hashtag2"]},{"1394734763":["hashtag1","hashtag2"]},{"1394734766":["hashtag1","hashtag2"]},{"1394734768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734765, 1394734770, 1394734761, 1394734763, 1394734766, 1394734768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96393036842346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:18:22.058251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_35_2657.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_39_3657.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_42_2546.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_44_2793.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_48_3635.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_51_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_35_2657.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_39_3657.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_42_2546.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_44_2793.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_48_3635.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_51_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734782","1394734779","1394734781","1394734784","1394734780","1394734777"],"photo_ids_order":["1394734777","1394734779","1394734780","1394734781","1394734782","1394734784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30fef6d8d2669ebe9fc70c1f6111b267.jpg","text":"TemporaryFile(/tmp/multipartBody7300491821918076072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284762723,"filename":"image_16112025_09_19_48_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3eef16b6bfbe6e72ef1c06d85e2d579d.jpg","text":"TemporaryFile(/tmp/multipartBody4560676014079565500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284762723,"filename":"image_16112025_09_19_39_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6ee88e91a4cfcd80860331f73a6c42b.jpg","text":"TemporaryFile(/tmp/multipartBody8328387582375997974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284762723,"filename":"image_16112025_09_19_44_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a65b7b38ac1deaca08320ea830fef520.jpg","text":"TemporaryFile(/tmp/multipartBody5330148557754606681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284762723,"filename":"image_16112025_09_19_51_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35b953d20692994d6ccfb7a28ae606d3.jpg","text":"TemporaryFile(/tmp/multipartBody4909350445638819550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284762723,"filename":"image_16112025_09_19_42_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/000552cfc13d225bad0a793fa38e504c.jpg","text":"TemporaryFile(/tmp/multipartBody2592889991196286604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284762723,"filename":"image_16112025_09_19_35_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734780","file1":"1394734779","file0":"1394734777","file4":"1394734782","file5":"1394734784","file3":"1394734781"},"map_files_photo_id_array":[{"photo_id":"1394734784","filename":"file5"},{"photo_id":"1394734780","filename":"file2"},{"photo_id":"1394734782","filename":"file4"},{"photo_id":"1394734779","filename":"file1"},{"photo_id":"1394734777","filename":"file0"},{"photo_id":"1394734781","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734782":["hashtag1","hashtag2"]},{"1394734779":["hashtag1","hashtag2"]},{"1394734781":["hashtag1","hashtag2"]},{"1394734784":["hashtag1","hashtag2"]},{"1394734780":["hashtag1","hashtag2"]},{"1394734777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734782, 1394734779, 1394734781, 1394734784, 1394734780, 1394734777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.511091232299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:19:03.101313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_53_2625.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_57_3584.jpg', '/home/pi/Desktop/images/16112025/09/19/image_16112025_09_20_00_2648.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_02_2727.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_06_3565.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_09_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_53_2625.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_19_57_3584.jpg
/home/pi/Desktop/images/16112025/09/19/image_16112025_09_20_00_2648.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_02_2727.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_06_3565.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_09_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734785","1394734787","1394734796","1394734790","1394734792","1394734789"],"photo_ids_order":["1394734785","1394734787","1394734789","1394734790","1394734792","1394734796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5137963b3cef09aecd6dec931fbc7890.jpg","text":"TemporaryFile(/tmp/multipartBody3871583344396702038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284803827,"filename":"image_16112025_09_19_53_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44596e6ce1fd8547072caa4265bcb43c.jpg","text":"TemporaryFile(/tmp/multipartBody6698212343286945457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284803827,"filename":"image_16112025_09_19_57_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d353aad7a172178d87b09e288de4ae8.jpg","text":"TemporaryFile(/tmp/multipartBody2130103241627193036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284803827,"filename":"image_16112025_09_20_09_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94d423a6b9a434952a90f41a0a849e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3680826722717118504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284803827,"filename":"image_16112025_09_20_02_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b930134aee9f9c1314732171370a588.jpg","text":"TemporaryFile(/tmp/multipartBody9030400088733285230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284803827,"filename":"image_16112025_09_20_06_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8c706bb18d86b525c05c6128f7dc5e4.jpg","text":"TemporaryFile(/tmp/multipartBody5320673347221537388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284803827,"filename":"image_16112025_09_20_00_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734789","file1":"1394734787","file0":"1394734785","file4":"1394734792","file5":"1394734796","file3":"1394734790"},"map_files_photo_id_array":[{"photo_id":"1394734796","filename":"file5"},{"photo_id":"1394734789","filename":"file2"},{"photo_id":"1394734792","filename":"file4"},{"photo_id":"1394734787","filename":"file1"},{"photo_id":"1394734785","filename":"file0"},{"photo_id":"1394734790","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734785":["hashtag1","hashtag2"]},{"1394734787":["hashtag1","hashtag2"]},{"1394734796":["hashtag1","hashtag2"]},{"1394734790":["hashtag1","hashtag2"]},{"1394734792":["hashtag1","hashtag2"]},{"1394734789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734785, 1394734787, 1394734796, 1394734790, 1394734792, 1394734789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04866814613342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:19:42.286292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_11_2698.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_15_3574.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_17_2625.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_21_3630.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_24_2589.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_26_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_11_2698.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_15_3574.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_17_2625.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_21_3630.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_24_2589.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_26_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734807","1394734801","1394734803","1394734806","1394734799","1394734805"],"photo_ids_order":["1394734799","1394734801","1394734803","1394734805","1394734806","1394734807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0fa9c351db95c48ba19fcab6f820123.jpg","text":"TemporaryFile(/tmp/multipartBody8373368921397538583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284842941,"filename":"image_16112025_09_20_26_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b421769906f5878df61120e2a9080c00.jpg","text":"TemporaryFile(/tmp/multipartBody1008393877483678102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284842941,"filename":"image_16112025_09_20_15_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/002b909c059d8139a857f83d02589ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5034411725707246577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284842941,"filename":"image_16112025_09_20_17_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28d80726b2b041574f04eba7f3a98406.jpg","text":"TemporaryFile(/tmp/multipartBody4421885836809556564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284842941,"filename":"image_16112025_09_20_24_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06f1daced4c9634c8cc4fe67886c7042.jpg","text":"TemporaryFile(/tmp/multipartBody2364966274292757379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284842941,"filename":"image_16112025_09_20_11_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20123c121977f69c8e575e9d69d7acd3.jpg","text":"TemporaryFile(/tmp/multipartBody8996766550763926745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284842941,"filename":"image_16112025_09_20_21_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734803","file1":"1394734801","file0":"1394734799","file4":"1394734806","file5":"1394734807","file3":"1394734805"},"map_files_photo_id_array":[{"photo_id":"1394734807","filename":"file5"},{"photo_id":"1394734803","filename":"file2"},{"photo_id":"1394734806","filename":"file4"},{"photo_id":"1394734801","filename":"file1"},{"photo_id":"1394734799","filename":"file0"},{"photo_id":"1394734805","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734807":["hashtag1","hashtag2"]},{"1394734801":["hashtag1","hashtag2"]},{"1394734803":["hashtag1","hashtag2"]},{"1394734806":["hashtag1","hashtag2"]},{"1394734799":["hashtag1","hashtag2"]},{"1394734805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734807, 1394734801, 1394734803, 1394734806, 1394734799, 1394734805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02337956428528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:20:22.590742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_30_3651.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_32_2568.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_35_2883.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_38_2747.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_42_3570.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_44_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_30_3651.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_32_2568.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_35_2883.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_38_2747.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_42_3570.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_44_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734816","1394734819","1394734810","1394734815","1394734812","1394734814"],"photo_ids_order":["1394734810","1394734812","1394734814","1394734815","1394734816","1394734819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/668e5c7392110b3248e921e08453437d.jpg","text":"TemporaryFile(/tmp/multipartBody8874934366653581642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284883205,"filename":"image_16112025_09_20_42_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95c35342529a9adf92d83a90f5b185ad.jpg","text":"TemporaryFile(/tmp/multipartBody1887625033070930063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284883205,"filename":"image_16112025_09_20_44_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfe8177a5f1da19dd4d09438aee6d29f.jpg","text":"TemporaryFile(/tmp/multipartBody3304418339292727563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284883205,"filename":"image_16112025_09_20_30_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71649efc8259e2769496cd6f3b0489b8.jpg","text":"TemporaryFile(/tmp/multipartBody7541649987480054606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284883205,"filename":"image_16112025_09_20_38_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b9a669a682bf7e4dcc7a8ce7287b732.jpg","text":"TemporaryFile(/tmp/multipartBody594199684375594622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284883205,"filename":"image_16112025_09_20_32_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1998c6212622fcfb1aca6e92f7d1d98f.jpg","text":"TemporaryFile(/tmp/multipartBody1700121758387272042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284883205,"filename":"image_16112025_09_20_35_2883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734814","file1":"1394734812","file0":"1394734810","file4":"1394734816","file5":"1394734819","file3":"1394734815"},"map_files_photo_id_array":[{"photo_id":"1394734819","filename":"file5"},{"photo_id":"1394734814","filename":"file2"},{"photo_id":"1394734816","filename":"file4"},{"photo_id":"1394734812","filename":"file1"},{"photo_id":"1394734810","filename":"file0"},{"photo_id":"1394734815","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734816":["hashtag1","hashtag2"]},{"1394734819":["hashtag1","hashtag2"]},{"1394734810":["hashtag1","hashtag2"]},{"1394734815":["hashtag1","hashtag2"]},{"1394734812":["hashtag1","hashtag2"]},{"1394734814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734816, 1394734819, 1394734810, 1394734815, 1394734812, 1394734814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.279242515563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:21:03.119530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_48_3667.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_51_2711.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_53_2625.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_56_2663.jpg', '/home/pi/Desktop/images/16112025/09/20/image_16112025_09_21_00_3595.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_02_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_48_3667.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_51_2711.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_53_2625.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_20_56_2663.jpg
/home/pi/Desktop/images/16112025/09/20/image_16112025_09_21_00_3595.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_02_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734822","1394734825","1394734828","1394734821","1394734823","1394734820"],"photo_ids_order":["1394734820","1394734821","1394734822","1394734823","1394734825","1394734828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b16a384f6daa9911d859fb24436be57.jpg","text":"TemporaryFile(/tmp/multipartBody8100176458410669994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284923838,"filename":"image_16112025_09_20_53_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba465d0b50788b1861d5eeba8adc0d26.jpg","text":"TemporaryFile(/tmp/multipartBody2259695923864011515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284923838,"filename":"image_16112025_09_21_00_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35b9bc0bfac4b862b7b34c060bc59e40.jpg","text":"TemporaryFile(/tmp/multipartBody3998342483531947157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284923838,"filename":"image_16112025_09_21_02_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/934bafb2e083d70d2b1ecdf0b56543aa.jpg","text":"TemporaryFile(/tmp/multipartBody4516782420865387350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284923838,"filename":"image_16112025_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/11/16/9a8ae3d6367e96e27478821ae703342b.jpg","text":"TemporaryFile(/tmp/multipartBody3936647647322119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284923838,"filename":"image_16112025_09_20_56_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fb8abc90c683810f93311674a96bb03.jpg","text":"TemporaryFile(/tmp/multipartBody1388162481775658139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284923838,"filename":"image_16112025_09_20_48_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734822","file1":"1394734821","file0":"1394734820","file4":"1394734825","file5":"1394734828","file3":"1394734823"},"map_files_photo_id_array":[{"photo_id":"1394734828","filename":"file5"},{"photo_id":"1394734822","filename":"file2"},{"photo_id":"1394734825","filename":"file4"},{"photo_id":"1394734821","filename":"file1"},{"photo_id":"1394734820","filename":"file0"},{"photo_id":"1394734823","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734822":["hashtag1","hashtag2"]},{"1394734825":["hashtag1","hashtag2"]},{"1394734828":["hashtag1","hashtag2"]},{"1394734821":["hashtag1","hashtag2"]},{"1394734823":["hashtag1","hashtag2"]},{"1394734820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734822, 1394734825, 1394734828, 1394734821, 1394734823, 1394734820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56960344314575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:21:42.449058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_05_2762.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_09_3534.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_11_2560.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_15_3629.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_18_2836.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_20_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_05_2762.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_09_3534.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_11_2560.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_15_3629.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_18_2836.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_20_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734833","1394734836","1394734841","1394734838","1394734840","1394734834"],"photo_ids_order":["1394734833","1394734834","1394734836","1394734838","1394734840","1394734841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8837659b3326e0a7f2f3e6b052e04efe.jpg","text":"TemporaryFile(/tmp/multipartBody631853871301039329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284963096,"filename":"image_16112025_09_21_05_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9399f26774427a8b840a3247fd526696.jpg","text":"TemporaryFile(/tmp/multipartBody318576504011981593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284963096,"filename":"image_16112025_09_21_11_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d0c967afa8af0b6e7c491b922081992.jpg","text":"TemporaryFile(/tmp/multipartBody4071090531700044671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284963096,"filename":"image_16112025_09_21_20_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c12f02aad33a166c73126c3d7b54511f.jpg","text":"TemporaryFile(/tmp/multipartBody60528183956519273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284963096,"filename":"image_16112025_09_21_15_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cb2ad0c598170606215a64375732542.jpg","text":"TemporaryFile(/tmp/multipartBody8159312176867641172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284963096,"filename":"image_16112025_09_21_18_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/086c0e3a5533836af779270fdffe6bd3.jpg","text":"TemporaryFile(/tmp/multipartBody56240570764938070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763284963096,"filename":"image_16112025_09_21_09_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734836","file1":"1394734834","file0":"1394734833","file4":"1394734840","file5":"1394734841","file3":"1394734838"},"map_files_photo_id_array":[{"photo_id":"1394734841","filename":"file5"},{"photo_id":"1394734836","filename":"file2"},{"photo_id":"1394734840","filename":"file4"},{"photo_id":"1394734834","filename":"file1"},{"photo_id":"1394734833","filename":"file0"},{"photo_id":"1394734838","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734833":["hashtag1","hashtag2"]},{"1394734836":["hashtag1","hashtag2"]},{"1394734841":["hashtag1","hashtag2"]},{"1394734838":["hashtag1","hashtag2"]},{"1394734840":["hashtag1","hashtag2"]},{"1394734834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734833, 1394734836, 1394734841, 1394734838, 1394734840, 1394734834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26905298233032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:22:23.491842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_24_3623.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_26_2494.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_30_3591.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_33_2611.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_35_2646.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_39_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_24_3623.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_26_2494.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_30_3591.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_33_2611.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_35_2646.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_39_3553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734846","1394734854","1394734850","1394734852","1394734855","1394734849"],"photo_ids_order":["1394734846","1394734849","1394734850","1394734852","1394734854","1394734855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e84de9caa05b8d1e33c810c99f2e3fb.jpg","text":"TemporaryFile(/tmp/multipartBody9144404425469128247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285006568,"filename":"image_16112025_09_21_24_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df8daeca0cae9f390c97e5b489b58a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3664461953825201327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285006568,"filename":"image_16112025_09_21_35_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4fb0ed3da260ea4bde9c059e3ae5b71.jpg","text":"TemporaryFile(/tmp/multipartBody9069498371227083313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285006568,"filename":"image_16112025_09_21_30_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d94311bdb03355b08138ea81fa66b3b6.jpg","text":"TemporaryFile(/tmp/multipartBody7107378805552917935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285006568,"filename":"image_16112025_09_21_33_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3863f15263c7c60034c15c0a9eeab63b.jpg","text":"TemporaryFile(/tmp/multipartBody2402988939727765770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285006568,"filename":"image_16112025_09_21_39_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ccbabf7d00ca63afaa5c778c2d000002.jpg","text":"TemporaryFile(/tmp/multipartBody1118363323193903415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285006568,"filename":"image_16112025_09_21_26_2494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734850","file1":"1394734849","file0":"1394734846","file4":"1394734854","file5":"1394734855","file3":"1394734852"},"map_files_photo_id_array":[{"photo_id":"1394734855","filename":"file5"},{"photo_id":"1394734850","filename":"file2"},{"photo_id":"1394734854","filename":"file4"},{"photo_id":"1394734849","filename":"file1"},{"photo_id":"1394734846","filename":"file0"},{"photo_id":"1394734852","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734846":["hashtag1","hashtag2"]},{"1394734854":["hashtag1","hashtag2"]},{"1394734850":["hashtag1","hashtag2"]},{"1394734852":["hashtag1","hashtag2"]},{"1394734855":["hashtag1","hashtag2"]},{"1394734849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734846, 1394734854, 1394734850, 1394734852, 1394734855, 1394734849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3592312335968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:23:02.695913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_41_2550.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_45_3515.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_48_2773.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_50_2589.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_53_2782.jpg', '/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_57_3867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_41_2550.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_45_3515.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_48_2773.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_50_2589.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_53_2782.jpg
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_21_57_3867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734864","1394734858","1394734857","1394734856","1394734859","1394734861"],"photo_ids_order":["1394734856","1394734857","1394734858","1394734859","1394734861","1394734864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9af7fbb199e22bb45a4400dcbb598bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7425635752369965379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285043462,"filename":"image_16112025_09_21_57_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e903b8936f587e3be60258903ee82881.jpg","text":"TemporaryFile(/tmp/multipartBody4178796111965269376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285043462,"filename":"image_16112025_09_21_48_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d41c83e8e3bd2322a01f7b5b774c2dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7704622751123433635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285043462,"filename":"image_16112025_09_21_45_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ddd83a4a5a73f0c8de896bab177cbf7.jpg","text":"TemporaryFile(/tmp/multipartBody4844825865703419748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285043462,"filename":"image_16112025_09_21_41_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aecae11ab552fef609bb30bdf7c2e31c.jpg","text":"TemporaryFile(/tmp/multipartBody6518798736972271147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285043462,"filename":"image_16112025_09_21_50_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d73d932d5d3be8f7fd11c6b45dd163c.jpg","text":"TemporaryFile(/tmp/multipartBody1120240118774160366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285043462,"filename":"image_16112025_09_21_53_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734858","file1":"1394734857","file0":"1394734856","file4":"1394734861","file5":"1394734864","file3":"1394734859"},"map_files_photo_id_array":[{"photo_id":"1394734864","filename":"file5"},{"photo_id":"1394734858","filename":"file2"},{"photo_id":"1394734861","filename":"file4"},{"photo_id":"1394734857","filename":"file1"},{"photo_id":"1394734856","filename":"file0"},{"photo_id":"1394734859","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734864":["hashtag1","hashtag2"]},{"1394734858":["hashtag1","hashtag2"]},{"1394734857":["hashtag1","hashtag2"]},{"1394734856":["hashtag1","hashtag2"]},{"1394734859":["hashtag1","hashtag2"]},{"1394734861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734864, 1394734858, 1394734857, 1394734856, 1394734859, 1394734861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39607095718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:23:41.919488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/21/image_16112025_09_22_00_2753.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_02_2555.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_06_3711.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_08_2633.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_11_2691.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_15_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/21/image_16112025_09_22_00_2753.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_02_2555.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_06_3711.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_08_2633.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_11_2691.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_15_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734875","1394734872","1394734869","1394734874","1394734873","1394734876"],"photo_ids_order":["1394734869","1394734872","1394734873","1394734874","1394734875","1394734876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b82224701adde799cfd7f4d4616a23a5.jpg","text":"TemporaryFile(/tmp/multipartBody1496961678620008155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285082598,"filename":"image_16112025_09_22_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/11/16/e972cd5ebc85743b9b2363d99d48693f.jpg","text":"TemporaryFile(/tmp/multipartBody6289565833283879597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285082598,"filename":"image_16112025_09_22_02_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db144a11b607fcc17c3690c1aac725d7.jpg","text":"TemporaryFile(/tmp/multipartBody7142526265517521033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285082598,"filename":"image_16112025_09_22_00_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8b9095fa5d24fc02e27415fe5e24a86.jpg","text":"TemporaryFile(/tmp/multipartBody8850524388035935843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285082598,"filename":"image_16112025_09_22_08_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b4cb01807f311b8c0ed13dcb88857ab.jpg","text":"TemporaryFile(/tmp/multipartBody6893855689337967763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285082598,"filename":"image_16112025_09_22_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/11/16/858a6b6c01d3c16eb803e52c6152193a.jpg","text":"TemporaryFile(/tmp/multipartBody5538025949068715687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285082598,"filename":"image_16112025_09_22_15_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734873","file1":"1394734872","file0":"1394734869","file4":"1394734875","file5":"1394734876","file3":"1394734874"},"map_files_photo_id_array":[{"photo_id":"1394734876","filename":"file5"},{"photo_id":"1394734873","filename":"file2"},{"photo_id":"1394734875","filename":"file4"},{"photo_id":"1394734872","filename":"file1"},{"photo_id":"1394734869","filename":"file0"},{"photo_id":"1394734874","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734875":["hashtag1","hashtag2"]},{"1394734872":["hashtag1","hashtag2"]},{"1394734869":["hashtag1","hashtag2"]},{"1394734874":["hashtag1","hashtag2"]},{"1394734873":["hashtag1","hashtag2"]},{"1394734876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734875, 1394734872, 1394734869, 1394734874, 1394734873, 1394734876)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.06999969482422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:24:42.290684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_18_2733.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_20_2651.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_24_3596.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_26_2512.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_29_2688.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_33_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_18_2733.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_20_2651.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_24_3596.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_26_2512.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_29_2688.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_33_3655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734881","1394734884","1394734878","1394734880","1394734883","1394734882"],"photo_ids_order":["1394734878","1394734880","1394734881","1394734882","1394734883","1394734884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0fb4c4ce126ce123a50293eb095b21f.jpg","text":"TemporaryFile(/tmp/multipartBody4813665401358561111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285142921,"filename":"image_16112025_09_22_24_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40743561ffe8fceb2c1f5be7a66e38e5.jpg","text":"TemporaryFile(/tmp/multipartBody8752524567146582596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285142921,"filename":"image_16112025_09_22_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/11/16/06cb3da32415fc77cc7d9d58862f9e61.jpg","text":"TemporaryFile(/tmp/multipartBody4241352670460605298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285142921,"filename":"image_16112025_09_22_18_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/396274243db8b70c4a2763faabce312f.jpg","text":"TemporaryFile(/tmp/multipartBody7252867606614563431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285142921,"filename":"image_16112025_09_22_20_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75ec4cbf565daec0a13a5078d2628aa8.jpg","text":"TemporaryFile(/tmp/multipartBody1005549527528660665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285142921,"filename":"image_16112025_09_22_29_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e22cf2be2896725036ccd20e16c903c.jpg","text":"TemporaryFile(/tmp/multipartBody5854811370977723410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285142921,"filename":"image_16112025_09_22_26_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734881","file1":"1394734880","file0":"1394734878","file4":"1394734883","file5":"1394734884","file3":"1394734882"},"map_files_photo_id_array":[{"photo_id":"1394734884","filename":"file5"},{"photo_id":"1394734881","filename":"file2"},{"photo_id":"1394734883","filename":"file4"},{"photo_id":"1394734880","filename":"file1"},{"photo_id":"1394734878","filename":"file0"},{"photo_id":"1394734882","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734881":["hashtag1","hashtag2"]},{"1394734884":["hashtag1","hashtag2"]},{"1394734878":["hashtag1","hashtag2"]},{"1394734880":["hashtag1","hashtag2"]},{"1394734883":["hashtag1","hashtag2"]},{"1394734882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734881, 1394734884, 1394734878, 1394734880, 1394734883, 1394734882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97225046157837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:25:22.521089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_35_2654.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_38_2788.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_42_3622.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_44_2694.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_47_2580.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_51_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_35_2654.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_38_2788.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_42_3622.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_44_2694.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_47_2580.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_51_3771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734892","1394734895","1394734889","1394734897","1394734891","1394734894"],"photo_ids_order":["1394734889","1394734891","1394734892","1394734894","1394734895","1394734897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c8aa851475878186d0515451bee898a.jpg","text":"TemporaryFile(/tmp/multipartBody6343340339161988456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285183233,"filename":"image_16112025_09_22_42_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b907d12441b1f8cb6a875b37e4b4210c.jpg","text":"TemporaryFile(/tmp/multipartBody3426735125938295498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285183233,"filename":"image_16112025_09_22_47_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2622cf84dcf356f0b558ef1ed2331cff.jpg","text":"TemporaryFile(/tmp/multipartBody2716636099439448386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285183233,"filename":"image_16112025_09_22_35_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7980dea7112aa10128ad5461cceba48a.jpg","text":"TemporaryFile(/tmp/multipartBody1355954378871435202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285183233,"filename":"image_16112025_09_22_51_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4c2b6845225bc0e65041839c1390501.jpg","text":"TemporaryFile(/tmp/multipartBody3011190891144174616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285183233,"filename":"image_16112025_09_22_38_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df908cb9d5b4005edfdf270348d63247.jpg","text":"TemporaryFile(/tmp/multipartBody4604413962988278206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285183233,"filename":"image_16112025_09_22_44_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734892","file1":"1394734891","file0":"1394734889","file4":"1394734895","file5":"1394734897","file3":"1394734894"},"map_files_photo_id_array":[{"photo_id":"1394734897","filename":"file5"},{"photo_id":"1394734892","filename":"file2"},{"photo_id":"1394734895","filename":"file4"},{"photo_id":"1394734891","filename":"file1"},{"photo_id":"1394734889","filename":"file0"},{"photo_id":"1394734894","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734892":["hashtag1","hashtag2"]},{"1394734895":["hashtag1","hashtag2"]},{"1394734889":["hashtag1","hashtag2"]},{"1394734897":["hashtag1","hashtag2"]},{"1394734891":["hashtag1","hashtag2"]},{"1394734894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734892, 1394734895, 1394734889, 1394734897, 1394734891, 1394734894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.442424297332764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:26:03.061425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_54_2928.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_56_2639.jpg', '/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_59_2665.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_03_3563.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_05_2766.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_08_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_54_2928.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_56_2639.jpg
/home/pi/Desktop/images/16112025/09/22/image_16112025_09_22_59_2665.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_03_3563.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_05_2766.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_08_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734900","1394734899","1394734908","1394734902","1394734905","1394734901"],"photo_ids_order":["1394734899","1394734900","1394734901","1394734902","1394734905","1394734908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d65948b2052bd7a1b6c338dfcd0819d.jpg","text":"TemporaryFile(/tmp/multipartBody8858297302105231925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285223741,"filename":"image_16112025_09_22_56_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/942f7151e4866b2788c7935c64143387.jpg","text":"TemporaryFile(/tmp/multipartBody8783642444834613874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285223741,"filename":"image_16112025_09_22_54_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b72d27c77532aa46c9a3417efdadbfe.jpg","text":"TemporaryFile(/tmp/multipartBody6772790916524640003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285223741,"filename":"image_16112025_09_23_08_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5781c383e2c27115813cc00539ae5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5850970020979453128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285223741,"filename":"image_16112025_09_23_03_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c215402e435207d3d9f6b0ebb3c7289a.jpg","text":"TemporaryFile(/tmp/multipartBody6949228672227922257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285223741,"filename":"image_16112025_09_23_05_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2113fc8e45cac2f26ea8c439f301cdac.jpg","text":"TemporaryFile(/tmp/multipartBody3028624402528638686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285223741,"filename":"image_16112025_09_22_59_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734901","file1":"1394734900","file0":"1394734899","file4":"1394734905","file5":"1394734908","file3":"1394734902"},"map_files_photo_id_array":[{"photo_id":"1394734908","filename":"file5"},{"photo_id":"1394734901","filename":"file2"},{"photo_id":"1394734905","filename":"file4"},{"photo_id":"1394734900","filename":"file1"},{"photo_id":"1394734899","filename":"file0"},{"photo_id":"1394734902","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734900":["hashtag1","hashtag2"]},{"1394734899":["hashtag1","hashtag2"]},{"1394734908":["hashtag1","hashtag2"]},{"1394734902":["hashtag1","hashtag2"]},{"1394734905":["hashtag1","hashtag2"]},{"1394734901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734900, 1394734899, 1394734908, 1394734902, 1394734905, 1394734901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62298560142517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:26:42.661714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_12_3651.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_14_2498.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_18_3631.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_20_2727.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_23_2633.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_26_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_12_3651.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_14_2498.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_18_3631.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_20_2727.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_23_2633.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_26_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734924","1394734926","1394734920","1394734922","1394734919","1394734928"],"photo_ids_order":["1394734919","1394734920","1394734922","1394734924","1394734926","1394734928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6c604abc9ef7209e25d34e8c7adbdc9.jpg","text":"TemporaryFile(/tmp/multipartBody8973656797033002562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285263290,"filename":"image_16112025_09_23_20_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7a1d605cbb2162c24a730bbb5c3b42e.jpg","text":"TemporaryFile(/tmp/multipartBody7667509509435066283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285263290,"filename":"image_16112025_09_23_23_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37faef891d07eea6df5fb2c414573953.jpg","text":"TemporaryFile(/tmp/multipartBody5047938706612621130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285263290,"filename":"image_16112025_09_23_14_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b5917ca77a8e8cc8c159f26a27b83b3.jpg","text":"TemporaryFile(/tmp/multipartBody4876937558441882691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285263290,"filename":"image_16112025_09_23_18_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4d8e73ae9b27c7a5e26c608119c1197.jpg","text":"TemporaryFile(/tmp/multipartBody387641352598137051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285263290,"filename":"image_16112025_09_23_12_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/368c1bfa107271da55fc4977bc488c85.jpg","text":"TemporaryFile(/tmp/multipartBody6221126698246902466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285263290,"filename":"image_16112025_09_23_26_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734922","file1":"1394734920","file0":"1394734919","file4":"1394734926","file5":"1394734928","file3":"1394734924"},"map_files_photo_id_array":[{"photo_id":"1394734928","filename":"file5"},{"photo_id":"1394734922","filename":"file2"},{"photo_id":"1394734926","filename":"file4"},{"photo_id":"1394734920","filename":"file1"},{"photo_id":"1394734919","filename":"file0"},{"photo_id":"1394734924","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734924":["hashtag1","hashtag2"]},{"1394734926":["hashtag1","hashtag2"]},{"1394734920":["hashtag1","hashtag2"]},{"1394734922":["hashtag1","hashtag2"]},{"1394734919":["hashtag1","hashtag2"]},{"1394734928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734924, 1394734926, 1394734920, 1394734922, 1394734919, 1394734928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22923040390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:27:21.902710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_29_3609.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_32_2767.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_35_2623.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_38_3579.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_41_2625.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_45_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_29_3609.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_32_2767.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_35_2623.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_38_3579.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_41_2625.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_45_3539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734936","1394734938","1394734940","1394734937","1394734931","1394734934"],"photo_ids_order":["1394734931","1394734934","1394734936","1394734937","1394734938","1394734940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e947e6294a4d7aec1391c98fdef6413.jpg","text":"TemporaryFile(/tmp/multipartBody4682827265094146591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285302524,"filename":"image_16112025_09_23_35_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/103073453a8d9932fa58b24db08eaf6e.jpg","text":"TemporaryFile(/tmp/multipartBody7643344852202530623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285302524,"filename":"image_16112025_09_23_41_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b46c02e684c579e36c4630cd87c0a44.jpg","text":"TemporaryFile(/tmp/multipartBody4041678066590022477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285302524,"filename":"image_16112025_09_23_45_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/794fd81a6ce06c70b241ac75321e4b58.jpg","text":"TemporaryFile(/tmp/multipartBody8530790812909471892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285302524,"filename":"image_16112025_09_23_38_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b47200b717a5444b36158b6f36cc1f5d.jpg","text":"TemporaryFile(/tmp/multipartBody1162830940612090273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285302524,"filename":"image_16112025_09_23_29_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d689d5fb69c7454be20ce947ff4f570d.jpg","text":"TemporaryFile(/tmp/multipartBody5173657398474826378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285302524,"filename":"image_16112025_09_23_32_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734936","file1":"1394734934","file0":"1394734931","file4":"1394734938","file5":"1394734940","file3":"1394734937"},"map_files_photo_id_array":[{"photo_id":"1394734940","filename":"file5"},{"photo_id":"1394734936","filename":"file2"},{"photo_id":"1394734938","filename":"file4"},{"photo_id":"1394734934","filename":"file1"},{"photo_id":"1394734931","filename":"file0"},{"photo_id":"1394734937","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734936":["hashtag1","hashtag2"]},{"1394734938":["hashtag1","hashtag2"]},{"1394734940":["hashtag1","hashtag2"]},{"1394734937":["hashtag1","hashtag2"]},{"1394734931":["hashtag1","hashtag2"]},{"1394734934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734936, 1394734938, 1394734940, 1394734937, 1394734931, 1394734934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62523603439331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:28:03.229137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 10:28:22.166594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_47_2595.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_50_2662.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_53_3624.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_56_2632.jpg', '/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_59_2760.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_02_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_47_2595.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_50_2662.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_53_3624.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_56_2632.jpg
/home/pi/Desktop/images/16112025/09/23/image_16112025_09_23_59_2760.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_02_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734950","1394734953","1394734947","1394734951","1394734945","1394734948"],"photo_ids_order":["1394734945","1394734947","1394734948","1394734950","1394734951","1394734953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf63127083594151ba7de7d6e2db8e25.jpg","text":"TemporaryFile(/tmp/multipartBody5661945114098533708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285362784,"filename":"image_16112025_09_23_56_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61496119b6d39a4e39c4faad8454c1f1.jpg","text":"TemporaryFile(/tmp/multipartBody7083453290458604540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285362784,"filename":"image_16112025_09_24_02_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/016e2bf97b3a339c337ce02e2f24d40e.jpg","text":"TemporaryFile(/tmp/multipartBody3592539519534310796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285362784,"filename":"image_16112025_09_23_50_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/358fea4599d679e3b3df88fa77474511.jpg","text":"TemporaryFile(/tmp/multipartBody5270987548352239548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285362784,"filename":"image_16112025_09_23_59_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db165d078aa145ac3497ac1678e7d85c.jpg","text":"TemporaryFile(/tmp/multipartBody5586934859470769522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285362784,"filename":"image_16112025_09_23_47_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a90260cc872aa7d6fee8df24ba7fdfb2.jpg","text":"TemporaryFile(/tmp/multipartBody8480633244515464734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285362784,"filename":"image_16112025_09_23_53_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734948","file1":"1394734947","file0":"1394734945","file4":"1394734951","file5":"1394734953","file3":"1394734950"},"map_files_photo_id_array":[{"photo_id":"1394734953","filename":"file5"},{"photo_id":"1394734948","filename":"file2"},{"photo_id":"1394734951","filename":"file4"},{"photo_id":"1394734947","filename":"file1"},{"photo_id":"1394734945","filename":"file0"},{"photo_id":"1394734950","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734950":["hashtag1","hashtag2"]},{"1394734953":["hashtag1","hashtag2"]},{"1394734947":["hashtag1","hashtag2"]},{"1394734951":["hashtag1","hashtag2"]},{"1394734945":["hashtag1","hashtag2"]},{"1394734948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734950, 1394734953, 1394734947, 1394734951, 1394734945, 1394734948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.966516971588135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:29:03.472208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_05_2550.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_09_3606.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_11_2595.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_14_2775.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_17_3596.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_20_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_05_2550.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_09_3606.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_11_2595.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_14_2775.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_17_3596.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_20_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734962","1394734956","1394734955","1394734958","1394734966","1394734954"],"photo_ids_order":["1394734954","1394734955","1394734956","1394734958","1394734962","1394734966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a71f70411fe2265bfc9c6e9b7603c64a.jpg","text":"TemporaryFile(/tmp/multipartBody2104095819143006112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285404284,"filename":"image_16112025_09_24_17_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f133b1745faf2d080b2cf6c2f599ea8f.jpg","text":"TemporaryFile(/tmp/multipartBody2673427352472759049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285404284,"filename":"image_16112025_09_24_11_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2aaa3dc3c7313d7b131ba01a6d0f7562.jpg","text":"TemporaryFile(/tmp/multipartBody8290104259979255497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285404284,"filename":"image_16112025_09_24_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/11/16/399d77acfd944aceed7479ec643480cf.jpg","text":"TemporaryFile(/tmp/multipartBody860596982152328686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285404284,"filename":"image_16112025_09_24_14_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/526206f6aab78dc8ee0aad4a2a8718cd.jpg","text":"TemporaryFile(/tmp/multipartBody1844884122560891190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285404284,"filename":"image_16112025_09_24_20_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75ec6826f446b56cbfdadd2e2f5bdbe1.jpg","text":"TemporaryFile(/tmp/multipartBody3463151350840809192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285404284,"filename":"image_16112025_09_24_05_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734956","file1":"1394734955","file0":"1394734954","file4":"1394734962","file5":"1394734966","file3":"1394734958"},"map_files_photo_id_array":[{"photo_id":"1394734966","filename":"file5"},{"photo_id":"1394734956","filename":"file2"},{"photo_id":"1394734962","filename":"file4"},{"photo_id":"1394734955","filename":"file1"},{"photo_id":"1394734954","filename":"file0"},{"photo_id":"1394734958","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734962":["hashtag1","hashtag2"]},{"1394734956":["hashtag1","hashtag2"]},{"1394734955":["hashtag1","hashtag2"]},{"1394734958":["hashtag1","hashtag2"]},{"1394734966":["hashtag1","hashtag2"]},{"1394734954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734962, 1394734956, 1394734955, 1394734958, 1394734966, 1394734954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92758655548096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:29:42.365516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_23_2872.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_38_15170.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_40_1549.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_50_10292.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_59_8832.jpg', '/home/pi/Desktop/images/16112025/09/24/image_16112025_09_25_00_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_23_2872.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_38_15170.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_40_1549.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_50_10292.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_24_59_8832.jpg
/home/pi/Desktop/images/16112025/09/24/image_16112025_09_25_00_1610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734980","1394734977","1394734973","1394734976","1394734979","1394734978"],"photo_ids_order":["1394734973","1394734976","1394734977","1394734978","1394734979","1394734980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d324c9db6abc35ea805e49aacb84b862.jpg","text":"TemporaryFile(/tmp/multipartBody92443922359672128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285442986,"filename":"image_16112025_09_25_00_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eda68a416afe1c033698ae849e734893.jpg","text":"TemporaryFile(/tmp/multipartBody6722275293210715075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285442986,"filename":"image_16112025_09_24_40_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b29fef31bb95b01ad5e1b6ecf91cd3c.jpg","text":"TemporaryFile(/tmp/multipartBody5115471156052128437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285442986,"filename":"image_16112025_09_24_23_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de4273b778a1eb9e3fd02450dd58eb53.jpg","text":"TemporaryFile(/tmp/multipartBody6622641509946639859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285442986,"filename":"image_16112025_09_24_38_15170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ce5160ba862d542e61ec0a8a88c85fa.jpg","text":"TemporaryFile(/tmp/multipartBody8912575040101276689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285442986,"filename":"image_16112025_09_24_59_8832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07a4eafa10a8c1ade08cb4db36cd8a83.jpg","text":"TemporaryFile(/tmp/multipartBody3081270274054437307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285442986,"filename":"image_16112025_09_24_50_10292.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734977","file1":"1394734976","file0":"1394734973","file4":"1394734979","file5":"1394734980","file3":"1394734978"},"map_files_photo_id_array":[{"photo_id":"1394734980","filename":"file5"},{"photo_id":"1394734977","filename":"file2"},{"photo_id":"1394734979","filename":"file4"},{"photo_id":"1394734976","filename":"file1"},{"photo_id":"1394734973","filename":"file0"},{"photo_id":"1394734978","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734980":["hashtag1","hashtag2"]},{"1394734977":["hashtag1","hashtag2"]},{"1394734973":["hashtag1","hashtag2"]},{"1394734976":["hashtag1","hashtag2"]},{"1394734979":["hashtag1","hashtag2"]},{"1394734978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734980, 1394734977, 1394734973, 1394734976, 1394734979, 1394734978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29159903526306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:30:22.702889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_02_1827.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_05_2742.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_07_1716.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_08_1630.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_10_1615.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_17_7125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_02_1827.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_05_2742.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_07_1716.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_08_1630.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_10_1615.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_17_7125.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394734983","1394734991","1394734985","1394734988","1394734996","1394734993"],"photo_ids_order":["1394734983","1394734985","1394734988","1394734991","1394734993","1394734996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63127b6ccfa9ae7e6d0180f73054ae8f.jpg","text":"TemporaryFile(/tmp/multipartBody6059051098658427374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285483353,"filename":"image_16112025_09_25_02_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/381eddee1f7db609b8f28a304caa3f97.jpg","text":"TemporaryFile(/tmp/multipartBody8180239939243119651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285483353,"filename":"image_16112025_09_25_08_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1be504ab82ec2480e1c809ab163c505e.jpg","text":"TemporaryFile(/tmp/multipartBody3249211739437838911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285483353,"filename":"image_16112025_09_25_05_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94c282f845b789e6cb45ecb9107f5892.jpg","text":"TemporaryFile(/tmp/multipartBody4341358555374670375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285483353,"filename":"image_16112025_09_25_07_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fb1d73b4dde7e34a380f57cd0b2efea.jpg","text":"TemporaryFile(/tmp/multipartBody7270002977996293770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285483353,"filename":"image_16112025_09_25_17_7125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b29ab80171843744d855e375d8705097.jpg","text":"TemporaryFile(/tmp/multipartBody1538816050151076173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285483353,"filename":"image_16112025_09_25_10_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394734988","file1":"1394734985","file0":"1394734983","file4":"1394734993","file5":"1394734996","file3":"1394734991"},"map_files_photo_id_array":[{"photo_id":"1394734996","filename":"file5"},{"photo_id":"1394734988","filename":"file2"},{"photo_id":"1394734993","filename":"file4"},{"photo_id":"1394734985","filename":"file1"},{"photo_id":"1394734983","filename":"file0"},{"photo_id":"1394734991","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394734983":["hashtag1","hashtag2"]},{"1394734991":["hashtag1","hashtag2"]},{"1394734985":["hashtag1","hashtag2"]},{"1394734988":["hashtag1","hashtag2"]},{"1394734996":["hashtag1","hashtag2"]},{"1394734993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394734983, 1394734991, 1394734985, 1394734988, 1394734996, 1394734993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.606767416000366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:31:02.491278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_19_1587.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_20_1544.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_22_1566.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_24_2375.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_26_1619.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_27_1498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_19_1587.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_20_1544.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_22_1566.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_24_2375.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_26_1619.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_27_1498.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735001","1394735004","1394735006","1394735000","1394734999","1394735002"],"photo_ids_order":["1394734999","1394735000","1394735001","1394735002","1394735004","1394735006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87564b1f5d44e2c99406798cf6558d13.jpg","text":"TemporaryFile(/tmp/multipartBody5961413628487443086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285523227,"filename":"image_16112025_09_25_22_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d7eaea343d56f616505ec6597a2bae1.jpg","text":"TemporaryFile(/tmp/multipartBody5367918081451737539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285523227,"filename":"image_16112025_09_25_26_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cabc20ddd8c6b58b1e291f8450b97b95.jpg","text":"TemporaryFile(/tmp/multipartBody4504046969038248374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285523227,"filename":"image_16112025_09_25_27_1498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2669560f254349f8a59386b4727c14f8.jpg","text":"TemporaryFile(/tmp/multipartBody8516613039494415063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285523227,"filename":"image_16112025_09_25_20_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6df526146821e24168164cbe60aa07ec.jpg","text":"TemporaryFile(/tmp/multipartBody4652427371217730645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285523227,"filename":"image_16112025_09_25_19_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1b9985b0669c3ee8066b97c300ed9c5.jpg","text":"TemporaryFile(/tmp/multipartBody7211008559351071596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285523227,"filename":"image_16112025_09_25_24_2375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735001","file1":"1394735000","file0":"1394734999","file4":"1394735004","file5":"1394735006","file3":"1394735002"},"map_files_photo_id_array":[{"photo_id":"1394735006","filename":"file5"},{"photo_id":"1394735001","filename":"file2"},{"photo_id":"1394735004","filename":"file4"},{"photo_id":"1394735000","filename":"file1"},{"photo_id":"1394734999","filename":"file0"},{"photo_id":"1394735002","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735001":["hashtag1","hashtag2"]},{"1394735004":["hashtag1","hashtag2"]},{"1394735006":["hashtag1","hashtag2"]},{"1394735000":["hashtag1","hashtag2"]},{"1394734999":["hashtag1","hashtag2"]},{"1394735002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735001, 1394735004, 1394735006, 1394735000, 1394734999, 1394735002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.748934507369995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:31:41.801912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_29_1626.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_31_1864.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_34_3466.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_40_5865.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_49_8886.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_52_3218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_29_1626.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_31_1864.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_34_3466.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_40_5865.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_49_8886.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_52_3218.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735011","1394735008","1394735013","1394735016","1394735009","1394735014"],"photo_ids_order":["1394735008","1394735009","1394735011","1394735013","1394735014","1394735016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e470057ea316fa05c85a0c82a79b135c.jpg","text":"TemporaryFile(/tmp/multipartBody6432989221363976047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285562426,"filename":"image_16112025_09_25_34_3466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/076166acc09c96929573348a6ce960a7.jpg","text":"TemporaryFile(/tmp/multipartBody2700290166509056026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285562426,"filename":"image_16112025_09_25_29_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/428bc19b37df99613c724bf818976b10.jpg","text":"TemporaryFile(/tmp/multipartBody4359277006065464793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285562426,"filename":"image_16112025_09_25_40_5865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51fed3578df6f08159ec4f639a12422c.jpg","text":"TemporaryFile(/tmp/multipartBody8979804016321552632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285562426,"filename":"image_16112025_09_25_52_3218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05decf6e9002361f38930f068606cecf.jpg","text":"TemporaryFile(/tmp/multipartBody4138305894254466212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285562426,"filename":"image_16112025_09_25_31_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1eadc78085da782f2bb21da656129f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6483994525780348355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285562426,"filename":"image_16112025_09_25_49_8886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735011","file1":"1394735009","file0":"1394735008","file4":"1394735014","file5":"1394735016","file3":"1394735013"},"map_files_photo_id_array":[{"photo_id":"1394735016","filename":"file5"},{"photo_id":"1394735011","filename":"file2"},{"photo_id":"1394735014","filename":"file4"},{"photo_id":"1394735009","filename":"file1"},{"photo_id":"1394735008","filename":"file0"},{"photo_id":"1394735013","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735011":["hashtag1","hashtag2"]},{"1394735008":["hashtag1","hashtag2"]},{"1394735013":["hashtag1","hashtag2"]},{"1394735016":["hashtag1","hashtag2"]},{"1394735009":["hashtag1","hashtag2"]},{"1394735014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735011, 1394735008, 1394735013, 1394735016, 1394735009, 1394735014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19922995567322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:32:23.983935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_54_1606.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_55_1650.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_57_1579.jpg', '/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_59_1602.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_04_5350.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_13_8807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_54_1606.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_55_1650.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_57_1579.jpg
/home/pi/Desktop/images/16112025/09/25/image_16112025_09_25_59_1602.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_04_5350.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_13_8807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735031","1394735040","1394735027","1394735035","1394735038","1394735023"],"photo_ids_order":["1394735023","1394735027","1394735031","1394735035","1394735038","1394735040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1bc585d0db82c5e2c359088cb1b4e2b.jpg","text":"TemporaryFile(/tmp/multipartBody7669110337786242936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285604618,"filename":"image_16112025_09_25_57_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d4733ecb5dc3accc28e5c29233bcb12.jpg","text":"TemporaryFile(/tmp/multipartBody6519130136880325686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285604618,"filename":"image_16112025_09_26_13_8807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d21690dac16102de439f0652571f9420.jpg","text":"TemporaryFile(/tmp/multipartBody3155543196242540540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285604618,"filename":"image_16112025_09_25_55_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01e649aff43f88fdd3f0270ba9437699.jpg","text":"TemporaryFile(/tmp/multipartBody3302254681783845624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285604618,"filename":"image_16112025_09_25_59_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b919ad35e86a46b3d0942e99675680ed.jpg","text":"TemporaryFile(/tmp/multipartBody6060934565969773778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285604618,"filename":"image_16112025_09_26_04_5350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/620b10dc5470578eeddd1bf59a8d0f31.jpg","text":"TemporaryFile(/tmp/multipartBody4225094326202213896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285604618,"filename":"image_16112025_09_25_54_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735031","file1":"1394735027","file0":"1394735023","file4":"1394735038","file5":"1394735040","file3":"1394735035"},"map_files_photo_id_array":[{"photo_id":"1394735040","filename":"file5"},{"photo_id":"1394735031","filename":"file2"},{"photo_id":"1394735038","filename":"file4"},{"photo_id":"1394735027","filename":"file1"},{"photo_id":"1394735023","filename":"file0"},{"photo_id":"1394735035","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735031":["hashtag1","hashtag2"]},{"1394735040":["hashtag1","hashtag2"]},{"1394735027":["hashtag1","hashtag2"]},{"1394735035":["hashtag1","hashtag2"]},{"1394735038":["hashtag1","hashtag2"]},{"1394735023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735031, 1394735040, 1394735027, 1394735035, 1394735038, 1394735023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60238552093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:33:02.940980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_16_3004.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_17_1557.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_19_1967.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_23_3490.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_24_1557.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_28_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_16_3004.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_17_1557.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_19_1967.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_23_3490.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_24_1557.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_28_3532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735043","1394735046","1394735042","1394735050","1394735041","1394735044"],"photo_ids_order":["1394735041","1394735042","1394735043","1394735044","1394735046","1394735050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17cf56089645f2b876a337a86b819c1f.jpg","text":"TemporaryFile(/tmp/multipartBody598336428318462868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285643702,"filename":"image_16112025_09_26_19_1967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea62f31b98b63655593eb721b9ecd629.jpg","text":"TemporaryFile(/tmp/multipartBody4627007476764681200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285643702,"filename":"image_16112025_09_26_24_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/690eb97d7a492990889469f0e9c4b97c.jpg","text":"TemporaryFile(/tmp/multipartBody3035050728279139401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285643702,"filename":"image_16112025_09_26_17_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37eea1385aea9f04b3a102fd919db5fc.jpg","text":"TemporaryFile(/tmp/multipartBody1621492144893755987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285643702,"filename":"image_16112025_09_26_28_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2991fa4de18788ef25eaedd7a363d001.jpg","text":"TemporaryFile(/tmp/multipartBody953101217448509029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285643702,"filename":"image_16112025_09_26_16_3004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69b818b4e3735c4317347a223ac9c224.jpg","text":"TemporaryFile(/tmp/multipartBody8217621016127555358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285643702,"filename":"image_16112025_09_26_23_3490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735043","file1":"1394735042","file0":"1394735041","file4":"1394735046","file5":"1394735050","file3":"1394735044"},"map_files_photo_id_array":[{"photo_id":"1394735050","filename":"file5"},{"photo_id":"1394735043","filename":"file2"},{"photo_id":"1394735046","filename":"file4"},{"photo_id":"1394735042","filename":"file1"},{"photo_id":"1394735041","filename":"file0"},{"photo_id":"1394735044","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735043":["hashtag1","hashtag2"]},{"1394735046":["hashtag1","hashtag2"]},{"1394735042":["hashtag1","hashtag2"]},{"1394735050":["hashtag1","hashtag2"]},{"1394735041":["hashtag1","hashtag2"]},{"1394735044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735043, 1394735046, 1394735042, 1394735050, 1394735041, 1394735044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.186583042144775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:33:42.253184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_29_1595.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_39_9320.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_40_1649.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_48_7260.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_49_1586.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_51_1561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_29_1595.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_39_9320.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_40_1649.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_48_7260.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_49_1586.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_51_1561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735061","1394735058","1394735060","1394735059","1394735062","1394735056"],"photo_ids_order":["1394735056","1394735058","1394735059","1394735060","1394735061","1394735062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f39bdb17ccdcfe610f3733f4c2e5a6f.jpg","text":"TemporaryFile(/tmp/multipartBody6929468772948848000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285682927,"filename":"image_16112025_09_26_49_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b2ab2c31d939f2a6f08278e1d2c4645.jpg","text":"TemporaryFile(/tmp/multipartBody3435381779803617821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285682927,"filename":"image_16112025_09_26_39_9320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10f625ef98a27495409c4b85b7e162f6.jpg","text":"TemporaryFile(/tmp/multipartBody5367141929207287723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285682927,"filename":"image_16112025_09_26_48_7260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb28239f82d3914432da9abbeef5775d.jpg","text":"TemporaryFile(/tmp/multipartBody1083910656834413390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285682927,"filename":"image_16112025_09_26_40_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4646925ca64e09cce2ea23af2aac960b.jpg","text":"TemporaryFile(/tmp/multipartBody5455789722504587344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285682927,"filename":"image_16112025_09_26_51_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0db06575e52002fd037308bfc784bb5e.jpg","text":"TemporaryFile(/tmp/multipartBody4995872377153715018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285682927,"filename":"image_16112025_09_26_29_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735059","file1":"1394735058","file0":"1394735056","file4":"1394735061","file5":"1394735062","file3":"1394735060"},"map_files_photo_id_array":[{"photo_id":"1394735062","filename":"file5"},{"photo_id":"1394735059","filename":"file2"},{"photo_id":"1394735061","filename":"file4"},{"photo_id":"1394735058","filename":"file1"},{"photo_id":"1394735056","filename":"file0"},{"photo_id":"1394735060","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735061":["hashtag1","hashtag2"]},{"1394735058":["hashtag1","hashtag2"]},{"1394735060":["hashtag1","hashtag2"]},{"1394735059":["hashtag1","hashtag2"]},{"1394735062":["hashtag1","hashtag2"]},{"1394735056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735061, 1394735058, 1394735060, 1394735059, 1394735062, 1394735056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28648066520691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:34:22.445560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_52_1580.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_54_1868.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_59_4544.jpg', '/home/pi/Desktop/images/16112025/09/26/image_16112025_09_27_00_1663.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_02_1809.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_04_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_52_1580.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_54_1868.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_26_59_4544.jpg
/home/pi/Desktop/images/16112025/09/26/image_16112025_09_27_00_1663.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_02_1809.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_04_1683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735070","1394735067","1394735072","1394735069","1394735071","1394735074"],"photo_ids_order":["1394735067","1394735069","1394735070","1394735071","1394735072","1394735074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06bfcf59e558e38564d46e19e0efd7f6.jpg","text":"TemporaryFile(/tmp/multipartBody8362347719580126334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285723065,"filename":"image_16112025_09_26_59_4544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59bca77b57a1c1f4c991f3f0932be46b.jpg","text":"TemporaryFile(/tmp/multipartBody8712653920858507186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285723065,"filename":"image_16112025_09_26_52_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d27d54f2d767023dcae8233f72499df7.jpg","text":"TemporaryFile(/tmp/multipartBody606815873907907768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285723065,"filename":"image_16112025_09_27_02_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4d7eb5a6422cc3bcc0c8b0d91d86ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7309122538859065573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285723065,"filename":"image_16112025_09_26_54_1868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d4147c5553aa5830c5d2370805a9610.jpg","text":"TemporaryFile(/tmp/multipartBody5215052401171589851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285723065,"filename":"image_16112025_09_27_00_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67a361f63641d85e772cf9a78b9798f5.jpg","text":"TemporaryFile(/tmp/multipartBody1229146695465716716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285723065,"filename":"image_16112025_09_27_04_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735070","file1":"1394735069","file0":"1394735067","file4":"1394735072","file5":"1394735074","file3":"1394735071"},"map_files_photo_id_array":[{"photo_id":"1394735074","filename":"file5"},{"photo_id":"1394735070","filename":"file2"},{"photo_id":"1394735072","filename":"file4"},{"photo_id":"1394735069","filename":"file1"},{"photo_id":"1394735067","filename":"file0"},{"photo_id":"1394735071","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735070":["hashtag1","hashtag2"]},{"1394735067":["hashtag1","hashtag2"]},{"1394735072":["hashtag1","hashtag2"]},{"1394735069":["hashtag1","hashtag2"]},{"1394735071":["hashtag1","hashtag2"]},{"1394735074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735070, 1394735067, 1394735072, 1394735069, 1394735071, 1394735074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.766095876693726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:35:08.674102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 10:35:27.997691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_06_1535.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_07_1501.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_09_1552.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_10_1724.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_12_1502.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_14_1840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_06_1535.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_07_1501.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_09_1552.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_10_1724.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_12_1502.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_14_1840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735085","1394735093","1394735087","1394735083","1394735080","1394735091"],"photo_ids_order":["1394735080","1394735083","1394735085","1394735087","1394735091","1394735093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dc5800eadcc310a9c713378bda94a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6678890204271166621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285788645,"filename":"image_16112025_09_27_09_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf2cbd21b6fbc6023667e474c07feabf.jpg","text":"TemporaryFile(/tmp/multipartBody7231302089058389447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285788645,"filename":"image_16112025_09_27_14_1840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a37e64da1efe3489c0ebc3bab2bd9af6.jpg","text":"TemporaryFile(/tmp/multipartBody4212298775533180758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285788645,"filename":"image_16112025_09_27_10_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d957e165f27e5b38be56aaa5e8b01aad.jpg","text":"TemporaryFile(/tmp/multipartBody4877632502837690732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285788645,"filename":"image_16112025_09_27_07_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b830c190916cf2303f94c18e75f5ba7b.jpg","text":"TemporaryFile(/tmp/multipartBody5810456835149969932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285788645,"filename":"image_16112025_09_27_06_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e21819fa5739b5c162735b55dacbbc6c.jpg","text":"TemporaryFile(/tmp/multipartBody3943742149567163221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285788645,"filename":"image_16112025_09_27_12_1502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735085","file1":"1394735083","file0":"1394735080","file4":"1394735091","file5":"1394735093","file3":"1394735087"},"map_files_photo_id_array":[{"photo_id":"1394735093","filename":"file5"},{"photo_id":"1394735085","filename":"file2"},{"photo_id":"1394735091","filename":"file4"},{"photo_id":"1394735083","filename":"file1"},{"photo_id":"1394735080","filename":"file0"},{"photo_id":"1394735087","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735085":["hashtag1","hashtag2"]},{"1394735093":["hashtag1","hashtag2"]},{"1394735087":["hashtag1","hashtag2"]},{"1394735083":["hashtag1","hashtag2"]},{"1394735080":["hashtag1","hashtag2"]},{"1394735091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735085, 1394735093, 1394735087, 1394735083, 1394735080, 1394735091)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.00795602798462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:36:23.042955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_15_1573.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_17_1574.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_18_1567.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_20_1588.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_21_1545.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_23_1813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_15_1573.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_17_1574.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_18_1567.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_20_1588.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_21_1545.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_23_1813.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.5308756828308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:36:43.100945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_15_1573.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_17_1574.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_18_1567.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_20_1588.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_21_1545.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_23_1813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_15_1573.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_17_1574.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_18_1567.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_20_1588.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_21_1545.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_23_1813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735104","1394735106","1394735109","1394735105","1394735108","1394735107"],"photo_ids_order":["1394735104","1394735105","1394735106","1394735107","1394735108","1394735109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af33624eefe17a2f2ffed0d1adabbe06.jpg","text":"TemporaryFile(/tmp/multipartBody7498083858825530937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285863727,"filename":"image_16112025_09_27_15_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09aa5e576cbe59e6990bf73fd62de2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2351498868316619686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285863727,"filename":"image_16112025_09_27_18_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcaa800c095590c60143a2d0f29bd35a.jpg","text":"TemporaryFile(/tmp/multipartBody8841712680344439998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285863727,"filename":"image_16112025_09_27_23_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b28cb2d0d2e90c4296340dc16138ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7850664547901274862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285863727,"filename":"image_16112025_09_27_17_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b344c5968e9763b412f14af4744d54d8.jpg","text":"TemporaryFile(/tmp/multipartBody7671266184479641620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285863727,"filename":"image_16112025_09_27_21_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33e34cf08e1b4d2301e85312188702b4.jpg","text":"TemporaryFile(/tmp/multipartBody2144124491429549971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285863727,"filename":"image_16112025_09_27_20_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735106","file1":"1394735105","file0":"1394735104","file4":"1394735108","file5":"1394735109","file3":"1394735107"},"map_files_photo_id_array":[{"photo_id":"1394735109","filename":"file5"},{"photo_id":"1394735106","filename":"file2"},{"photo_id":"1394735108","filename":"file4"},{"photo_id":"1394735105","filename":"file1"},{"photo_id":"1394735104","filename":"file0"},{"photo_id":"1394735107","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735104":["hashtag1","hashtag2"]},{"1394735106":["hashtag1","hashtag2"]},{"1394735109":["hashtag1","hashtag2"]},{"1394735105":["hashtag1","hashtag2"]},{"1394735108":["hashtag1","hashtag2"]},{"1394735107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735104, 1394735106, 1394735109, 1394735105, 1394735108, 1394735107)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.571654081344604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:37:42.843528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_25_1658.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_27_1647.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_29_2585.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_32_2596.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_34_2650.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_38_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_25_1658.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_27_1647.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_29_2585.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_32_2596.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_34_2650.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_38_3609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735119","1394735118","1394735121","1394735120","1394735123","1394735116"],"photo_ids_order":["1394735116","1394735118","1394735119","1394735120","1394735121","1394735123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c532f7633fa8b8cd47f5b1516de36656.jpg","text":"TemporaryFile(/tmp/multipartBody909525369277005783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285923464,"filename":"image_16112025_09_27_29_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0ec935f0ff07286249b0ece30e007b9.jpg","text":"TemporaryFile(/tmp/multipartBody5665006908692946349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285923464,"filename":"image_16112025_09_27_27_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33b9d3a6e4d7d3bbe166470c889b23f8.jpg","text":"TemporaryFile(/tmp/multipartBody4983848854277086488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285923464,"filename":"image_16112025_09_27_34_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0700f3c20fa806c45d6771424f36bcb.jpg","text":"TemporaryFile(/tmp/multipartBody3886593336759878921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285923464,"filename":"image_16112025_09_27_32_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcdd988c72b7d7526a80646c2ce64f09.jpg","text":"TemporaryFile(/tmp/multipartBody6834968828731425484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285923464,"filename":"image_16112025_09_27_38_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/262ea80a7789c1abb49d57d9dbae7c10.jpg","text":"TemporaryFile(/tmp/multipartBody2934073039110936112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285923464,"filename":"image_16112025_09_27_25_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735119","file1":"1394735118","file0":"1394735116","file4":"1394735121","file5":"1394735123","file3":"1394735120"},"map_files_photo_id_array":[{"photo_id":"1394735123","filename":"file5"},{"photo_id":"1394735119","filename":"file2"},{"photo_id":"1394735121","filename":"file4"},{"photo_id":"1394735118","filename":"file1"},{"photo_id":"1394735116","filename":"file0"},{"photo_id":"1394735120","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735119":["hashtag1","hashtag2"]},{"1394735118":["hashtag1","hashtag2"]},{"1394735121":["hashtag1","hashtag2"]},{"1394735120":["hashtag1","hashtag2"]},{"1394735123":["hashtag1","hashtag2"]},{"1394735116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735119, 1394735118, 1394735121, 1394735120, 1394735123, 1394735116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83394932746887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:38:22.060694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_47_9137.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_49_1885.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_51_1739.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_53_1900.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_54_1597.jpg', '/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_56_1523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_47_9137.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_49_1885.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_51_1739.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_53_1900.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_54_1597.jpg
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_56_1523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735136","1394735130","1394735133","1394735127","1394735138","1394735140"],"photo_ids_order":["1394735127","1394735130","1394735133","1394735136","1394735138","1394735140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd7145b2b40eeaa623c70e753c6a5aff.jpg","text":"TemporaryFile(/tmp/multipartBody1028477486019769878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285962679,"filename":"image_16112025_09_27_53_1900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c24cbd28fc326e02988ed4db5e721cc0.jpg","text":"TemporaryFile(/tmp/multipartBody9080360358646409188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285962679,"filename":"image_16112025_09_27_49_1885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04519eda0e5409872c770cee8c0022aa.jpg","text":"TemporaryFile(/tmp/multipartBody7759997144852064613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285962679,"filename":"image_16112025_09_27_51_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9da34259f2d77d432e451edac4c6dd57.jpg","text":"TemporaryFile(/tmp/multipartBody2824851146609155170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285962679,"filename":"image_16112025_09_27_47_9137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2598618c0cc9d1689d01e4ed71d2bf12.jpg","text":"TemporaryFile(/tmp/multipartBody5291088050138725908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285962679,"filename":"image_16112025_09_27_54_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f3e9db9ca68833ac72ec996703b7f42.jpg","text":"TemporaryFile(/tmp/multipartBody2943773520436744667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763285962679,"filename":"image_16112025_09_27_56_1523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735133","file1":"1394735130","file0":"1394735127","file4":"1394735138","file5":"1394735140","file3":"1394735136"},"map_files_photo_id_array":[{"photo_id":"1394735140","filename":"file5"},{"photo_id":"1394735133","filename":"file2"},{"photo_id":"1394735138","filename":"file4"},{"photo_id":"1394735130","filename":"file1"},{"photo_id":"1394735127","filename":"file0"},{"photo_id":"1394735136","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735136":["hashtag1","hashtag2"]},{"1394735130":["hashtag1","hashtag2"]},{"1394735133":["hashtag1","hashtag2"]},{"1394735127":["hashtag1","hashtag2"]},{"1394735138":["hashtag1","hashtag2"]},{"1394735140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735136, 1394735130, 1394735133, 1394735127, 1394735138, 1394735140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72314643859863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:39:03.291480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_58_2642.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_02_3623.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_05_2627.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_07_2573.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_11_3747.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_14_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/27/image_16112025_09_27_58_2642.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_02_3623.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_05_2627.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_07_2573.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_11_3747.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_14_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735151","1394735159","1394735150","1394735152","1394735155","1394735149"],"photo_ids_order":["1394735149","1394735150","1394735151","1394735152","1394735155","1394735159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/616246780c8e16f25d78584edaee82ea.jpg","text":"TemporaryFile(/tmp/multipartBody5713593372059376257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286004088,"filename":"image_16112025_09_28_05_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5720e8cf7c26917d6de6245b4aa20a67.jpg","text":"TemporaryFile(/tmp/multipartBody4891909516708888655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286004088,"filename":"image_16112025_09_28_14_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5760431b9f8a27ac8f000ebc27e26bdb.jpg","text":"TemporaryFile(/tmp/multipartBody2922802104126482029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286004088,"filename":"image_16112025_09_28_02_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fbf13338c0fac1e5c7093f343a9094a.jpg","text":"TemporaryFile(/tmp/multipartBody6318512869341492113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286004088,"filename":"image_16112025_09_28_07_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f17bc75ef9e11bb5985f96bb3e0bc9eb.jpg","text":"TemporaryFile(/tmp/multipartBody5302153962246131351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286004088,"filename":"image_16112025_09_28_11_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67d5a027ce889b856ff22afb460f6be3.jpg","text":"TemporaryFile(/tmp/multipartBody4612156693619301026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286004088,"filename":"image_16112025_09_27_58_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735151","file1":"1394735150","file0":"1394735149","file4":"1394735155","file5":"1394735159","file3":"1394735152"},"map_files_photo_id_array":[{"photo_id":"1394735159","filename":"file5"},{"photo_id":"1394735151","filename":"file2"},{"photo_id":"1394735155","filename":"file4"},{"photo_id":"1394735150","filename":"file1"},{"photo_id":"1394735149","filename":"file0"},{"photo_id":"1394735152","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735151":["hashtag1","hashtag2"]},{"1394735159":["hashtag1","hashtag2"]},{"1394735150":["hashtag1","hashtag2"]},{"1394735152":["hashtag1","hashtag2"]},{"1394735155":["hashtag1","hashtag2"]},{"1394735149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735151, 1394735159, 1394735150, 1394735152, 1394735155, 1394735149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27464818954468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:39:42.362957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_17_3557.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_20_2920.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_23_2599.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_25_2594.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_29_3612.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_32_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_17_3557.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_20_2920.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_23_2599.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_25_2594.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_29_3612.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_32_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735169","1394735166","1394735171","1394735174","1394735176","1394735170"],"photo_ids_order":["1394735166","1394735169","1394735170","1394735171","1394735174","1394735176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9477de3b7ebcdcfcad0d627976b0a699.jpg","text":"TemporaryFile(/tmp/multipartBody1494315127731592978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286042982,"filename":"image_16112025_09_28_20_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38b8375fefd870a71c549f28003d8b76.jpg","text":"TemporaryFile(/tmp/multipartBody5352001557850523553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286042982,"filename":"image_16112025_09_28_17_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed13404834a5faff9c6f1e5e39b08520.jpg","text":"TemporaryFile(/tmp/multipartBody7829333415414682895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286042982,"filename":"image_16112025_09_28_25_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48e6ae0f5a6edffa03598b9c517b3511.jpg","text":"TemporaryFile(/tmp/multipartBody112132213613659873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286042982,"filename":"image_16112025_09_28_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/11/16/1ba6712dcc5ce6bfb57c088cf1dbb6ed.jpg","text":"TemporaryFile(/tmp/multipartBody7411717982070655215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286042982,"filename":"image_16112025_09_28_32_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64d12e755cf3eefa40f3600ac561c5d7.jpg","text":"TemporaryFile(/tmp/multipartBody3678297679685289961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286042982,"filename":"image_16112025_09_28_23_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735170","file1":"1394735169","file0":"1394735166","file4":"1394735174","file5":"1394735176","file3":"1394735171"},"map_files_photo_id_array":[{"photo_id":"1394735176","filename":"file5"},{"photo_id":"1394735170","filename":"file2"},{"photo_id":"1394735174","filename":"file4"},{"photo_id":"1394735169","filename":"file1"},{"photo_id":"1394735166","filename":"file0"},{"photo_id":"1394735171","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735169":["hashtag1","hashtag2"]},{"1394735166":["hashtag1","hashtag2"]},{"1394735171":["hashtag1","hashtag2"]},{"1394735174":["hashtag1","hashtag2"]},{"1394735176":["hashtag1","hashtag2"]},{"1394735170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735169, 1394735166, 1394735171, 1394735174, 1394735176, 1394735170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.904128551483154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:40:22.442876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_34_2657.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_38_3631.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_40_2549.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_44_3669.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_47_2603.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_49_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_34_2657.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_38_3631.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_40_2549.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_44_3669.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_47_2603.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_49_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735183","1394735186","1394735189","1394735180","1394735194","1394735191"],"photo_ids_order":["1394735180","1394735183","1394735186","1394735189","1394735191","1394735194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41160baf11ae9bb723b186b6bf53ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody8928680132941321979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286083180,"filename":"image_16112025_09_28_38_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/467a17f87f6abb74178ef4e25c404b58.jpg","text":"TemporaryFile(/tmp/multipartBody4020754113975138112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286083180,"filename":"image_16112025_09_28_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/11/16/8635da35ec060d611e3928a239fda872.jpg","text":"TemporaryFile(/tmp/multipartBody8031390290518130405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286083180,"filename":"image_16112025_09_28_44_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/357da9f62028d02743149a5f4f8a5d63.jpg","text":"TemporaryFile(/tmp/multipartBody1827463841362767853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286083180,"filename":"image_16112025_09_28_34_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/300e950481ad840a7a46ddd66f2e559e.jpg","text":"TemporaryFile(/tmp/multipartBody3256857915345644102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286083180,"filename":"image_16112025_09_28_49_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed28325d71a21adea6d5836fa4e10124.jpg","text":"TemporaryFile(/tmp/multipartBody4211284960960854927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286083180,"filename":"image_16112025_09_28_47_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735186","file1":"1394735183","file0":"1394735180","file4":"1394735191","file5":"1394735194","file3":"1394735189"},"map_files_photo_id_array":[{"photo_id":"1394735194","filename":"file5"},{"photo_id":"1394735186","filename":"file2"},{"photo_id":"1394735191","filename":"file4"},{"photo_id":"1394735183","filename":"file1"},{"photo_id":"1394735180","filename":"file0"},{"photo_id":"1394735189","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735183":["hashtag1","hashtag2"]},{"1394735186":["hashtag1","hashtag2"]},{"1394735189":["hashtag1","hashtag2"]},{"1394735180":["hashtag1","hashtag2"]},{"1394735194":["hashtag1","hashtag2"]},{"1394735191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735183, 1394735186, 1394735189, 1394735180, 1394735194, 1394735191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.029173851013184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:41:03.206949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_53_3688.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_56_2582.jpg', '/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_58_2599.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_02_3771.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_05_2608.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_11_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_53_3688.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_56_2582.jpg
/home/pi/Desktop/images/16112025/09/28/image_16112025_09_28_58_2599.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_02_3771.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_05_2608.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_11_3545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735205","1394735198","1394735202","1394735197","1394735200","1394735199"],"photo_ids_order":["1394735197","1394735198","1394735199","1394735200","1394735202","1394735205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4c7ecaa333d6812a9b46bc09b61c8b0.jpg","text":"TemporaryFile(/tmp/multipartBody894991716379973997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286123945,"filename":"image_16112025_09_29_11_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8b1a0bb13ade44f1a86bade5283be6c.jpg","text":"TemporaryFile(/tmp/multipartBody1158927736509440698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286123945,"filename":"image_16112025_09_28_56_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a53602b396e2e6f118d6b67c1e3e97bd.jpg","text":"TemporaryFile(/tmp/multipartBody6693970105438069870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286123945,"filename":"image_16112025_09_29_05_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/516d9b74b862f91a8482c3dc8984d0e2.jpg","text":"TemporaryFile(/tmp/multipartBody6962282573291501819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286123945,"filename":"image_16112025_09_28_53_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75d93bd98513d6c9de3031ecbea5efc7.jpg","text":"TemporaryFile(/tmp/multipartBody2333579077594480451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286123945,"filename":"image_16112025_09_29_02_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/133353c023ef7ee896eaedcf16ca241a.jpg","text":"TemporaryFile(/tmp/multipartBody5600118665791931334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286123945,"filename":"image_16112025_09_28_58_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735199","file1":"1394735198","file0":"1394735197","file4":"1394735202","file5":"1394735205","file3":"1394735200"},"map_files_photo_id_array":[{"photo_id":"1394735205","filename":"file5"},{"photo_id":"1394735199","filename":"file2"},{"photo_id":"1394735202","filename":"file4"},{"photo_id":"1394735198","filename":"file1"},{"photo_id":"1394735197","filename":"file0"},{"photo_id":"1394735200","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735205":["hashtag1","hashtag2"]},{"1394735198":["hashtag1","hashtag2"]},{"1394735202":["hashtag1","hashtag2"]},{"1394735197":["hashtag1","hashtag2"]},{"1394735200":["hashtag1","hashtag2"]},{"1394735199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735205, 1394735198, 1394735202, 1394735197, 1394735200, 1394735199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33533787727356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:41:42.688364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_13_2618.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_16_2824.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_20_3604.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_23_2808.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_25_2542.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_29_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_13_2618.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_16_2824.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_20_3604.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_23_2808.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_25_2542.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_29_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735211","1394735214","1394735213","1394735207","1394735212","1394735209"],"photo_ids_order":["1394735207","1394735209","1394735211","1394735212","1394735213","1394735214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/101d1721311bce86d8b707cca252da39.jpg","text":"TemporaryFile(/tmp/multipartBody4562152117584648505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286163302,"filename":"image_16112025_09_29_20_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abfaa337f22a15485268087926d91966.jpg","text":"TemporaryFile(/tmp/multipartBody1385197593809633654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286163302,"filename":"image_16112025_09_29_29_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62fddd9788125cd0a85a602229d61250.jpg","text":"TemporaryFile(/tmp/multipartBody7979239615358655194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286163302,"filename":"image_16112025_09_29_25_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14147cb9085dacdd9c32e10aef7e431f.jpg","text":"TemporaryFile(/tmp/multipartBody2110865299756998468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286163302,"filename":"image_16112025_09_29_13_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89e6cbdd45e65f379661bfff46908276.jpg","text":"TemporaryFile(/tmp/multipartBody4578397852950347434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286163302,"filename":"image_16112025_09_29_23_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b1c2f274ebdc673a6331c1a8733091e.jpg","text":"TemporaryFile(/tmp/multipartBody1097721853207952927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286163302,"filename":"image_16112025_09_29_16_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735211","file1":"1394735209","file0":"1394735207","file4":"1394735213","file5":"1394735214","file3":"1394735212"},"map_files_photo_id_array":[{"photo_id":"1394735214","filename":"file5"},{"photo_id":"1394735211","filename":"file2"},{"photo_id":"1394735213","filename":"file4"},{"photo_id":"1394735209","filename":"file1"},{"photo_id":"1394735207","filename":"file0"},{"photo_id":"1394735212","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735211":["hashtag1","hashtag2"]},{"1394735214":["hashtag1","hashtag2"]},{"1394735213":["hashtag1","hashtag2"]},{"1394735207":["hashtag1","hashtag2"]},{"1394735212":["hashtag1","hashtag2"]},{"1394735209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735211, 1394735214, 1394735213, 1394735207, 1394735212, 1394735209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.282060861587524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:42:21.966491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_31_2624.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_35_3621.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_38_2537.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_40_2832.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_43_2962.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_46_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_31_2624.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_35_3621.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_38_2537.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_40_2832.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_43_2962.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_46_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735218","1394735217","1394735222","1394735216","1394735219","1394735215"],"photo_ids_order":["1394735215","1394735216","1394735217","1394735218","1394735219","1394735222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3b115e41fcc02d920987e2f64ea5315.jpg","text":"TemporaryFile(/tmp/multipartBody448487852191355949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286202611,"filename":"image_16112025_09_29_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/11/16/ada6d0b7e6e8d53260d07cc7ab535c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6180016694781118387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286202611,"filename":"image_16112025_09_29_38_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51aa5f2dddaafd72a761575424045078.jpg","text":"TemporaryFile(/tmp/multipartBody3543800701943621005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286202611,"filename":"image_16112025_09_29_46_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aff642b5f2f0e3bae56b45a196ea4928.jpg","text":"TemporaryFile(/tmp/multipartBody3596719367557632387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286202611,"filename":"image_16112025_09_29_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/11/16/54d548de3220f8c2efd9837dd51680fb.jpg","text":"TemporaryFile(/tmp/multipartBody7282276161907408022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286202611,"filename":"image_16112025_09_29_43_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c28b2ac8147ecdfba55a07123f51bbfd.jpg","text":"TemporaryFile(/tmp/multipartBody4707685048578512980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286202611,"filename":"image_16112025_09_29_31_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735217","file1":"1394735216","file0":"1394735215","file4":"1394735219","file5":"1394735222","file3":"1394735218"},"map_files_photo_id_array":[{"photo_id":"1394735222","filename":"file5"},{"photo_id":"1394735217","filename":"file2"},{"photo_id":"1394735219","filename":"file4"},{"photo_id":"1394735216","filename":"file1"},{"photo_id":"1394735215","filename":"file0"},{"photo_id":"1394735218","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735218":["hashtag1","hashtag2"]},{"1394735217":["hashtag1","hashtag2"]},{"1394735222":["hashtag1","hashtag2"]},{"1394735216":["hashtag1","hashtag2"]},{"1394735219":["hashtag1","hashtag2"]},{"1394735215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735218, 1394735217, 1394735222, 1394735216, 1394735219, 1394735215)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.780821561813354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:43:21.899755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_50_3600.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_52_2698.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_56_3623.jpg', '/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_59_2519.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_06_3041.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_13_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_50_3600.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_52_2698.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_56_3623.jpg
/home/pi/Desktop/images/16112025/09/29/image_16112025_09_29_59_2519.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_06_3041.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_13_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735237","1394735239","1394735230","1394735233","1394735227","1394735236"],"photo_ids_order":["1394735227","1394735230","1394735233","1394735236","1394735237","1394735239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03348bc5bc90695b38603d065581efe7.jpg","text":"TemporaryFile(/tmp/multipartBody8184177310090774309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286262516,"filename":"image_16112025_09_31_06_3041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/037bf3fe6888c77387448df80c6a8c93.jpg","text":"TemporaryFile(/tmp/multipartBody7111735313087663667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286262516,"filename":"image_16112025_09_31_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/11/16/b3093a70968eeafe0f4259055bd672d6.jpg","text":"TemporaryFile(/tmp/multipartBody2601929733003756971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286262516,"filename":"image_16112025_09_29_52_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c5ce0c6a52f70f573ceedf5d006f916.jpg","text":"TemporaryFile(/tmp/multipartBody768825860655352570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286262516,"filename":"image_16112025_09_29_56_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/126f9a46ae655943ba0bdabfcb48f44f.jpg","text":"TemporaryFile(/tmp/multipartBody7368678050162202156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286262516,"filename":"image_16112025_09_29_50_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2aefeb13edd3bf8cf5593a9f8e609c6.jpg","text":"TemporaryFile(/tmp/multipartBody6746674006550567796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286262516,"filename":"image_16112025_09_29_59_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735233","file1":"1394735230","file0":"1394735227","file4":"1394735237","file5":"1394735239","file3":"1394735236"},"map_files_photo_id_array":[{"photo_id":"1394735239","filename":"file5"},{"photo_id":"1394735233","filename":"file2"},{"photo_id":"1394735237","filename":"file4"},{"photo_id":"1394735230","filename":"file1"},{"photo_id":"1394735227","filename":"file0"},{"photo_id":"1394735236","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735237":["hashtag1","hashtag2"]},{"1394735239":["hashtag1","hashtag2"]},{"1394735230":["hashtag1","hashtag2"]},{"1394735233":["hashtag1","hashtag2"]},{"1394735227":["hashtag1","hashtag2"]},{"1394735236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735237, 1394735239, 1394735230, 1394735233, 1394735227, 1394735236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04671311378479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:44:02.622077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 10:44:25.448296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_15_2608.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_19_3608.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_22_2679.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_24_2687.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_28_3547.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_30_2488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_15_2608.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_19_3608.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_22_2679.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_24_2687.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_28_3547.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_30_2488.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735250","1394735244","1394735247","1394735252","1394735249","1394735251"],"photo_ids_order":["1394735244","1394735247","1394735249","1394735250","1394735251","1394735252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f550ad6dec09cbc253604d9607173440.jpg","text":"TemporaryFile(/tmp/multipartBody7789532454665670731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286326070,"filename":"image_16112025_09_31_24_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a7e0575fbf5200b67d3632a273dfe62.jpg","text":"TemporaryFile(/tmp/multipartBody3197664432516300816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286326070,"filename":"image_16112025_09_31_15_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1624f091f975bdfd50f7ad8964ef3d2.jpg","text":"TemporaryFile(/tmp/multipartBody6062256394217970862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286326070,"filename":"image_16112025_09_31_19_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad5dc5e93e67387ac3cf181fbd7ddc36.jpg","text":"TemporaryFile(/tmp/multipartBody1952151205940987264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286326070,"filename":"image_16112025_09_31_30_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bd3ac1114219041bd4e081de00de95d.jpg","text":"TemporaryFile(/tmp/multipartBody7690322099423014776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286326070,"filename":"image_16112025_09_31_22_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74c4e44a1403135e02338b3145fbcd59.jpg","text":"TemporaryFile(/tmp/multipartBody7661140903893403579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286326070,"filename":"image_16112025_09_31_28_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735249","file1":"1394735247","file0":"1394735244","file4":"1394735251","file5":"1394735252","file3":"1394735250"},"map_files_photo_id_array":[{"photo_id":"1394735252","filename":"file5"},{"photo_id":"1394735249","filename":"file2"},{"photo_id":"1394735251","filename":"file4"},{"photo_id":"1394735247","filename":"file1"},{"photo_id":"1394735244","filename":"file0"},{"photo_id":"1394735250","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735250":["hashtag1","hashtag2"]},{"1394735244":["hashtag1","hashtag2"]},{"1394735247":["hashtag1","hashtag2"]},{"1394735252":["hashtag1","hashtag2"]},{"1394735249":["hashtag1","hashtag2"]},{"1394735251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735250, 1394735244, 1394735247, 1394735252, 1394735249, 1394735251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7132887840271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:45:02.851357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_34_3747.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_37_2698.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_40_2599.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_43_3624.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_46_2509.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_49_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_34_3747.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_37_2698.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_40_2599.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_43_3624.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_46_2509.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_49_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735253","1394735262","1394735256","1394735259","1394735257","1394735254"],"photo_ids_order":["1394735253","1394735254","1394735256","1394735257","1394735259","1394735262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8476bcd88ec2529a380694f4b5a7c686.jpg","text":"TemporaryFile(/tmp/multipartBody5395836181928628315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286363565,"filename":"image_16112025_09_31_34_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d324492bcdd2fe869e95dc3fee410574.jpg","text":"TemporaryFile(/tmp/multipartBody6180881700266504168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286363565,"filename":"image_16112025_09_31_49_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b572c67d25cdab6e3bccd46893b515b.jpg","text":"TemporaryFile(/tmp/multipartBody5671628862237889419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286363565,"filename":"image_16112025_09_31_40_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/068a21170f3b5803e2f7d378b17e19ac.jpg","text":"TemporaryFile(/tmp/multipartBody4903659743091074076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286363565,"filename":"image_16112025_09_31_46_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e780e8a4d9d8d2ce85eedf3be8b477b.jpg","text":"TemporaryFile(/tmp/multipartBody3064196493857996689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286363565,"filename":"image_16112025_09_31_43_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4588b550c38cd1b3b89b8a4ea33a8064.jpg","text":"TemporaryFile(/tmp/multipartBody1261250247636091108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286363565,"filename":"image_16112025_09_31_37_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735256","file1":"1394735254","file0":"1394735253","file4":"1394735259","file5":"1394735262","file3":"1394735257"},"map_files_photo_id_array":[{"photo_id":"1394735262","filename":"file5"},{"photo_id":"1394735256","filename":"file2"},{"photo_id":"1394735259","filename":"file4"},{"photo_id":"1394735254","filename":"file1"},{"photo_id":"1394735253","filename":"file0"},{"photo_id":"1394735257","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735253":["hashtag1","hashtag2"]},{"1394735262":["hashtag1","hashtag2"]},{"1394735256":["hashtag1","hashtag2"]},{"1394735259":["hashtag1","hashtag2"]},{"1394735257":["hashtag1","hashtag2"]},{"1394735254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735253, 1394735262, 1394735256, 1394735259, 1394735257, 1394735254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85353469848633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:45:42.416012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_52_2640.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_55_2861.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_57_2638.jpg', '/home/pi/Desktop/images/16112025/09/31/image_16112025_09_32_01_3534.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_04_2657.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_07_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_52_2640.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_55_2861.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_31_57_2638.jpg
/home/pi/Desktop/images/16112025/09/31/image_16112025_09_32_01_3534.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_04_2657.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_07_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735274","1394735268","1394735276","1394735270","1394735267","1394735272"],"photo_ids_order":["1394735267","1394735268","1394735270","1394735272","1394735274","1394735276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6737a9b7cb2dd9e4f1028da1dd24053.jpg","text":"TemporaryFile(/tmp/multipartBody6003761713429441105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286403097,"filename":"image_16112025_09_32_04_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c10917ed54282bd56341ced4d85b32b7.jpg","text":"TemporaryFile(/tmp/multipartBody7982881856509242665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286403097,"filename":"image_16112025_09_31_55_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7267ba61769656c6595b0595d866aa8.jpg","text":"TemporaryFile(/tmp/multipartBody7855823674173448453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286403097,"filename":"image_16112025_09_32_07_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64af044d42403373f84ae5dfdc480eae.jpg","text":"TemporaryFile(/tmp/multipartBody8226722549397730421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286403097,"filename":"image_16112025_09_31_57_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0826ae7a3a96a8fb1edb881be929e9b9.jpg","text":"TemporaryFile(/tmp/multipartBody4947618548050860230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286403097,"filename":"image_16112025_09_31_52_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7cd76f0d6b82a7cf1573975b3795ae8.jpg","text":"TemporaryFile(/tmp/multipartBody8006830985902152328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286403097,"filename":"image_16112025_09_32_01_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735270","file1":"1394735268","file0":"1394735267","file4":"1394735274","file5":"1394735276","file3":"1394735272"},"map_files_photo_id_array":[{"photo_id":"1394735276","filename":"file5"},{"photo_id":"1394735270","filename":"file2"},{"photo_id":"1394735274","filename":"file4"},{"photo_id":"1394735268","filename":"file1"},{"photo_id":"1394735267","filename":"file0"},{"photo_id":"1394735272","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735274":["hashtag1","hashtag2"]},{"1394735268":["hashtag1","hashtag2"]},{"1394735276":["hashtag1","hashtag2"]},{"1394735270":["hashtag1","hashtag2"]},{"1394735267":["hashtag1","hashtag2"]},{"1394735272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735274, 1394735268, 1394735276, 1394735270, 1394735267, 1394735272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.783626556396484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:46:22.423555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_10_2613.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_12_2600.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_16_3616.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_19_2570.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_21_2785.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_25_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_10_2613.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_12_2600.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_16_3616.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_19_2570.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_21_2785.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_25_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735297","1394735282","1394735293","1394735287","1394735290","1394735284"],"photo_ids_order":["1394735282","1394735284","1394735287","1394735290","1394735293","1394735297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a04d10d79e97eb926b4cb677af430ea2.jpg","text":"TemporaryFile(/tmp/multipartBody28216293451612384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286443059,"filename":"image_16112025_09_32_25_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b570872f26b681f52b1a8269bd25f0c.jpg","text":"TemporaryFile(/tmp/multipartBody6475180844393167930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286443059,"filename":"image_16112025_09_32_10_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f32c9bc1c88330fe79f7ce9fa1c7aaec.jpg","text":"TemporaryFile(/tmp/multipartBody8826312111262525718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286443059,"filename":"image_16112025_09_32_21_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/445d1eb04e825de236bea330d498a7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2282153940621618563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286443059,"filename":"image_16112025_09_32_16_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14841323554ef28d32c9b793d0568965.jpg","text":"TemporaryFile(/tmp/multipartBody1608502002161949237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286443059,"filename":"image_16112025_09_32_19_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bda675f88ecfe2f0f70094cd42b25c76.jpg","text":"TemporaryFile(/tmp/multipartBody5467750698437429682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286443059,"filename":"image_16112025_09_32_12_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735287","file1":"1394735284","file0":"1394735282","file4":"1394735293","file5":"1394735297","file3":"1394735290"},"map_files_photo_id_array":[{"photo_id":"1394735297","filename":"file5"},{"photo_id":"1394735287","filename":"file2"},{"photo_id":"1394735293","filename":"file4"},{"photo_id":"1394735284","filename":"file1"},{"photo_id":"1394735282","filename":"file0"},{"photo_id":"1394735290","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735297":["hashtag1","hashtag2"]},{"1394735282":["hashtag1","hashtag2"]},{"1394735293":["hashtag1","hashtag2"]},{"1394735287":["hashtag1","hashtag2"]},{"1394735290":["hashtag1","hashtag2"]},{"1394735284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735297, 1394735282, 1394735293, 1394735287, 1394735290, 1394735284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36081051826477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:47:03.326136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_27_2624.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_31_3680.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_34_2636.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_36_2541.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_40_3697.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_49_3473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_27_2624.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_31_3680.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_34_2636.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_36_2541.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_40_3697.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_49_3473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735302","1394735310","1394735304","1394735301","1394735303","1394735306"],"photo_ids_order":["1394735301","1394735302","1394735303","1394735304","1394735306","1394735310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/194e2660ce1e73949d6311e7424b0a04.jpg","text":"TemporaryFile(/tmp/multipartBody8191677708253933317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286484060,"filename":"image_16112025_09_32_31_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25d8757a0d009c8ccb7809059f5852e8.jpg","text":"TemporaryFile(/tmp/multipartBody7017287734782139021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286484060,"filename":"image_16112025_09_32_49_3473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbd2cd35f9e19d2193056dd8fd03e806.jpg","text":"TemporaryFile(/tmp/multipartBody7865918125428360420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286484060,"filename":"image_16112025_09_32_36_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df3ee0e5f8d2928e7dca060288d132d6.jpg","text":"TemporaryFile(/tmp/multipartBody6127952793503318058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286484060,"filename":"image_16112025_09_32_27_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28d720489683105c2abf2dde851b4831.jpg","text":"TemporaryFile(/tmp/multipartBody316717543736900670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286484060,"filename":"image_16112025_09_32_34_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/854c301f19bb0861308d6211596ca6a6.jpg","text":"TemporaryFile(/tmp/multipartBody3175691032490971055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286484060,"filename":"image_16112025_09_32_40_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735303","file1":"1394735302","file0":"1394735301","file4":"1394735306","file5":"1394735310","file3":"1394735304"},"map_files_photo_id_array":[{"photo_id":"1394735310","filename":"file5"},{"photo_id":"1394735303","filename":"file2"},{"photo_id":"1394735306","filename":"file4"},{"photo_id":"1394735302","filename":"file1"},{"photo_id":"1394735301","filename":"file0"},{"photo_id":"1394735304","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735302":["hashtag1","hashtag2"]},{"1394735310":["hashtag1","hashtag2"]},{"1394735304":["hashtag1","hashtag2"]},{"1394735301":["hashtag1","hashtag2"]},{"1394735303":["hashtag1","hashtag2"]},{"1394735306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735302, 1394735310, 1394735304, 1394735301, 1394735303, 1394735306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29061484336853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:47:42.576370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_51_2626.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_55_3684.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_58_2681.jpg', '/home/pi/Desktop/images/16112025/09/32/image_16112025_09_33_00_2642.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_04_3605.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_07_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_51_2626.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_55_3684.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_32_58_2681.jpg
/home/pi/Desktop/images/16112025/09/32/image_16112025_09_33_00_2642.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_04_3605.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_07_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735322","1394735319","1394735321","1394735315","1394735318","1394735320"],"photo_ids_order":["1394735315","1394735318","1394735319","1394735320","1394735321","1394735322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a0d581374c1ade4a4056c2ddaa9db93.jpg","text":"TemporaryFile(/tmp/multipartBody3012058061290497901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286523220,"filename":"image_16112025_09_33_07_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/701593acde9a50dc2b0e259fe01c2d18.jpg","text":"TemporaryFile(/tmp/multipartBody62121769310142044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286523220,"filename":"image_16112025_09_32_58_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37c6fb6525c86aeaec24121301dc0bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7133415262444083321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286523220,"filename":"image_16112025_09_33_04_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4e6ed579cf2c4933d6ee28c0e1e2a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7879183007978941283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286523220,"filename":"image_16112025_09_32_51_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93c3a280c4907cb01c29405c9d775503.jpg","text":"TemporaryFile(/tmp/multipartBody8515011811631388024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286523220,"filename":"image_16112025_09_32_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/11/16/1da339a5bc08054f63424e087272cb9c.jpg","text":"TemporaryFile(/tmp/multipartBody3987216317789921496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286523220,"filename":"image_16112025_09_33_00_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735319","file1":"1394735318","file0":"1394735315","file4":"1394735321","file5":"1394735322","file3":"1394735320"},"map_files_photo_id_array":[{"photo_id":"1394735322","filename":"file5"},{"photo_id":"1394735319","filename":"file2"},{"photo_id":"1394735321","filename":"file4"},{"photo_id":"1394735318","filename":"file1"},{"photo_id":"1394735315","filename":"file0"},{"photo_id":"1394735320","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735322":["hashtag1","hashtag2"]},{"1394735319":["hashtag1","hashtag2"]},{"1394735321":["hashtag1","hashtag2"]},{"1394735315":["hashtag1","hashtag2"]},{"1394735318":["hashtag1","hashtag2"]},{"1394735320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735322, 1394735319, 1394735321, 1394735315, 1394735318, 1394735320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.881439447402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:48:21.900085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_09_2721.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_13_3715.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_16_2612.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_18_2666.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_22_3670.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_25_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_09_2721.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_13_3715.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_16_2612.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_18_2666.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_22_3670.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_25_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735331","1394735328","1394735333","1394735336","1394735338","1394735335"],"photo_ids_order":["1394735328","1394735331","1394735333","1394735335","1394735336","1394735338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcaec4a146db910bc841f0fc7a6aa4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4212353480757723423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286562545,"filename":"image_16112025_09_33_13_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/131eed490a69ab46b16dc398c84c4ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5655757129086732488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286562545,"filename":"image_16112025_09_33_09_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/735618926f7794778f69daed62102c60.jpg","text":"TemporaryFile(/tmp/multipartBody8880280541038476608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286562545,"filename":"image_16112025_09_33_16_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96844218d6349e2a53b89725e8297c39.jpg","text":"TemporaryFile(/tmp/multipartBody5025096097444434634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286562545,"filename":"image_16112025_09_33_22_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5e3aff52e1c85d16e4aca5a53ccf3d3.jpg","text":"TemporaryFile(/tmp/multipartBody3607112719874199317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286562545,"filename":"image_16112025_09_33_25_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bd374b0daf90e7a94d263578ef7c714.jpg","text":"TemporaryFile(/tmp/multipartBody7488087410953663792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286562545,"filename":"image_16112025_09_33_18_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735333","file1":"1394735331","file0":"1394735328","file4":"1394735336","file5":"1394735338","file3":"1394735335"},"map_files_photo_id_array":[{"photo_id":"1394735338","filename":"file5"},{"photo_id":"1394735333","filename":"file2"},{"photo_id":"1394735336","filename":"file4"},{"photo_id":"1394735331","filename":"file1"},{"photo_id":"1394735328","filename":"file0"},{"photo_id":"1394735335","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735331":["hashtag1","hashtag2"]},{"1394735328":["hashtag1","hashtag2"]},{"1394735333":["hashtag1","hashtag2"]},{"1394735336":["hashtag1","hashtag2"]},{"1394735338":["hashtag1","hashtag2"]},{"1394735335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735331, 1394735328, 1394735333, 1394735336, 1394735338, 1394735335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2919807434082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:49:02.785325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_28_2786.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_30_2768.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_34_3589.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_37_2784.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_39_2720.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_43_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_28_2786.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_30_2768.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_34_3589.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_37_2784.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_39_2720.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_43_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735340","1394735345","1394735339","1394735342","1394735341","1394735347"],"photo_ids_order":["1394735339","1394735340","1394735341","1394735342","1394735345","1394735347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0b74ea86398e33899fd7520dbe263ac.jpg","text":"TemporaryFile(/tmp/multipartBody4634819163002110613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286603532,"filename":"image_16112025_09_33_30_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00c654555d40d0cf585cc2d84c18bd67.jpg","text":"TemporaryFile(/tmp/multipartBody3632329248414563840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286603532,"filename":"image_16112025_09_33_39_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdbd7e8554e85ed299e47bf73eabc071.jpg","text":"TemporaryFile(/tmp/multipartBody3689942849467940033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286603532,"filename":"image_16112025_09_33_28_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f5efc62f242afb484e21bd14e32b884.jpg","text":"TemporaryFile(/tmp/multipartBody9205650149296521411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286603532,"filename":"image_16112025_09_33_37_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a595dd1c8e3cfe44a434b9d54351d4b0.jpg","text":"TemporaryFile(/tmp/multipartBody3796321512311960806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286603532,"filename":"image_16112025_09_33_34_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44fc58687870c3091ee85550c299b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody3914436868384590580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286603532,"filename":"image_16112025_09_33_43_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735341","file1":"1394735340","file0":"1394735339","file4":"1394735345","file5":"1394735347","file3":"1394735342"},"map_files_photo_id_array":[{"photo_id":"1394735347","filename":"file5"},{"photo_id":"1394735341","filename":"file2"},{"photo_id":"1394735345","filename":"file4"},{"photo_id":"1394735340","filename":"file1"},{"photo_id":"1394735339","filename":"file0"},{"photo_id":"1394735342","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735340":["hashtag1","hashtag2"]},{"1394735345":["hashtag1","hashtag2"]},{"1394735339":["hashtag1","hashtag2"]},{"1394735342":["hashtag1","hashtag2"]},{"1394735341":["hashtag1","hashtag2"]},{"1394735347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735340, 1394735345, 1394735339, 1394735342, 1394735341, 1394735347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.920692443847656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:49:42.118090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_45_2514.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_49_3576.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_52_2743.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_55_2756.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_57_2769.jpg', '/home/pi/Desktop/images/16112025/09/33/image_16112025_09_34_01_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_45_2514.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_49_3576.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_52_2743.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_55_2756.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_33_57_2769.jpg
/home/pi/Desktop/images/16112025/09/33/image_16112025_09_34_01_3765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735352","1394735349","1394735351","1394735354","1394735356","1394735353"],"photo_ids_order":["1394735349","1394735351","1394735352","1394735353","1394735354","1394735356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ae9a0e14e5d5dc819843419f050740c.jpg","text":"TemporaryFile(/tmp/multipartBody1533629977505974510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286642786,"filename":"image_16112025_09_33_52_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/594837c2cb6218714f6acba7822f58cd.jpg","text":"TemporaryFile(/tmp/multipartBody602165303397762576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286642786,"filename":"image_16112025_09_33_45_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f83272df9e103819c32625279b484830.jpg","text":"TemporaryFile(/tmp/multipartBody4620735519498315538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286642786,"filename":"image_16112025_09_33_49_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d94bd5c3fa5dd8f7a74d76bcb7a4da6.jpg","text":"TemporaryFile(/tmp/multipartBody7017789049858258644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286642786,"filename":"image_16112025_09_33_57_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e1df707403bf02240d76a5b59815175.jpg","text":"TemporaryFile(/tmp/multipartBody8780681772068336925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286642786,"filename":"image_16112025_09_34_01_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff6f05b88b5775d1bf7e37dec0ea9ef7.jpg","text":"TemporaryFile(/tmp/multipartBody1383037350859554960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286642786,"filename":"image_16112025_09_33_55_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735352","file1":"1394735351","file0":"1394735349","file4":"1394735354","file5":"1394735356","file3":"1394735353"},"map_files_photo_id_array":[{"photo_id":"1394735356","filename":"file5"},{"photo_id":"1394735352","filename":"file2"},{"photo_id":"1394735354","filename":"file4"},{"photo_id":"1394735351","filename":"file1"},{"photo_id":"1394735349","filename":"file0"},{"photo_id":"1394735353","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735352":["hashtag1","hashtag2"]},{"1394735349":["hashtag1","hashtag2"]},{"1394735351":["hashtag1","hashtag2"]},{"1394735354":["hashtag1","hashtag2"]},{"1394735356":["hashtag1","hashtag2"]},{"1394735353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735352, 1394735349, 1394735351, 1394735354, 1394735356, 1394735353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.370864152908325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:50:22.343401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_04_2706.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_06_2558.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_09_2842.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_13_3662.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_16_2714.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_19_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_04_2706.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_06_2558.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_09_2842.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_13_3662.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_16_2714.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_19_3540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735367","1394735364","1394735366","1394735369","1394735362","1394735359"],"photo_ids_order":["1394735359","1394735362","1394735364","1394735366","1394735367","1394735369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/907aeca94e17ef7e08e005fa0d27c076.jpg","text":"TemporaryFile(/tmp/multipartBody4439956329786693051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286682968,"filename":"image_16112025_09_34_16_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38d53c0d723af7a1e7f22689500165b4.jpg","text":"TemporaryFile(/tmp/multipartBody1983770425249142128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286682968,"filename":"image_16112025_09_34_09_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/959889e6dc519e1bb2f9339568487c44.jpg","text":"TemporaryFile(/tmp/multipartBody2952145845354133315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286682968,"filename":"image_16112025_09_34_13_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5048bc1cb40088916efcc202c032aac.jpg","text":"TemporaryFile(/tmp/multipartBody717269252405132433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286682968,"filename":"image_16112025_09_34_19_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0e49c27c8769c53872802ae51e5250c.jpg","text":"TemporaryFile(/tmp/multipartBody5241110057304040665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286682968,"filename":"image_16112025_09_34_06_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ea7da71935b0c8f0bdc8c6af864ed31.jpg","text":"TemporaryFile(/tmp/multipartBody1504781742423708968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286682968,"filename":"image_16112025_09_34_04_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735364","file1":"1394735362","file0":"1394735359","file4":"1394735367","file5":"1394735369","file3":"1394735366"},"map_files_photo_id_array":[{"photo_id":"1394735369","filename":"file5"},{"photo_id":"1394735364","filename":"file2"},{"photo_id":"1394735367","filename":"file4"},{"photo_id":"1394735362","filename":"file1"},{"photo_id":"1394735359","filename":"file0"},{"photo_id":"1394735366","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735367":["hashtag1","hashtag2"]},{"1394735364":["hashtag1","hashtag2"]},{"1394735366":["hashtag1","hashtag2"]},{"1394735369":["hashtag1","hashtag2"]},{"1394735362":["hashtag1","hashtag2"]},{"1394735359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735367, 1394735364, 1394735366, 1394735369, 1394735362, 1394735359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.240445613861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:51:03.404200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_22_2617.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_24_2713.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_28_3598.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_31_2659.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_33_2580.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_37_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_22_2617.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_24_2713.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_28_3598.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_31_2659.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_33_2580.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_37_3762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735379","1394735381","1394735384","1394735387","1394735374","1394735377"],"photo_ids_order":["1394735374","1394735377","1394735379","1394735381","1394735384","1394735387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93469a9bfdca1f87e24a40ce736239a7.jpg","text":"TemporaryFile(/tmp/multipartBody6066384455821403605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286724157,"filename":"image_16112025_09_34_28_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00816fe4713b07b2b1088f49add16cf6.jpg","text":"TemporaryFile(/tmp/multipartBody6350421462499158723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286724157,"filename":"image_16112025_09_34_31_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3f4bc766e08d59a62df282fedff0f66.jpg","text":"TemporaryFile(/tmp/multipartBody285776312647720565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286724157,"filename":"image_16112025_09_34_33_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4800e74cfe503a51576caf7469ed69c5.jpg","text":"TemporaryFile(/tmp/multipartBody9108374570527289432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286724157,"filename":"image_16112025_09_34_37_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfb9014e9fbf159e6b0fe65086fbd840.jpg","text":"TemporaryFile(/tmp/multipartBody3363782220910037270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286724157,"filename":"image_16112025_09_34_22_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83eca4e833299e43feabffb64b34d2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6092539459634244149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286724157,"filename":"image_16112025_09_34_24_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735379","file1":"1394735377","file0":"1394735374","file4":"1394735384","file5":"1394735387","file3":"1394735381"},"map_files_photo_id_array":[{"photo_id":"1394735387","filename":"file5"},{"photo_id":"1394735379","filename":"file2"},{"photo_id":"1394735384","filename":"file4"},{"photo_id":"1394735377","filename":"file1"},{"photo_id":"1394735374","filename":"file0"},{"photo_id":"1394735381","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735379":["hashtag1","hashtag2"]},{"1394735381":["hashtag1","hashtag2"]},{"1394735384":["hashtag1","hashtag2"]},{"1394735387":["hashtag1","hashtag2"]},{"1394735374":["hashtag1","hashtag2"]},{"1394735377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735379, 1394735381, 1394735384, 1394735387, 1394735374, 1394735377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24863910675049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:51:42.692555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_40_2622.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_42_2757.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_45_2823.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_49_3495.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_51_2590.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_55_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_40_2622.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_42_2757.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_45_2823.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_49_3495.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_51_2590.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_55_3612.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.537755012512207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:52:02.344030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_40_2622.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_42_2757.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_45_2823.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_49_3495.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_51_2590.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_55_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_40_2622.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_42_2757.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_45_2823.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_49_3495.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_51_2590.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_55_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735400","1394735399","1394735402","1394735398","1394735404","1394735397"],"photo_ids_order":["1394735397","1394735398","1394735399","1394735400","1394735402","1394735404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7af0083400ca6f4b5c29b312685d5349.jpg","text":"TemporaryFile(/tmp/multipartBody7104837967425334144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286783043,"filename":"image_16112025_09_34_49_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21fe16faee3fcbc9c2ba444a4b674b96.jpg","text":"TemporaryFile(/tmp/multipartBody1970429836671916744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286783043,"filename":"image_16112025_09_34_45_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0c356004b6ad434431a2ea703893237.jpg","text":"TemporaryFile(/tmp/multipartBody4344113513626730002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286783043,"filename":"image_16112025_09_34_51_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0189e3330e35713dfb8bbfb104c25092.jpg","text":"TemporaryFile(/tmp/multipartBody223122634003571499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286783043,"filename":"image_16112025_09_34_42_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/998dced9648d26ef258ad87b598372f8.jpg","text":"TemporaryFile(/tmp/multipartBody8595021912744723936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286783043,"filename":"image_16112025_09_34_55_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd8f4fc5f9a98fddd5fa435f27a52c92.jpg","text":"TemporaryFile(/tmp/multipartBody25932535834745653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286783043,"filename":"image_16112025_09_34_40_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735399","file1":"1394735398","file0":"1394735397","file4":"1394735402","file5":"1394735404","file3":"1394735400"},"map_files_photo_id_array":[{"photo_id":"1394735404","filename":"file5"},{"photo_id":"1394735399","filename":"file2"},{"photo_id":"1394735402","filename":"file4"},{"photo_id":"1394735398","filename":"file1"},{"photo_id":"1394735397","filename":"file0"},{"photo_id":"1394735400","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735400":["hashtag1","hashtag2"]},{"1394735399":["hashtag1","hashtag2"]},{"1394735402":["hashtag1","hashtag2"]},{"1394735398":["hashtag1","hashtag2"]},{"1394735404":["hashtag1","hashtag2"]},{"1394735397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735400, 1394735399, 1394735402, 1394735398, 1394735404, 1394735397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94320249557495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:52:41.871986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_58_2808.jpg', '/home/pi/Desktop/images/16112025/09/34/image_16112025_09_35_00_2747.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_04_3554.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_07_2628.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_09_2779.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_12_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_34_58_2808.jpg
/home/pi/Desktop/images/16112025/09/34/image_16112025_09_35_00_2747.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_04_3554.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_07_2628.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_09_2779.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_12_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735409","1394735412","1394735406","1394735411","1394735408","1394735410"],"photo_ids_order":["1394735406","1394735408","1394735409","1394735410","1394735411","1394735412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d46e9d013a2ee3e7c30327e2349e054.jpg","text":"TemporaryFile(/tmp/multipartBody1880717729708380783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286822500,"filename":"image_16112025_09_35_04_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e430a0928900d52eaa8c4cffdf8331cc.jpg","text":"TemporaryFile(/tmp/multipartBody5272719338666573101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286822500,"filename":"image_16112025_09_35_12_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e205ee260c8765b7fb277ce14e82e186.jpg","text":"TemporaryFile(/tmp/multipartBody7609209469971409085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286822500,"filename":"image_16112025_09_34_58_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8067b61657a567e406a4000f24960480.jpg","text":"TemporaryFile(/tmp/multipartBody5209873033282359899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286822500,"filename":"image_16112025_09_35_09_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df0b1a85296e27caf857ec7d97be75ee.jpg","text":"TemporaryFile(/tmp/multipartBody993741863323013551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286822500,"filename":"image_16112025_09_35_00_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e569db58bcfac2dd6227fa0cbeb91dc6.jpg","text":"TemporaryFile(/tmp/multipartBody3681519983983979266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286822500,"filename":"image_16112025_09_35_07_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735409","file1":"1394735408","file0":"1394735406","file4":"1394735411","file5":"1394735412","file3":"1394735410"},"map_files_photo_id_array":[{"photo_id":"1394735412","filename":"file5"},{"photo_id":"1394735409","filename":"file2"},{"photo_id":"1394735411","filename":"file4"},{"photo_id":"1394735408","filename":"file1"},{"photo_id":"1394735406","filename":"file0"},{"photo_id":"1394735410","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735409":["hashtag1","hashtag2"]},{"1394735412":["hashtag1","hashtag2"]},{"1394735406":["hashtag1","hashtag2"]},{"1394735411":["hashtag1","hashtag2"]},{"1394735408":["hashtag1","hashtag2"]},{"1394735410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735409, 1394735412, 1394735406, 1394735411, 1394735408, 1394735410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00457406044006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:53:22.113561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_16_3736.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_19_2585.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_21_2700.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_25_3518.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_28_2712.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_30_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_16_3736.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_19_2585.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_21_2700.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_25_3518.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_28_2712.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_30_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735416","1394735421","1394735418","1394735414","1394735417","1394735419"],"photo_ids_order":["1394735414","1394735416","1394735417","1394735418","1394735419","1394735421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6878da7f50f1ba81b6b8f43420a4fdcc.jpg","text":"TemporaryFile(/tmp/multipartBody1884211802688785662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286862768,"filename":"image_16112025_09_35_19_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad1098edbe0e48b1a4c3eb429d47abc7.jpg","text":"TemporaryFile(/tmp/multipartBody4662972160164076212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286862768,"filename":"image_16112025_09_35_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/11/16/9f1c1524afed9ce1554fefb1b186fc33.jpg","text":"TemporaryFile(/tmp/multipartBody299136791988645513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286862768,"filename":"image_16112025_09_35_25_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1297b1e8e859baded56ffc40ebab0a4f.jpg","text":"TemporaryFile(/tmp/multipartBody7361100723567731040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286862768,"filename":"image_16112025_09_35_16_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75fef1640b5d0ab27ea421a4141197b8.jpg","text":"TemporaryFile(/tmp/multipartBody3724329976064341955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286862768,"filename":"image_16112025_09_35_21_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eba64d959c13d740b84366cc17654227.jpg","text":"TemporaryFile(/tmp/multipartBody3729132682666784288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286862768,"filename":"image_16112025_09_35_28_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735417","file1":"1394735416","file0":"1394735414","file4":"1394735419","file5":"1394735421","file3":"1394735418"},"map_files_photo_id_array":[{"photo_id":"1394735421","filename":"file5"},{"photo_id":"1394735417","filename":"file2"},{"photo_id":"1394735419","filename":"file4"},{"photo_id":"1394735416","filename":"file1"},{"photo_id":"1394735414","filename":"file0"},{"photo_id":"1394735418","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735416":["hashtag1","hashtag2"]},{"1394735421":["hashtag1","hashtag2"]},{"1394735418":["hashtag1","hashtag2"]},{"1394735414":["hashtag1","hashtag2"]},{"1394735417":["hashtag1","hashtag2"]},{"1394735419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735416, 1394735421, 1394735418, 1394735414, 1394735417, 1394735419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.758800745010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:54:03.015564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_34_3571.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_36_2592.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_39_2580.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_43_3665.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_45_2618.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_49_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_34_3571.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_36_2592.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_39_2580.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_43_3665.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_45_2618.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_49_3633.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.7021183967590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:54:22.297999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_34_3571.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_36_2592.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_39_2580.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_43_3665.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_45_2618.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_49_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_34_3571.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_36_2592.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_39_2580.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_43_3665.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_45_2618.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_49_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735442","1394735439","1394735430","1394735438","1394735437","1394735434"],"photo_ids_order":["1394735430","1394735434","1394735437","1394735438","1394735439","1394735442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bebb8cdcd5280da01af61ee05db7e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8743779171395899316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286922936,"filename":"image_16112025_09_35_49_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3a01220f5b1cb83aaad3029936fbcc3.jpg","text":"TemporaryFile(/tmp/multipartBody4528576873604435999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286922936,"filename":"image_16112025_09_35_45_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab0b6a570fff74760cb294f743c582a9.jpg","text":"TemporaryFile(/tmp/multipartBody6611619880307525947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286922936,"filename":"image_16112025_09_35_34_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd1a89e59fe374429ded09db4eafecbd.jpg","text":"TemporaryFile(/tmp/multipartBody5520839993727492795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286922936,"filename":"image_16112025_09_35_43_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc6a70ff8ee58f858bf1c8eea715fca8.jpg","text":"TemporaryFile(/tmp/multipartBody4434111980059159403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286922936,"filename":"image_16112025_09_35_39_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95ee8090315d1a0cc2e761738c43136c.jpg","text":"TemporaryFile(/tmp/multipartBody6103892014451849476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286922936,"filename":"image_16112025_09_35_36_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735437","file1":"1394735434","file0":"1394735430","file4":"1394735439","file5":"1394735442","file3":"1394735438"},"map_files_photo_id_array":[{"photo_id":"1394735442","filename":"file5"},{"photo_id":"1394735437","filename":"file2"},{"photo_id":"1394735439","filename":"file4"},{"photo_id":"1394735434","filename":"file1"},{"photo_id":"1394735430","filename":"file0"},{"photo_id":"1394735438","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735442":["hashtag1","hashtag2"]},{"1394735439":["hashtag1","hashtag2"]},{"1394735430":["hashtag1","hashtag2"]},{"1394735438":["hashtag1","hashtag2"]},{"1394735437":["hashtag1","hashtag2"]},{"1394735434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735442, 1394735439, 1394735430, 1394735438, 1394735437, 1394735434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13661313056946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:55:03.339955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_52_2577.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_54_2641.jpg', '/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_58_3630.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_01_2835.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_03_2695.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_06_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_52_2577.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_54_2641.jpg
/home/pi/Desktop/images/16112025/09/35/image_16112025_09_35_58_3630.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_01_2835.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_03_2695.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_06_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735451","1394735454","1394735444","1394735449","1394735458","1394735446"],"photo_ids_order":["1394735444","1394735446","1394735449","1394735451","1394735454","1394735458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b448636c8ad8d311a07d355be41f26e.jpg","text":"TemporaryFile(/tmp/multipartBody4591788710772645474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286964048,"filename":"image_16112025_09_36_01_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5537c2eab2426c0ec2bb95d3b1ba92e.jpg","text":"TemporaryFile(/tmp/multipartBody8892135096640593744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286964048,"filename":"image_16112025_09_36_03_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78d53ca2668e07c9d2bb3aa442b82ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3595015338608535853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286964048,"filename":"image_16112025_09_35_52_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fba512067c2ca42fa79022cb36f870f.jpg","text":"TemporaryFile(/tmp/multipartBody1376719496568169711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286964048,"filename":"image_16112025_09_35_58_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6627df606e7fc49017e4b6cc0311ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody7235885351999488908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286964048,"filename":"image_16112025_09_36_06_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36399d76f9e12573901cd1e66c9d24fb.jpg","text":"TemporaryFile(/tmp/multipartBody4754792419011137012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763286964048,"filename":"image_16112025_09_35_54_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735449","file1":"1394735446","file0":"1394735444","file4":"1394735454","file5":"1394735458","file3":"1394735451"},"map_files_photo_id_array":[{"photo_id":"1394735458","filename":"file5"},{"photo_id":"1394735449","filename":"file2"},{"photo_id":"1394735454","filename":"file4"},{"photo_id":"1394735446","filename":"file1"},{"photo_id":"1394735444","filename":"file0"},{"photo_id":"1394735451","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735451":["hashtag1","hashtag2"]},{"1394735454":["hashtag1","hashtag2"]},{"1394735444":["hashtag1","hashtag2"]},{"1394735449":["hashtag1","hashtag2"]},{"1394735458":["hashtag1","hashtag2"]},{"1394735446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735451, 1394735454, 1394735444, 1394735449, 1394735458, 1394735446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88712239265442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:55:42.680904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_10_3556.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_12_2632.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_16_3571.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_18_2703.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_21_2658.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_25_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_10_3556.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_12_2632.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_16_3571.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_18_2703.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_21_2658.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_25_3602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735472","1394735466","1394735469","1394735471","1394735468","1394735470"],"photo_ids_order":["1394735466","1394735468","1394735469","1394735470","1394735471","1394735472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00d789b06fc0bc03a2f1d1ebd14e350b.jpg","text":"TemporaryFile(/tmp/multipartBody8287223860880996982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287003311,"filename":"image_16112025_09_36_25_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a30c6605dc792311a920443d17a35722.jpg","text":"TemporaryFile(/tmp/multipartBody8259365905022842492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287003311,"filename":"image_16112025_09_36_10_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f4e2485cf6f6bf83d5a369b78264832.jpg","text":"TemporaryFile(/tmp/multipartBody894171286437828348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287003311,"filename":"image_16112025_09_36_16_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e22c97109b71731da34e2b6898606c2.jpg","text":"TemporaryFile(/tmp/multipartBody925362074817810328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287003311,"filename":"image_16112025_09_36_21_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5439069806fc18d8f2ef1b09cb198347.jpg","text":"TemporaryFile(/tmp/multipartBody2129910774362039993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287003311,"filename":"image_16112025_09_36_12_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32d94f784211122b74ebacaf2e9de234.jpg","text":"TemporaryFile(/tmp/multipartBody7387457953030281507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287003311,"filename":"image_16112025_09_36_18_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735469","file1":"1394735468","file0":"1394735466","file4":"1394735471","file5":"1394735472","file3":"1394735470"},"map_files_photo_id_array":[{"photo_id":"1394735472","filename":"file5"},{"photo_id":"1394735469","filename":"file2"},{"photo_id":"1394735471","filename":"file4"},{"photo_id":"1394735468","filename":"file1"},{"photo_id":"1394735466","filename":"file0"},{"photo_id":"1394735470","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735472":["hashtag1","hashtag2"]},{"1394735466":["hashtag1","hashtag2"]},{"1394735469":["hashtag1","hashtag2"]},{"1394735471":["hashtag1","hashtag2"]},{"1394735468":["hashtag1","hashtag2"]},{"1394735470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735472, 1394735466, 1394735469, 1394735471, 1394735468, 1394735470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4670045375824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 10:56:21.947720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_27_2497.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_31_3671.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_33_2576.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_36_2488.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_40_3655.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_42_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_27_2497.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_31_3671.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_33_2576.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_36_2488.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_40_3655.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_42_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735478","1394735475","1394735480","1394735477","1394735486","1394735482"],"photo_ids_order":["1394735475","1394735477","1394735478","1394735480","1394735482","1394735486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c9f96f98f0039a82702ed07b65ee5d0.jpg","text":"TemporaryFile(/tmp/multipartBody6867560868837054723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287042646,"filename":"image_16112025_09_36_33_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44739e8a6462def2cecfe4d1bbca40f9.jpg","text":"TemporaryFile(/tmp/multipartBody7384270032549324304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287042646,"filename":"image_16112025_09_36_27_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a17a7f8f3fa1aa44b7da0f15d0f55ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1906514636422162352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287042646,"filename":"image_16112025_09_36_36_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d4d040d630d85de0e7513bca16f27e8.jpg","text":"TemporaryFile(/tmp/multipartBody2482556396047512905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287042646,"filename":"image_16112025_09_36_31_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1e2ad894b0ed0e96b68b87b4c37d31d.jpg","text":"TemporaryFile(/tmp/multipartBody6936363715826700066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287042646,"filename":"image_16112025_09_36_42_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/818291c425a263c33fc09e124c8ace8c.jpg","text":"TemporaryFile(/tmp/multipartBody5369514705083336970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287042646,"filename":"image_16112025_09_36_40_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735478","file1":"1394735477","file0":"1394735475","file4":"1394735482","file5":"1394735486","file3":"1394735480"},"map_files_photo_id_array":[{"photo_id":"1394735486","filename":"file5"},{"photo_id":"1394735478","filename":"file2"},{"photo_id":"1394735482","filename":"file4"},{"photo_id":"1394735477","filename":"file1"},{"photo_id":"1394735475","filename":"file0"},{"photo_id":"1394735480","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735478":["hashtag1","hashtag2"]},{"1394735475":["hashtag1","hashtag2"]},{"1394735480":["hashtag1","hashtag2"]},{"1394735477":["hashtag1","hashtag2"]},{"1394735486":["hashtag1","hashtag2"]},{"1394735482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735478, 1394735475, 1394735480, 1394735477, 1394735486, 1394735482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.716575622558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:57:02.719128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_45_2596.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_49_3831.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_59_9972.jpg', '/home/pi/Desktop/images/16112025/09/36/image_16112025_09_37_00_1751.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_02_1560.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_04_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_45_2596.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_49_3831.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_36_59_9972.jpg
/home/pi/Desktop/images/16112025/09/36/image_16112025_09_37_00_1751.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_02_1560.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_04_1744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735490","1394735487","1394735492","1394735495","1394735489","1394735488"],"photo_ids_order":["1394735487","1394735488","1394735489","1394735490","1394735492","1394735495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6edd35231ae0421079a1103540481679.jpg","text":"TemporaryFile(/tmp/multipartBody2061192238199278460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287083485,"filename":"image_16112025_09_37_00_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c81be105cdbc94089b217d7e29e793d.jpg","text":"TemporaryFile(/tmp/multipartBody3949558693067043063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287083485,"filename":"image_16112025_09_36_45_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/464f18b4877e6f50c896d74403f134e0.jpg","text":"TemporaryFile(/tmp/multipartBody5111265601971971006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287083485,"filename":"image_16112025_09_37_02_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8430e2ee05e4f2eaeb5c1a2d2d66d717.jpg","text":"TemporaryFile(/tmp/multipartBody7281376751931086537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287083485,"filename":"image_16112025_09_37_04_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d334b5c617152407606c26ccab2fc7d3.jpg","text":"TemporaryFile(/tmp/multipartBody1308124574030375308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287083485,"filename":"image_16112025_09_36_59_9972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef86602a61d406258526f94f35b9d391.jpg","text":"TemporaryFile(/tmp/multipartBody6805951332049073929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287083485,"filename":"image_16112025_09_36_49_3831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735489","file1":"1394735488","file0":"1394735487","file4":"1394735492","file5":"1394735495","file3":"1394735490"},"map_files_photo_id_array":[{"photo_id":"1394735495","filename":"file5"},{"photo_id":"1394735489","filename":"file2"},{"photo_id":"1394735492","filename":"file4"},{"photo_id":"1394735488","filename":"file1"},{"photo_id":"1394735487","filename":"file0"},{"photo_id":"1394735490","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735490":["hashtag1","hashtag2"]},{"1394735487":["hashtag1","hashtag2"]},{"1394735492":["hashtag1","hashtag2"]},{"1394735495":["hashtag1","hashtag2"]},{"1394735489":["hashtag1","hashtag2"]},{"1394735488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735490, 1394735487, 1394735492, 1394735495, 1394735489, 1394735488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17318630218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:57:41.988773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_05_1610.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_07_1697.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_09_1853.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_12_3554.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_15_2683.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_19_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_05_1610.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_07_1697.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_09_1853.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_12_3554.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_15_2683.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_19_3640.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394735508","1394735505","1394735507","1394735501","1394735504","1394735506"],"photo_ids_order":["1394735501","1394735504","1394735505","1394735506","1394735507","1394735508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb005d300b5f9934aaade44a937295ab.jpg","text":"TemporaryFile(/tmp/multipartBody3456893820695046901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287122694,"filename":"image_16112025_09_37_19_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d769c81d85e283f66c83b5b2c8b531ce.jpg","text":"TemporaryFile(/tmp/multipartBody6532122266520572114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287122694,"filename":"image_16112025_09_37_09_1853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8804655dab5933de654ba0ad73de7d7c.jpg","text":"TemporaryFile(/tmp/multipartBody6775966966815254138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287122694,"filename":"image_16112025_09_37_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/11/16/75821c23f3dfdb9d82df4afb797ab3d7.jpg","text":"TemporaryFile(/tmp/multipartBody1670015235902502073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287122694,"filename":"image_16112025_09_37_05_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d125bf836db4c601eeaa89e86d1577c.jpg","text":"TemporaryFile(/tmp/multipartBody3238113051386826518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287122694,"filename":"image_16112025_09_37_07_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dba5a6c66164f04276add6aefa6520a5.jpg","text":"TemporaryFile(/tmp/multipartBody1616013807871998799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287122694,"filename":"image_16112025_09_37_12_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394735505","file1":"1394735504","file0":"1394735501","file4":"1394735507","file5":"1394735508","file3":"1394735506"},"map_files_photo_id_array":[{"photo_id":"1394735508","filename":"file5"},{"photo_id":"1394735505","filename":"file2"},{"photo_id":"1394735507","filename":"file4"},{"photo_id":"1394735504","filename":"file1"},{"photo_id":"1394735501","filename":"file0"},{"photo_id":"1394735506","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394735508":["hashtag1","hashtag2"]},{"1394735505":["hashtag1","hashtag2"]},{"1394735507":["hashtag1","hashtag2"]},{"1394735501":["hashtag1","hashtag2"]},{"1394735504":["hashtag1","hashtag2"]},{"1394735506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394735508, 1394735505, 1394735507, 1394735501, 1394735504, 1394735506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90057134628296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 10:59:03.284655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_22_2789.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_24_2749.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_27_2659.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_31_3519.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_33_2791.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_36_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_22_2789.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_24_2749.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_27_2659.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_31_3519.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_33_2791.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_36_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394736210","1394736092","1394736245","1394736167","1394736128","1394736320"],"photo_ids_order":["1394736092","1394736128","1394736167","1394736210","1394736245","1394736320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/269427dbdc6a6e53dee39ecd03abaece.jpg","text":"TemporaryFile(/tmp/multipartBody4049305985220503972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287204009,"filename":"image_16112025_09_37_31_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/621686f80e3c4f897d1367e0f4a652fb.jpg","text":"TemporaryFile(/tmp/multipartBody4149720743479381676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287204009,"filename":"image_16112025_09_37_22_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6a36472093d7a0e37ef6e9c714c9e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4230741055448130507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287204009,"filename":"image_16112025_09_37_33_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ec5fc44624f683a078a4d1cdba2ccb5.jpg","text":"TemporaryFile(/tmp/multipartBody7480803875432483386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287204009,"filename":"image_16112025_09_37_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/11/16/09374855279453180d294fd6f28440fa.jpg","text":"TemporaryFile(/tmp/multipartBody6087152917863038081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287204009,"filename":"image_16112025_09_37_24_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/796282972c72b52e760d13c7581f1871.jpg","text":"TemporaryFile(/tmp/multipartBody4020385009132684102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287204009,"filename":"image_16112025_09_37_36_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394736167","file1":"1394736128","file0":"1394736092","file4":"1394736245","file5":"1394736320","file3":"1394736210"},"map_files_photo_id_array":[{"photo_id":"1394736320","filename":"file5"},{"photo_id":"1394736167","filename":"file2"},{"photo_id":"1394736245","filename":"file4"},{"photo_id":"1394736128","filename":"file1"},{"photo_id":"1394736092","filename":"file0"},{"photo_id":"1394736210","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394736210":["hashtag1","hashtag2"]},{"1394736092":["hashtag1","hashtag2"]},{"1394736245":["hashtag1","hashtag2"]},{"1394736167":["hashtag1","hashtag2"]},{"1394736128":["hashtag1","hashtag2"]},{"1394736320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394736210, 1394736092, 1394736245, 1394736167, 1394736128, 1394736320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13174915313721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 10:59:42.440515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_40_3600.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_42_2644.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_45_2632.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_49_3618.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_51_2627.jpg', '/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_54_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_40_3600.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_42_2644.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_45_2632.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_49_3618.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_51_2627.jpg
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_37_54_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394736744","1394736701","1394736658","1394736739","1394736604","1394736570"],"photo_ids_order":["1394736570","1394736604","1394736658","1394736701","1394736739","1394736744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37a2671afd5cf0d8da713506533d3634.jpg","text":"TemporaryFile(/tmp/multipartBody7917352720684563418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287243089,"filename":"image_16112025_09_37_54_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fb4de0cf49e62bdf70cd24223cc79b6.jpg","text":"TemporaryFile(/tmp/multipartBody1645042820756390007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287243089,"filename":"image_16112025_09_37_49_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b30fb91a8dfb667623e9e87b5c4f3e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3554949939541242864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287243089,"filename":"image_16112025_09_37_45_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/298f325fcc5d5524a4f8ed355be0c2d8.jpg","text":"TemporaryFile(/tmp/multipartBody5123970011237203616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287243089,"filename":"image_16112025_09_37_51_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa4e7d5a36e06ce478c52a9dcb0248e1.jpg","text":"TemporaryFile(/tmp/multipartBody6629459251320574952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287243089,"filename":"image_16112025_09_37_42_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0021abbefbc732b907ace71ed4b0074f.jpg","text":"TemporaryFile(/tmp/multipartBody6738666031463509480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287243089,"filename":"image_16112025_09_37_40_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394736658","file1":"1394736604","file0":"1394736570","file4":"1394736739","file5":"1394736744","file3":"1394736701"},"map_files_photo_id_array":[{"photo_id":"1394736744","filename":"file5"},{"photo_id":"1394736658","filename":"file2"},{"photo_id":"1394736739","filename":"file4"},{"photo_id":"1394736604","filename":"file1"},{"photo_id":"1394736570","filename":"file0"},{"photo_id":"1394736701","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394736744":["hashtag1","hashtag2"]},{"1394736701":["hashtag1","hashtag2"]},{"1394736658":["hashtag1","hashtag2"]},{"1394736739":["hashtag1","hashtag2"]},{"1394736604":["hashtag1","hashtag2"]},{"1394736570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394736744, 1394736701, 1394736658, 1394736739, 1394736604, 1394736570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2740957736969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:00:22.763519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/37/image_16112025_09_38_00_2814.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_03_2654.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_06_2802.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_09_3564.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_12_2742.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_15_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/37/image_16112025_09_38_00_2814.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_03_2654.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_06_2802.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_09_3564.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_12_2742.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_15_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394736773","1394736755","1394736809","1394736751","1394736754","1394736748"],"photo_ids_order":["1394736748","1394736751","1394736754","1394736755","1394736773","1394736809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cba3d6522fcedd584ed354362797c1a0.jpg","text":"TemporaryFile(/tmp/multipartBody5045278048291885830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287283408,"filename":"image_16112025_09_38_12_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fd49b7232be5794fd39ca90109845ba.jpg","text":"TemporaryFile(/tmp/multipartBody609146746269613961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287283408,"filename":"image_16112025_09_38_09_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8aef74429d40e2cb187764e5fec4b71.jpg","text":"TemporaryFile(/tmp/multipartBody7846647959774722024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287283408,"filename":"image_16112025_09_38_15_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3da8fcd8dd70623280bae0d52ea7bb7.jpg","text":"TemporaryFile(/tmp/multipartBody1809253076068703627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287283408,"filename":"image_16112025_09_38_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/11/16/041b4e8ce2b36c68425bdbcf8cedc3b1.jpg","text":"TemporaryFile(/tmp/multipartBody1370327922739908669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287283408,"filename":"image_16112025_09_38_06_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cae57a55fa5af975b1cf46e9d02f8d4b.jpg","text":"TemporaryFile(/tmp/multipartBody2788310668521018814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287283408,"filename":"image_16112025_09_38_00_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394736754","file1":"1394736751","file0":"1394736748","file4":"1394736773","file5":"1394736809","file3":"1394736755"},"map_files_photo_id_array":[{"photo_id":"1394736809","filename":"file5"},{"photo_id":"1394736754","filename":"file2"},{"photo_id":"1394736773","filename":"file4"},{"photo_id":"1394736751","filename":"file1"},{"photo_id":"1394736748","filename":"file0"},{"photo_id":"1394736755","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394736773":["hashtag1","hashtag2"]},{"1394736755":["hashtag1","hashtag2"]},{"1394736809":["hashtag1","hashtag2"]},{"1394736751":["hashtag1","hashtag2"]},{"1394736754":["hashtag1","hashtag2"]},{"1394736748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394736773, 1394736755, 1394736809, 1394736751, 1394736754, 1394736748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39205718040466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:01:02.667200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_19_3668.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_21_2750.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_24_2694.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_28_3601.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_30_2644.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_33_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_19_3668.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_21_2750.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_24_2694.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_28_3601.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_30_2644.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_33_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394736957","1394736967","1394737027","1394737006","1394736993","1394736966"],"photo_ids_order":["1394736957","1394736966","1394736967","1394736993","1394737006","1394737027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e4e72133c36c303624ab583d31c376c.jpg","text":"TemporaryFile(/tmp/multipartBody7413650038423569791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287323468,"filename":"image_16112025_09_38_19_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7e020bbb6193406295ac6df40661668.jpg","text":"TemporaryFile(/tmp/multipartBody7996458190698383014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287323468,"filename":"image_16112025_09_38_24_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/293b076238d568b85a922e63c909dfea.jpg","text":"TemporaryFile(/tmp/multipartBody1691564922218553291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287323468,"filename":"image_16112025_09_38_33_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50ccc5ec1373f4db6a26b420774ef2c9.jpg","text":"TemporaryFile(/tmp/multipartBody6096334050784716992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287323468,"filename":"image_16112025_09_38_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/11/16/0e5ae1f80f8865fe003b7b5a3fd52908.jpg","text":"TemporaryFile(/tmp/multipartBody3009181124846336569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287323468,"filename":"image_16112025_09_38_28_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70b05ee7c8c73c7e2443fb93d34cb1d2.jpg","text":"TemporaryFile(/tmp/multipartBody1226592915239910523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287323468,"filename":"image_16112025_09_38_21_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394736967","file1":"1394736966","file0":"1394736957","file4":"1394737006","file5":"1394737027","file3":"1394736993"},"map_files_photo_id_array":[{"photo_id":"1394737027","filename":"file5"},{"photo_id":"1394736967","filename":"file2"},{"photo_id":"1394737006","filename":"file4"},{"photo_id":"1394736966","filename":"file1"},{"photo_id":"1394736957","filename":"file0"},{"photo_id":"1394736993","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394736957":["hashtag1","hashtag2"]},{"1394736967":["hashtag1","hashtag2"]},{"1394737027":["hashtag1","hashtag2"]},{"1394737006":["hashtag1","hashtag2"]},{"1394736993":["hashtag1","hashtag2"]},{"1394736966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394736957, 1394736967, 1394737027, 1394737006, 1394736993, 1394736966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.682208776474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:01:42.021093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_36_3635.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_39_2942.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_42_2602.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_46_3596.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_48_2716.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_51_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_36_3635.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_39_2942.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_42_2602.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_46_3596.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_48_2716.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_51_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737043","1394737040","1394737036","1394737045","1394737044","1394737047"],"photo_ids_order":["1394737036","1394737040","1394737043","1394737044","1394737045","1394737047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59acdf524644e4c7e4f915a9050850ca.jpg","text":"TemporaryFile(/tmp/multipartBody5546750146436251563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287362668,"filename":"image_16112025_09_38_42_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c08e4bc542286216aeff944cb06a390.jpg","text":"TemporaryFile(/tmp/multipartBody774391391813195775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287362668,"filename":"image_16112025_09_38_39_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b061cd867a1afd6cd1edab494fd4212.jpg","text":"TemporaryFile(/tmp/multipartBody8198813339939698908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287362668,"filename":"image_16112025_09_38_36_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d274ce04ac9f50ac5be01e439ae4b0c.jpg","text":"TemporaryFile(/tmp/multipartBody6663584218383685152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287362668,"filename":"image_16112025_09_38_48_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/545dcf32619bf5938ce7cb9b7680e96c.jpg","text":"TemporaryFile(/tmp/multipartBody8869249899094115026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287362668,"filename":"image_16112025_09_38_46_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff6f457afe0d60477d59654d8676fe51.jpg","text":"TemporaryFile(/tmp/multipartBody2929177746879242347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287362668,"filename":"image_16112025_09_38_51_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737043","file1":"1394737040","file0":"1394737036","file4":"1394737045","file5":"1394737047","file3":"1394737044"},"map_files_photo_id_array":[{"photo_id":"1394737047","filename":"file5"},{"photo_id":"1394737043","filename":"file2"},{"photo_id":"1394737045","filename":"file4"},{"photo_id":"1394737040","filename":"file1"},{"photo_id":"1394737036","filename":"file0"},{"photo_id":"1394737044","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737043":["hashtag1","hashtag2"]},{"1394737040":["hashtag1","hashtag2"]},{"1394737036":["hashtag1","hashtag2"]},{"1394737045":["hashtag1","hashtag2"]},{"1394737044":["hashtag1","hashtag2"]},{"1394737047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737043, 1394737040, 1394737036, 1394737045, 1394737044, 1394737047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.150623083114624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:02:22.252017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_55_3680.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_57_2751.jpg', '/home/pi/Desktop/images/16112025/09/38/image_16112025_09_39_00_2581.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_03_3534.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_06_2708.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_09_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_55_3680.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_38_57_2751.jpg
/home/pi/Desktop/images/16112025/09/38/image_16112025_09_39_00_2581.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_03_3534.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_06_2708.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_09_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737055","1394737058","1394737052","1394737060","1394737057","1394737059"],"photo_ids_order":["1394737052","1394737055","1394737057","1394737058","1394737059","1394737060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e3d5b13521f47228c5ea86fe30d7297.jpg","text":"TemporaryFile(/tmp/multipartBody8041094827202695904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287402914,"filename":"image_16112025_09_38_57_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/209d669e4ecf3d83ff7019a428cfbb97.jpg","text":"TemporaryFile(/tmp/multipartBody1815508315909763883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287402914,"filename":"image_16112025_09_39_03_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/212687fdfc74c63c98e477b49288f064.jpg","text":"TemporaryFile(/tmp/multipartBody6433406655406678130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287402914,"filename":"image_16112025_09_38_55_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b45d11177ec9f8adab629a659aa7c01a.jpg","text":"TemporaryFile(/tmp/multipartBody8220853375800526535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287402914,"filename":"image_16112025_09_39_09_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b3bfbf8f604b84e7dbb962549f3cf4a.jpg","text":"TemporaryFile(/tmp/multipartBody6762669284176936848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287402914,"filename":"image_16112025_09_39_00_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d3ec1f5b41d4017177a66f3a12c4b68.jpg","text":"TemporaryFile(/tmp/multipartBody1931383445884406340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287402914,"filename":"image_16112025_09_39_06_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737057","file1":"1394737055","file0":"1394737052","file4":"1394737059","file5":"1394737060","file3":"1394737058"},"map_files_photo_id_array":[{"photo_id":"1394737060","filename":"file5"},{"photo_id":"1394737057","filename":"file2"},{"photo_id":"1394737059","filename":"file4"},{"photo_id":"1394737055","filename":"file1"},{"photo_id":"1394737052","filename":"file0"},{"photo_id":"1394737058","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737055":["hashtag1","hashtag2"]},{"1394737058":["hashtag1","hashtag2"]},{"1394737052":["hashtag1","hashtag2"]},{"1394737060":["hashtag1","hashtag2"]},{"1394737057":["hashtag1","hashtag2"]},{"1394737059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737055, 1394737058, 1394737052, 1394737060, 1394737057, 1394737059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19382977485657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:03:03.355301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_12_3643.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_15_2570.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_19_3533.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_21_2678.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_24_2784.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_30_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_12_3643.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_15_2570.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_19_3533.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_21_2678.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_24_2784.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_30_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737064","1394737072","1394737066","1394737063","1394737065","1394737068"],"photo_ids_order":["1394737063","1394737064","1394737065","1394737066","1394737068","1394737072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15b99459c84453d99d9dc89c4441d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody3220586870989255348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287444100,"filename":"image_16112025_09_39_15_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8fd8ffc9eab042cc1f72e6caab1d132.jpg","text":"TemporaryFile(/tmp/multipartBody6560545930111225173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287444100,"filename":"image_16112025_09_39_30_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba1045e3e96f2ef0a99ea5c54e1b4daa.jpg","text":"TemporaryFile(/tmp/multipartBody1262219962336663908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287444100,"filename":"image_16112025_09_39_21_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e8798bc13f086bdcf263d1e455bf789.jpg","text":"TemporaryFile(/tmp/multipartBody5985083171366438806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287444100,"filename":"image_16112025_09_39_12_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64f1fe85cb5b8169fb5818d53e0b6060.jpg","text":"TemporaryFile(/tmp/multipartBody576668786366711045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287444100,"filename":"image_16112025_09_39_19_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4de32d7450d01daa9f2256936bd98f1.jpg","text":"TemporaryFile(/tmp/multipartBody1263677360744664054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287444100,"filename":"image_16112025_09_39_24_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737065","file1":"1394737064","file0":"1394737063","file4":"1394737068","file5":"1394737072","file3":"1394737066"},"map_files_photo_id_array":[{"photo_id":"1394737072","filename":"file5"},{"photo_id":"1394737065","filename":"file2"},{"photo_id":"1394737068","filename":"file4"},{"photo_id":"1394737064","filename":"file1"},{"photo_id":"1394737063","filename":"file0"},{"photo_id":"1394737066","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737064":["hashtag1","hashtag2"]},{"1394737072":["hashtag1","hashtag2"]},{"1394737066":["hashtag1","hashtag2"]},{"1394737063":["hashtag1","hashtag2"]},{"1394737065":["hashtag1","hashtag2"]},{"1394737068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737064, 1394737072, 1394737066, 1394737063, 1394737065, 1394737068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.141762495040894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:03:42.784413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_33_2514.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_36_3670.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_39_2677.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_42_2558.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_45_3800.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_48_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_33_2514.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_36_3670.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_39_2677.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_42_2558.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_45_3800.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_48_2647.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.5646240711212158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:04:02.552783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_33_2514.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_36_3670.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_39_2677.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_42_2558.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_45_3800.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_48_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_33_2514.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_36_3670.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_39_2677.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_42_2558.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_45_3800.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_48_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737088","1394737085","1394737090","1394737093","1394737087","1394737086"],"photo_ids_order":["1394737085","1394737086","1394737087","1394737088","1394737090","1394737093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bdc1791cc5a5a6f109e2e4aaab894a5.jpg","text":"TemporaryFile(/tmp/multipartBody6730220537632555303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287503323,"filename":"image_16112025_09_39_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/11/16/de7c2fc4dddaf01c378a99f19ff9bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody3442999014856891042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287503323,"filename":"image_16112025_09_39_33_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa45b697904bf75cbba6f7bb0a9bf4e5.jpg","text":"TemporaryFile(/tmp/multipartBody9067064440351580155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287503323,"filename":"image_16112025_09_39_45_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/587d3786dabbe3a433e4948eade5d532.jpg","text":"TemporaryFile(/tmp/multipartBody8412225284435943123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287503323,"filename":"image_16112025_09_39_48_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2391650398e3f7aea9cfb8f89d1c6110.jpg","text":"TemporaryFile(/tmp/multipartBody7019732591131040852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287503323,"filename":"image_16112025_09_39_39_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50fa720e26df812c90a12730765a9170.jpg","text":"TemporaryFile(/tmp/multipartBody6041557058034143892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287503323,"filename":"image_16112025_09_39_36_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737087","file1":"1394737086","file0":"1394737085","file4":"1394737090","file5":"1394737093","file3":"1394737088"},"map_files_photo_id_array":[{"photo_id":"1394737093","filename":"file5"},{"photo_id":"1394737087","filename":"file2"},{"photo_id":"1394737090","filename":"file4"},{"photo_id":"1394737086","filename":"file1"},{"photo_id":"1394737085","filename":"file0"},{"photo_id":"1394737088","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737088":["hashtag1","hashtag2"]},{"1394737085":["hashtag1","hashtag2"]},{"1394737090":["hashtag1","hashtag2"]},{"1394737093":["hashtag1","hashtag2"]},{"1394737087":["hashtag1","hashtag2"]},{"1394737086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737088, 1394737085, 1394737090, 1394737093, 1394737087, 1394737086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72766709327698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:04:42.107507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_51_2663.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_54_3580.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_57_2660.jpg', '/home/pi/Desktop/images/16112025/09/39/image_16112025_09_40_00_2701.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_03_3766.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_06_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_51_2663.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_54_3580.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_39_57_2660.jpg
/home/pi/Desktop/images/16112025/09/39/image_16112025_09_40_00_2701.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_03_3766.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_06_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737100","1394737103","1394737102","1394737105","1394737108","1394737107"],"photo_ids_order":["1394737100","1394737102","1394737103","1394737105","1394737107","1394737108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ec8b62c5c7055bbe2e1606b7bff0a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5650074777021165679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287542822,"filename":"image_16112025_09_39_51_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e15b4af9af04b564fefe66351dd9735.jpg","text":"TemporaryFile(/tmp/multipartBody4036808320258457282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287542822,"filename":"image_16112025_09_39_57_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d360dbbea3927cdaca277b7ac2c5041c.jpg","text":"TemporaryFile(/tmp/multipartBody2988146062344682317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287542822,"filename":"image_16112025_09_39_54_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f25e99de36a69ac0695ea95f49902c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7535428662736798479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287542822,"filename":"image_16112025_09_40_00_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7d52a9c07e2895601fe92f3d4361561.jpg","text":"TemporaryFile(/tmp/multipartBody807260234526486029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287542822,"filename":"image_16112025_09_40_06_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a32cc051edeea7e4aa275ff42e1e72a9.jpg","text":"TemporaryFile(/tmp/multipartBody7700869301689461156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287542822,"filename":"image_16112025_09_40_03_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737103","file1":"1394737102","file0":"1394737100","file4":"1394737107","file5":"1394737108","file3":"1394737105"},"map_files_photo_id_array":[{"photo_id":"1394737108","filename":"file5"},{"photo_id":"1394737103","filename":"file2"},{"photo_id":"1394737107","filename":"file4"},{"photo_id":"1394737102","filename":"file1"},{"photo_id":"1394737100","filename":"file0"},{"photo_id":"1394737105","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737100":["hashtag1","hashtag2"]},{"1394737103":["hashtag1","hashtag2"]},{"1394737102":["hashtag1","hashtag2"]},{"1394737105":["hashtag1","hashtag2"]},{"1394737108":["hashtag1","hashtag2"]},{"1394737107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737100, 1394737103, 1394737102, 1394737105, 1394737108, 1394737107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31513333320618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:05:22.383773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_09_2563.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_12_3634.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_15_2520.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_19_3678.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_21_2783.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_24_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_09_2563.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_12_3634.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_15_2520.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_19_3678.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_21_2783.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_24_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737124","1394737115","1394737120","1394737117","1394737113","1394737122"],"photo_ids_order":["1394737113","1394737115","1394737117","1394737120","1394737122","1394737124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bbf58ac032ad7edeb02d9c70ae200c9.jpg","text":"TemporaryFile(/tmp/multipartBody1624757039003055872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287583058,"filename":"image_16112025_09_40_24_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7c44a13769b48485f5623df615c009a.jpg","text":"TemporaryFile(/tmp/multipartBody7887475645109689346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287583058,"filename":"image_16112025_09_40_12_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46efee656fd596c359c4fa4fd674264b.jpg","text":"TemporaryFile(/tmp/multipartBody932444733377340094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287583058,"filename":"image_16112025_09_40_19_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b466d9b1c1384fb32c37b426724abf73.jpg","text":"TemporaryFile(/tmp/multipartBody4336194437807699531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287583058,"filename":"image_16112025_09_40_15_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/742a246da62dc6dfc4e5b886be3425ad.jpg","text":"TemporaryFile(/tmp/multipartBody6503900404072250428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287583058,"filename":"image_16112025_09_40_09_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19d5e18637efc847436c35fb04f448e8.jpg","text":"TemporaryFile(/tmp/multipartBody954827750079334365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287583058,"filename":"image_16112025_09_40_21_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737117","file1":"1394737115","file0":"1394737113","file4":"1394737122","file5":"1394737124","file3":"1394737120"},"map_files_photo_id_array":[{"photo_id":"1394737124","filename":"file5"},{"photo_id":"1394737117","filename":"file2"},{"photo_id":"1394737122","filename":"file4"},{"photo_id":"1394737115","filename":"file1"},{"photo_id":"1394737113","filename":"file0"},{"photo_id":"1394737120","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737124":["hashtag1","hashtag2"]},{"1394737115":["hashtag1","hashtag2"]},{"1394737120":["hashtag1","hashtag2"]},{"1394737117":["hashtag1","hashtag2"]},{"1394737113":["hashtag1","hashtag2"]},{"1394737122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737124, 1394737115, 1394737120, 1394737117, 1394737113, 1394737122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83846640586853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:06:03.071355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_27_2754.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_30_3647.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_33_2634.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_36_2737.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_39_3597.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_42_2506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_27_2754.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_30_3647.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_33_2634.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_36_2737.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_39_3597.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_42_2506.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737127","1394737135","1394737129","1394737126","1394737131","1394737137"],"photo_ids_order":["1394737126","1394737127","1394737129","1394737131","1394737135","1394737137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d727dd2a0a436199d784e9df2b157dbb.jpg","text":"TemporaryFile(/tmp/multipartBody6859030896812175458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287623782,"filename":"image_16112025_09_40_30_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/169a4ecc0be8b177aec1dc092ecb8db9.jpg","text":"TemporaryFile(/tmp/multipartBody1865690905817570824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287623782,"filename":"image_16112025_09_40_39_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/015a9444720db4c33da5c1b4f537c6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5103733707622936431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287623782,"filename":"image_16112025_09_40_33_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d196e089eec611c9b11fa586c32a48b.jpg","text":"TemporaryFile(/tmp/multipartBody8699817216455335490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287623782,"filename":"image_16112025_09_40_27_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9731eb707ccc9eb682b7c9fc6e792a13.jpg","text":"TemporaryFile(/tmp/multipartBody7522483893187802042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287623782,"filename":"image_16112025_09_40_36_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b281aaf63a8b840aa56826fef5184d3.jpg","text":"TemporaryFile(/tmp/multipartBody7690309058030957099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287623782,"filename":"image_16112025_09_40_42_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737129","file1":"1394737127","file0":"1394737126","file4":"1394737135","file5":"1394737137","file3":"1394737131"},"map_files_photo_id_array":[{"photo_id":"1394737137","filename":"file5"},{"photo_id":"1394737129","filename":"file2"},{"photo_id":"1394737135","filename":"file4"},{"photo_id":"1394737127","filename":"file1"},{"photo_id":"1394737126","filename":"file0"},{"photo_id":"1394737131","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737127":["hashtag1","hashtag2"]},{"1394737135":["hashtag1","hashtag2"]},{"1394737129":["hashtag1","hashtag2"]},{"1394737126":["hashtag1","hashtag2"]},{"1394737131":["hashtag1","hashtag2"]},{"1394737137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737127, 1394737135, 1394737129, 1394737126, 1394737131, 1394737137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48516511917114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:06:42.684880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_45_3694.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_48_2743.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_51_2672.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_54_2676.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_57_3586.jpg', '/home/pi/Desktop/images/16112025/09/40/image_16112025_09_41_00_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_45_3694.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_48_2743.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_51_2672.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_54_2676.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_40_57_3586.jpg
/home/pi/Desktop/images/16112025/09/40/image_16112025_09_41_00_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737142","1394737145","1394737147","1394737141","1394737143","1394737140"],"photo_ids_order":["1394737140","1394737141","1394737142","1394737143","1394737145","1394737147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cbae09d2946bb04fe2564247021ea77.jpg","text":"TemporaryFile(/tmp/multipartBody3043729943680067104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287663311,"filename":"image_16112025_09_40_51_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b099f8ef05eb64bbfc5db4a99c453f7b.jpg","text":"TemporaryFile(/tmp/multipartBody863311818712908904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287663311,"filename":"image_16112025_09_40_57_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f3a84c57cb658e0a032545ca699840f.jpg","text":"TemporaryFile(/tmp/multipartBody8909792106944194696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287663311,"filename":"image_16112025_09_41_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/11/16/8ed5830ec18554c03876343cecccf091.jpg","text":"TemporaryFile(/tmp/multipartBody1158779915479392766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287663311,"filename":"image_16112025_09_40_48_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7e845f5f5a56910434ec14e30aaa007.jpg","text":"TemporaryFile(/tmp/multipartBody1087919678788502811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287663311,"filename":"image_16112025_09_40_54_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2cf3a72a21b3727206ad60d6983801c.jpg","text":"TemporaryFile(/tmp/multipartBody4603080095879768966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287663311,"filename":"image_16112025_09_40_45_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737142","file1":"1394737141","file0":"1394737140","file4":"1394737145","file5":"1394737147","file3":"1394737143"},"map_files_photo_id_array":[{"photo_id":"1394737147","filename":"file5"},{"photo_id":"1394737142","filename":"file2"},{"photo_id":"1394737145","filename":"file4"},{"photo_id":"1394737141","filename":"file1"},{"photo_id":"1394737140","filename":"file0"},{"photo_id":"1394737143","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737142":["hashtag1","hashtag2"]},{"1394737145":["hashtag1","hashtag2"]},{"1394737147":["hashtag1","hashtag2"]},{"1394737141":["hashtag1","hashtag2"]},{"1394737143":["hashtag1","hashtag2"]},{"1394737140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737142, 1394737145, 1394737147, 1394737141, 1394737143, 1394737140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3655731678009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:07:21.842428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_03_3530.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_06_2583.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_09_2763.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_12_3806.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_15_2672.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_18_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_03_3530.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_06_2583.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_09_2763.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_12_3806.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_15_2672.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_18_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737157","1394737159","1394737153","1394737156","1394737161","1394737158"],"photo_ids_order":["1394737153","1394737156","1394737157","1394737158","1394737159","1394737161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/622fa778272b57ce0773929ceb251d64.jpg","text":"TemporaryFile(/tmp/multipartBody6702967945176887895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287702492,"filename":"image_16112025_09_41_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/11/16/62a5af5ebdd888677cc7df8c05c55d2c.jpg","text":"TemporaryFile(/tmp/multipartBody299377601843716676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287702492,"filename":"image_16112025_09_41_15_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4195c45d3db2d00fee74e9f009eef1d.jpg","text":"TemporaryFile(/tmp/multipartBody940564682726453087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287702492,"filename":"image_16112025_09_41_03_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a31792aa2037629620aa2013522f739d.jpg","text":"TemporaryFile(/tmp/multipartBody5663161066313457041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287702492,"filename":"image_16112025_09_41_06_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b2d0b018db8d1f62648324672e84d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1972581507270043057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287702492,"filename":"image_16112025_09_41_18_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a878fb0690823f0fab70041a770842a.jpg","text":"TemporaryFile(/tmp/multipartBody3346157173035085808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287702492,"filename":"image_16112025_09_41_12_3806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737157","file1":"1394737156","file0":"1394737153","file4":"1394737159","file5":"1394737161","file3":"1394737158"},"map_files_photo_id_array":[{"photo_id":"1394737161","filename":"file5"},{"photo_id":"1394737157","filename":"file2"},{"photo_id":"1394737159","filename":"file4"},{"photo_id":"1394737156","filename":"file1"},{"photo_id":"1394737153","filename":"file0"},{"photo_id":"1394737158","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737157":["hashtag1","hashtag2"]},{"1394737159":["hashtag1","hashtag2"]},{"1394737153":["hashtag1","hashtag2"]},{"1394737156":["hashtag1","hashtag2"]},{"1394737161":["hashtag1","hashtag2"]},{"1394737158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737157, 1394737159, 1394737153, 1394737156, 1394737161, 1394737158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02390956878662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:08:02.544006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_21_2790.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_24_3753.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_27_2570.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_30_2691.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_33_3671.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_36_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_21_2790.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_24_3753.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_27_2570.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_30_2691.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_33_3671.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_36_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737166","1394737163","1394737171","1394737165","1394737168","1394737164"],"photo_ids_order":["1394737163","1394737164","1394737165","1394737166","1394737168","1394737171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e9bc4b3c59b1f2f310e3ee2aa72d116.jpg","text":"TemporaryFile(/tmp/multipartBody2741237428402017724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287743247,"filename":"image_16112025_09_41_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/11/16/ff4d33b850a998098de5abd816ce0bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5259795384351533902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287743247,"filename":"image_16112025_09_41_21_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b75dff1bba397c5418a6fe526f0b3b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1662345314282138101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287743247,"filename":"image_16112025_09_41_36_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/235741c2db4948e264a1322fa8b77e5e.jpg","text":"TemporaryFile(/tmp/multipartBody650786420949792276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287743247,"filename":"image_16112025_09_41_27_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5459191475112bfc10d79e06f40a721.jpg","text":"TemporaryFile(/tmp/multipartBody9215171629702680622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287743247,"filename":"image_16112025_09_41_33_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec103d6123ebd51968c7bc191bfa7f0a.jpg","text":"TemporaryFile(/tmp/multipartBody7267731112049754382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287743247,"filename":"image_16112025_09_41_24_3753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737165","file1":"1394737164","file0":"1394737163","file4":"1394737168","file5":"1394737171","file3":"1394737166"},"map_files_photo_id_array":[{"photo_id":"1394737171","filename":"file5"},{"photo_id":"1394737165","filename":"file2"},{"photo_id":"1394737168","filename":"file4"},{"photo_id":"1394737164","filename":"file1"},{"photo_id":"1394737163","filename":"file0"},{"photo_id":"1394737166","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737166":["hashtag1","hashtag2"]},{"1394737163":["hashtag1","hashtag2"]},{"1394737171":["hashtag1","hashtag2"]},{"1394737165":["hashtag1","hashtag2"]},{"1394737168":["hashtag1","hashtag2"]},{"1394737164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737166, 1394737163, 1394737171, 1394737165, 1394737168, 1394737164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65887475013733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:08:42.102825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_39_2722.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_42_3780.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_45_2714.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_48_2594.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_51_3613.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_54_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_39_2722.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_42_3780.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_45_2714.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_48_2594.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_51_3613.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_54_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737178","1394737183","1394737180","1394737182","1394737185","1394737184"],"photo_ids_order":["1394737178","1394737180","1394737182","1394737183","1394737184","1394737185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c17134351ccd98f6d6aa011d77c262c.jpg","text":"TemporaryFile(/tmp/multipartBody5111154625259880045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287782796,"filename":"image_16112025_09_41_39_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a4a62fc1b6459c1af4f244d97bc2881.jpg","text":"TemporaryFile(/tmp/multipartBody103040327639615831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287782796,"filename":"image_16112025_09_41_48_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9febb9e93762eab99eca74e0cffef74f.jpg","text":"TemporaryFile(/tmp/multipartBody8602119261956301759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287782796,"filename":"image_16112025_09_41_42_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/631a083091e709d519992727eb269e90.jpg","text":"TemporaryFile(/tmp/multipartBody1207429832899982597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287782796,"filename":"image_16112025_09_41_45_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18f792e999eedf59be71c9c476efca81.jpg","text":"TemporaryFile(/tmp/multipartBody2384314760998883441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287782796,"filename":"image_16112025_09_41_54_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de6c2c3fe9e6f11d50590ae1d19394c0.jpg","text":"TemporaryFile(/tmp/multipartBody7293433088027909238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287782796,"filename":"image_16112025_09_41_51_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737182","file1":"1394737180","file0":"1394737178","file4":"1394737184","file5":"1394737185","file3":"1394737183"},"map_files_photo_id_array":[{"photo_id":"1394737185","filename":"file5"},{"photo_id":"1394737182","filename":"file2"},{"photo_id":"1394737184","filename":"file4"},{"photo_id":"1394737180","filename":"file1"},{"photo_id":"1394737178","filename":"file0"},{"photo_id":"1394737183","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737178":["hashtag1","hashtag2"]},{"1394737183":["hashtag1","hashtag2"]},{"1394737180":["hashtag1","hashtag2"]},{"1394737182":["hashtag1","hashtag2"]},{"1394737185":["hashtag1","hashtag2"]},{"1394737184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737178, 1394737183, 1394737180, 1394737182, 1394737185, 1394737184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.869035959243774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:09:22.303086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_56_2658.jpg', '/home/pi/Desktop/images/16112025/09/41/image_16112025_09_42_00_3633.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_03_2712.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_05_2609.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_09_3749.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_12_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_41_56_2658.jpg
/home/pi/Desktop/images/16112025/09/41/image_16112025_09_42_00_3633.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_03_2712.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_05_2609.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_09_3749.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_12_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737203","1394737194","1394737197","1394737191","1394737200","1394737199"],"photo_ids_order":["1394737191","1394737194","1394737197","1394737199","1394737200","1394737203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a12f1ebf177774ce325209f69410f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1882559140202813279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287822960,"filename":"image_16112025_09_42_12_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff28ef2a64526b7ad43dcccce4c50ea2.jpg","text":"TemporaryFile(/tmp/multipartBody8838065854051131992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287822960,"filename":"image_16112025_09_42_00_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4fda2f377a05784cd89dfcfc8699932.jpg","text":"TemporaryFile(/tmp/multipartBody5025075659579177407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287822960,"filename":"image_16112025_09_42_03_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f19f349c0defb2e2e69ffb625666043a.jpg","text":"TemporaryFile(/tmp/multipartBody5828981759828239629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287822960,"filename":"image_16112025_09_41_56_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12583b661e45f30033d7e8e7e58247b0.jpg","text":"TemporaryFile(/tmp/multipartBody2057424685025773076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287822960,"filename":"image_16112025_09_42_09_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53e701f449c2e1bfd5a631958b4135bf.jpg","text":"TemporaryFile(/tmp/multipartBody999520586446172923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287822960,"filename":"image_16112025_09_42_05_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737197","file1":"1394737194","file0":"1394737191","file4":"1394737200","file5":"1394737203","file3":"1394737199"},"map_files_photo_id_array":[{"photo_id":"1394737203","filename":"file5"},{"photo_id":"1394737197","filename":"file2"},{"photo_id":"1394737200","filename":"file4"},{"photo_id":"1394737194","filename":"file1"},{"photo_id":"1394737191","filename":"file0"},{"photo_id":"1394737199","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737203":["hashtag1","hashtag2"]},{"1394737194":["hashtag1","hashtag2"]},{"1394737197":["hashtag1","hashtag2"]},{"1394737191":["hashtag1","hashtag2"]},{"1394737200":["hashtag1","hashtag2"]},{"1394737199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737203, 1394737194, 1394737197, 1394737191, 1394737200, 1394737199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07931208610535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:10:02.952190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_14_2559.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_18_3566.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_21_2750.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_24_3511.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_27_2538.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_29_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_14_2559.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_18_3566.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_21_2750.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_24_3511.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_27_2538.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_29_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737218","1394737211","1394737214","1394737210","1394737212","1394737209"],"photo_ids_order":["1394737209","1394737210","1394737211","1394737212","1394737214","1394737218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72305c24ea87211703b09281493946b1.jpg","text":"TemporaryFile(/tmp/multipartBody6539674083438589212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287863667,"filename":"image_16112025_09_42_29_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efa4aba0b90a0a1be05df4568b8e8df0.jpg","text":"TemporaryFile(/tmp/multipartBody6355666789054470503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287863667,"filename":"image_16112025_09_42_21_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff5c3247c9cd677efcf770fa0d6fca75.jpg","text":"TemporaryFile(/tmp/multipartBody1085162367648058281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287863667,"filename":"image_16112025_09_42_27_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/926deda5240ad4cc599856cba0b976b4.jpg","text":"TemporaryFile(/tmp/multipartBody880828489939035378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287863667,"filename":"image_16112025_09_42_18_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/911d956888f408b95cbd8337f345db36.jpg","text":"TemporaryFile(/tmp/multipartBody8492713570039313936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287863667,"filename":"image_16112025_09_42_24_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5c68d6b8e48b2a5b7e929fd4c4da08f.jpg","text":"TemporaryFile(/tmp/multipartBody1532481783858100617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287863667,"filename":"image_16112025_09_42_14_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737211","file1":"1394737210","file0":"1394737209","file4":"1394737214","file5":"1394737218","file3":"1394737212"},"map_files_photo_id_array":[{"photo_id":"1394737218","filename":"file5"},{"photo_id":"1394737211","filename":"file2"},{"photo_id":"1394737214","filename":"file4"},{"photo_id":"1394737210","filename":"file1"},{"photo_id":"1394737209","filename":"file0"},{"photo_id":"1394737212","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737218":["hashtag1","hashtag2"]},{"1394737211":["hashtag1","hashtag2"]},{"1394737214":["hashtag1","hashtag2"]},{"1394737210":["hashtag1","hashtag2"]},{"1394737212":["hashtag1","hashtag2"]},{"1394737209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737218, 1394737211, 1394737214, 1394737210, 1394737212, 1394737209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76374840736389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:10:42.640948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_33_3695.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_38_2793.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_42_3760.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_45_2735.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_48_2622.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_50_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_33_3695.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_38_2793.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_42_3760.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_45_2735.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_48_2622.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_50_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737229","1394737232","1394737228","1394737225","1394737230","1394737227"],"photo_ids_order":["1394737225","1394737227","1394737228","1394737229","1394737230","1394737232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e8a938c8c0a93d8bf4d016692a32119.jpg","text":"TemporaryFile(/tmp/multipartBody2645749354537453985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287903281,"filename":"image_16112025_09_42_45_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f1ca958e1a3c137f3ea45b7af760a81.jpg","text":"TemporaryFile(/tmp/multipartBody7516790284134363571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287903281,"filename":"image_16112025_09_42_50_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de8327f1bcb43792845d3b04d0a89bc6.jpg","text":"TemporaryFile(/tmp/multipartBody1359282783333848164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287903281,"filename":"image_16112025_09_42_42_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0542e259e9e06fee6414a5bc2be5337.jpg","text":"TemporaryFile(/tmp/multipartBody980789363824176662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287903281,"filename":"image_16112025_09_42_33_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92cab9fb54d32d8940b8572055ec3f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4594094275720832986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287903281,"filename":"image_16112025_09_42_48_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cd734f0224758e43ec4647c96fc6ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1994967726302899914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287903281,"filename":"image_16112025_09_42_38_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737228","file1":"1394737227","file0":"1394737225","file4":"1394737230","file5":"1394737232","file3":"1394737229"},"map_files_photo_id_array":[{"photo_id":"1394737232","filename":"file5"},{"photo_id":"1394737228","filename":"file2"},{"photo_id":"1394737230","filename":"file4"},{"photo_id":"1394737227","filename":"file1"},{"photo_id":"1394737225","filename":"file0"},{"photo_id":"1394737229","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737229":["hashtag1","hashtag2"]},{"1394737232":["hashtag1","hashtag2"]},{"1394737228":["hashtag1","hashtag2"]},{"1394737225":["hashtag1","hashtag2"]},{"1394737230":["hashtag1","hashtag2"]},{"1394737227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737229, 1394737232, 1394737228, 1394737225, 1394737230, 1394737227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6807074546814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:11:21.903636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_54_3696.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_57_2730.jpg', '/home/pi/Desktop/images/16112025/09/42/image_16112025_09_43_00_2763.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_03_3673.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_06_2785.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_09_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_54_3696.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_42_57_2730.jpg
/home/pi/Desktop/images/16112025/09/42/image_16112025_09_43_00_2763.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_03_3673.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_06_2785.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_09_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737235","1394737238","1394737240","1394737243","1394737242","1394737245"],"photo_ids_order":["1394737235","1394737238","1394737240","1394737242","1394737243","1394737245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2607cb19cfe2a261426b63066e0be30.jpg","text":"TemporaryFile(/tmp/multipartBody5909675101476844305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287942559,"filename":"image_16112025_09_42_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/11/16/dbbe2fdfafb0cd140fe5f16fe7a5c04c.jpg","text":"TemporaryFile(/tmp/multipartBody7906324974623911513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287942559,"filename":"image_16112025_09_42_57_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b8c294af6fe024fc32470dc3f1ec02b.jpg","text":"TemporaryFile(/tmp/multipartBody1652830444293358497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287942559,"filename":"image_16112025_09_43_00_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/548a2c379f091c38aa4159e1159af009.jpg","text":"TemporaryFile(/tmp/multipartBody6728985499583901761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287942559,"filename":"image_16112025_09_43_06_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/797c615b5c84ec497a3718763258ad5d.jpg","text":"TemporaryFile(/tmp/multipartBody555714838630152398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287942559,"filename":"image_16112025_09_43_03_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/571ab733523693cd1af0c5ba5a931684.jpg","text":"TemporaryFile(/tmp/multipartBody1059715863780705820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763287942559,"filename":"image_16112025_09_43_09_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737240","file1":"1394737238","file0":"1394737235","file4":"1394737243","file5":"1394737245","file3":"1394737242"},"map_files_photo_id_array":[{"photo_id":"1394737245","filename":"file5"},{"photo_id":"1394737240","filename":"file2"},{"photo_id":"1394737243","filename":"file4"},{"photo_id":"1394737238","filename":"file1"},{"photo_id":"1394737235","filename":"file0"},{"photo_id":"1394737242","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737235":["hashtag1","hashtag2"]},{"1394737238":["hashtag1","hashtag2"]},{"1394737240":["hashtag1","hashtag2"]},{"1394737243":["hashtag1","hashtag2"]},{"1394737242":["hashtag1","hashtag2"]},{"1394737245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737235, 1394737238, 1394737240, 1394737243, 1394737242, 1394737245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37593340873718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:12:02.584156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_12_3527.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_15_2677.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_17_2640.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_21_3579.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_24_2649.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_26_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_12_3527.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_15_2677.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_17_2640.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_21_3579.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_24_2649.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_26_2568.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.6096878051757812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:12:22.247707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_12_3527.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_15_2677.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_17_2640.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_21_3579.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_24_2649.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_26_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_12_3527.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_15_2677.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_17_2640.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_21_3579.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_24_2649.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_26_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737265","1394737264","1394737258","1394737267","1394737261","1394737263"],"photo_ids_order":["1394737258","1394737261","1394737263","1394737264","1394737265","1394737267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16adb9b88894abe5f73db506d298e0cf.jpg","text":"TemporaryFile(/tmp/multipartBody753655836034615610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288002997,"filename":"image_16112025_09_43_24_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d406599f03532d5208c36390bab2d051.jpg","text":"TemporaryFile(/tmp/multipartBody2063906113466808751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288002997,"filename":"image_16112025_09_43_21_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96b1491736f46b79351eae4a188f4aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2065015708356970707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288002997,"filename":"image_16112025_09_43_12_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0027347d8e87c7784f857f712e96c026.jpg","text":"TemporaryFile(/tmp/multipartBody2992740276003471877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288002997,"filename":"image_16112025_09_43_26_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b292a81edd833bd3660f1ba92623b8c3.jpg","text":"TemporaryFile(/tmp/multipartBody5918255980091309841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288002997,"filename":"image_16112025_09_43_15_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5083d048290b1589ea2aa6d3593d059e.jpg","text":"TemporaryFile(/tmp/multipartBody4919913111944469200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288002997,"filename":"image_16112025_09_43_17_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737263","file1":"1394737261","file0":"1394737258","file4":"1394737265","file5":"1394737267","file3":"1394737264"},"map_files_photo_id_array":[{"photo_id":"1394737267","filename":"file5"},{"photo_id":"1394737263","filename":"file2"},{"photo_id":"1394737265","filename":"file4"},{"photo_id":"1394737261","filename":"file1"},{"photo_id":"1394737258","filename":"file0"},{"photo_id":"1394737264","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737265":["hashtag1","hashtag2"]},{"1394737264":["hashtag1","hashtag2"]},{"1394737258":["hashtag1","hashtag2"]},{"1394737267":["hashtag1","hashtag2"]},{"1394737261":["hashtag1","hashtag2"]},{"1394737263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737265, 1394737264, 1394737258, 1394737267, 1394737261, 1394737263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17820453643799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:13:02.977886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_30_3768.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_33_2681.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_35_2611.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_42_6579.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_44_1759.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_45_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_30_3768.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_33_2681.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_35_2611.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_42_6579.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_44_1759.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_45_1584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737271","1394737280","1394737274","1394737276","1394737273","1394737272"],"photo_ids_order":["1394737271","1394737272","1394737273","1394737274","1394737276","1394737280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb619b9bb739621eb84972cba170b60d.jpg","text":"TemporaryFile(/tmp/multipartBody9129711580352709454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288043765,"filename":"image_16112025_09_43_30_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9edf515577d17b49597d9d9b72ae45ef.jpg","text":"TemporaryFile(/tmp/multipartBody1861913702874273054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288043765,"filename":"image_16112025_09_43_45_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33ff86cbb0c2c5cd04302bb0449d5398.jpg","text":"TemporaryFile(/tmp/multipartBody5822873826272492552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288043765,"filename":"image_16112025_09_43_42_6579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d04e39153c2d29a978b5b1115b10802c.jpg","text":"TemporaryFile(/tmp/multipartBody254983826244423202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288043765,"filename":"image_16112025_09_43_44_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da2cf089f466da2a497d265ad531ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody2072215885137474010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288043765,"filename":"image_16112025_09_43_35_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e74a466142e773d7281d13c5623d03a0.jpg","text":"TemporaryFile(/tmp/multipartBody2140090067534674850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288043765,"filename":"image_16112025_09_43_33_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737273","file1":"1394737272","file0":"1394737271","file4":"1394737276","file5":"1394737280","file3":"1394737274"},"map_files_photo_id_array":[{"photo_id":"1394737280","filename":"file5"},{"photo_id":"1394737273","filename":"file2"},{"photo_id":"1394737276","filename":"file4"},{"photo_id":"1394737272","filename":"file1"},{"photo_id":"1394737271","filename":"file0"},{"photo_id":"1394737274","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737271":["hashtag1","hashtag2"]},{"1394737280":["hashtag1","hashtag2"]},{"1394737274":["hashtag1","hashtag2"]},{"1394737276":["hashtag1","hashtag2"]},{"1394737273":["hashtag1","hashtag2"]},{"1394737272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737271, 1394737280, 1394737274, 1394737276, 1394737273, 1394737272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08045506477356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:13:42.464879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_48_2611.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_51_2740.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_53_2650.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_57_3559.jpg', '/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_59_2624.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_03_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_48_2611.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_51_2740.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_53_2650.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_57_3559.jpg
/home/pi/Desktop/images/16112025/09/43/image_16112025_09_43_59_2624.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_03_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737289","1394737291","1394737288","1394737293","1394737287","1394737284"],"photo_ids_order":["1394737284","1394737287","1394737288","1394737289","1394737291","1394737293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49d69434d7df27569798d34aa05c740a.jpg","text":"TemporaryFile(/tmp/multipartBody2543595784708521308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288083111,"filename":"image_16112025_09_43_57_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe645429b96d584b0674135c16237790.jpg","text":"TemporaryFile(/tmp/multipartBody4490772754557861106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288083111,"filename":"image_16112025_09_43_59_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d388f51e2e51ca3bed7eb89c361ad02.jpg","text":"TemporaryFile(/tmp/multipartBody1039166907532244181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288083111,"filename":"image_16112025_09_43_53_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6668cd78399066b4833febd1426d5731.jpg","text":"TemporaryFile(/tmp/multipartBody6857031089547484461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288083111,"filename":"image_16112025_09_44_03_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9520854a553a565cf4e616a879fc688b.jpg","text":"TemporaryFile(/tmp/multipartBody8633859201707161391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288083111,"filename":"image_16112025_09_43_51_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9cd93742f8a6177f1fee8676044e2ee.jpg","text":"TemporaryFile(/tmp/multipartBody5082066742101347165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288083111,"filename":"image_16112025_09_43_48_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737288","file1":"1394737287","file0":"1394737284","file4":"1394737291","file5":"1394737293","file3":"1394737289"},"map_files_photo_id_array":[{"photo_id":"1394737293","filename":"file5"},{"photo_id":"1394737288","filename":"file2"},{"photo_id":"1394737291","filename":"file4"},{"photo_id":"1394737287","filename":"file1"},{"photo_id":"1394737284","filename":"file0"},{"photo_id":"1394737289","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737289":["hashtag1","hashtag2"]},{"1394737291":["hashtag1","hashtag2"]},{"1394737288":["hashtag1","hashtag2"]},{"1394737293":["hashtag1","hashtag2"]},{"1394737287":["hashtag1","hashtag2"]},{"1394737284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737289, 1394737291, 1394737288, 1394737293, 1394737287, 1394737284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.090972900390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:14:22.709809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_06_2774.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_09_2720.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_11_2850.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_14_3003.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_18_3650.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_21_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_06_2774.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_09_2720.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_11_2850.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_14_3003.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_18_3650.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_21_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737302","1394737301","1394737303","1394737305","1394737308","1394737298"],"photo_ids_order":["1394737298","1394737301","1394737302","1394737303","1394737305","1394737308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/282723deacc57917ae320dd6f0d2c6b5.jpg","text":"TemporaryFile(/tmp/multipartBody1916789792111874905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288123409,"filename":"image_16112025_09_44_11_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce2400381f7731567d3adfa98711a5da.jpg","text":"TemporaryFile(/tmp/multipartBody7503452539849413673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288123409,"filename":"image_16112025_09_44_09_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b47380e830046d752732744536b8d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7019677387976328942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288123409,"filename":"image_16112025_09_44_14_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47dc2fd4dd33175d764a796b6c0dc5bb.jpg","text":"TemporaryFile(/tmp/multipartBody6308913555184731886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288123409,"filename":"image_16112025_09_44_18_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31754b7500c1e2dd782286552a672e45.jpg","text":"TemporaryFile(/tmp/multipartBody6004082829953443070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288123409,"filename":"image_16112025_09_44_21_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19b339234462ea516438f351b1b54c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6677560233299259149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288123409,"filename":"image_16112025_09_44_06_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737302","file1":"1394737301","file0":"1394737298","file4":"1394737305","file5":"1394737308","file3":"1394737303"},"map_files_photo_id_array":[{"photo_id":"1394737308","filename":"file5"},{"photo_id":"1394737302","filename":"file2"},{"photo_id":"1394737305","filename":"file4"},{"photo_id":"1394737301","filename":"file1"},{"photo_id":"1394737298","filename":"file0"},{"photo_id":"1394737303","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737302":["hashtag1","hashtag2"]},{"1394737301":["hashtag1","hashtag2"]},{"1394737303":["hashtag1","hashtag2"]},{"1394737305":["hashtag1","hashtag2"]},{"1394737308":["hashtag1","hashtag2"]},{"1394737298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737302, 1394737301, 1394737303, 1394737305, 1394737308, 1394737298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.742223024368286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:15:02.707815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_24_2746.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_26_2717.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_30_3672.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_33_2593.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_35_2795.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_39_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_24_2746.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_26_2717.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_30_3672.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_33_2593.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_35_2795.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_39_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737316","1394737319","1394737313","1394737312","1394737311","1394737314"],"photo_ids_order":["1394737311","1394737312","1394737313","1394737314","1394737316","1394737319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c8256ca2bd434389766833d1a803a56.jpg","text":"TemporaryFile(/tmp/multipartBody3885867450296664073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288163427,"filename":"image_16112025_09_44_35_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/480a98ae1b8bf1e54ce6d1544b90cf67.jpg","text":"TemporaryFile(/tmp/multipartBody8600349626176924025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288163427,"filename":"image_16112025_09_44_39_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6557b6e263a3778f0d197735880bcbeb.jpg","text":"TemporaryFile(/tmp/multipartBody7583208311240623779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288163427,"filename":"image_16112025_09_44_30_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b019dac2917b8e3c361522ff68ae959.jpg","text":"TemporaryFile(/tmp/multipartBody3578939647384628941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288163427,"filename":"image_16112025_09_44_26_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eec406477086d94a50588389f5564c80.jpg","text":"TemporaryFile(/tmp/multipartBody4897287783024815218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288163427,"filename":"image_16112025_09_44_24_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3bc735e541046bdbbd00959f7878dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5518272359305457263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288163427,"filename":"image_16112025_09_44_33_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737313","file1":"1394737312","file0":"1394737311","file4":"1394737316","file5":"1394737319","file3":"1394737314"},"map_files_photo_id_array":[{"photo_id":"1394737319","filename":"file5"},{"photo_id":"1394737313","filename":"file2"},{"photo_id":"1394737316","filename":"file4"},{"photo_id":"1394737312","filename":"file1"},{"photo_id":"1394737311","filename":"file0"},{"photo_id":"1394737314","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737316":["hashtag1","hashtag2"]},{"1394737319":["hashtag1","hashtag2"]},{"1394737313":["hashtag1","hashtag2"]},{"1394737312":["hashtag1","hashtag2"]},{"1394737311":["hashtag1","hashtag2"]},{"1394737314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737316, 1394737319, 1394737313, 1394737312, 1394737311, 1394737314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98170256614685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:15:41.964363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_42_2604.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_44_2662.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_51_2725.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_54_3518.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_57_2542.jpg', '/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_59_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_42_2604.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_44_2662.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_51_2725.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_54_3518.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_57_2542.jpg
/home/pi/Desktop/images/16112025/09/44/image_16112025_09_44_59_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737334","1394737337","1394737330","1394737333","1394737336","1394737335"],"photo_ids_order":["1394737330","1394737333","1394737334","1394737335","1394737336","1394737337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/913e52526b7d0b284c38a88a732e7072.jpg","text":"TemporaryFile(/tmp/multipartBody7801617681376559796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288202607,"filename":"image_16112025_09_44_51_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdb51c0849c2cbb4c67d421275749b82.jpg","text":"TemporaryFile(/tmp/multipartBody538327175295882162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288202607,"filename":"image_16112025_09_44_59_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04f6ba182290b5ce7ed71773c51aef20.jpg","text":"TemporaryFile(/tmp/multipartBody3838987815965331184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288202607,"filename":"image_16112025_09_44_42_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc1cdb96835236c1387ddb8dcb782eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2894055058214992229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288202607,"filename":"image_16112025_09_44_44_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ead5cb5cf9f07669521df558f008e471.jpg","text":"TemporaryFile(/tmp/multipartBody4185449121976973253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288202607,"filename":"image_16112025_09_44_57_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ceaa26c49ac8c6e208a95b751573b0e.jpg","text":"TemporaryFile(/tmp/multipartBody8614938154903619215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288202607,"filename":"image_16112025_09_44_54_3518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737334","file1":"1394737333","file0":"1394737330","file4":"1394737336","file5":"1394737337","file3":"1394737335"},"map_files_photo_id_array":[{"photo_id":"1394737337","filename":"file5"},{"photo_id":"1394737334","filename":"file2"},{"photo_id":"1394737336","filename":"file4"},{"photo_id":"1394737333","filename":"file1"},{"photo_id":"1394737330","filename":"file0"},{"photo_id":"1394737335","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737334":["hashtag1","hashtag2"]},{"1394737337":["hashtag1","hashtag2"]},{"1394737330":["hashtag1","hashtag2"]},{"1394737333":["hashtag1","hashtag2"]},{"1394737336":["hashtag1","hashtag2"]},{"1394737335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737334, 1394737337, 1394737330, 1394737333, 1394737336, 1394737335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59984827041626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:16:22.261477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_03_3666.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_06_2743.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_08_2565.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_12_3598.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_14_2596.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_17_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_03_3666.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_06_2743.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_08_2565.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_12_3598.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_14_2596.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_17_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737346","1394737339","1394737354","1394737348","1394737342","1394737350"],"photo_ids_order":["1394737339","1394737342","1394737346","1394737348","1394737350","1394737354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dec7824a1fcdca35bf5659b1fb9871fa.jpg","text":"TemporaryFile(/tmp/multipartBody1230286446688248764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288242893,"filename":"image_16112025_09_45_08_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ef161bac9a072bd9a578e42b3a3159c.jpg","text":"TemporaryFile(/tmp/multipartBody5753558528644593989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288242893,"filename":"image_16112025_09_45_03_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f61f49d137bd97d3eb179a0549ba54f6.jpg","text":"TemporaryFile(/tmp/multipartBody853448806087891198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288242893,"filename":"image_16112025_09_45_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/11/16/4ab5a16dd7b866583f1806ff256925c7.jpg","text":"TemporaryFile(/tmp/multipartBody7782908540054171081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288242893,"filename":"image_16112025_09_45_12_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61bf92fe0909b19abfcc9e8fab1c6767.jpg","text":"TemporaryFile(/tmp/multipartBody4643555427360056114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288242893,"filename":"image_16112025_09_45_06_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/498bd0fa60a49f1dba4d1f76044babf6.jpg","text":"TemporaryFile(/tmp/multipartBody5631142121556506708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288242893,"filename":"image_16112025_09_45_14_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737346","file1":"1394737342","file0":"1394737339","file4":"1394737350","file5":"1394737354","file3":"1394737348"},"map_files_photo_id_array":[{"photo_id":"1394737354","filename":"file5"},{"photo_id":"1394737346","filename":"file2"},{"photo_id":"1394737350","filename":"file4"},{"photo_id":"1394737342","filename":"file1"},{"photo_id":"1394737339","filename":"file0"},{"photo_id":"1394737348","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737346":["hashtag1","hashtag2"]},{"1394737339":["hashtag1","hashtag2"]},{"1394737354":["hashtag1","hashtag2"]},{"1394737348":["hashtag1","hashtag2"]},{"1394737342":["hashtag1","hashtag2"]},{"1394737350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737346, 1394737339, 1394737354, 1394737348, 1394737342, 1394737350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53333353996277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:17:03.050943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_21_3777.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_24_2790.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_26_2560.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_30_3506.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_32_2588.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_35_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_21_3777.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_24_2790.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_26_2560.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_30_3506.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_32_2588.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_35_2855.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737367","1394737358","1394737357","1394737362","1394737356","1394737359"],"photo_ids_order":["1394737356","1394737357","1394737358","1394737359","1394737362","1394737367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35165acabbe28c2dbac69928110e7857.jpg","text":"TemporaryFile(/tmp/multipartBody5653077016751596099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288283790,"filename":"image_16112025_09_45_35_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfbb4521d4af3b8114cae7ae3d90a306.jpg","text":"TemporaryFile(/tmp/multipartBody8481231395773446732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288283790,"filename":"image_16112025_09_45_26_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5aed07784d7cc1386c57a350928d8870.jpg","text":"TemporaryFile(/tmp/multipartBody1685749467465374956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288283790,"filename":"image_16112025_09_45_24_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17d2dfead109bbf77bfb100f23df4f4b.jpg","text":"TemporaryFile(/tmp/multipartBody71728870973770718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288283790,"filename":"image_16112025_09_45_32_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/371c2e5762650743436baa9692ec2173.jpg","text":"TemporaryFile(/tmp/multipartBody2920247923927600345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288283790,"filename":"image_16112025_09_45_21_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/205d9647ef3cd89e7d63918dcc4f4a8c.jpg","text":"TemporaryFile(/tmp/multipartBody3526365324340094832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288283790,"filename":"image_16112025_09_45_30_3506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737358","file1":"1394737357","file0":"1394737356","file4":"1394737362","file5":"1394737367","file3":"1394737359"},"map_files_photo_id_array":[{"photo_id":"1394737367","filename":"file5"},{"photo_id":"1394737358","filename":"file2"},{"photo_id":"1394737362","filename":"file4"},{"photo_id":"1394737357","filename":"file1"},{"photo_id":"1394737356","filename":"file0"},{"photo_id":"1394737359","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737367":["hashtag1","hashtag2"]},{"1394737358":["hashtag1","hashtag2"]},{"1394737357":["hashtag1","hashtag2"]},{"1394737362":["hashtag1","hashtag2"]},{"1394737356":["hashtag1","hashtag2"]},{"1394737359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737367, 1394737358, 1394737357, 1394737362, 1394737356, 1394737359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10866451263428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:17:42.445983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_39_3632.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_42_2802.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_44_2646.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_47_2792.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_53_2680.jpg', '/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_56_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_39_3632.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_42_2802.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_44_2646.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_47_2792.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_53_2680.jpg
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_45_56_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737379","1394737406","1394737390","1394737408","1394737405","1394737407"],"photo_ids_order":["1394737379","1394737390","1394737405","1394737406","1394737407","1394737408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58e27244389f8505f2ad78da751ad263.jpg","text":"TemporaryFile(/tmp/multipartBody432358122059881856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288323090,"filename":"image_16112025_09_45_39_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b882918ba93f3a791e4ffa894401c3ea.jpg","text":"TemporaryFile(/tmp/multipartBody487132611176038872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288323090,"filename":"image_16112025_09_45_47_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ae95b1411a387ef338d8d48469026e4.jpg","text":"TemporaryFile(/tmp/multipartBody5793286953729968977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288323090,"filename":"image_16112025_09_45_42_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cb9265c1acb601f0b9ae80b9ccab945.jpg","text":"TemporaryFile(/tmp/multipartBody3158918453898532549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288323090,"filename":"image_16112025_09_45_56_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7c55736901b5a86d3223c92cc7766dc.jpg","text":"TemporaryFile(/tmp/multipartBody7569177272647605762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288323090,"filename":"image_16112025_09_45_44_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e3df95403f1e3b446c5464c35ccd67c.jpg","text":"TemporaryFile(/tmp/multipartBody6686041424990690815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288323090,"filename":"image_16112025_09_45_53_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737405","file1":"1394737390","file0":"1394737379","file4":"1394737407","file5":"1394737408","file3":"1394737406"},"map_files_photo_id_array":[{"photo_id":"1394737408","filename":"file5"},{"photo_id":"1394737405","filename":"file2"},{"photo_id":"1394737407","filename":"file4"},{"photo_id":"1394737390","filename":"file1"},{"photo_id":"1394737379","filename":"file0"},{"photo_id":"1394737406","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737379":["hashtag1","hashtag2"]},{"1394737406":["hashtag1","hashtag2"]},{"1394737390":["hashtag1","hashtag2"]},{"1394737408":["hashtag1","hashtag2"]},{"1394737405":["hashtag1","hashtag2"]},{"1394737407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737379, 1394737406, 1394737390, 1394737408, 1394737405, 1394737407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54540729522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:18:22.705533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/45/image_16112025_09_46_00_3626.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_02_2669.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_06_3637.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_09_2673.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_11_2721.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_14_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/45/image_16112025_09_46_00_3626.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_02_2669.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_06_3637.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_09_2673.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_11_2721.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_14_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737421","1394737424","1394737414","1394737417","1394737422","1394737419"],"photo_ids_order":["1394737414","1394737417","1394737419","1394737421","1394737422","1394737424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dd6b33ba43fb2eea410063196782530.jpg","text":"TemporaryFile(/tmp/multipartBody1215201133753605706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288363366,"filename":"image_16112025_09_46_09_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/038102cf26ea374062449a8fef6ded73.jpg","text":"TemporaryFile(/tmp/multipartBody5428664374424708096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288363366,"filename":"image_16112025_09_46_14_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62c4faae1142007b8010bc445febc60e.jpg","text":"TemporaryFile(/tmp/multipartBody3771016223338245197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288363366,"filename":"image_16112025_09_46_00_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e979ff611737b991662c81b83832c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody6194717513779628152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288363366,"filename":"image_16112025_09_46_02_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73d215fe5932f7eccb53b16395f1196d.jpg","text":"TemporaryFile(/tmp/multipartBody2320351183420784162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288363366,"filename":"image_16112025_09_46_11_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8708dbe2a73a6e3d1c3770c00069030c.jpg","text":"TemporaryFile(/tmp/multipartBody5987430216294203245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288363366,"filename":"image_16112025_09_46_06_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737419","file1":"1394737417","file0":"1394737414","file4":"1394737422","file5":"1394737424","file3":"1394737421"},"map_files_photo_id_array":[{"photo_id":"1394737424","filename":"file5"},{"photo_id":"1394737419","filename":"file2"},{"photo_id":"1394737422","filename":"file4"},{"photo_id":"1394737417","filename":"file1"},{"photo_id":"1394737414","filename":"file0"},{"photo_id":"1394737421","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737421":["hashtag1","hashtag2"]},{"1394737424":["hashtag1","hashtag2"]},{"1394737414":["hashtag1","hashtag2"]},{"1394737417":["hashtag1","hashtag2"]},{"1394737422":["hashtag1","hashtag2"]},{"1394737419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737421, 1394737424, 1394737414, 1394737417, 1394737422, 1394737419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.363784313201904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:19:02.935172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_18_3563.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_20_2622.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_24_3545.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_26_2478.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_30_3637.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_32_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_18_3563.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_20_2622.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_24_3545.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_26_2478.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_30_3637.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_32_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737478","1394737472","1394737475","1394737469","1394737471","1394737473"],"photo_ids_order":["1394737469","1394737471","1394737472","1394737473","1394737475","1394737478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf8f5918ced793c961f01759f4bd72d9.jpg","text":"TemporaryFile(/tmp/multipartBody3108249175873483902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288403752,"filename":"image_16112025_09_46_32_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0af966d353053453de463f60e40b8cd7.jpg","text":"TemporaryFile(/tmp/multipartBody9076611225030864088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288403752,"filename":"image_16112025_09_46_24_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33354e043858689e99d0d5ff9965c880.jpg","text":"TemporaryFile(/tmp/multipartBody8862728345794754084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288403752,"filename":"image_16112025_09_46_30_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ccb0a78b4f0eaf8d188047abf186aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1010110996571549288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288403752,"filename":"image_16112025_09_46_18_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20907475a70c819dcb5a57107ba42b67.jpg","text":"TemporaryFile(/tmp/multipartBody3555624131109857574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288403752,"filename":"image_16112025_09_46_20_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb7c4e3f97faa4b29749c28a6564ce31.jpg","text":"TemporaryFile(/tmp/multipartBody8655413303261976937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288403752,"filename":"image_16112025_09_46_26_2478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737472","file1":"1394737471","file0":"1394737469","file4":"1394737475","file5":"1394737478","file3":"1394737473"},"map_files_photo_id_array":[{"photo_id":"1394737478","filename":"file5"},{"photo_id":"1394737472","filename":"file2"},{"photo_id":"1394737475","filename":"file4"},{"photo_id":"1394737471","filename":"file1"},{"photo_id":"1394737469","filename":"file0"},{"photo_id":"1394737473","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737478":["hashtag1","hashtag2"]},{"1394737472":["hashtag1","hashtag2"]},{"1394737475":["hashtag1","hashtag2"]},{"1394737469":["hashtag1","hashtag2"]},{"1394737471":["hashtag1","hashtag2"]},{"1394737473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737478, 1394737472, 1394737475, 1394737469, 1394737471, 1394737473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55680465698242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:19:42.014296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_35_2566.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_39_3797.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_41_2557.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_44_2866.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_47_2647.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_51_3866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_35_2566.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_39_3797.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_41_2557.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_44_2866.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_47_2647.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_51_3866.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737484","1394737487","1394737486","1394737489","1394737480","1394737485"],"photo_ids_order":["1394737480","1394737484","1394737485","1394737486","1394737487","1394737489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b62d52d1e1f72a2cc5fc49bede9eb7c.jpg","text":"TemporaryFile(/tmp/multipartBody8691732892953967400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288442637,"filename":"image_16112025_09_46_39_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2eb9cacbd1cb6577f9ad7b1765824ce.jpg","text":"TemporaryFile(/tmp/multipartBody917838628467021921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288442637,"filename":"image_16112025_09_46_47_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45f3176009118cf98a4f584d34b14f2b.jpg","text":"TemporaryFile(/tmp/multipartBody2164007178158528108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288442637,"filename":"image_16112025_09_46_44_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a291fbd686cb1007497d9e6ae192544.jpg","text":"TemporaryFile(/tmp/multipartBody827079566656960382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288442637,"filename":"image_16112025_09_46_51_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99031c839a064a19c868f07536ee4a39.jpg","text":"TemporaryFile(/tmp/multipartBody7189738576949236665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288442637,"filename":"image_16112025_09_46_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/11/16/94948f616a114d443860f57123ce7486.jpg","text":"TemporaryFile(/tmp/multipartBody1969704038519764719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288442637,"filename":"image_16112025_09_46_41_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737485","file1":"1394737484","file0":"1394737480","file4":"1394737487","file5":"1394737489","file3":"1394737486"},"map_files_photo_id_array":[{"photo_id":"1394737489","filename":"file5"},{"photo_id":"1394737485","filename":"file2"},{"photo_id":"1394737487","filename":"file4"},{"photo_id":"1394737484","filename":"file1"},{"photo_id":"1394737480","filename":"file0"},{"photo_id":"1394737486","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737484":["hashtag1","hashtag2"]},{"1394737487":["hashtag1","hashtag2"]},{"1394737486":["hashtag1","hashtag2"]},{"1394737489":["hashtag1","hashtag2"]},{"1394737480":["hashtag1","hashtag2"]},{"1394737485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737484, 1394737487, 1394737486, 1394737489, 1394737480, 1394737485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56005048751831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:20:22.569993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_54_2728.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_56_2600.jpg', '/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_59_2781.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_03_3657.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_05_2754.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_08_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_54_2728.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_56_2600.jpg
/home/pi/Desktop/images/16112025/09/46/image_16112025_09_46_59_2781.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_03_3657.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_05_2754.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_08_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737500","1394737499","1394737493","1394737495","1394737497","1394737501"],"photo_ids_order":["1394737493","1394737495","1394737497","1394737499","1394737500","1394737501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a398329351ee7b2c4c5824d00583b264.jpg","text":"TemporaryFile(/tmp/multipartBody2723201533588936926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288483215,"filename":"image_16112025_09_47_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/11/16/03f579c7c9981d54956c9d3d3f35d4e5.jpg","text":"TemporaryFile(/tmp/multipartBody5983150978653424351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288483215,"filename":"image_16112025_09_47_03_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1e52b40ce00f8e968911c782bbadbe9.jpg","text":"TemporaryFile(/tmp/multipartBody7021551339299376674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288483215,"filename":"image_16112025_09_46_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/11/16/302bf802d69f984cf20c99b2edf24b68.jpg","text":"TemporaryFile(/tmp/multipartBody5092195321932721328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288483215,"filename":"image_16112025_09_46_56_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a6457a3c674aaf134fa03ebdbe9a34c9.jpg","text":"TemporaryFile(/tmp/multipartBody8608479438234657623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288483215,"filename":"image_16112025_09_46_59_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41e8e2fb0d62f1e693fe8c6d025c9426.jpg","text":"TemporaryFile(/tmp/multipartBody6888470258672423928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288483215,"filename":"image_16112025_09_47_08_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737497","file1":"1394737495","file0":"1394737493","file4":"1394737500","file5":"1394737501","file3":"1394737499"},"map_files_photo_id_array":[{"photo_id":"1394737501","filename":"file5"},{"photo_id":"1394737497","filename":"file2"},{"photo_id":"1394737500","filename":"file4"},{"photo_id":"1394737495","filename":"file1"},{"photo_id":"1394737493","filename":"file0"},{"photo_id":"1394737499","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737500":["hashtag1","hashtag2"]},{"1394737499":["hashtag1","hashtag2"]},{"1394737493":["hashtag1","hashtag2"]},{"1394737495":["hashtag1","hashtag2"]},{"1394737497":["hashtag1","hashtag2"]},{"1394737501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737500, 1394737499, 1394737493, 1394737495, 1394737497, 1394737501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14345645904541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:21:03.777377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_11_2730.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_14_3535.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_17_2686.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_21_3706.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_23_2525.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_26_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_11_2730.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_14_3535.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_17_2686.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_21_3706.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_23_2525.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_26_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737514","1394737508","1394737505","1394737510","1394737507","1394737503"],"photo_ids_order":["1394737503","1394737505","1394737507","1394737508","1394737510","1394737514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f6085d3b286aef98d821b040516ee31.jpg","text":"TemporaryFile(/tmp/multipartBody5951231076889290607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288524533,"filename":"image_16112025_09_47_26_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6297ce7f34504a2481e9ac379b280b11.jpg","text":"TemporaryFile(/tmp/multipartBody3579086199165662315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288524533,"filename":"image_16112025_09_47_21_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5987028637f0351c8766dc034a006f16.jpg","text":"TemporaryFile(/tmp/multipartBody3784915691635129214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288524533,"filename":"image_16112025_09_47_14_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c03a31620f2ebcd25ea8d67091765f0.jpg","text":"TemporaryFile(/tmp/multipartBody5859810985116895979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288524533,"filename":"image_16112025_09_47_23_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/937ec73f3c5c52633e337e33d31323fb.jpg","text":"TemporaryFile(/tmp/multipartBody6632771941369097633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288524533,"filename":"image_16112025_09_47_17_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2928196f0910575cb524178d6936edc5.jpg","text":"TemporaryFile(/tmp/multipartBody2402203964614627071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288524533,"filename":"image_16112025_09_47_11_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737507","file1":"1394737505","file0":"1394737503","file4":"1394737510","file5":"1394737514","file3":"1394737508"},"map_files_photo_id_array":[{"photo_id":"1394737514","filename":"file5"},{"photo_id":"1394737507","filename":"file2"},{"photo_id":"1394737510","filename":"file4"},{"photo_id":"1394737505","filename":"file1"},{"photo_id":"1394737503","filename":"file0"},{"photo_id":"1394737508","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737514":["hashtag1","hashtag2"]},{"1394737508":["hashtag1","hashtag2"]},{"1394737505":["hashtag1","hashtag2"]},{"1394737510":["hashtag1","hashtag2"]},{"1394737507":["hashtag1","hashtag2"]},{"1394737503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737514, 1394737508, 1394737505, 1394737510, 1394737507, 1394737503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23752284049988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:21:43.009629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_30_3589.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_32_2554.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_36_3603.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_38_2114.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_42_3681.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_44_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_30_3589.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_32_2554.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_36_3603.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_38_2114.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_42_3681.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_44_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737529","1394737520","1394737531","1394737525","1394737536","1394737527"],"photo_ids_order":["1394737520","1394737525","1394737527","1394737529","1394737531","1394737536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c04ad77b53458b36fa638777290b296.jpg","text":"TemporaryFile(/tmp/multipartBody6633164796754775311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288563689,"filename":"image_16112025_09_47_38_2114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db983d6adeb886441d986f7cdcea3b65.jpg","text":"TemporaryFile(/tmp/multipartBody2558109352346255324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288563689,"filename":"image_16112025_09_47_30_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4c11f19a4ac92b1db19fe2fbb9007f8.jpg","text":"TemporaryFile(/tmp/multipartBody5902823220464815969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288563689,"filename":"image_16112025_09_47_42_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57a22b697b7dc6346334b7fc93dd18f7.jpg","text":"TemporaryFile(/tmp/multipartBody5536839611472587368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288563689,"filename":"image_16112025_09_47_32_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2b05292b8774e9b17cf0421ee4398d8.jpg","text":"TemporaryFile(/tmp/multipartBody452442246671722044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288563689,"filename":"image_16112025_09_47_44_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/112707b65959e12845ecb2a9c9bdce01.jpg","text":"TemporaryFile(/tmp/multipartBody23004725631385604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288563689,"filename":"image_16112025_09_47_36_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737527","file1":"1394737525","file0":"1394737520","file4":"1394737531","file5":"1394737536","file3":"1394737529"},"map_files_photo_id_array":[{"photo_id":"1394737536","filename":"file5"},{"photo_id":"1394737527","filename":"file2"},{"photo_id":"1394737531","filename":"file4"},{"photo_id":"1394737525","filename":"file1"},{"photo_id":"1394737520","filename":"file0"},{"photo_id":"1394737529","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737529":["hashtag1","hashtag2"]},{"1394737520":["hashtag1","hashtag2"]},{"1394737531":["hashtag1","hashtag2"]},{"1394737525":["hashtag1","hashtag2"]},{"1394737536":["hashtag1","hashtag2"]},{"1394737527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737529, 1394737520, 1394737531, 1394737525, 1394737536, 1394737527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71083974838257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:22:22.257745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_47_2644.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_51_3641.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_53_2581.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_56_2625.jpg', '/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_59_3617.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_02_2506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_47_2644.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_51_3641.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_53_2581.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_56_2625.jpg
/home/pi/Desktop/images/16112025/09/47/image_16112025_09_47_59_3617.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_02_2506.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737550","1394737555","1394737546","1394737560","1394737554","1394737557"],"photo_ids_order":["1394737546","1394737550","1394737554","1394737555","1394737557","1394737560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02179b519ac06d27bfc4bb7f411b5cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6290052442897323894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288602925,"filename":"image_16112025_09_47_51_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8dd89f1577eff6ba68bc7aaa1a55722a.jpg","text":"TemporaryFile(/tmp/multipartBody3838288419068165402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288602925,"filename":"image_16112025_09_47_56_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e383c8c204a42c6e1f9293fac8ca783.jpg","text":"TemporaryFile(/tmp/multipartBody3195447416040173012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288602925,"filename":"image_16112025_09_47_47_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bb9e779d93decefa7d07aab1d661f40.jpg","text":"TemporaryFile(/tmp/multipartBody3525624093359583550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288602925,"filename":"image_16112025_09_48_02_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/908e8d5b74cce71a46abd4c8f4494966.jpg","text":"TemporaryFile(/tmp/multipartBody3880630089338742335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288602925,"filename":"image_16112025_09_47_53_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa0d2d49db162f3c4a19f4f519629e1b.jpg","text":"TemporaryFile(/tmp/multipartBody865697548931483039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288602925,"filename":"image_16112025_09_47_59_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737554","file1":"1394737550","file0":"1394737546","file4":"1394737557","file5":"1394737560","file3":"1394737555"},"map_files_photo_id_array":[{"photo_id":"1394737560","filename":"file5"},{"photo_id":"1394737554","filename":"file2"},{"photo_id":"1394737557","filename":"file4"},{"photo_id":"1394737550","filename":"file1"},{"photo_id":"1394737546","filename":"file0"},{"photo_id":"1394737555","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737550":["hashtag1","hashtag2"]},{"1394737555":["hashtag1","hashtag2"]},{"1394737546":["hashtag1","hashtag2"]},{"1394737560":["hashtag1","hashtag2"]},{"1394737554":["hashtag1","hashtag2"]},{"1394737557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737550, 1394737555, 1394737546, 1394737560, 1394737554, 1394737557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32756447792053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:23:03.137038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_06_3617.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_08_2703.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_11_2704.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_15_3634.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_17_2856.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_20_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_06_3617.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_08_2703.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_11_2704.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_15_3634.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_17_2856.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_20_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737597","1394737596","1394737600","1394737590","1394737603","1394737593"],"photo_ids_order":["1394737590","1394737593","1394737596","1394737597","1394737600","1394737603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d887ed9353f9dafb1fe1416aa09d16d.jpg","text":"TemporaryFile(/tmp/multipartBody765745077616785150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288643827,"filename":"image_16112025_09_48_15_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/617b1fd1da6ac3e930af5d8ec8e57e55.jpg","text":"TemporaryFile(/tmp/multipartBody8319242942508088692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288643827,"filename":"image_16112025_09_48_11_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5819d04169b9c3d7420a33fcc7999a1a.jpg","text":"TemporaryFile(/tmp/multipartBody948202848920782340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288643827,"filename":"image_16112025_09_48_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/11/16/7c3434e50939ff897af6f1b3583d993a.jpg","text":"TemporaryFile(/tmp/multipartBody6996362449756634220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288643827,"filename":"image_16112025_09_48_06_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2508c790aa16064fd0efeb186cb4a4fc.jpg","text":"TemporaryFile(/tmp/multipartBody1672569585350434083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288643827,"filename":"image_16112025_09_48_20_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab14a1f5e13194705d0374fee6f861f9.jpg","text":"TemporaryFile(/tmp/multipartBody2539077478498549953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288643827,"filename":"image_16112025_09_48_08_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737596","file1":"1394737593","file0":"1394737590","file4":"1394737600","file5":"1394737603","file3":"1394737597"},"map_files_photo_id_array":[{"photo_id":"1394737603","filename":"file5"},{"photo_id":"1394737596","filename":"file2"},{"photo_id":"1394737600","filename":"file4"},{"photo_id":"1394737593","filename":"file1"},{"photo_id":"1394737590","filename":"file0"},{"photo_id":"1394737597","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737597":["hashtag1","hashtag2"]},{"1394737596":["hashtag1","hashtag2"]},{"1394737600":["hashtag1","hashtag2"]},{"1394737590":["hashtag1","hashtag2"]},{"1394737603":["hashtag1","hashtag2"]},{"1394737593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737597, 1394737596, 1394737600, 1394737590, 1394737603, 1394737593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15764594078064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:23:42.365743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_24_3662.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_26_2574.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_29_2693.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_32_2861.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_35_3675.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_38_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_24_3662.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_26_2574.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_29_2693.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_32_2861.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_35_3675.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_38_2537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737628","1394737613","1394737630","1394737633","1394737623","1394737626"],"photo_ids_order":["1394737613","1394737623","1394737626","1394737628","1394737630","1394737633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce55db73dc85d2eabb5238cc2fe7da0d.jpg","text":"TemporaryFile(/tmp/multipartBody6943522606343827914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288683002,"filename":"image_16112025_09_48_32_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4150120fa23b6a5c8a77fe7cadb5ec4d.jpg","text":"TemporaryFile(/tmp/multipartBody4621478760719916177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288683002,"filename":"image_16112025_09_48_24_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f77fc75029b617091ed96548a294bd81.jpg","text":"TemporaryFile(/tmp/multipartBody3687386239275894317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288683002,"filename":"image_16112025_09_48_35_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ad5a5a903190a7f4b888d79382273ee.jpg","text":"TemporaryFile(/tmp/multipartBody8655939698613899706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288683002,"filename":"image_16112025_09_48_38_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b851a5075ed25e533b493e72b90707d.jpg","text":"TemporaryFile(/tmp/multipartBody6185091768782399053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288683002,"filename":"image_16112025_09_48_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/11/16/27b0b47481f86462a512db8b4992c947.jpg","text":"TemporaryFile(/tmp/multipartBody8266109226989983747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288683002,"filename":"image_16112025_09_48_29_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737626","file1":"1394737623","file0":"1394737613","file4":"1394737630","file5":"1394737633","file3":"1394737628"},"map_files_photo_id_array":[{"photo_id":"1394737633","filename":"file5"},{"photo_id":"1394737626","filename":"file2"},{"photo_id":"1394737630","filename":"file4"},{"photo_id":"1394737623","filename":"file1"},{"photo_id":"1394737613","filename":"file0"},{"photo_id":"1394737628","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737628":["hashtag1","hashtag2"]},{"1394737613":["hashtag1","hashtag2"]},{"1394737630":["hashtag1","hashtag2"]},{"1394737633":["hashtag1","hashtag2"]},{"1394737623":["hashtag1","hashtag2"]},{"1394737626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737628, 1394737613, 1394737630, 1394737633, 1394737623, 1394737626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60165476799011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:24:22.644878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_42_3493.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_44_2699.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_47_2665.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_50_3603.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_53_2628.jpg', '/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_56_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_42_3493.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_44_2699.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_47_2665.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_50_3603.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_53_2628.jpg
/home/pi/Desktop/images/16112025/09/48/image_16112025_09_48_56_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737664","1394737643","1394737646","1394737640","1394737672","1394737648"],"photo_ids_order":["1394737640","1394737643","1394737646","1394737648","1394737664","1394737672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/022406cc2ff755d72917e0861356afe0.jpg","text":"TemporaryFile(/tmp/multipartBody8409463016000808112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288723290,"filename":"image_16112025_09_48_53_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e57005e9b3c3dbf91b8e1781cb0d593d.jpg","text":"TemporaryFile(/tmp/multipartBody1824260539396128543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288723290,"filename":"image_16112025_09_48_44_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b98de29e2644024342908e925df35131.jpg","text":"TemporaryFile(/tmp/multipartBody8596021400363679010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288723290,"filename":"image_16112025_09_48_47_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bda54330ecb437664fb023a121f65928.jpg","text":"TemporaryFile(/tmp/multipartBody3039117250784232304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288723290,"filename":"image_16112025_09_48_42_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c3a85af553470d17a8512edf44cec3d.jpg","text":"TemporaryFile(/tmp/multipartBody801265965083691523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288723290,"filename":"image_16112025_09_48_56_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49256ab15f7cbf99f7e4fe41bc3eacd3.jpg","text":"TemporaryFile(/tmp/multipartBody325723019343139844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288723290,"filename":"image_16112025_09_48_50_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737646","file1":"1394737643","file0":"1394737640","file4":"1394737664","file5":"1394737672","file3":"1394737648"},"map_files_photo_id_array":[{"photo_id":"1394737672","filename":"file5"},{"photo_id":"1394737646","filename":"file2"},{"photo_id":"1394737664","filename":"file4"},{"photo_id":"1394737643","filename":"file1"},{"photo_id":"1394737640","filename":"file0"},{"photo_id":"1394737648","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737664":["hashtag1","hashtag2"]},{"1394737643":["hashtag1","hashtag2"]},{"1394737646":["hashtag1","hashtag2"]},{"1394737640":["hashtag1","hashtag2"]},{"1394737672":["hashtag1","hashtag2"]},{"1394737648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737664, 1394737643, 1394737646, 1394737640, 1394737672, 1394737648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51894474029541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:25:02.606608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_02_2598.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_06_3651.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_08_2491.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_11_2821.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_14_3538.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_17_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_02_2598.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_06_3651.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_08_2491.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_11_2821.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_14_3538.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_17_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737676","1394737679","1394737673","1394737683","1394737677","1394737686"],"photo_ids_order":["1394737673","1394737676","1394737677","1394737679","1394737683","1394737686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0da6a6d37387466b95b7131d6619ae4d.jpg","text":"TemporaryFile(/tmp/multipartBody4995210421477959916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288763349,"filename":"image_16112025_09_49_06_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2debf3eea7f15a148651bd02796800f.jpg","text":"TemporaryFile(/tmp/multipartBody4290106903284512895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288763349,"filename":"image_16112025_09_49_11_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb9bc62f065ce2dee8d5483a7547aaf7.jpg","text":"TemporaryFile(/tmp/multipartBody7959257994809569621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288763349,"filename":"image_16112025_09_49_02_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e61d71a16326397689bf515be4d965ad.jpg","text":"TemporaryFile(/tmp/multipartBody4836273730785517499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288763349,"filename":"image_16112025_09_49_14_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/237b424a440d2bc9b317eb8908ef53ad.jpg","text":"TemporaryFile(/tmp/multipartBody2707136091481398933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288763349,"filename":"image_16112025_09_49_08_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/351285399b0b72fe283303cedd28da54.jpg","text":"TemporaryFile(/tmp/multipartBody8684070462652891047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288763349,"filename":"image_16112025_09_49_17_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737677","file1":"1394737676","file0":"1394737673","file4":"1394737683","file5":"1394737686","file3":"1394737679"},"map_files_photo_id_array":[{"photo_id":"1394737686","filename":"file5"},{"photo_id":"1394737677","filename":"file2"},{"photo_id":"1394737683","filename":"file4"},{"photo_id":"1394737676","filename":"file1"},{"photo_id":"1394737673","filename":"file0"},{"photo_id":"1394737679","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737676":["hashtag1","hashtag2"]},{"1394737679":["hashtag1","hashtag2"]},{"1394737673":["hashtag1","hashtag2"]},{"1394737683":["hashtag1","hashtag2"]},{"1394737677":["hashtag1","hashtag2"]},{"1394737686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737676, 1394737679, 1394737673, 1394737683, 1394737677, 1394737686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11004042625427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:25:41.813731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_20_2872.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_26_2632.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_29_2563.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_32_3762.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_35_2583.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_38_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_20_2872.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_26_2632.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_29_2563.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_32_3762.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_35_2583.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_38_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737697","1394737690","1394737693","1394737696","1394737695","1394737698"],"photo_ids_order":["1394737690","1394737693","1394737695","1394737696","1394737697","1394737698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5839c4af05aa0c8368b1e2d275a1a0e5.jpg","text":"TemporaryFile(/tmp/multipartBody7494910736995838625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288802467,"filename":"image_16112025_09_49_35_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f07be32acd4daa73908000a39fcde08e.jpg","text":"TemporaryFile(/tmp/multipartBody2961122672536910153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288802467,"filename":"image_16112025_09_49_20_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cc42cf1a04e7f42a6d910a92bf33bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4794083394085392508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288802467,"filename":"image_16112025_09_49_26_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1ca95fef32556fbd7c18d7a615fd5ab.jpg","text":"TemporaryFile(/tmp/multipartBody1807814143380971722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288802467,"filename":"image_16112025_09_49_32_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/884e67a5def2bd2eeb858c8d3a805174.jpg","text":"TemporaryFile(/tmp/multipartBody4829769736367981568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288802467,"filename":"image_16112025_09_49_29_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5732a7d23d6f6455bfe81cb7823cc6c0.jpg","text":"TemporaryFile(/tmp/multipartBody652655690966683403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288802467,"filename":"image_16112025_09_49_38_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737695","file1":"1394737693","file0":"1394737690","file4":"1394737697","file5":"1394737698","file3":"1394737696"},"map_files_photo_id_array":[{"photo_id":"1394737698","filename":"file5"},{"photo_id":"1394737695","filename":"file2"},{"photo_id":"1394737697","filename":"file4"},{"photo_id":"1394737693","filename":"file1"},{"photo_id":"1394737690","filename":"file0"},{"photo_id":"1394737696","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737697":["hashtag1","hashtag2"]},{"1394737690":["hashtag1","hashtag2"]},{"1394737693":["hashtag1","hashtag2"]},{"1394737696":["hashtag1","hashtag2"]},{"1394737695":["hashtag1","hashtag2"]},{"1394737698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737697, 1394737690, 1394737693, 1394737696, 1394737695, 1394737698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.886679887771606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:26:21.918967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_41_3865.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_44_2684.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_47_2705.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_50_2747.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_53_3667.jpg', '/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_56_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_41_3865.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_44_2684.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_47_2705.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_50_2747.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_53_3667.jpg
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_56_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737707","1394737709","1394737703","1394737711","1394737713","1394737701"],"photo_ids_order":["1394737701","1394737703","1394737707","1394737709","1394737711","1394737713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5a23d93fd7590820fa05c39033f60d5.jpg","text":"TemporaryFile(/tmp/multipartBody942075261053793953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288842567,"filename":"image_16112025_09_49_47_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23740a054400c118119601e8161c9566.jpg","text":"TemporaryFile(/tmp/multipartBody1181983760739586230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288842567,"filename":"image_16112025_09_49_50_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e5714d2437fae62bed7874f28b9d7f7.jpg","text":"TemporaryFile(/tmp/multipartBody6410564509066225005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288842567,"filename":"image_16112025_09_49_44_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc8307ec1a284e2befc737f41a6e8622.jpg","text":"TemporaryFile(/tmp/multipartBody8555905677406428038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288842567,"filename":"image_16112025_09_49_53_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6671d92e613cd7ea9f5a2adaeeaec50f.jpg","text":"TemporaryFile(/tmp/multipartBody9039036332307678594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288842567,"filename":"image_16112025_09_49_56_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb019542b567aedd5901f24f923aa5a3.jpg","text":"TemporaryFile(/tmp/multipartBody8680402212517628534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288842567,"filename":"image_16112025_09_49_41_3865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737707","file1":"1394737703","file0":"1394737701","file4":"1394737711","file5":"1394737713","file3":"1394737709"},"map_files_photo_id_array":[{"photo_id":"1394737713","filename":"file5"},{"photo_id":"1394737707","filename":"file2"},{"photo_id":"1394737711","filename":"file4"},{"photo_id":"1394737703","filename":"file1"},{"photo_id":"1394737701","filename":"file0"},{"photo_id":"1394737709","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737707":["hashtag1","hashtag2"]},{"1394737709":["hashtag1","hashtag2"]},{"1394737703":["hashtag1","hashtag2"]},{"1394737711":["hashtag1","hashtag2"]},{"1394737713":["hashtag1","hashtag2"]},{"1394737701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737707, 1394737709, 1394737703, 1394737711, 1394737713, 1394737701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51858878135681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:27:02.820532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_59_2544.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_02_3545.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_05_2846.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_08_3502.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_11_2693.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_14_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/49/image_16112025_09_49_59_2544.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_02_3545.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_05_2846.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_08_3502.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_11_2693.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_14_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737760","1394737754","1394737763","1394737757","1394737756","1394737752"],"photo_ids_order":["1394737752","1394737754","1394737756","1394737757","1394737760","1394737763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4feb4cc9c6aa4d6053a3cd95d78576a0.jpg","text":"TemporaryFile(/tmp/multipartBody6811312962163394949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288883564,"filename":"image_16112025_09_50_11_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d974d11cf64030ab0ecec336dd5e2e9f.jpg","text":"TemporaryFile(/tmp/multipartBody6040457226944117200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288883564,"filename":"image_16112025_09_50_02_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/646b3227c713ed5948b9be100a2b1f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5371907664809598545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288883564,"filename":"image_16112025_09_50_14_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d85acb290df65b755d7263aadc79028d.jpg","text":"TemporaryFile(/tmp/multipartBody7573254929169244882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288883564,"filename":"image_16112025_09_50_08_3502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dee78ed5cbac4068adcf46bb6722694.jpg","text":"TemporaryFile(/tmp/multipartBody3059965312400787115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288883564,"filename":"image_16112025_09_50_05_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88b07d89512f2c0c0502332592c8eaf5.jpg","text":"TemporaryFile(/tmp/multipartBody7237045579814487090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288883564,"filename":"image_16112025_09_49_59_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737756","file1":"1394737754","file0":"1394737752","file4":"1394737760","file5":"1394737763","file3":"1394737757"},"map_files_photo_id_array":[{"photo_id":"1394737763","filename":"file5"},{"photo_id":"1394737756","filename":"file2"},{"photo_id":"1394737760","filename":"file4"},{"photo_id":"1394737754","filename":"file1"},{"photo_id":"1394737752","filename":"file0"},{"photo_id":"1394737757","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737760":["hashtag1","hashtag2"]},{"1394737754":["hashtag1","hashtag2"]},{"1394737763":["hashtag1","hashtag2"]},{"1394737757":["hashtag1","hashtag2"]},{"1394737756":["hashtag1","hashtag2"]},{"1394737752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737760, 1394737754, 1394737763, 1394737757, 1394737756, 1394737752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40678286552429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:27:42.110337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_17_3548.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_20_2711.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_23_2586.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_26_3607.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_29_2707.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_32_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_17_3548.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_20_2711.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_23_2586.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_26_3607.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_29_2707.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_32_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737766","1394737798","1394737816","1394737821","1394737815","1394737818"],"photo_ids_order":["1394737766","1394737798","1394737815","1394737816","1394737818","1394737821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c843ba1812077a0563b1f9a44449e211.jpg","text":"TemporaryFile(/tmp/multipartBody4841580613530139775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288922728,"filename":"image_16112025_09_50_17_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac0df861c649f020415e6157d6c8f849.jpg","text":"TemporaryFile(/tmp/multipartBody7326661207616142414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288922728,"filename":"image_16112025_09_50_20_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c99a3cf24065ecec3bcaec10efbccee9.jpg","text":"TemporaryFile(/tmp/multipartBody3135810556848523172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288922728,"filename":"image_16112025_09_50_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/11/16/55fd1209b0576e3bf05dd3340700c961.jpg","text":"TemporaryFile(/tmp/multipartBody2864562198129676245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288922728,"filename":"image_16112025_09_50_32_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51b269c1a1a1004cb9a92029b6693869.jpg","text":"TemporaryFile(/tmp/multipartBody4904438957228983071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288922728,"filename":"image_16112025_09_50_23_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bed81b7bbd0ee6a277e233711c2a7c94.jpg","text":"TemporaryFile(/tmp/multipartBody6713508180935778003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288922728,"filename":"image_16112025_09_50_29_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737815","file1":"1394737798","file0":"1394737766","file4":"1394737818","file5":"1394737821","file3":"1394737816"},"map_files_photo_id_array":[{"photo_id":"1394737821","filename":"file5"},{"photo_id":"1394737815","filename":"file2"},{"photo_id":"1394737818","filename":"file4"},{"photo_id":"1394737798","filename":"file1"},{"photo_id":"1394737766","filename":"file0"},{"photo_id":"1394737816","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737766":["hashtag1","hashtag2"]},{"1394737798":["hashtag1","hashtag2"]},{"1394737816":["hashtag1","hashtag2"]},{"1394737821":["hashtag1","hashtag2"]},{"1394737815":["hashtag1","hashtag2"]},{"1394737818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737766, 1394737798, 1394737816, 1394737821, 1394737815, 1394737818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62059283256531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:28:22.662487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_35_3631.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_38_2665.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_41_3539.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_44_2630.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_47_2615.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_50_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_35_3631.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_38_2665.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_41_3539.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_44_2630.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_47_2615.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_50_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737823","1394737826","1394737828","1394737825","1394737830","1394737833"],"photo_ids_order":["1394737823","1394737825","1394737826","1394737828","1394737830","1394737833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0268af28df54850e5061b77a6b1d0f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5137659917024446002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288963314,"filename":"image_16112025_09_50_35_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/829752d3d833f35f195d258feb423a11.jpg","text":"TemporaryFile(/tmp/multipartBody6388892652052757091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288963314,"filename":"image_16112025_09_50_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/11/16/6bc5bdeb009d05fa1f8b1c4035b38c52.jpg","text":"TemporaryFile(/tmp/multipartBody4588566864471780711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288963314,"filename":"image_16112025_09_50_44_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89e93d4bd30e1b5147967f7f8cf8738a.jpg","text":"TemporaryFile(/tmp/multipartBody1028065434677761037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288963314,"filename":"image_16112025_09_50_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/11/16/6fd44b18083725719fd3ddab418ee7cf.jpg","text":"TemporaryFile(/tmp/multipartBody279035448365603216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288963314,"filename":"image_16112025_09_50_47_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b8a5709399fc1d86419667cec2abda8.jpg","text":"TemporaryFile(/tmp/multipartBody4037225027379745620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763288963314,"filename":"image_16112025_09_50_50_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737826","file1":"1394737825","file0":"1394737823","file4":"1394737830","file5":"1394737833","file3":"1394737828"},"map_files_photo_id_array":[{"photo_id":"1394737833","filename":"file5"},{"photo_id":"1394737826","filename":"file2"},{"photo_id":"1394737830","filename":"file4"},{"photo_id":"1394737825","filename":"file1"},{"photo_id":"1394737823","filename":"file0"},{"photo_id":"1394737828","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737823":["hashtag1","hashtag2"]},{"1394737826":["hashtag1","hashtag2"]},{"1394737828":["hashtag1","hashtag2"]},{"1394737825":["hashtag1","hashtag2"]},{"1394737830":["hashtag1","hashtag2"]},{"1394737833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737823, 1394737826, 1394737828, 1394737825, 1394737830, 1394737833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97842025756836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:29:02.839229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_53_2645.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_56_2600.jpg', '/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_59_3742.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_02_2604.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_05_2635.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_08_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_53_2645.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_56_2600.jpg
/home/pi/Desktop/images/16112025/09/50/image_16112025_09_50_59_3742.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_02_2604.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_05_2635.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_08_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737846","1394737834","1394737837","1394737839","1394737842","1394737836"],"photo_ids_order":["1394737834","1394737836","1394737837","1394737839","1394737842","1394737846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8084feaca9ebc14cd97c2fa00a45b18f.jpg","text":"TemporaryFile(/tmp/multipartBody2356789643258503185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289003696,"filename":"image_16112025_09_51_08_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/366a9454a2c193efd9c5d6919d596115.jpg","text":"TemporaryFile(/tmp/multipartBody5279131212351686213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289003696,"filename":"image_16112025_09_50_53_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3d8d12f6f7c034e4d08f9104c797ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5618597060942584949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289003696,"filename":"image_16112025_09_50_59_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0d77c104d20600404bca62767978eee.jpg","text":"TemporaryFile(/tmp/multipartBody2770097674845031574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289003696,"filename":"image_16112025_09_51_02_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a8c669632b5675165ab33bd8771859a.jpg","text":"TemporaryFile(/tmp/multipartBody5606782507369799682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289003696,"filename":"image_16112025_09_51_05_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cc8dde8abd67435a4bd3641ce0a6720.jpg","text":"TemporaryFile(/tmp/multipartBody8046869527786962146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289003696,"filename":"image_16112025_09_50_56_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737837","file1":"1394737836","file0":"1394737834","file4":"1394737842","file5":"1394737846","file3":"1394737839"},"map_files_photo_id_array":[{"photo_id":"1394737846","filename":"file5"},{"photo_id":"1394737837","filename":"file2"},{"photo_id":"1394737842","filename":"file4"},{"photo_id":"1394737836","filename":"file1"},{"photo_id":"1394737834","filename":"file0"},{"photo_id":"1394737839","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737846":["hashtag1","hashtag2"]},{"1394737834":["hashtag1","hashtag2"]},{"1394737837":["hashtag1","hashtag2"]},{"1394737839":["hashtag1","hashtag2"]},{"1394737842":["hashtag1","hashtag2"]},{"1394737836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737846, 1394737834, 1394737837, 1394737839, 1394737842, 1394737836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20889925956726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:29:41.855255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_11_2656.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_14_2798.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_17_3734.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_20_2677.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_23_2682.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_26_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_11_2656.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_14_2798.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_17_3734.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_20_2677.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_23_2682.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_26_2750.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":["1394737859","1394737894","1394737858","1394737896","1394737851","1394737860"],"photo_ids_order":["1394737851","1394737858","1394737859","1394737860","1394737894","1394737896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0eb53a518b2221eed8ae335af4dbd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3474563440815425319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289042480,"filename":"image_16112025_09_51_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/11/16/c4ae78fb9363c5ed93b93d79f4c9f2b2.jpg","text":"TemporaryFile(/tmp/multipartBody2759688305653057604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289042480,"filename":"image_16112025_09_51_23_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b34a06e576f04dbe191ffabbcd835af0.jpg","text":"TemporaryFile(/tmp/multipartBody35578662568390325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289042480,"filename":"image_16112025_09_51_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/11/16/98c09d986b5f1725f10c749308fc419e.jpg","text":"TemporaryFile(/tmp/multipartBody123946813200585683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289042480,"filename":"image_16112025_09_51_26_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4eb82efa1f81e6978026ca22157a49c.jpg","text":"TemporaryFile(/tmp/multipartBody7498512796070279782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289042480,"filename":"image_16112025_09_51_11_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a665b9441b2fb8671bf4eca0825d5ccf.jpg","text":"TemporaryFile(/tmp/multipartBody3565035549501369003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289042480,"filename":"image_16112025_09_51_20_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737859","file1":"1394737858","file0":"1394737851","file4":"1394737894","file5":"1394737896","file3":"1394737860"},"map_files_photo_id_array":[{"photo_id":"1394737896","filename":"file5"},{"photo_id":"1394737859","filename":"file2"},{"photo_id":"1394737894","filename":"file4"},{"photo_id":"1394737858","filename":"file1"},{"photo_id":"1394737851","filename":"file0"},{"photo_id":"1394737860","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737859":["hashtag1","hashtag2"]},{"1394737894":["hashtag1","hashtag2"]},{"1394737858":["hashtag1","hashtag2"]},{"1394737896":["hashtag1","hashtag2"]},{"1394737851":["hashtag1","hashtag2"]},{"1394737860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737859, 1394737894, 1394737858, 1394737896, 1394737851, 1394737860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.62417435646057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:31:03.160832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_29_3723.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_32_2766.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_35_2611.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_38_3518.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_41_2683.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_43_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_29_3723.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_32_2766.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_35_2611.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_38_3518.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_41_2683.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_43_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737940","1394737943","1394737933","1394737936","1394737938","1394737935"],"photo_ids_order":["1394737933","1394737935","1394737936","1394737938","1394737940","1394737943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d0f84b2b4003ffefae9be5d3010fb02.jpg","text":"TemporaryFile(/tmp/multipartBody5328654076766501379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289123872,"filename":"image_16112025_09_51_41_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78c8ab1043c32255dcd0615cb474882c.jpg","text":"TemporaryFile(/tmp/multipartBody618051892938813639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289123872,"filename":"image_16112025_09_51_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/11/16/b499bea3547522f209d65a95870cd9a4.jpg","text":"TemporaryFile(/tmp/multipartBody8756189125027875003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289123872,"filename":"image_16112025_09_51_29_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e39fcd00cbd5b80664af7337e3aaacec.jpg","text":"TemporaryFile(/tmp/multipartBody2138718182906205575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289123872,"filename":"image_16112025_09_51_35_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8c84ca8ed38f0c269b1089cc81cae6f.jpg","text":"TemporaryFile(/tmp/multipartBody8411727063684476902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289123872,"filename":"image_16112025_09_51_38_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07dc0aec6fce835220a3f13225447b9f.jpg","text":"TemporaryFile(/tmp/multipartBody576915620211804274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289123872,"filename":"image_16112025_09_51_32_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737936","file1":"1394737935","file0":"1394737933","file4":"1394737940","file5":"1394737943","file3":"1394737938"},"map_files_photo_id_array":[{"photo_id":"1394737943","filename":"file5"},{"photo_id":"1394737936","filename":"file2"},{"photo_id":"1394737940","filename":"file4"},{"photo_id":"1394737935","filename":"file1"},{"photo_id":"1394737933","filename":"file0"},{"photo_id":"1394737938","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737940":["hashtag1","hashtag2"]},{"1394737943":["hashtag1","hashtag2"]},{"1394737933":["hashtag1","hashtag2"]},{"1394737936":["hashtag1","hashtag2"]},{"1394737938":["hashtag1","hashtag2"]},{"1394737935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737940, 1394737943, 1394737933, 1394737936, 1394737938, 1394737935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25215697288513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:31:42.333307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_50_6162.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_51_1630.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_53_1661.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_56_2799.jpg', '/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_59_2753.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_02_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_50_6162.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_51_1630.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_53_1661.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_56_2799.jpg
/home/pi/Desktop/images/16112025/09/51/image_16112025_09_51_59_2753.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_02_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737952","1394737949","1394737958","1394737946","1394737954","1394737956"],"photo_ids_order":["1394737946","1394737949","1394737952","1394737954","1394737956","1394737958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2a926379827ba5c86d7f4c00c15c2d4.jpg","text":"TemporaryFile(/tmp/multipartBody5620166357477017970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289163025,"filename":"image_16112025_09_51_53_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffe3d1c56116618993128a04830f7ac5.jpg","text":"TemporaryFile(/tmp/multipartBody508457331818536057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289163025,"filename":"image_16112025_09_51_51_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5688531b54c7d9bcd92238293b0a1a52.jpg","text":"TemporaryFile(/tmp/multipartBody2873320590482105882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289163025,"filename":"image_16112025_09_52_02_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2494be08127ba206d2eb54617f3d3323.jpg","text":"TemporaryFile(/tmp/multipartBody6132357574784647521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289163025,"filename":"image_16112025_09_51_50_6162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2a67d77a7a86836e9a1a64441a3cc52.jpg","text":"TemporaryFile(/tmp/multipartBody7050755231566587896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289163025,"filename":"image_16112025_09_51_56_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f5e87b193dcff6a147c4e07b290bca2.jpg","text":"TemporaryFile(/tmp/multipartBody815563414021770607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289163025,"filename":"image_16112025_09_51_59_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737952","file1":"1394737949","file0":"1394737946","file4":"1394737956","file5":"1394737958","file3":"1394737954"},"map_files_photo_id_array":[{"photo_id":"1394737958","filename":"file5"},{"photo_id":"1394737952","filename":"file2"},{"photo_id":"1394737956","filename":"file4"},{"photo_id":"1394737949","filename":"file1"},{"photo_id":"1394737946","filename":"file0"},{"photo_id":"1394737954","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737952":["hashtag1","hashtag2"]},{"1394737949":["hashtag1","hashtag2"]},{"1394737958":["hashtag1","hashtag2"]},{"1394737946":["hashtag1","hashtag2"]},{"1394737954":["hashtag1","hashtag2"]},{"1394737956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737952, 1394737949, 1394737958, 1394737946, 1394737954, 1394737956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.004359006881714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:32:22.591003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_05_2718.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_07_2497.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_11_3687.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_14_2661.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_16_2688.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_20_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_05_2718.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_07_2497.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_11_3687.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_14_2661.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_16_2688.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_20_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737973","1394737967","1394737976","1394737964","1394737969","1394737971"],"photo_ids_order":["1394737964","1394737967","1394737969","1394737971","1394737973","1394737976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a439abb6ce48e3f160838d7f09bfecac.jpg","text":"TemporaryFile(/tmp/multipartBody8959742762073479364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289203249,"filename":"image_16112025_09_52_16_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a72d332e5a83b280176b3f0e618d4bf.jpg","text":"TemporaryFile(/tmp/multipartBody4974743964647721909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289203249,"filename":"image_16112025_09_52_07_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55a3aeafbb86aec7f479be6a95b771f8.jpg","text":"TemporaryFile(/tmp/multipartBody5348453862703141268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289203249,"filename":"image_16112025_09_52_20_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4646c8a6498114d6fbf3cd7207c22259.jpg","text":"TemporaryFile(/tmp/multipartBody5944592427147582776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289203249,"filename":"image_16112025_09_52_05_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e5f97faacee39a1dba4593288b1775e.jpg","text":"TemporaryFile(/tmp/multipartBody5967124919886109323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289203249,"filename":"image_16112025_09_52_11_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dba0ad92b4504225b37c5c7ff1e41202.jpg","text":"TemporaryFile(/tmp/multipartBody7708645890645258127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289203249,"filename":"image_16112025_09_52_14_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737969","file1":"1394737967","file0":"1394737964","file4":"1394737973","file5":"1394737976","file3":"1394737971"},"map_files_photo_id_array":[{"photo_id":"1394737976","filename":"file5"},{"photo_id":"1394737969","filename":"file2"},{"photo_id":"1394737973","filename":"file4"},{"photo_id":"1394737967","filename":"file1"},{"photo_id":"1394737964","filename":"file0"},{"photo_id":"1394737971","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737973":["hashtag1","hashtag2"]},{"1394737967":["hashtag1","hashtag2"]},{"1394737976":["hashtag1","hashtag2"]},{"1394737964":["hashtag1","hashtag2"]},{"1394737969":["hashtag1","hashtag2"]},{"1394737971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737973, 1394737967, 1394737976, 1394737964, 1394737969, 1394737971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49404239654541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:33:02.413170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_23_2550.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_25_2733.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_29_3704.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_32_2667.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_34_2601.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_38_3799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_23_2550.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_25_2733.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_29_3704.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_32_2667.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_34_2601.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_38_3799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394737988","1394737982","1394737984","1394737993","1394737986","1394737991"],"photo_ids_order":["1394737982","1394737984","1394737986","1394737988","1394737991","1394737993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a4845bbd1f15a68d06ef40207dc3e54.jpg","text":"TemporaryFile(/tmp/multipartBody792230313184035330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289243119,"filename":"image_16112025_09_52_32_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fc74b83b130dcb3c79e9001ebe3ec24.jpg","text":"TemporaryFile(/tmp/multipartBody3104913892593139897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289243119,"filename":"image_16112025_09_52_23_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6eff9bdd43df61f15b0a91b58e8946cc.jpg","text":"TemporaryFile(/tmp/multipartBody5162839173341673002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289243119,"filename":"image_16112025_09_52_25_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/597aff47ec705054d5d2dd8641daf313.jpg","text":"TemporaryFile(/tmp/multipartBody8347994758967241985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289243119,"filename":"image_16112025_09_52_38_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/157b11cbfaa6c0aaf6ddde7507905604.jpg","text":"TemporaryFile(/tmp/multipartBody3209384480268503738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289243119,"filename":"image_16112025_09_52_29_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18d59bc52944b51600d6543707cb3295.jpg","text":"TemporaryFile(/tmp/multipartBody6109655310803041902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289243119,"filename":"image_16112025_09_52_34_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394737986","file1":"1394737984","file0":"1394737982","file4":"1394737991","file5":"1394737993","file3":"1394737988"},"map_files_photo_id_array":[{"photo_id":"1394737993","filename":"file5"},{"photo_id":"1394737986","filename":"file2"},{"photo_id":"1394737991","filename":"file4"},{"photo_id":"1394737984","filename":"file1"},{"photo_id":"1394737982","filename":"file0"},{"photo_id":"1394737988","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394737988":["hashtag1","hashtag2"]},{"1394737982":["hashtag1","hashtag2"]},{"1394737984":["hashtag1","hashtag2"]},{"1394737993":["hashtag1","hashtag2"]},{"1394737986":["hashtag1","hashtag2"]},{"1394737991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394737988, 1394737982, 1394737984, 1394737993, 1394737986, 1394737991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79832458496094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:33:41.783971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_41_2718.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_44_2733.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_46_2696.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_50_3581.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_53_2797.jpg', '/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_55_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_41_2718.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_44_2733.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_46_2696.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_50_3581.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_53_2797.jpg
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_55_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738003","1394738006","1394738000","1394738005","1394738007","1394738004"],"photo_ids_order":["1394738000","1394738003","1394738004","1394738005","1394738006","1394738007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fc257e82eb9182f96271bf603bcc570.jpg","text":"TemporaryFile(/tmp/multipartBody3690945425453381381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289282440,"filename":"image_16112025_09_52_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/11/16/fe36f8af8b3ef054afb2bdf1fa028088.jpg","text":"TemporaryFile(/tmp/multipartBody7199115578568569630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289282440,"filename":"image_16112025_09_52_53_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c2d0487597d8cf5be3fc738b221e911.jpg","text":"TemporaryFile(/tmp/multipartBody2912457684697391363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289282440,"filename":"image_16112025_09_52_41_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cd8a36671436bf4ab353dd5112b9dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4683614204505420143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289282440,"filename":"image_16112025_09_52_50_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f5f595eb3d66c1564e0277b16e3adae.jpg","text":"TemporaryFile(/tmp/multipartBody2921911470910796023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289282440,"filename":"image_16112025_09_52_55_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17b7a4d88a122928b5c0c64ad6a8d142.jpg","text":"TemporaryFile(/tmp/multipartBody708496601561829551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289282440,"filename":"image_16112025_09_52_46_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738004","file1":"1394738003","file0":"1394738000","file4":"1394738006","file5":"1394738007","file3":"1394738005"},"map_files_photo_id_array":[{"photo_id":"1394738007","filename":"file5"},{"photo_id":"1394738004","filename":"file2"},{"photo_id":"1394738006","filename":"file4"},{"photo_id":"1394738003","filename":"file1"},{"photo_id":"1394738000","filename":"file0"},{"photo_id":"1394738005","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738003":["hashtag1","hashtag2"]},{"1394738006":["hashtag1","hashtag2"]},{"1394738000":["hashtag1","hashtag2"]},{"1394738005":["hashtag1","hashtag2"]},{"1394738007":["hashtag1","hashtag2"]},{"1394738004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738003, 1394738006, 1394738000, 1394738005, 1394738007, 1394738004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12647485733032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:34:22.550678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_59_3735.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_02_2657.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_04_2585.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_08_3560.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_10_2609.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_14_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/52/image_16112025_09_52_59_3735.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_02_2657.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_04_2585.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_08_3560.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_10_2609.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_14_3780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738015","1394738018","1394738012","1394738014","1394738010","1394738016"],"photo_ids_order":["1394738010","1394738012","1394738014","1394738015","1394738016","1394738018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4f2f798f845a0f8d47697c0eaf7d2cb.jpg","text":"TemporaryFile(/tmp/multipartBody9129517609905739559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289323210,"filename":"image_16112025_09_53_08_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4899ec4616f022cf7eafbc4e23c4edb4.jpg","text":"TemporaryFile(/tmp/multipartBody7040734826687738331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289323210,"filename":"image_16112025_09_53_14_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c67f73e4033747b7a510af4fc71e354a.jpg","text":"TemporaryFile(/tmp/multipartBody8531063701689528157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289323210,"filename":"image_16112025_09_53_02_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ceac67bcd4277faba8554ae939c66718.jpg","text":"TemporaryFile(/tmp/multipartBody4068147635767596054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289323210,"filename":"image_16112025_09_53_04_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3765f33f35bfa583670b830b011946a7.jpg","text":"TemporaryFile(/tmp/multipartBody5207147365833731618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289323210,"filename":"image_16112025_09_52_59_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af771417776805ad1fa407614512831a.jpg","text":"TemporaryFile(/tmp/multipartBody3241675197264918430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289323210,"filename":"image_16112025_09_53_10_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738014","file1":"1394738012","file0":"1394738010","file4":"1394738016","file5":"1394738018","file3":"1394738015"},"map_files_photo_id_array":[{"photo_id":"1394738018","filename":"file5"},{"photo_id":"1394738014","filename":"file2"},{"photo_id":"1394738016","filename":"file4"},{"photo_id":"1394738012","filename":"file1"},{"photo_id":"1394738010","filename":"file0"},{"photo_id":"1394738015","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738015":["hashtag1","hashtag2"]},{"1394738018":["hashtag1","hashtag2"]},{"1394738012":["hashtag1","hashtag2"]},{"1394738014":["hashtag1","hashtag2"]},{"1394738010":["hashtag1","hashtag2"]},{"1394738016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738015, 1394738018, 1394738012, 1394738014, 1394738010, 1394738016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7824649810791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:35:03.357343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_17_2818.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_20_2851.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_23_2822.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_25_2659.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_29_3762.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_32_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_17_2818.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_20_2851.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_23_2822.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_25_2659.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_29_3762.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_32_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738021","1394738027","1394738029","1394738023","1394738019","1394738022"],"photo_ids_order":["1394738019","1394738021","1394738022","1394738023","1394738027","1394738029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d4672177f9dee4b52ebd41e83447ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1156012249801762619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289364067,"filename":"image_16112025_09_53_20_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3119ac1d26a71af502628afa2a9c8451.jpg","text":"TemporaryFile(/tmp/multipartBody8982498589242376426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289364067,"filename":"image_16112025_09_53_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/11/16/dc658a1595877a3bb113665113d03fcb.jpg","text":"TemporaryFile(/tmp/multipartBody76909565259394248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289364067,"filename":"image_16112025_09_53_32_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4730d192f8c94048cade774f280e75d.jpg","text":"TemporaryFile(/tmp/multipartBody5685241539792016556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289364067,"filename":"image_16112025_09_53_25_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03034e9ad287ef06939618e100d406f7.jpg","text":"TemporaryFile(/tmp/multipartBody8226168065210370601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289364067,"filename":"image_16112025_09_53_17_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b953c02d78b4f20e671be2d54fbd4d9.jpg","text":"TemporaryFile(/tmp/multipartBody8340227041945647687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289364067,"filename":"image_16112025_09_53_23_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738022","file1":"1394738021","file0":"1394738019","file4":"1394738027","file5":"1394738029","file3":"1394738023"},"map_files_photo_id_array":[{"photo_id":"1394738029","filename":"file5"},{"photo_id":"1394738022","filename":"file2"},{"photo_id":"1394738027","filename":"file4"},{"photo_id":"1394738021","filename":"file1"},{"photo_id":"1394738019","filename":"file0"},{"photo_id":"1394738023","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738021":["hashtag1","hashtag2"]},{"1394738027":["hashtag1","hashtag2"]},{"1394738029":["hashtag1","hashtag2"]},{"1394738023":["hashtag1","hashtag2"]},{"1394738019":["hashtag1","hashtag2"]},{"1394738022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738021, 1394738027, 1394738029, 1394738023, 1394738019, 1394738022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.738919258117676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:35:42.542817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_34_2686.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_38_3666.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_41_2502.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_43_2697.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_47_3659.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_50_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_34_2686.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_38_3666.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_41_2502.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_43_2697.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_47_3659.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_50_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738036","1394738035","1394738037","1394738031","1394738034","1394738033"],"photo_ids_order":["1394738031","1394738033","1394738034","1394738035","1394738036","1394738037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e2ddbace4109f058d6afdb8d1c11df5.jpg","text":"TemporaryFile(/tmp/multipartBody4415447436042540325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289403178,"filename":"image_16112025_09_53_47_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/461a71468963e497b2ad7c39a9df7de2.jpg","text":"TemporaryFile(/tmp/multipartBody2010929721739127957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289403178,"filename":"image_16112025_09_53_43_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a14d61f1367974208b156f4d9e6099b9.jpg","text":"TemporaryFile(/tmp/multipartBody3145434763106975414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289403178,"filename":"image_16112025_09_53_50_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28bb5718d3a112c36d041dc3a3422d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3236935598890958590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289403178,"filename":"image_16112025_09_53_34_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2d5c1e4b9188734a9f1326745e9c715.jpg","text":"TemporaryFile(/tmp/multipartBody2755426742720178541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289403178,"filename":"image_16112025_09_53_41_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf0913dfbdf8b9b4baa80245feef2302.jpg","text":"TemporaryFile(/tmp/multipartBody1529653605644091341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289403178,"filename":"image_16112025_09_53_38_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738034","file1":"1394738033","file0":"1394738031","file4":"1394738036","file5":"1394738037","file3":"1394738035"},"map_files_photo_id_array":[{"photo_id":"1394738037","filename":"file5"},{"photo_id":"1394738034","filename":"file2"},{"photo_id":"1394738036","filename":"file4"},{"photo_id":"1394738033","filename":"file1"},{"photo_id":"1394738031","filename":"file0"},{"photo_id":"1394738035","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738036":["hashtag1","hashtag2"]},{"1394738035":["hashtag1","hashtag2"]},{"1394738037":["hashtag1","hashtag2"]},{"1394738031":["hashtag1","hashtag2"]},{"1394738034":["hashtag1","hashtag2"]},{"1394738033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738036, 1394738035, 1394738037, 1394738031, 1394738034, 1394738033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02189636230469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:36:22.793147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_52_2646.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_56_3798.jpg', '/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_59_2763.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_01_2578.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_05_3763.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_08_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_52_2646.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_56_3798.jpg
/home/pi/Desktop/images/16112025/09/53/image_16112025_09_53_59_2763.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_01_2578.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_05_3763.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_08_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738049","1394738043","1394738052","1394738046","1394738040","1394738048"],"photo_ids_order":["1394738040","1394738043","1394738046","1394738048","1394738049","1394738052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd2142605939bbcf23867cbf0228602c.jpg","text":"TemporaryFile(/tmp/multipartBody5400313880492858951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289443486,"filename":"image_16112025_09_54_05_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5af9b7202ccf813cf2c4128fd66da4e6.jpg","text":"TemporaryFile(/tmp/multipartBody6952082652512533081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289443486,"filename":"image_16112025_09_53_56_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7100091b53a740a0cfd553d959a231ec.jpg","text":"TemporaryFile(/tmp/multipartBody6823139007344115300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289443486,"filename":"image_16112025_09_54_08_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/036329c71325222863f12374212bdbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5574437574759461882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289443486,"filename":"image_16112025_09_53_59_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/886d098a1edc626cacb9e8f33eaaea08.jpg","text":"TemporaryFile(/tmp/multipartBody913775573068514361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289443486,"filename":"image_16112025_09_53_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/11/16/886a3f937a7832a60339944c56964b73.jpg","text":"TemporaryFile(/tmp/multipartBody1046469951236910336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289443486,"filename":"image_16112025_09_54_01_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738046","file1":"1394738043","file0":"1394738040","file4":"1394738049","file5":"1394738052","file3":"1394738048"},"map_files_photo_id_array":[{"photo_id":"1394738052","filename":"file5"},{"photo_id":"1394738046","filename":"file2"},{"photo_id":"1394738049","filename":"file4"},{"photo_id":"1394738043","filename":"file1"},{"photo_id":"1394738040","filename":"file0"},{"photo_id":"1394738048","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738049":["hashtag1","hashtag2"]},{"1394738043":["hashtag1","hashtag2"]},{"1394738052":["hashtag1","hashtag2"]},{"1394738046":["hashtag1","hashtag2"]},{"1394738040":["hashtag1","hashtag2"]},{"1394738048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738049, 1394738043, 1394738052, 1394738046, 1394738040, 1394738048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.717867612838745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:37:02.827438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_10_2831.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_13_2746.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_17_3663.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_20_2658.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_22_2685.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_26_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_10_2831.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_13_2746.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_17_3663.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_20_2658.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_22_2685.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_26_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738062","1394738059","1394738056","1394738064","1394738058","1394738060"],"photo_ids_order":["1394738056","1394738058","1394738059","1394738060","1394738062","1394738064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1a27244da52f0ca82faf19dd0980169.jpg","text":"TemporaryFile(/tmp/multipartBody5892174559098739154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289483534,"filename":"image_16112025_09_54_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/11/16/03cf9e3be022cc8f502043935b8dc573.jpg","text":"TemporaryFile(/tmp/multipartBody4659263038935613361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289483534,"filename":"image_16112025_09_54_17_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c72db25f25416d0e359628f76ddf6c1.jpg","text":"TemporaryFile(/tmp/multipartBody4475151952946249853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289483534,"filename":"image_16112025_09_54_10_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f86c7816236a2a753cdf931e733fbbd.jpg","text":"TemporaryFile(/tmp/multipartBody1432167423212842076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289483534,"filename":"image_16112025_09_54_26_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7872589aa335096db8a98962caf04f2.jpg","text":"TemporaryFile(/tmp/multipartBody3904856390770896106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289483534,"filename":"image_16112025_09_54_13_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/590703fdf793d02941d1ac3d4d84d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody644987955809110747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289483534,"filename":"image_16112025_09_54_20_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738059","file1":"1394738058","file0":"1394738056","file4":"1394738062","file5":"1394738064","file3":"1394738060"},"map_files_photo_id_array":[{"photo_id":"1394738064","filename":"file5"},{"photo_id":"1394738059","filename":"file2"},{"photo_id":"1394738062","filename":"file4"},{"photo_id":"1394738058","filename":"file1"},{"photo_id":"1394738056","filename":"file0"},{"photo_id":"1394738060","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738062":["hashtag1","hashtag2"]},{"1394738059":["hashtag1","hashtag2"]},{"1394738056":["hashtag1","hashtag2"]},{"1394738064":["hashtag1","hashtag2"]},{"1394738058":["hashtag1","hashtag2"]},{"1394738060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738062, 1394738059, 1394738056, 1394738064, 1394738058, 1394738060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.769784688949585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:37:42.035725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_29_2726.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_31_2589.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_35_3643.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_37_2664.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_40_2660.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_44_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_29_2726.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_31_2589.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_35_3643.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_37_2664.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_40_2660.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_44_3703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738080","1394738073","1394738076","1394738079","1394738070","1394738078"],"photo_ids_order":["1394738070","1394738073","1394738076","1394738078","1394738079","1394738080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b5834e0c881196bf650af786e66e69b.jpg","text":"TemporaryFile(/tmp/multipartBody7877746457980516498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289522673,"filename":"image_16112025_09_54_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/11/16/235da52e98ef166bf9c55f3c31288e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5317748298598196480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289522673,"filename":"image_16112025_09_54_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/11/16/7c736c7f4e3045b8da264af9c1061325.jpg","text":"TemporaryFile(/tmp/multipartBody2710016592746447230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289522673,"filename":"image_16112025_09_54_35_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31bf3bd4b4b94cb105aa30373d7e84d2.jpg","text":"TemporaryFile(/tmp/multipartBody7714737250382621296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289522673,"filename":"image_16112025_09_54_40_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb47dbfc3b650e7c82539f6524b6cf76.jpg","text":"TemporaryFile(/tmp/multipartBody8460990677226854526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289522673,"filename":"image_16112025_09_54_29_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/edbbbe47cd43d893894a236cbe33f21c.jpg","text":"TemporaryFile(/tmp/multipartBody2012737706041780087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289522673,"filename":"image_16112025_09_54_37_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738076","file1":"1394738073","file0":"1394738070","file4":"1394738079","file5":"1394738080","file3":"1394738078"},"map_files_photo_id_array":[{"photo_id":"1394738080","filename":"file5"},{"photo_id":"1394738076","filename":"file2"},{"photo_id":"1394738079","filename":"file4"},{"photo_id":"1394738073","filename":"file1"},{"photo_id":"1394738070","filename":"file0"},{"photo_id":"1394738078","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738080":["hashtag1","hashtag2"]},{"1394738073":["hashtag1","hashtag2"]},{"1394738076":["hashtag1","hashtag2"]},{"1394738079":["hashtag1","hashtag2"]},{"1394738070":["hashtag1","hashtag2"]},{"1394738078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738080, 1394738073, 1394738076, 1394738079, 1394738070, 1394738078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09202170372009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:38:22.130115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_46_2564.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_49_2760.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_53_3848.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_56_2604.jpg', '/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_58_2785.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_02_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_46_2564.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_49_2760.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_53_3848.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_56_2604.jpg
/home/pi/Desktop/images/16112025/09/54/image_16112025_09_54_58_2785.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_02_3644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738091","1394738085","1394738088","1394738082","1394738090","1394738093"],"photo_ids_order":["1394738082","1394738085","1394738088","1394738090","1394738091","1394738093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1cc77538ef66837feffa29b92c1d145.jpg","text":"TemporaryFile(/tmp/multipartBody7784022665580279827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289562791,"filename":"image_16112025_09_54_58_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7845d002457135bdf114885cf3668288.jpg","text":"TemporaryFile(/tmp/multipartBody4028945407602184566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289562791,"filename":"image_16112025_09_54_49_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57ff268fe2359f81c2825a4bb3746d7b.jpg","text":"TemporaryFile(/tmp/multipartBody8790083249139300092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289562791,"filename":"image_16112025_09_54_53_3848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/656dac8085c8a357141e087f7cb0468a.jpg","text":"TemporaryFile(/tmp/multipartBody2246846603703160946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289562791,"filename":"image_16112025_09_54_46_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fafeae7d1c9c24e99262268358316111.jpg","text":"TemporaryFile(/tmp/multipartBody8844732484679032684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289562791,"filename":"image_16112025_09_54_56_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f02ebe419d8523773632be7d6b21f5b6.jpg","text":"TemporaryFile(/tmp/multipartBody7784078852610377057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289562791,"filename":"image_16112025_09_55_02_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738088","file1":"1394738085","file0":"1394738082","file4":"1394738091","file5":"1394738093","file3":"1394738090"},"map_files_photo_id_array":[{"photo_id":"1394738093","filename":"file5"},{"photo_id":"1394738088","filename":"file2"},{"photo_id":"1394738091","filename":"file4"},{"photo_id":"1394738085","filename":"file1"},{"photo_id":"1394738082","filename":"file0"},{"photo_id":"1394738090","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738091":["hashtag1","hashtag2"]},{"1394738085":["hashtag1","hashtag2"]},{"1394738088":["hashtag1","hashtag2"]},{"1394738082":["hashtag1","hashtag2"]},{"1394738090":["hashtag1","hashtag2"]},{"1394738093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738091, 1394738085, 1394738088, 1394738082, 1394738090, 1394738093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8049840927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:39:03.126539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_04_2086.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_08_3684.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_10_2514.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_14_3689.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_17_2605.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_19_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_04_2086.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_08_3684.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_10_2514.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_14_3689.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_17_2605.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_19_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738105","1394738098","1394738101","1394738094","1394738096","1394738099"],"photo_ids_order":["1394738094","1394738096","1394738098","1394738099","1394738101","1394738105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac727c733f964eb44e255a24b544092b.jpg","text":"TemporaryFile(/tmp/multipartBody5701515807256917427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289603858,"filename":"image_16112025_09_55_19_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51dd449bed784c8323ef0e307e4b59c2.jpg","text":"TemporaryFile(/tmp/multipartBody3840099650866497435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289603858,"filename":"image_16112025_09_55_10_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ca09a09c40728244101bb2229453370.jpg","text":"TemporaryFile(/tmp/multipartBody8549643123555989702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289603858,"filename":"image_16112025_09_55_17_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50c97ebfc4c5c9782cdbf9bc85bd3a14.jpg","text":"TemporaryFile(/tmp/multipartBody1017871451008388005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289603858,"filename":"image_16112025_09_55_04_2086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3cb118c6841a008892a49922eaf3ce44.jpg","text":"TemporaryFile(/tmp/multipartBody6104642278977515730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289603858,"filename":"image_16112025_09_55_08_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ca9362a24619684019628dbf848a2f1.jpg","text":"TemporaryFile(/tmp/multipartBody6188412054103036200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289603858,"filename":"image_16112025_09_55_14_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738098","file1":"1394738096","file0":"1394738094","file4":"1394738101","file5":"1394738105","file3":"1394738099"},"map_files_photo_id_array":[{"photo_id":"1394738105","filename":"file5"},{"photo_id":"1394738098","filename":"file2"},{"photo_id":"1394738101","filename":"file4"},{"photo_id":"1394738096","filename":"file1"},{"photo_id":"1394738094","filename":"file0"},{"photo_id":"1394738099","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738105":["hashtag1","hashtag2"]},{"1394738098":["hashtag1","hashtag2"]},{"1394738101":["hashtag1","hashtag2"]},{"1394738094":["hashtag1","hashtag2"]},{"1394738096":["hashtag1","hashtag2"]},{"1394738099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738105, 1394738098, 1394738101, 1394738094, 1394738096, 1394738099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30058979988098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:39:42.426156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_23_3737.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_25_2482.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_28_2741.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_32_3743.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_34_2497.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_37_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_23_3737.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_25_2482.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_28_2741.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_32_3743.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_34_2497.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_37_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738114","1394738111","1394738113","1394738110","1394738112","1394738109"],"photo_ids_order":["1394738109","1394738110","1394738111","1394738112","1394738113","1394738114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00daeb16942c48fa83c28ad7c182a3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3125137459016322007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289643089,"filename":"image_16112025_09_55_37_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6013f083abc7f77ce9634b7af171dbc3.jpg","text":"TemporaryFile(/tmp/multipartBody1379134482182701413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289643089,"filename":"image_16112025_09_55_28_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6b955f99e0ffdcd1d87d20e2e975876.jpg","text":"TemporaryFile(/tmp/multipartBody3678975571526947288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289643089,"filename":"image_16112025_09_55_34_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca38ee3f95ff4bbfd0ae10612a50f63c.jpg","text":"TemporaryFile(/tmp/multipartBody564634192089978550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289643089,"filename":"image_16112025_09_55_25_2482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c390916e688d474bd6c2ee2ad1674fd.jpg","text":"TemporaryFile(/tmp/multipartBody1450385124369044406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289643089,"filename":"image_16112025_09_55_32_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0b15feb5b81f88d967853460606873b.jpg","text":"TemporaryFile(/tmp/multipartBody7255344510440584693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289643089,"filename":"image_16112025_09_55_23_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738111","file1":"1394738110","file0":"1394738109","file4":"1394738113","file5":"1394738114","file3":"1394738112"},"map_files_photo_id_array":[{"photo_id":"1394738114","filename":"file5"},{"photo_id":"1394738111","filename":"file2"},{"photo_id":"1394738113","filename":"file4"},{"photo_id":"1394738110","filename":"file1"},{"photo_id":"1394738109","filename":"file0"},{"photo_id":"1394738112","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738114":["hashtag1","hashtag2"]},{"1394738111":["hashtag1","hashtag2"]},{"1394738113":["hashtag1","hashtag2"]},{"1394738110":["hashtag1","hashtag2"]},{"1394738112":["hashtag1","hashtag2"]},{"1394738109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738114, 1394738111, 1394738113, 1394738110, 1394738112, 1394738109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63668417930603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:40:22.698057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_40_2861.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_44_3759.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_47_2731.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_49_2572.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_53_3655.jpg', '/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_55_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_40_2861.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_44_3759.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_47_2731.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_49_2572.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_53_3655.jpg
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_55_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738123","1394738125","1394738119","1394738121","1394738124","1394738127"],"photo_ids_order":["1394738119","1394738121","1394738123","1394738124","1394738125","1394738127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bff1d32d67c1b6bd70cf4e7a4cf889c.jpg","text":"TemporaryFile(/tmp/multipartBody590645441943181336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289683359,"filename":"image_16112025_09_55_47_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3795776e06a993a219759e9595aab343.jpg","text":"TemporaryFile(/tmp/multipartBody169475846343201030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289683359,"filename":"image_16112025_09_55_53_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49f7905ac024deb748a387a9a56debcf.jpg","text":"TemporaryFile(/tmp/multipartBody3472497287017495518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289683359,"filename":"image_16112025_09_55_40_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/360ffbda64d40d2f99533704410e4112.jpg","text":"TemporaryFile(/tmp/multipartBody7066413805303833875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289683359,"filename":"image_16112025_09_55_44_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4233548761caf0b5b87c1e7e1e08f1a1.jpg","text":"TemporaryFile(/tmp/multipartBody3782447535211135556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289683359,"filename":"image_16112025_09_55_49_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1c91484b8b866e7f727bebe3ad174ed.jpg","text":"TemporaryFile(/tmp/multipartBody8149972682796228032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289683359,"filename":"image_16112025_09_55_55_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738123","file1":"1394738121","file0":"1394738119","file4":"1394738125","file5":"1394738127","file3":"1394738124"},"map_files_photo_id_array":[{"photo_id":"1394738127","filename":"file5"},{"photo_id":"1394738123","filename":"file2"},{"photo_id":"1394738125","filename":"file4"},{"photo_id":"1394738121","filename":"file1"},{"photo_id":"1394738119","filename":"file0"},{"photo_id":"1394738124","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738123":["hashtag1","hashtag2"]},{"1394738125":["hashtag1","hashtag2"]},{"1394738119":["hashtag1","hashtag2"]},{"1394738121":["hashtag1","hashtag2"]},{"1394738124":["hashtag1","hashtag2"]},{"1394738127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738123, 1394738125, 1394738119, 1394738121, 1394738124, 1394738127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64069628715515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:41:02.590063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_58_2776.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_02_3681.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_04_2620.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_07_2676.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_11_3721.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_13_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/55/image_16112025_09_55_58_2776.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_02_3681.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_04_2620.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_07_2676.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_11_3721.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_13_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738129","1394738131","1394738128","1394738136","1394738130","1394738133"],"photo_ids_order":["1394738128","1394738129","1394738130","1394738131","1394738133","1394738136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/877eb5fd4fbb5a3bc0c1a4d0cc661d73.jpg","text":"TemporaryFile(/tmp/multipartBody1995431773657785911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289723418,"filename":"image_16112025_09_56_02_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99547dca5086170c3959cfacd88b281e.jpg","text":"TemporaryFile(/tmp/multipartBody6308199933085705053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289723418,"filename":"image_16112025_09_56_07_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3c71b204e8fdd645564182ffae2eec3.jpg","text":"TemporaryFile(/tmp/multipartBody5152034754772336714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289723418,"filename":"image_16112025_09_55_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/11/16/393b9900c195b3952245734884cb1c76.jpg","text":"TemporaryFile(/tmp/multipartBody5064328468543053192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289723418,"filename":"image_16112025_09_56_13_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cc165f6f29607f0df058823a70f6f33.jpg","text":"TemporaryFile(/tmp/multipartBody8153836988375372738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289723418,"filename":"image_16112025_09_56_04_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f35d0b0ceb019ff5ba9c961c854fcd79.jpg","text":"TemporaryFile(/tmp/multipartBody7843668811181593709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289723418,"filename":"image_16112025_09_56_11_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738130","file1":"1394738129","file0":"1394738128","file4":"1394738133","file5":"1394738136","file3":"1394738131"},"map_files_photo_id_array":[{"photo_id":"1394738136","filename":"file5"},{"photo_id":"1394738130","filename":"file2"},{"photo_id":"1394738133","filename":"file4"},{"photo_id":"1394738129","filename":"file1"},{"photo_id":"1394738128","filename":"file0"},{"photo_id":"1394738131","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738129":["hashtag1","hashtag2"]},{"1394738131":["hashtag1","hashtag2"]},{"1394738128":["hashtag1","hashtag2"]},{"1394738136":["hashtag1","hashtag2"]},{"1394738130":["hashtag1","hashtag2"]},{"1394738133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738129, 1394738131, 1394738128, 1394738136, 1394738130, 1394738133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64423084259033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:41:41.838795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_16_2529.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_20_3579.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_22_2756.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_26_3566.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_29_2664.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_31_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_16_2529.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_20_3579.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_22_2756.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_26_3566.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_29_2664.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_31_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738143","1394738152","1394738146","1394738148","1394738150","1394738153"],"photo_ids_order":["1394738143","1394738146","1394738148","1394738150","1394738152","1394738153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/552b84d870185c28994b0aa58d5a3803.jpg","text":"TemporaryFile(/tmp/multipartBody6440457415692375186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289762510,"filename":"image_16112025_09_56_16_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af90515b3ec2d2ff10de82ac7b1b8adc.jpg","text":"TemporaryFile(/tmp/multipartBody8529125874051517051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289762510,"filename":"image_16112025_09_56_29_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ad3b47bfa1e0b0cdc29d6751ccf90cb.jpg","text":"TemporaryFile(/tmp/multipartBody955857143286511833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289762510,"filename":"image_16112025_09_56_20_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06b9e87a03423184bad1f53e81c7a1db.jpg","text":"TemporaryFile(/tmp/multipartBody2785300746700520620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289762510,"filename":"image_16112025_09_56_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/11/16/450abc92a28f64afc0d6bc53eca05785.jpg","text":"TemporaryFile(/tmp/multipartBody9192401802974874089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289762510,"filename":"image_16112025_09_56_26_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75e8d80b96a7ee8b78c70cf30f9749d9.jpg","text":"TemporaryFile(/tmp/multipartBody4076102393982690026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289762510,"filename":"image_16112025_09_56_31_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738148","file1":"1394738146","file0":"1394738143","file4":"1394738152","file5":"1394738153","file3":"1394738150"},"map_files_photo_id_array":[{"photo_id":"1394738153","filename":"file5"},{"photo_id":"1394738148","filename":"file2"},{"photo_id":"1394738152","filename":"file4"},{"photo_id":"1394738146","filename":"file1"},{"photo_id":"1394738143","filename":"file0"},{"photo_id":"1394738150","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738143":["hashtag1","hashtag2"]},{"1394738152":["hashtag1","hashtag2"]},{"1394738146":["hashtag1","hashtag2"]},{"1394738148":["hashtag1","hashtag2"]},{"1394738150":["hashtag1","hashtag2"]},{"1394738153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738143, 1394738152, 1394738146, 1394738148, 1394738150, 1394738153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21921920776367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:42:22.193446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_35_3644.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_37_2601.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_40_2653.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_44_3743.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_46_2672.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_49_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_35_3644.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_37_2601.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_40_2653.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_44_3743.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_46_2672.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_49_2830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738162","1394738170","1394738164","1394738155","1394738166","1394738159"],"photo_ids_order":["1394738155","1394738159","1394738162","1394738164","1394738166","1394738170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ea1a9d3cbe65ca20e34bb3ec32be35e.jpg","text":"TemporaryFile(/tmp/multipartBody2018721673787403538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289802862,"filename":"image_16112025_09_56_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/11/16/8c922f8a81ef234950395fbe0fc91ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2326942756992450567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289802862,"filename":"image_16112025_09_56_49_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b7c2fd849cc448634854f8f714db387.jpg","text":"TemporaryFile(/tmp/multipartBody2217389125832670907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289802862,"filename":"image_16112025_09_56_44_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/284cb8824bdda8a6d3e87a1f0dd86bbf.jpg","text":"TemporaryFile(/tmp/multipartBody2343083351036582310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289802862,"filename":"image_16112025_09_56_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/11/16/2622e1a1626a1d40dc88290130bb576b.jpg","text":"TemporaryFile(/tmp/multipartBody4910028157476312368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289802862,"filename":"image_16112025_09_56_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/11/16/8c3661f8cf54bd65facdd88169e4c7b9.jpg","text":"TemporaryFile(/tmp/multipartBody2386620099325194142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289802862,"filename":"image_16112025_09_56_37_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738162","file1":"1394738159","file0":"1394738155","file4":"1394738166","file5":"1394738170","file3":"1394738164"},"map_files_photo_id_array":[{"photo_id":"1394738170","filename":"file5"},{"photo_id":"1394738162","filename":"file2"},{"photo_id":"1394738166","filename":"file4"},{"photo_id":"1394738159","filename":"file1"},{"photo_id":"1394738155","filename":"file0"},{"photo_id":"1394738164","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738162":["hashtag1","hashtag2"]},{"1394738170":["hashtag1","hashtag2"]},{"1394738164":["hashtag1","hashtag2"]},{"1394738155":["hashtag1","hashtag2"]},{"1394738166":["hashtag1","hashtag2"]},{"1394738159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738162, 1394738170, 1394738164, 1394738155, 1394738166, 1394738159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59047174453735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:43:03.164258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_52_2753.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_56_3566.jpg', '/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_58_2593.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_02_3674.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_04_2628.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_07_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_52_2753.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_56_3566.jpg
/home/pi/Desktop/images/16112025/09/56/image_16112025_09_56_58_2593.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_02_3674.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_04_2628.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_07_2543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738185","1394738179","1394738181","1394738183","1394738177","1394738180"],"photo_ids_order":["1394738177","1394738179","1394738180","1394738181","1394738183","1394738185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42c1cc727f2c8818ad9264a250506ee2.jpg","text":"TemporaryFile(/tmp/multipartBody9220058128067992328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289843883,"filename":"image_16112025_09_57_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/11/16/ae2745c1671648194b733d89adc70fbc.jpg","text":"TemporaryFile(/tmp/multipartBody167522315719478771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289843883,"filename":"image_16112025_09_56_56_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b2730fa74fd8cf7eaa88342a5f368e0.jpg","text":"TemporaryFile(/tmp/multipartBody4816320862261991641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289843883,"filename":"image_16112025_09_57_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/11/16/79eadc116d105ebf7258e909761e71ac.jpg","text":"TemporaryFile(/tmp/multipartBody1412501648699328070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289843883,"filename":"image_16112025_09_57_04_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25277a4029944a82fbd78672983a200d.jpg","text":"TemporaryFile(/tmp/multipartBody2021224613619424516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289843883,"filename":"image_16112025_09_56_52_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81044910d4c6acc5cd13033bb8a2f69b.jpg","text":"TemporaryFile(/tmp/multipartBody8141456820657834444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289843883,"filename":"image_16112025_09_56_58_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738180","file1":"1394738179","file0":"1394738177","file4":"1394738183","file5":"1394738185","file3":"1394738181"},"map_files_photo_id_array":[{"photo_id":"1394738185","filename":"file5"},{"photo_id":"1394738180","filename":"file2"},{"photo_id":"1394738183","filename":"file4"},{"photo_id":"1394738179","filename":"file1"},{"photo_id":"1394738177","filename":"file0"},{"photo_id":"1394738181","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738185":["hashtag1","hashtag2"]},{"1394738179":["hashtag1","hashtag2"]},{"1394738181":["hashtag1","hashtag2"]},{"1394738183":["hashtag1","hashtag2"]},{"1394738177":["hashtag1","hashtag2"]},{"1394738180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738185, 1394738179, 1394738181, 1394738183, 1394738177, 1394738180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00443482398987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:43:42.294573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_11_3610.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_13_2618.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_17_3530.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_19_2685.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_22_2878.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_25_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_11_3610.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_13_2618.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_17_3530.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_19_2685.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_22_2878.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_25_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738194","1394738190","1394738193","1394738196","1394738195","1394738192"],"photo_ids_order":["1394738190","1394738192","1394738193","1394738194","1394738195","1394738196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f99c90c94bc6a13953bcd7bc1ed42e51.jpg","text":"TemporaryFile(/tmp/multipartBody413365126409911268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289882933,"filename":"image_16112025_09_57_19_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b181bd8810454a9d8100ef846bc45de.jpg","text":"TemporaryFile(/tmp/multipartBody996143666097033449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289882933,"filename":"image_16112025_09_57_11_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5aedd7b94cec9fa4a2d1bcf564c7b20c.jpg","text":"TemporaryFile(/tmp/multipartBody677150918808692102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289882933,"filename":"image_16112025_09_57_17_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b04a9e0329e78f4ae0d54b7baf173a9.jpg","text":"TemporaryFile(/tmp/multipartBody5574114665434960280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289882933,"filename":"image_16112025_09_57_25_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f12ab7db73257bdb6a508272e93ac272.jpg","text":"TemporaryFile(/tmp/multipartBody3758509760821663627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289882933,"filename":"image_16112025_09_57_22_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5858fa005bda3abc949af89095f44e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1835897853277885906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289882933,"filename":"image_16112025_09_57_13_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738193","file1":"1394738192","file0":"1394738190","file4":"1394738195","file5":"1394738196","file3":"1394738194"},"map_files_photo_id_array":[{"photo_id":"1394738196","filename":"file5"},{"photo_id":"1394738193","filename":"file2"},{"photo_id":"1394738195","filename":"file4"},{"photo_id":"1394738192","filename":"file1"},{"photo_id":"1394738190","filename":"file0"},{"photo_id":"1394738194","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738194":["hashtag1","hashtag2"]},{"1394738190":["hashtag1","hashtag2"]},{"1394738193":["hashtag1","hashtag2"]},{"1394738196":["hashtag1","hashtag2"]},{"1394738195":["hashtag1","hashtag2"]},{"1394738192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738194, 1394738190, 1394738193, 1394738196, 1394738195, 1394738192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.133697509765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:44:22.568456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_29_3665.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_31_2719.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_34_2821.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_37_2669.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_41_3715.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_44_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_29_3665.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_31_2719.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_34_2821.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_37_2669.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_41_3715.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_44_2868.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738207","1394738209","1394738200","1394738203","1394738205","1394738208"],"photo_ids_order":["1394738200","1394738203","1394738205","1394738207","1394738208","1394738209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e531a3db83e65dd65638ffe5c9cd1a4f.jpg","text":"TemporaryFile(/tmp/multipartBody7458420320219016588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289923254,"filename":"image_16112025_09_57_37_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48383d59aa5574026c1aa28027c842ae.jpg","text":"TemporaryFile(/tmp/multipartBody5101873156188243686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289923254,"filename":"image_16112025_09_57_44_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40a22efad937f247d74fac193e1359f7.jpg","text":"TemporaryFile(/tmp/multipartBody3041387349185731727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289923254,"filename":"image_16112025_09_57_29_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0916dd425b6c078b1acbf2f04a52f335.jpg","text":"TemporaryFile(/tmp/multipartBody889352753993014004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289923254,"filename":"image_16112025_09_57_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/11/16/d1a8330a292704726ecf214765152b7d.jpg","text":"TemporaryFile(/tmp/multipartBody4914217305353167274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289923254,"filename":"image_16112025_09_57_34_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1be31e3d391c680deed04edf0ce0ad38.jpg","text":"TemporaryFile(/tmp/multipartBody66667508707683684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289923254,"filename":"image_16112025_09_57_41_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738205","file1":"1394738203","file0":"1394738200","file4":"1394738208","file5":"1394738209","file3":"1394738207"},"map_files_photo_id_array":[{"photo_id":"1394738209","filename":"file5"},{"photo_id":"1394738205","filename":"file2"},{"photo_id":"1394738208","filename":"file4"},{"photo_id":"1394738203","filename":"file1"},{"photo_id":"1394738200","filename":"file0"},{"photo_id":"1394738207","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738207":["hashtag1","hashtag2"]},{"1394738209":["hashtag1","hashtag2"]},{"1394738200":["hashtag1","hashtag2"]},{"1394738203":["hashtag1","hashtag2"]},{"1394738205":["hashtag1","hashtag2"]},{"1394738208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738207, 1394738209, 1394738200, 1394738203, 1394738205, 1394738208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91010808944702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:45:03.424631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_46_2595.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_49_2628.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_52_3688.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_55_2656.jpg', '/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_59_3605.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_01_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_46_2595.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_49_2628.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_52_3688.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_55_2656.jpg
/home/pi/Desktop/images/16112025/09/57/image_16112025_09_57_59_3605.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_01_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738213","1394738210","1394738215","1394738220","1394738217","1394738214"],"photo_ids_order":["1394738210","1394738213","1394738214","1394738215","1394738217","1394738220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0fbed14596fa0858bb177b78fae5608.jpg","text":"TemporaryFile(/tmp/multipartBody6710043146746649343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289964224,"filename":"image_16112025_09_57_49_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c0da06afa69f35ab0ef4e963db1947b.jpg","text":"TemporaryFile(/tmp/multipartBody8918071489376790937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289964224,"filename":"image_16112025_09_57_46_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f268c9dde92b12d7a5fce66e1c551a14.jpg","text":"TemporaryFile(/tmp/multipartBody1262067876850677990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289964224,"filename":"image_16112025_09_57_55_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/798118ca818bd0d236c65dccfaf64705.jpg","text":"TemporaryFile(/tmp/multipartBody1713829871874810883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289964224,"filename":"image_16112025_09_58_01_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a524a5cee4cfff6b294775a901b0286.jpg","text":"TemporaryFile(/tmp/multipartBody2601131865279126073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289964224,"filename":"image_16112025_09_57_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/11/16/34307dfe1d4d398de5c0b7598f56b6fd.jpg","text":"TemporaryFile(/tmp/multipartBody1458333155230454744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763289964224,"filename":"image_16112025_09_57_52_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738214","file1":"1394738213","file0":"1394738210","file4":"1394738217","file5":"1394738220","file3":"1394738215"},"map_files_photo_id_array":[{"photo_id":"1394738220","filename":"file5"},{"photo_id":"1394738214","filename":"file2"},{"photo_id":"1394738217","filename":"file4"},{"photo_id":"1394738213","filename":"file1"},{"photo_id":"1394738210","filename":"file0"},{"photo_id":"1394738215","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738213":["hashtag1","hashtag2"]},{"1394738210":["hashtag1","hashtag2"]},{"1394738215":["hashtag1","hashtag2"]},{"1394738220":["hashtag1","hashtag2"]},{"1394738217":["hashtag1","hashtag2"]},{"1394738214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738213, 1394738210, 1394738215, 1394738220, 1394738217, 1394738214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60477590560913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:45:42.899302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_04_2688.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_08_3586.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_10_2641.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_13_2628.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_16_3640.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_19_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_04_2688.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_08_3586.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_10_2641.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_13_2628.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_16_3640.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_19_2684.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.5571057796478271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:46:02.585140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_04_2688.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_08_3586.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_10_2641.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_13_2628.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_16_3640.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_19_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_04_2688.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_08_3586.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_10_2641.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_13_2628.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_16_3640.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_19_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738234","1394738237","1394738242","1394738236","1394738239","1394738235"],"photo_ids_order":["1394738234","1394738235","1394738236","1394738237","1394738239","1394738242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/617e7db9b7b855e303d4a23a2526a269.jpg","text":"TemporaryFile(/tmp/multipartBody2823227880606620337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290023259,"filename":"image_16112025_09_58_04_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6eb98343848c38402ab25e3c4100069.jpg","text":"TemporaryFile(/tmp/multipartBody334962370633537270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290023259,"filename":"image_16112025_09_58_13_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fabd8da65b768d9b93b2173657276dc.jpg","text":"TemporaryFile(/tmp/multipartBody4638204474482244279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290023259,"filename":"image_16112025_09_58_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/11/16/93fcc1cd30ed1025d9aa1f26cebbc4fc.jpg","text":"TemporaryFile(/tmp/multipartBody5435657488749451319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290023259,"filename":"image_16112025_09_58_10_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a59ee14ed45b117d711c88f524f70a9.jpg","text":"TemporaryFile(/tmp/multipartBody716481446161229958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290023259,"filename":"image_16112025_09_58_16_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c495d76c8217fa7468dac72d32f065c.jpg","text":"TemporaryFile(/tmp/multipartBody8826886790138938757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290023259,"filename":"image_16112025_09_58_08_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738236","file1":"1394738235","file0":"1394738234","file4":"1394738239","file5":"1394738242","file3":"1394738237"},"map_files_photo_id_array":[{"photo_id":"1394738242","filename":"file5"},{"photo_id":"1394738236","filename":"file2"},{"photo_id":"1394738239","filename":"file4"},{"photo_id":"1394738235","filename":"file1"},{"photo_id":"1394738234","filename":"file0"},{"photo_id":"1394738237","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738234":["hashtag1","hashtag2"]},{"1394738237":["hashtag1","hashtag2"]},{"1394738242":["hashtag1","hashtag2"]},{"1394738236":["hashtag1","hashtag2"]},{"1394738239":["hashtag1","hashtag2"]},{"1394738235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738234, 1394738237, 1394738242, 1394738236, 1394738239, 1394738235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27970504760742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:46:42.107865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_23_3520.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_26_2829.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_28_2541.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_31_2647.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_34_3668.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_37_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_23_3520.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_26_2829.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_28_2541.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_31_2647.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_34_3668.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_37_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738249","1394738248","1394738247","1394738250","1394738244","1394738246"],"photo_ids_order":["1394738244","1394738246","1394738247","1394738248","1394738249","1394738250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb87c445038ece0308ea03d6ae93a1bc.jpg","text":"TemporaryFile(/tmp/multipartBody2421548250765408335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290062767,"filename":"image_16112025_09_58_34_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ec449dfbfb9b241e987f7111220406a.jpg","text":"TemporaryFile(/tmp/multipartBody3458427330772500123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290062767,"filename":"image_16112025_09_58_31_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a09df3011a3132a6f0b3aa8a15b3c88.jpg","text":"TemporaryFile(/tmp/multipartBody6702420283636786124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290062767,"filename":"image_16112025_09_58_28_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35b9eabe3f397ef51b7af4b7e09b695f.jpg","text":"TemporaryFile(/tmp/multipartBody6525846339029868206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290062767,"filename":"image_16112025_09_58_37_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/228596e820d9ed00aee0c5d419ef8c3b.jpg","text":"TemporaryFile(/tmp/multipartBody2436006508896000371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290062767,"filename":"image_16112025_09_58_23_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ae8264097d78f030685ba440c35b430.jpg","text":"TemporaryFile(/tmp/multipartBody4193578163560645931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290062767,"filename":"image_16112025_09_58_26_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738247","file1":"1394738246","file0":"1394738244","file4":"1394738249","file5":"1394738250","file3":"1394738248"},"map_files_photo_id_array":[{"photo_id":"1394738250","filename":"file5"},{"photo_id":"1394738247","filename":"file2"},{"photo_id":"1394738249","filename":"file4"},{"photo_id":"1394738246","filename":"file1"},{"photo_id":"1394738244","filename":"file0"},{"photo_id":"1394738248","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738249":["hashtag1","hashtag2"]},{"1394738248":["hashtag1","hashtag2"]},{"1394738247":["hashtag1","hashtag2"]},{"1394738250":["hashtag1","hashtag2"]},{"1394738244":["hashtag1","hashtag2"]},{"1394738246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738249, 1394738248, 1394738247, 1394738250, 1394738244, 1394738246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24856448173523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:47:22.794370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_41_3618.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_43_2702.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_46_2690.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_50_3632.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_52_2731.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_55_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_41_3618.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_43_2702.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_46_2690.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_50_3632.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_52_2731.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_55_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738261","1394738260","1394738254","1394738263","1394738256","1394738258"],"photo_ids_order":["1394738254","1394738256","1394738258","1394738260","1394738261","1394738263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5aaa1bbc19778e1398f467fca2b4a6e2.jpg","text":"TemporaryFile(/tmp/multipartBody5574750068534046245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290103453,"filename":"image_16112025_09_58_52_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c26dad20c132bcdc2d615d5306c6685.jpg","text":"TemporaryFile(/tmp/multipartBody82986964223579127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290103453,"filename":"image_16112025_09_58_50_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3fcd281e40a647d418864fa6136140c.jpg","text":"TemporaryFile(/tmp/multipartBody20364590069822885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290103453,"filename":"image_16112025_09_58_41_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab2a2f87f53b3e2451d634326c51a2a5.jpg","text":"TemporaryFile(/tmp/multipartBody1122596505382822327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290103453,"filename":"image_16112025_09_58_55_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/222d9dd505b8a6463a95a461868f5dce.jpg","text":"TemporaryFile(/tmp/multipartBody2579635964003694974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290103453,"filename":"image_16112025_09_58_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/11/16/b286a05aaafba4ee42a4e2ccae054e01.jpg","text":"TemporaryFile(/tmp/multipartBody2241056031311005342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290103453,"filename":"image_16112025_09_58_46_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738258","file1":"1394738256","file0":"1394738254","file4":"1394738261","file5":"1394738263","file3":"1394738260"},"map_files_photo_id_array":[{"photo_id":"1394738263","filename":"file5"},{"photo_id":"1394738258","filename":"file2"},{"photo_id":"1394738261","filename":"file4"},{"photo_id":"1394738256","filename":"file1"},{"photo_id":"1394738254","filename":"file0"},{"photo_id":"1394738260","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738261":["hashtag1","hashtag2"]},{"1394738260":["hashtag1","hashtag2"]},{"1394738254":["hashtag1","hashtag2"]},{"1394738263":["hashtag1","hashtag2"]},{"1394738256":["hashtag1","hashtag2"]},{"1394738258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738261, 1394738260, 1394738254, 1394738263, 1394738256, 1394738258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.632660150527954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:48:02.515730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_58_2759.jpg', '/home/pi/Desktop/images/16112025/09/58/image_16112025_09_59_01_3656.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_04_2537.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_08_3621.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_10_2769.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_13_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_58_58_2759.jpg
/home/pi/Desktop/images/16112025/09/58/image_16112025_09_59_01_3656.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_04_2537.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_08_3621.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_10_2769.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_13_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738269","1394738271","1394738276","1394738279","1394738273","1394738267"],"photo_ids_order":["1394738267","1394738269","1394738271","1394738273","1394738276","1394738279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cef4008962a97c0577ff0c6ed1120019.jpg","text":"TemporaryFile(/tmp/multipartBody1016361418791936098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290143213,"filename":"image_16112025_09_59_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/11/16/a57976a2885ede53f007909a193527b3.jpg","text":"TemporaryFile(/tmp/multipartBody1766638638103742544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290143213,"filename":"image_16112025_09_59_04_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ac73674ca9c36e669323ec5343e25b0.jpg","text":"TemporaryFile(/tmp/multipartBody3321634905859106587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290143213,"filename":"image_16112025_09_59_10_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eed0df713a0037316a31cddf8ba34440.jpg","text":"TemporaryFile(/tmp/multipartBody2947682973129914982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290143213,"filename":"image_16112025_09_59_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/11/16/7e1bf73502e0dc0bcf75e91b7c381dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6178587263590062870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290143213,"filename":"image_16112025_09_59_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/11/16/832fd23a823166c515a4692e610c0df1.jpg","text":"TemporaryFile(/tmp/multipartBody2567747219511769601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290143213,"filename":"image_16112025_09_58_58_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738271","file1":"1394738269","file0":"1394738267","file4":"1394738276","file5":"1394738279","file3":"1394738273"},"map_files_photo_id_array":[{"photo_id":"1394738279","filename":"file5"},{"photo_id":"1394738271","filename":"file2"},{"photo_id":"1394738276","filename":"file4"},{"photo_id":"1394738269","filename":"file1"},{"photo_id":"1394738267","filename":"file0"},{"photo_id":"1394738273","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738269":["hashtag1","hashtag2"]},{"1394738271":["hashtag1","hashtag2"]},{"1394738276":["hashtag1","hashtag2"]},{"1394738279":["hashtag1","hashtag2"]},{"1394738273":["hashtag1","hashtag2"]},{"1394738267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738269, 1394738271, 1394738276, 1394738279, 1394738273, 1394738267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91422986984253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:48:41.975550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_16_3613.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_19_2635.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_22_2707.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_25_3534.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_28_2671.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_32_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_16_3613.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_19_2635.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_22_2707.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_25_3534.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_28_2671.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_32_3545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738287","1394738284","1394738286","1394738282","1394738285","1394738288"],"photo_ids_order":["1394738282","1394738284","1394738285","1394738286","1394738287","1394738288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f5e543bb80b880b058f8936207bc33b.jpg","text":"TemporaryFile(/tmp/multipartBody2269394448880984410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290182621,"filename":"image_16112025_09_59_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/11/16/26540773e17b247b39066b2444aa1ef1.jpg","text":"TemporaryFile(/tmp/multipartBody8994408114344539770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290182621,"filename":"image_16112025_09_59_19_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84a42107185bdfcc1fa26874659cb764.jpg","text":"TemporaryFile(/tmp/multipartBody4649490695718357860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290182621,"filename":"image_16112025_09_59_25_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5d7ea62fc8b31ed38150086cb0e1414.jpg","text":"TemporaryFile(/tmp/multipartBody8655788336698604480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290182621,"filename":"image_16112025_09_59_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/11/16/112d2875f734ec07cbfa2e5ae2c03515.jpg","text":"TemporaryFile(/tmp/multipartBody5930910789001975333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290182621,"filename":"image_16112025_09_59_22_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9558b9ff4aec420f152a8b40e1b7a509.jpg","text":"TemporaryFile(/tmp/multipartBody816975118908463817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290182621,"filename":"image_16112025_09_59_32_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738285","file1":"1394738284","file0":"1394738282","file4":"1394738287","file5":"1394738288","file3":"1394738286"},"map_files_photo_id_array":[{"photo_id":"1394738288","filename":"file5"},{"photo_id":"1394738285","filename":"file2"},{"photo_id":"1394738287","filename":"file4"},{"photo_id":"1394738284","filename":"file1"},{"photo_id":"1394738282","filename":"file0"},{"photo_id":"1394738286","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738287":["hashtag1","hashtag2"]},{"1394738284":["hashtag1","hashtag2"]},{"1394738286":["hashtag1","hashtag2"]},{"1394738282":["hashtag1","hashtag2"]},{"1394738285":["hashtag1","hashtag2"]},{"1394738288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738287, 1394738284, 1394738286, 1394738282, 1394738285, 1394738288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44177031517029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:49:22.210428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_34_2679.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_37_2639.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_40_3605.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_43_2624.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_46_2643.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_49_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_34_2679.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_37_2639.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_40_3605.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_43_2624.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_46_2643.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_49_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738303","1394738306","1394738302","1394738294","1394738297","1394738291"],"photo_ids_order":["1394738291","1394738294","1394738297","1394738302","1394738303","1394738306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2bbd9f79e77f6175e029e8d27057fa7.jpg","text":"TemporaryFile(/tmp/multipartBody1726468920926511624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290222859,"filename":"image_16112025_09_59_46_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ba49ef57f8d49fa702d6f6981846cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5102258604215410975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290222859,"filename":"image_16112025_09_59_49_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54696038f957a3451165eb4f22746bdf.jpg","text":"TemporaryFile(/tmp/multipartBody5587235817139469751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290222859,"filename":"image_16112025_09_59_43_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3c6f4d00305051a51dda4d6ff396230.jpg","text":"TemporaryFile(/tmp/multipartBody2910135276784437915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290222859,"filename":"image_16112025_09_59_37_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f642719651f86135db2bab19759f78d.jpg","text":"TemporaryFile(/tmp/multipartBody3830755323536206867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290222859,"filename":"image_16112025_09_59_40_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0922ec19d4f91009e059682bccc25d3.jpg","text":"TemporaryFile(/tmp/multipartBody3647474255981710586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290222859,"filename":"image_16112025_09_59_34_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738297","file1":"1394738294","file0":"1394738291","file4":"1394738303","file5":"1394738306","file3":"1394738302"},"map_files_photo_id_array":[{"photo_id":"1394738306","filename":"file5"},{"photo_id":"1394738297","filename":"file2"},{"photo_id":"1394738303","filename":"file4"},{"photo_id":"1394738294","filename":"file1"},{"photo_id":"1394738291","filename":"file0"},{"photo_id":"1394738302","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738303":["hashtag1","hashtag2"]},{"1394738306":["hashtag1","hashtag2"]},{"1394738302":["hashtag1","hashtag2"]},{"1394738294":["hashtag1","hashtag2"]},{"1394738297":["hashtag1","hashtag2"]},{"1394738291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738303, 1394738306, 1394738302, 1394738294, 1394738297, 1394738291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.972408294677734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:50:02.984560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_52_2904.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_55_2717.jpg', '/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_58_2705.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_07_3010.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_11_3575.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_14_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_52_2904.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_55_2717.jpg
/home/pi/Desktop/images/16112025/09/59/image_16112025_09_59_58_2705.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_07_3010.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_11_3575.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_14_2555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738312","1394738315","1394738317","1394738311","1394738310","1394738313"],"photo_ids_order":["1394738310","1394738311","1394738312","1394738313","1394738315","1394738317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8783312a9e751c3c62e33d3b9950037e.jpg","text":"TemporaryFile(/tmp/multipartBody5590514635330455416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290263661,"filename":"image_16112025_09_59_58_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/179d8f07d76a128b37ef1795d2229d31.jpg","text":"TemporaryFile(/tmp/multipartBody1495695003576023803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290263661,"filename":"image_16112025_10_00_11_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb4eba876e4e7d7d4615171688b368c5.jpg","text":"TemporaryFile(/tmp/multipartBody4013576951794575526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290263661,"filename":"image_16112025_10_00_14_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4dba180457c8d27fd133f271845212b3.jpg","text":"TemporaryFile(/tmp/multipartBody8087099408677417454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290263661,"filename":"image_16112025_09_59_55_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b704df5fc9b70461ed1b29bb11bb525.jpg","text":"TemporaryFile(/tmp/multipartBody3410255745746219746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290263661,"filename":"image_16112025_09_59_52_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26f33ee6512548e64b8e4718b9ce0305.jpg","text":"TemporaryFile(/tmp/multipartBody286143270923005500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290263661,"filename":"image_16112025_10_00_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738312","file1":"1394738311","file0":"1394738310","file4":"1394738315","file5":"1394738317","file3":"1394738313"},"map_files_photo_id_array":[{"photo_id":"1394738317","filename":"file5"},{"photo_id":"1394738312","filename":"file2"},{"photo_id":"1394738315","filename":"file4"},{"photo_id":"1394738311","filename":"file1"},{"photo_id":"1394738310","filename":"file0"},{"photo_id":"1394738313","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738312":["hashtag1","hashtag2"]},{"1394738315":["hashtag1","hashtag2"]},{"1394738317":["hashtag1","hashtag2"]},{"1394738311":["hashtag1","hashtag2"]},{"1394738310":["hashtag1","hashtag2"]},{"1394738313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738312, 1394738315, 1394738317, 1394738311, 1394738310, 1394738313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14514946937561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:50:42.567511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_17_3561.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_20_2695.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_22_2687.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_26_3660.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_29_2665.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_31_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_17_3561.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_20_2695.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_22_2687.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_26_3660.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_29_2665.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_31_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738324","1394738326","1394738329","1394738328","1394738331","1394738330"],"photo_ids_order":["1394738324","1394738326","1394738328","1394738329","1394738330","1394738331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94afa31808a2cba4a3cd85a21c10f6b0.jpg","text":"TemporaryFile(/tmp/multipartBody6198367918701071439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290303251,"filename":"image_16112025_10_00_17_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8a1589f72e09c12eee042a8088b1bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7096960345244659995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290303251,"filename":"image_16112025_10_00_20_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2fc5b9cc96da5dd4f0d9478260fcaa8.jpg","text":"TemporaryFile(/tmp/multipartBody505018954225276214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290303251,"filename":"image_16112025_10_00_26_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f98772ca35e0389a2daa894d0a84e23e.jpg","text":"TemporaryFile(/tmp/multipartBody8594515191605017588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290303251,"filename":"image_16112025_10_00_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/11/16/d40f8ff189d0ae5cb0260fc3b2287cb9.jpg","text":"TemporaryFile(/tmp/multipartBody6808349666131548366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290303251,"filename":"image_16112025_10_00_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/497a03c7256f818d2e312af69003b076.jpg","text":"TemporaryFile(/tmp/multipartBody2156617419979848842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290303251,"filename":"image_16112025_10_00_29_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738328","file1":"1394738326","file0":"1394738324","file4":"1394738330","file5":"1394738331","file3":"1394738329"},"map_files_photo_id_array":[{"photo_id":"1394738331","filename":"file5"},{"photo_id":"1394738328","filename":"file2"},{"photo_id":"1394738330","filename":"file4"},{"photo_id":"1394738326","filename":"file1"},{"photo_id":"1394738324","filename":"file0"},{"photo_id":"1394738329","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738324":["hashtag1","hashtag2"]},{"1394738326":["hashtag1","hashtag2"]},{"1394738329":["hashtag1","hashtag2"]},{"1394738328":["hashtag1","hashtag2"]},{"1394738331":["hashtag1","hashtag2"]},{"1394738330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738324, 1394738326, 1394738329, 1394738328, 1394738331, 1394738330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49480056762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:51:22.866659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_35_3586.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_38_2601.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_40_2718.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_44_3768.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_47_2583.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_49_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_35_3586.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_38_2601.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_40_2718.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_44_3768.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_47_2583.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_49_2652.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.5764691829681396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:51:42.767323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_35_3586.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_38_2601.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_40_2718.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_44_3768.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_47_2583.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_49_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_35_3586.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_38_2601.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_40_2718.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_44_3768.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_47_2583.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_49_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738348","1394738350","1394738344","1394738347","1394738346","1394738349"],"photo_ids_order":["1394738344","1394738346","1394738347","1394738348","1394738349","1394738350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f38ed38d6db36bfe71afbfaf3e9c4230.jpg","text":"TemporaryFile(/tmp/multipartBody7856579734629712977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290363450,"filename":"image_16112025_10_00_44_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3698634745e22627b23ad8f1b7efcba4.jpg","text":"TemporaryFile(/tmp/multipartBody813559536202422168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290363450,"filename":"image_16112025_10_00_49_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb41857b744eb34984a44dbc64a963c8.jpg","text":"TemporaryFile(/tmp/multipartBody7785760727684616477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290363450,"filename":"image_16112025_10_00_35_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3439dc2ea878fc0d3c14bbb96d37305.jpg","text":"TemporaryFile(/tmp/multipartBody7291363795514654958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290363450,"filename":"image_16112025_10_00_40_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b5b35f0a7163069057cfee3a7e1d2b7.jpg","text":"TemporaryFile(/tmp/multipartBody8593612584084054757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290363450,"filename":"image_16112025_10_00_38_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70dd592de314ae65de4ab78ae0367aee.jpg","text":"TemporaryFile(/tmp/multipartBody4375532760638603911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290363450,"filename":"image_16112025_10_00_47_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738347","file1":"1394738346","file0":"1394738344","file4":"1394738349","file5":"1394738350","file3":"1394738348"},"map_files_photo_id_array":[{"photo_id":"1394738350","filename":"file5"},{"photo_id":"1394738347","filename":"file2"},{"photo_id":"1394738349","filename":"file4"},{"photo_id":"1394738346","filename":"file1"},{"photo_id":"1394738344","filename":"file0"},{"photo_id":"1394738348","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738348":["hashtag1","hashtag2"]},{"1394738350":["hashtag1","hashtag2"]},{"1394738344":["hashtag1","hashtag2"]},{"1394738347":["hashtag1","hashtag2"]},{"1394738346":["hashtag1","hashtag2"]},{"1394738349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738348, 1394738350, 1394738344, 1394738347, 1394738346, 1394738349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.673866271972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:52:22.022163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_53_3887.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_56_2659.jpg', '/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_59_2710.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_02_3662.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_05_2583.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_07_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_53_3887.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_56_2659.jpg
/home/pi/Desktop/images/16112025/10/00/image_16112025_10_00_59_2710.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_02_3662.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_05_2583.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_07_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738360","1394738371","1394738368","1394738370","1394738364","1394738373"],"photo_ids_order":["1394738360","1394738364","1394738368","1394738370","1394738371","1394738373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f307959d293bc08fe93ffd6bdf7177c.jpg","text":"TemporaryFile(/tmp/multipartBody3576667598921524110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290402648,"filename":"image_16112025_10_00_53_3887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d79de92fd31d134affd9be1ae013af90.jpg","text":"TemporaryFile(/tmp/multipartBody1768845424065128550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290402648,"filename":"image_16112025_10_01_05_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0d6cedaff0e2faa8017900410f5e492.jpg","text":"TemporaryFile(/tmp/multipartBody1749056990877094955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290402648,"filename":"image_16112025_10_00_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/11/16/8cf0fe6e74d083dd20fa628e2c0fc911.jpg","text":"TemporaryFile(/tmp/multipartBody442838999995835010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290402648,"filename":"image_16112025_10_01_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/11/16/5e66930d9bb2d63596f8852c2299c67e.jpg","text":"TemporaryFile(/tmp/multipartBody8980520659162126905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290402648,"filename":"image_16112025_10_00_56_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ca71eb10393e38a94f1db84092c9420.jpg","text":"TemporaryFile(/tmp/multipartBody6181949844523552752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290402648,"filename":"image_16112025_10_01_07_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738368","file1":"1394738364","file0":"1394738360","file4":"1394738371","file5":"1394738373","file3":"1394738370"},"map_files_photo_id_array":[{"photo_id":"1394738373","filename":"file5"},{"photo_id":"1394738368","filename":"file2"},{"photo_id":"1394738371","filename":"file4"},{"photo_id":"1394738364","filename":"file1"},{"photo_id":"1394738360","filename":"file0"},{"photo_id":"1394738370","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738360":["hashtag1","hashtag2"]},{"1394738371":["hashtag1","hashtag2"]},{"1394738368":["hashtag1","hashtag2"]},{"1394738370":["hashtag1","hashtag2"]},{"1394738364":["hashtag1","hashtag2"]},{"1394738373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738360, 1394738371, 1394738368, 1394738370, 1394738364, 1394738373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23395395278931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:53:02.970872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_11_3713.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_14_2697.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_17_2765.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_19_2756.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_23_3633.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_26_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_11_3713.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_14_2697.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_17_2765.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_19_2756.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_23_3633.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_26_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738374","1394738377","1394738382","1394738379","1394738376","1394738375"],"photo_ids_order":["1394738374","1394738375","1394738376","1394738377","1394738379","1394738382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc0ad33043a42de1f5b805a6d655907e.jpg","text":"TemporaryFile(/tmp/multipartBody1632557455576977966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290443729,"filename":"image_16112025_10_01_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/11/16/f801616577e5047b056645234ff84d57.jpg","text":"TemporaryFile(/tmp/multipartBody6631491976630289461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290443729,"filename":"image_16112025_10_01_19_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca41c3c58d2912508ba68865c1d116f7.jpg","text":"TemporaryFile(/tmp/multipartBody9004242138300253738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290443729,"filename":"image_16112025_10_01_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/11/16/c33fa6e5c13b7e7480503125563e115d.jpg","text":"TemporaryFile(/tmp/multipartBody8553790743400685140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290443729,"filename":"image_16112025_10_01_23_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df25e4d7fa10da5b1c97e2880492deac.jpg","text":"TemporaryFile(/tmp/multipartBody2377109485806434824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290443729,"filename":"image_16112025_10_01_17_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a64ffe296a26b06a968067cfafb9280.jpg","text":"TemporaryFile(/tmp/multipartBody7700828781889298635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290443729,"filename":"image_16112025_10_01_14_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738376","file1":"1394738375","file0":"1394738374","file4":"1394738379","file5":"1394738382","file3":"1394738377"},"map_files_photo_id_array":[{"photo_id":"1394738382","filename":"file5"},{"photo_id":"1394738376","filename":"file2"},{"photo_id":"1394738379","filename":"file4"},{"photo_id":"1394738375","filename":"file1"},{"photo_id":"1394738374","filename":"file0"},{"photo_id":"1394738377","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738374":["hashtag1","hashtag2"]},{"1394738377":["hashtag1","hashtag2"]},{"1394738382":["hashtag1","hashtag2"]},{"1394738379":["hashtag1","hashtag2"]},{"1394738376":["hashtag1","hashtag2"]},{"1394738375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738374, 1394738377, 1394738382, 1394738379, 1394738376, 1394738375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.406965017318726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:53:42.286625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_28_2606.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_32_3592.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_35_2672.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_38_3520.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_41_2568.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_43_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_28_2606.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_32_3592.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_35_2672.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_38_3520.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_41_2568.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_43_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738392","1394738394","1394738388","1394738393","1394738387","1394738390"],"photo_ids_order":["1394738387","1394738388","1394738390","1394738392","1394738393","1394738394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdfc0297ede33b42607581d23b830ce3.jpg","text":"TemporaryFile(/tmp/multipartBody2533127322128174475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290482963,"filename":"image_16112025_10_01_38_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca684c2e49d3a43e96871357d8281796.jpg","text":"TemporaryFile(/tmp/multipartBody884836267786099850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290482963,"filename":"image_16112025_10_01_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/11/16/b59e828af49d559a5f3497a939a3f22e.jpg","text":"TemporaryFile(/tmp/multipartBody1022698079119482270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290482963,"filename":"image_16112025_10_01_32_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e01449f55e6cfd34c93e40ff0b2839d8.jpg","text":"TemporaryFile(/tmp/multipartBody3514030451553717054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290482963,"filename":"image_16112025_10_01_41_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75115247f78915215b3b9836898ca07c.jpg","text":"TemporaryFile(/tmp/multipartBody8510132749475584953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290482963,"filename":"image_16112025_10_01_28_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d36b4bff3da843a906b60181ba1e354f.jpg","text":"TemporaryFile(/tmp/multipartBody902794783092980555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290482963,"filename":"image_16112025_10_01_35_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738390","file1":"1394738388","file0":"1394738387","file4":"1394738393","file5":"1394738394","file3":"1394738392"},"map_files_photo_id_array":[{"photo_id":"1394738394","filename":"file5"},{"photo_id":"1394738390","filename":"file2"},{"photo_id":"1394738393","filename":"file4"},{"photo_id":"1394738388","filename":"file1"},{"photo_id":"1394738387","filename":"file0"},{"photo_id":"1394738392","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738392":["hashtag1","hashtag2"]},{"1394738394":["hashtag1","hashtag2"]},{"1394738388":["hashtag1","hashtag2"]},{"1394738393":["hashtag1","hashtag2"]},{"1394738387":["hashtag1","hashtag2"]},{"1394738390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738392, 1394738394, 1394738388, 1394738393, 1394738387, 1394738390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37366771697998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:54:22.645817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_47_3585.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_49_2590.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_52_2837.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_56_3748.jpg', '/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_59_2636.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_02_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_47_3585.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_49_2590.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_52_2837.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_56_3748.jpg
/home/pi/Desktop/images/16112025/10/01/image_16112025_10_01_59_2636.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_02_2848.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738398","1394738410","1394738401","1394738400","1394738403","1394738406"],"photo_ids_order":["1394738398","1394738400","1394738401","1394738403","1394738406","1394738410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/affffa4fdfccb9640c8f1f64b5a213cf.jpg","text":"TemporaryFile(/tmp/multipartBody6356901625107330570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290523308,"filename":"image_16112025_10_01_47_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecf82c68c424e06feabf7584502be4d4.jpg","text":"TemporaryFile(/tmp/multipartBody427589357227742806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290523308,"filename":"image_16112025_10_02_02_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0d6c3558fa89499a1e0bbd14f45fce7.jpg","text":"TemporaryFile(/tmp/multipartBody3871168281423572879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290523308,"filename":"image_16112025_10_01_52_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a09aa98803c92b4ba01c238fd013e486.jpg","text":"TemporaryFile(/tmp/multipartBody5875243745786295704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290523308,"filename":"image_16112025_10_01_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/11/16/a4a6fc399a5411efd881d7479681b019.jpg","text":"TemporaryFile(/tmp/multipartBody7269490176731037290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290523308,"filename":"image_16112025_10_01_56_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26a9ff9985662334926808728c701019.jpg","text":"TemporaryFile(/tmp/multipartBody297878578288018835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290523308,"filename":"image_16112025_10_01_59_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738401","file1":"1394738400","file0":"1394738398","file4":"1394738406","file5":"1394738410","file3":"1394738403"},"map_files_photo_id_array":[{"photo_id":"1394738410","filename":"file5"},{"photo_id":"1394738401","filename":"file2"},{"photo_id":"1394738406","filename":"file4"},{"photo_id":"1394738400","filename":"file1"},{"photo_id":"1394738398","filename":"file0"},{"photo_id":"1394738403","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738398":["hashtag1","hashtag2"]},{"1394738410":["hashtag1","hashtag2"]},{"1394738401":["hashtag1","hashtag2"]},{"1394738400":["hashtag1","hashtag2"]},{"1394738403":["hashtag1","hashtag2"]},{"1394738406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738398, 1394738410, 1394738401, 1394738400, 1394738403, 1394738406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.692893743515015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:55:02.506934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_05_3539.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_08_2513.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_10_2634.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_14_3557.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_16_2680.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_19_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_05_3539.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_08_2513.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_10_2634.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_14_3557.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_16_2680.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_19_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738414","1394738423","1394738416","1394738419","1394738413","1394738412"],"photo_ids_order":["1394738412","1394738413","1394738414","1394738416","1394738419","1394738423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a292fdfb27256489e85fcc009e286be.jpg","text":"TemporaryFile(/tmp/multipartBody2328244699491572369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290563219,"filename":"image_16112025_10_02_10_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b07925a23fc0f6026432f94c1ddd3e7.jpg","text":"TemporaryFile(/tmp/multipartBody4105595130902162988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290563219,"filename":"image_16112025_10_02_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/11/16/411035ec64f602ae2cf8b5761fc6bd06.jpg","text":"TemporaryFile(/tmp/multipartBody2594201847692698113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290563219,"filename":"image_16112025_10_02_14_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a68b72aa55aeb93f4f497e1b8fcfddc7.jpg","text":"TemporaryFile(/tmp/multipartBody3350184535568269924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290563219,"filename":"image_16112025_10_02_16_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e817dcef9d1d8522c8ab49c9d376a540.jpg","text":"TemporaryFile(/tmp/multipartBody5476735886599459376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290563219,"filename":"image_16112025_10_02_08_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/352667b4bd4a54f1bf9d8a59863d12d5.jpg","text":"TemporaryFile(/tmp/multipartBody5844812298316383912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290563219,"filename":"image_16112025_10_02_05_3539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738414","file1":"1394738413","file0":"1394738412","file4":"1394738419","file5":"1394738423","file3":"1394738416"},"map_files_photo_id_array":[{"photo_id":"1394738423","filename":"file5"},{"photo_id":"1394738414","filename":"file2"},{"photo_id":"1394738419","filename":"file4"},{"photo_id":"1394738413","filename":"file1"},{"photo_id":"1394738412","filename":"file0"},{"photo_id":"1394738416","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738414":["hashtag1","hashtag2"]},{"1394738423":["hashtag1","hashtag2"]},{"1394738416":["hashtag1","hashtag2"]},{"1394738419":["hashtag1","hashtag2"]},{"1394738413":["hashtag1","hashtag2"]},{"1394738412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738414, 1394738423, 1394738416, 1394738419, 1394738413, 1394738412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25200843811035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:55:41.840605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_22_2957.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_26_3703.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_28_2573.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_31_2749.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_35_3736.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_38_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_22_2957.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_26_3703.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_28_2573.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_31_2749.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_35_3736.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_38_2552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738432","1394738426","1394738431","1394738428","1394738433","1394738430"],"photo_ids_order":["1394738426","1394738428","1394738430","1394738431","1394738432","1394738433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/914da398a84846b4baf8fae7fe207155.jpg","text":"TemporaryFile(/tmp/multipartBody5912881029003481527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290602500,"filename":"image_16112025_10_02_35_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bbecb24a718893876214ae7a0a39a9f.jpg","text":"TemporaryFile(/tmp/multipartBody8560335675944046774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290602500,"filename":"image_16112025_10_02_22_2957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e778a348e667855eb813d777a2fcfef.jpg","text":"TemporaryFile(/tmp/multipartBody6595328366099553706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290602500,"filename":"image_16112025_10_02_31_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6da0974f06257018166d2eb4f2f63d21.jpg","text":"TemporaryFile(/tmp/multipartBody5068300567785373605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290602500,"filename":"image_16112025_10_02_26_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f3a968310c5c4fd48da1d2952d6d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4052856350787470107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290602500,"filename":"image_16112025_10_02_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/11/16/0654ab2059c7023339457839224d1280.jpg","text":"TemporaryFile(/tmp/multipartBody2236520008060478916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290602500,"filename":"image_16112025_10_02_28_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738430","file1":"1394738428","file0":"1394738426","file4":"1394738432","file5":"1394738433","file3":"1394738431"},"map_files_photo_id_array":[{"photo_id":"1394738433","filename":"file5"},{"photo_id":"1394738430","filename":"file2"},{"photo_id":"1394738432","filename":"file4"},{"photo_id":"1394738428","filename":"file1"},{"photo_id":"1394738426","filename":"file0"},{"photo_id":"1394738431","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738432":["hashtag1","hashtag2"]},{"1394738426":["hashtag1","hashtag2"]},{"1394738431":["hashtag1","hashtag2"]},{"1394738428":["hashtag1","hashtag2"]},{"1394738433":["hashtag1","hashtag2"]},{"1394738430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738432, 1394738426, 1394738431, 1394738428, 1394738433, 1394738430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55543351173401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 11:56:22.209344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_41_3519.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_44_2622.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_46_2621.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_50_3768.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_53_2794.jpg', '/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_55_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_41_3519.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_44_2622.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_46_2621.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_50_3768.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_53_2794.jpg
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_55_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738447","1394738452","1394738449","1394738446","1394738448","1394738442"],"photo_ids_order":["1394738442","1394738446","1394738447","1394738448","1394738449","1394738452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df7a67465df6896ca0154ce54fc7a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody6077369472271853075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290642869,"filename":"image_16112025_10_02_46_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f415b8afc78a610d560fd7379e46394.jpg","text":"TemporaryFile(/tmp/multipartBody1212954322633807370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290642869,"filename":"image_16112025_10_02_55_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c7c4dadec094ca313a96da7857b6f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4580041689124757065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290642869,"filename":"image_16112025_10_02_53_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/018cb31d9c26acde77017d1c4a742398.jpg","text":"TemporaryFile(/tmp/multipartBody7701020026995565905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290642869,"filename":"image_16112025_10_02_44_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3046c028d73025f244f2f5be198d4714.jpg","text":"TemporaryFile(/tmp/multipartBody2194764468738956918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290642869,"filename":"image_16112025_10_02_50_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f452fd496a225b10babe6690093aea31.jpg","text":"TemporaryFile(/tmp/multipartBody8531776583375517960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290642869,"filename":"image_16112025_10_02_41_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738447","file1":"1394738446","file0":"1394738442","file4":"1394738449","file5":"1394738452","file3":"1394738448"},"map_files_photo_id_array":[{"photo_id":"1394738452","filename":"file5"},{"photo_id":"1394738447","filename":"file2"},{"photo_id":"1394738449","filename":"file4"},{"photo_id":"1394738446","filename":"file1"},{"photo_id":"1394738442","filename":"file0"},{"photo_id":"1394738448","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738447":["hashtag1","hashtag2"]},{"1394738452":["hashtag1","hashtag2"]},{"1394738449":["hashtag1","hashtag2"]},{"1394738446":["hashtag1","hashtag2"]},{"1394738448":["hashtag1","hashtag2"]},{"1394738442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738447, 1394738452, 1394738449, 1394738446, 1394738448, 1394738442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5952672958374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:57:03.217121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_59_3638.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_02_2574.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_05_3276.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_08_2765.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_10_2752.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_13_2974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/02/image_16112025_10_02_59_3638.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_02_2574.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_05_3276.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_08_2765.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_10_2752.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_13_2974.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738455","1394738454","1394738457","1394738462","1394738456","1394738459"],"photo_ids_order":["1394738454","1394738455","1394738456","1394738457","1394738459","1394738462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/167a21ee86f0808cd2fa5c0c618f80ca.jpg","text":"TemporaryFile(/tmp/multipartBody6352760582107332037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290683976,"filename":"image_16112025_10_03_02_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82072f7e351d79870a49fbb6049c26e3.jpg","text":"TemporaryFile(/tmp/multipartBody3584794691684738094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290683976,"filename":"image_16112025_10_02_59_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25b3da675ec0aa7a4116f339186d5468.jpg","text":"TemporaryFile(/tmp/multipartBody1925967470264230786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290683976,"filename":"image_16112025_10_03_08_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71818dd4f2c352dd633dd974040ea074.jpg","text":"TemporaryFile(/tmp/multipartBody1483344744904581039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290683976,"filename":"image_16112025_10_03_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/11/16/7005fa6a61d4bc4a0e3ee8ea3202f8ce.jpg","text":"TemporaryFile(/tmp/multipartBody7465220066582134998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290683976,"filename":"image_16112025_10_03_05_3276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7f59d04001bc336fe84e388ab052fee.jpg","text":"TemporaryFile(/tmp/multipartBody7420929827305828474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290683976,"filename":"image_16112025_10_03_10_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738456","file1":"1394738455","file0":"1394738454","file4":"1394738459","file5":"1394738462","file3":"1394738457"},"map_files_photo_id_array":[{"photo_id":"1394738462","filename":"file5"},{"photo_id":"1394738456","filename":"file2"},{"photo_id":"1394738459","filename":"file4"},{"photo_id":"1394738455","filename":"file1"},{"photo_id":"1394738454","filename":"file0"},{"photo_id":"1394738457","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738455":["hashtag1","hashtag2"]},{"1394738454":["hashtag1","hashtag2"]},{"1394738457":["hashtag1","hashtag2"]},{"1394738462":["hashtag1","hashtag2"]},{"1394738456":["hashtag1","hashtag2"]},{"1394738459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738455, 1394738454, 1394738457, 1394738462, 1394738456, 1394738459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9672064781189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:57:42.320203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_16_2702.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_20_3652.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_23_2739.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_25_2709.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_29_3555.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_32_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_16_2702.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_20_3652.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_23_2739.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_25_2709.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_29_3555.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_32_2680.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.5513496398925781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 11:59:03.441520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_16_2702.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_20_3652.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_23_2739.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_25_2709.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_29_3555.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_32_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_16_2702.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_20_3652.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_23_2739.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_25_2709.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_29_3555.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_32_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394738485","1394738482","1394738512","1394738490","1394738487","1394738480"],"photo_ids_order":["1394738480","1394738482","1394738485","1394738487","1394738490","1394738512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/674cf47eca66cb4add5e185d19db0ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3997733967498152670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290804198,"filename":"image_16112025_10_03_23_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cedad6a638fca79f4aead4b729acf3c.jpg","text":"TemporaryFile(/tmp/multipartBody5909193573403283512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290804198,"filename":"image_16112025_10_03_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/11/16/1e4222a32efeea28255f9e2e272066fa.jpg","text":"TemporaryFile(/tmp/multipartBody2825134845740176022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290804198,"filename":"image_16112025_10_03_32_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26a69f1ec7cf39085ade2f302f3a58c8.jpg","text":"TemporaryFile(/tmp/multipartBody8333750984199719570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290804198,"filename":"image_16112025_10_03_29_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65c34be2eccee64e25c371e2c0e638ed.jpg","text":"TemporaryFile(/tmp/multipartBody6567814123973435223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290804198,"filename":"image_16112025_10_03_25_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03822c1f5f8486de97b56007f88bf6fb.jpg","text":"TemporaryFile(/tmp/multipartBody408298410863034318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290804198,"filename":"image_16112025_10_03_16_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738485","file1":"1394738482","file0":"1394738480","file4":"1394738490","file5":"1394738512","file3":"1394738487"},"map_files_photo_id_array":[{"photo_id":"1394738512","filename":"file5"},{"photo_id":"1394738485","filename":"file2"},{"photo_id":"1394738490","filename":"file4"},{"photo_id":"1394738482","filename":"file1"},{"photo_id":"1394738480","filename":"file0"},{"photo_id":"1394738487","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738485":["hashtag1","hashtag2"]},{"1394738482":["hashtag1","hashtag2"]},{"1394738512":["hashtag1","hashtag2"]},{"1394738490":["hashtag1","hashtag2"]},{"1394738487":["hashtag1","hashtag2"]},{"1394738480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738485, 1394738482, 1394738512, 1394738490, 1394738487, 1394738480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.213271379470825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 11:59:42.718370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_34_2771.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_38_3694.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_41_2732.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_43_2646.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_47_3626.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_50_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_34_2771.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_38_3694.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_41_2732.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_43_2646.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_47_3626.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_50_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":["1394738797","1394739013","1394738866","1394738731","1394739123","1394738939"],"photo_ids_order":["1394738731","1394738797","1394738866","1394738939","1394739013","1394739123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f3171fb8d7f3248bb2a4f49f01ae0a9.jpg","text":"TemporaryFile(/tmp/multipartBody4883374342105802591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290843351,"filename":"image_16112025_10_03_38_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2bfd114a4667b10df1632a4daf10b691.jpg","text":"TemporaryFile(/tmp/multipartBody3843148941342195722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290843351,"filename":"image_16112025_10_03_47_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18aac7f156e8058ca6baf69519c9daef.jpg","text":"TemporaryFile(/tmp/multipartBody1600966804229937986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290843351,"filename":"image_16112025_10_03_41_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0211770a18ae47fe67162dc4e1e4654.jpg","text":"TemporaryFile(/tmp/multipartBody7924945252305726352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290843351,"filename":"image_16112025_10_03_34_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/752c2b599a4e52e0297a48b73817e459.jpg","text":"TemporaryFile(/tmp/multipartBody4729683854037563967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290843351,"filename":"image_16112025_10_03_50_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35d013764a2fd1d238ca29ebf3c89954.jpg","text":"TemporaryFile(/tmp/multipartBody784432461524980914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290843351,"filename":"image_16112025_10_03_43_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394738866","file1":"1394738797","file0":"1394738731","file4":"1394739013","file5":"1394739123","file3":"1394738939"},"map_files_photo_id_array":[{"photo_id":"1394739123","filename":"file5"},{"photo_id":"1394738866","filename":"file2"},{"photo_id":"1394739013","filename":"file4"},{"photo_id":"1394738797","filename":"file1"},{"photo_id":"1394738731","filename":"file0"},{"photo_id":"1394738939","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394738797":["hashtag1","hashtag2"]},{"1394739013":["hashtag1","hashtag2"]},{"1394738866":["hashtag1","hashtag2"]},{"1394738731":["hashtag1","hashtag2"]},{"1394739123":["hashtag1","hashtag2"]},{"1394738939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394738797, 1394739013, 1394738866, 1394738731, 1394739123, 1394738939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03759455680847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:00:41.997531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_52_2565.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_56_3593.jpg', '/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_59_2706.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_01_2541.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_05_3804.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_08_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_52_2565.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_56_3593.jpg
/home/pi/Desktop/images/16112025/10/03/image_16112025_10_03_59_2706.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_01_2541.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_05_3804.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_08_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394739852","1394739654","1394739720","1394739918","1394739956","1394739785"],"photo_ids_order":["1394739654","1394739720","1394739785","1394739852","1394739918","1394739956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65eedb9a324365141d949ceb3942f1c8.jpg","text":"TemporaryFile(/tmp/multipartBody9093917700455663004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290902626,"filename":"image_16112025_10_04_01_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/886a53ce68e74aea1fe6129b688a0265.jpg","text":"TemporaryFile(/tmp/multipartBody2846696084131466276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290902626,"filename":"image_16112025_10_03_52_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d8358d5d98350976c0e2e7b9e13cd94.jpg","text":"TemporaryFile(/tmp/multipartBody7620396991242405999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290902626,"filename":"image_16112025_10_03_56_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8f7e0cc507df11b20a828b603893caf.jpg","text":"TemporaryFile(/tmp/multipartBody766794170713535156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290902626,"filename":"image_16112025_10_04_05_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd56a209ca7f1ced550c037eb6093ac6.jpg","text":"TemporaryFile(/tmp/multipartBody170326419302376548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290902626,"filename":"image_16112025_10_04_08_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab73367019610302de911034e85b47f2.jpg","text":"TemporaryFile(/tmp/multipartBody7217977215161487632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290902626,"filename":"image_16112025_10_03_59_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394739785","file1":"1394739720","file0":"1394739654","file4":"1394739918","file5":"1394739956","file3":"1394739852"},"map_files_photo_id_array":[{"photo_id":"1394739956","filename":"file5"},{"photo_id":"1394739785","filename":"file2"},{"photo_id":"1394739918","filename":"file4"},{"photo_id":"1394739720","filename":"file1"},{"photo_id":"1394739654","filename":"file0"},{"photo_id":"1394739852","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394739852":["hashtag1","hashtag2"]},{"1394739654":["hashtag1","hashtag2"]},{"1394739720":["hashtag1","hashtag2"]},{"1394739918":["hashtag1","hashtag2"]},{"1394739956":["hashtag1","hashtag2"]},{"1394739785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394739852, 1394739654, 1394739720, 1394739918, 1394739956, 1394739785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21270227432251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:01:22.681939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_10_2596.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_14_3633.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_16_2636.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_19_2749.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_23_3716.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_26_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_10_2596.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_14_3633.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_16_2636.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_19_2749.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_23_3716.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_26_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740133","1394740168","1394740132","1394740135","1394740111","1394740203"],"photo_ids_order":["1394740111","1394740132","1394740133","1394740135","1394740168","1394740203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bfc09859a4a52326ea16423c67544b8.jpg","text":"TemporaryFile(/tmp/multipartBody912456257961409085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290943365,"filename":"image_16112025_10_04_16_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/115eb2c7f9ccc3237b6f5dec04ec306c.jpg","text":"TemporaryFile(/tmp/multipartBody637434510105069071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290943365,"filename":"image_16112025_10_04_23_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c747032d91c737f1889bbb086da780e1.jpg","text":"TemporaryFile(/tmp/multipartBody8089698338853738350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290943365,"filename":"image_16112025_10_04_14_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1570b6db3d4e3109cff126faf7d84b88.jpg","text":"TemporaryFile(/tmp/multipartBody924548717293616381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290943365,"filename":"image_16112025_10_04_19_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffc1d828d776ab1c6e497f5c7347857c.jpg","text":"TemporaryFile(/tmp/multipartBody8963858317271035952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290943365,"filename":"image_16112025_10_04_10_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e734b30301a024386f02bf8b7af8b983.jpg","text":"TemporaryFile(/tmp/multipartBody8842095600187004102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290943365,"filename":"image_16112025_10_04_26_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740133","file1":"1394740132","file0":"1394740111","file4":"1394740168","file5":"1394740203","file3":"1394740135"},"map_files_photo_id_array":[{"photo_id":"1394740203","filename":"file5"},{"photo_id":"1394740133","filename":"file2"},{"photo_id":"1394740168","filename":"file4"},{"photo_id":"1394740132","filename":"file1"},{"photo_id":"1394740111","filename":"file0"},{"photo_id":"1394740135","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740133":["hashtag1","hashtag2"]},{"1394740168":["hashtag1","hashtag2"]},{"1394740132":["hashtag1","hashtag2"]},{"1394740135":["hashtag1","hashtag2"]},{"1394740111":["hashtag1","hashtag2"]},{"1394740203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740133, 1394740168, 1394740132, 1394740135, 1394740111, 1394740203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72925066947937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:02:02.315044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_28_2738.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_32_3570.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_34_2560.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_37_2791.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_40_2897.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_44_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_28_2738.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_32_3570.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_34_2560.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_37_2791.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_40_2897.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_44_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740337","1394740483","1394740339","1394740419","1394740527","1394740364"],"photo_ids_order":["1394740337","1394740339","1394740364","1394740419","1394740483","1394740527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c67cea3abd47cdc036d37f4c97f5a18.jpg","text":"TemporaryFile(/tmp/multipartBody911049029961975070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290983038,"filename":"image_16112025_10_04_28_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebd8d1399204a9638e545093de17fec6.jpg","text":"TemporaryFile(/tmp/multipartBody5931887171223000604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290983038,"filename":"image_16112025_10_04_40_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e395fa3a32a3198f5bbd62ccd59b8f6.jpg","text":"TemporaryFile(/tmp/multipartBody6333710447218207633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290983038,"filename":"image_16112025_10_04_32_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c831e444cf3ecffcfb774065971a9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8960449857085373652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290983038,"filename":"image_16112025_10_04_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/11/16/3efcb37f5688eaf82271be39ef2593cb.jpg","text":"TemporaryFile(/tmp/multipartBody2141292367862032603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290983038,"filename":"image_16112025_10_04_44_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5367dce43ddc7c2878caabb8fda0391.jpg","text":"TemporaryFile(/tmp/multipartBody8548973486611455319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763290983038,"filename":"image_16112025_10_04_34_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740364","file1":"1394740339","file0":"1394740337","file4":"1394740483","file5":"1394740527","file3":"1394740419"},"map_files_photo_id_array":[{"photo_id":"1394740527","filename":"file5"},{"photo_id":"1394740364","filename":"file2"},{"photo_id":"1394740483","filename":"file4"},{"photo_id":"1394740339","filename":"file1"},{"photo_id":"1394740337","filename":"file0"},{"photo_id":"1394740419","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740337":["hashtag1","hashtag2"]},{"1394740483":["hashtag1","hashtag2"]},{"1394740339":["hashtag1","hashtag2"]},{"1394740419":["hashtag1","hashtag2"]},{"1394740527":["hashtag1","hashtag2"]},{"1394740364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740337, 1394740483, 1394740339, 1394740419, 1394740527, 1394740364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98543310165405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:02:41.883052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_46_2654.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_49_2620.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_53_3627.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_55_2777.jpg', '/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_58_2668.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_46_2654.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_49_2620.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_53_3627.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_55_2777.jpg
/home/pi/Desktop/images/16112025/10/04/image_16112025_10_04_58_2668.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740747","1394740711","1394740656","1394740725","1394740704","1394740667"],"photo_ids_order":["1394740656","1394740667","1394740704","1394740711","1394740725","1394740747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e42f405095bb8b697f1659991842c4ba.jpg","text":"TemporaryFile(/tmp/multipartBody3964996646567717056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291022592,"filename":"image_16112025_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/11/16/a772b059d4327a5aef119f79def70ccd.jpg","text":"TemporaryFile(/tmp/multipartBody8329111517025182541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291022592,"filename":"image_16112025_10_04_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/11/16/2b69b90e03054a44c2ac7f6da6ed6050.jpg","text":"TemporaryFile(/tmp/multipartBody3573598696585417270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291022592,"filename":"image_16112025_10_04_46_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a34f1d75e87e0972ae886e0bb9ff3839.jpg","text":"TemporaryFile(/tmp/multipartBody87443636674881136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291022592,"filename":"image_16112025_10_04_58_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fd1dc13c06f4e6b68181c6ab3154ca1.jpg","text":"TemporaryFile(/tmp/multipartBody7454442999871626255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291022592,"filename":"image_16112025_10_04_53_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f19317ad83171ad7c1c4b9ca01759d97.jpg","text":"TemporaryFile(/tmp/multipartBody1510451201506494355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291022592,"filename":"image_16112025_10_04_49_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740704","file1":"1394740667","file0":"1394740656","file4":"1394740725","file5":"1394740747","file3":"1394740711"},"map_files_photo_id_array":[{"photo_id":"1394740747","filename":"file5"},{"photo_id":"1394740704","filename":"file2"},{"photo_id":"1394740725","filename":"file4"},{"photo_id":"1394740667","filename":"file1"},{"photo_id":"1394740656","filename":"file0"},{"photo_id":"1394740711","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740747":["hashtag1","hashtag2"]},{"1394740711":["hashtag1","hashtag2"]},{"1394740656":["hashtag1","hashtag2"]},{"1394740725":["hashtag1","hashtag2"]},{"1394740704":["hashtag1","hashtag2"]},{"1394740667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740747, 1394740711, 1394740656, 1394740725, 1394740704, 1394740667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.346920013427734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:03:22.924713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_11_3690.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_14_2768.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_16_2535.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_20_3774.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_23_2612.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_25_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_11_3690.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_14_2768.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_16_2535.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_20_3774.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_23_2612.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_25_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740771","1394740764","1394740758","1394740761","1394740769","1394740766"],"photo_ids_order":["1394740758","1394740761","1394740764","1394740766","1394740769","1394740771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9679c790238839aee79ac2d7ff31a023.jpg","text":"TemporaryFile(/tmp/multipartBody75714319789407555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291063602,"filename":"image_16112025_10_06_25_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb6fd78e0051d946b017827526f52ae1.jpg","text":"TemporaryFile(/tmp/multipartBody171135314595188799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291063602,"filename":"image_16112025_10_06_16_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8488fd3aa9dcfd65ac1c583d4a2b4200.jpg","text":"TemporaryFile(/tmp/multipartBody4393235170563955428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291063602,"filename":"image_16112025_10_06_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/11/16/59b535955f2e1e0408f932649d6f83e8.jpg","text":"TemporaryFile(/tmp/multipartBody4720031124970007140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291063602,"filename":"image_16112025_10_06_14_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12856fa08d9e4dd33b5a8612e0a68794.jpg","text":"TemporaryFile(/tmp/multipartBody2149727546342948825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291063602,"filename":"image_16112025_10_06_23_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd671ee06c0eec9a27f7bf02e37febaf.jpg","text":"TemporaryFile(/tmp/multipartBody3062299345558895571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291063602,"filename":"image_16112025_10_06_20_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740764","file1":"1394740761","file0":"1394740758","file4":"1394740769","file5":"1394740771","file3":"1394740766"},"map_files_photo_id_array":[{"photo_id":"1394740771","filename":"file5"},{"photo_id":"1394740764","filename":"file2"},{"photo_id":"1394740769","filename":"file4"},{"photo_id":"1394740761","filename":"file1"},{"photo_id":"1394740758","filename":"file0"},{"photo_id":"1394740766","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740771":["hashtag1","hashtag2"]},{"1394740764":["hashtag1","hashtag2"]},{"1394740758":["hashtag1","hashtag2"]},{"1394740761":["hashtag1","hashtag2"]},{"1394740769":["hashtag1","hashtag2"]},{"1394740766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740771, 1394740764, 1394740758, 1394740761, 1394740769, 1394740766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.724422216415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:04:02.697268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_29_3686.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_32_2512.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_34_2651.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_38_3673.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_41_2671.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_43_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_29_3686.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_32_2512.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_34_2651.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_38_3673.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_41_2671.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_43_2834.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740783","1394740780","1394740777","1394740776","1394740779","1394740773"],"photo_ids_order":["1394740773","1394740776","1394740777","1394740779","1394740780","1394740783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14c7850627a574b2db4c2922354a490f.jpg","text":"TemporaryFile(/tmp/multipartBody1405088191826654823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291103428,"filename":"image_16112025_10_06_43_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acc4088df888f0240ad83e039851182a.jpg","text":"TemporaryFile(/tmp/multipartBody8969292564436295514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291103428,"filename":"image_16112025_10_06_41_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95f1b4d825327dba76990e5bd2b33017.jpg","text":"TemporaryFile(/tmp/multipartBody967034640965988918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291103428,"filename":"image_16112025_10_06_34_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7482c2a77e8f6d231c58d4cc512bf9d4.jpg","text":"TemporaryFile(/tmp/multipartBody3729034161237818387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291103428,"filename":"image_16112025_10_06_32_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af29e8a3f90347b6622c41b21d96b331.jpg","text":"TemporaryFile(/tmp/multipartBody1029925525739015308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291103428,"filename":"image_16112025_10_06_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/11/16/c939d33eee42faade6275269d552fdb0.jpg","text":"TemporaryFile(/tmp/multipartBody4878212201265844478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291103428,"filename":"image_16112025_10_06_29_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740777","file1":"1394740776","file0":"1394740773","file4":"1394740780","file5":"1394740783","file3":"1394740779"},"map_files_photo_id_array":[{"photo_id":"1394740783","filename":"file5"},{"photo_id":"1394740777","filename":"file2"},{"photo_id":"1394740780","filename":"file4"},{"photo_id":"1394740776","filename":"file1"},{"photo_id":"1394740773","filename":"file0"},{"photo_id":"1394740779","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740783":["hashtag1","hashtag2"]},{"1394740780":["hashtag1","hashtag2"]},{"1394740777":["hashtag1","hashtag2"]},{"1394740776":["hashtag1","hashtag2"]},{"1394740779":["hashtag1","hashtag2"]},{"1394740773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740783, 1394740780, 1394740777, 1394740776, 1394740779, 1394740773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68583083152771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:04:42.020926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_47_3735.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_50_2725.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_52_2608.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_56_3574.jpg', '/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_59_2681.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_01_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_47_3735.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_50_2725.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_52_2608.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_56_3574.jpg
/home/pi/Desktop/images/16112025/10/06/image_16112025_10_06_59_2681.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_01_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740798","1394740802","1394740795","1394740791","1394740788","1394740800"],"photo_ids_order":["1394740788","1394740791","1394740795","1394740798","1394740800","1394740802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1d2ead77541d83b36c57b3076df6028.jpg","text":"TemporaryFile(/tmp/multipartBody803125795654048460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291142665,"filename":"image_16112025_10_06_56_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c16bbcccd5a5c6ba427f862809bb768.jpg","text":"TemporaryFile(/tmp/multipartBody8081264395117018837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291142665,"filename":"image_16112025_10_07_01_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b45e9f5f570c4fde76d213c20969ff8.jpg","text":"TemporaryFile(/tmp/multipartBody1363000488573487128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291142665,"filename":"image_16112025_10_06_52_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c69af273d0c64bfa7c2bb4fd0155fd27.jpg","text":"TemporaryFile(/tmp/multipartBody4657643217844258356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291142665,"filename":"image_16112025_10_06_50_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9d33a40e459b12799ed3aafd71d6a91.jpg","text":"TemporaryFile(/tmp/multipartBody3875995142053306261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291142665,"filename":"image_16112025_10_06_47_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae06db16a60dfa7d021e891616b1ace7.jpg","text":"TemporaryFile(/tmp/multipartBody4782993970921703155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291142665,"filename":"image_16112025_10_06_59_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740795","file1":"1394740791","file0":"1394740788","file4":"1394740800","file5":"1394740802","file3":"1394740798"},"map_files_photo_id_array":[{"photo_id":"1394740802","filename":"file5"},{"photo_id":"1394740795","filename":"file2"},{"photo_id":"1394740800","filename":"file4"},{"photo_id":"1394740791","filename":"file1"},{"photo_id":"1394740788","filename":"file0"},{"photo_id":"1394740798","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740798":["hashtag1","hashtag2"]},{"1394740802":["hashtag1","hashtag2"]},{"1394740795":["hashtag1","hashtag2"]},{"1394740791":["hashtag1","hashtag2"]},{"1394740788":["hashtag1","hashtag2"]},{"1394740800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740798, 1394740802, 1394740795, 1394740791, 1394740788, 1394740800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60241770744324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:05:22.267783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_05_3564.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_07_2528.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_11_3592.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_14_2637.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_16_2578.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_20_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_05_3564.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_07_2528.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_11_3592.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_14_2637.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_16_2578.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_20_3659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740811","1394740813","1394740807","1394740812","1394740815","1394740809"],"photo_ids_order":["1394740807","1394740809","1394740811","1394740812","1394740813","1394740815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/deb5b5e00a915b3aaf5781ff7cecb173.jpg","text":"TemporaryFile(/tmp/multipartBody8717716632380225490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291182943,"filename":"image_16112025_10_07_11_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a147bccf47733e8b168cc2de8c68064.jpg","text":"TemporaryFile(/tmp/multipartBody6421531588128545103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291182943,"filename":"image_16112025_10_07_16_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6cb47cf8355cee608a3e2cb75cbbb3a.jpg","text":"TemporaryFile(/tmp/multipartBody3850117087723486677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291182943,"filename":"image_16112025_10_07_05_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/626ad0412d85638238595b06885ee13b.jpg","text":"TemporaryFile(/tmp/multipartBody7123883560535105169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291182943,"filename":"image_16112025_10_07_14_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15432e16cca632c776757f432621f20f.jpg","text":"TemporaryFile(/tmp/multipartBody1435720686381000783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291182943,"filename":"image_16112025_10_07_20_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d527eebec5b8b2affde013fb81b8938b.jpg","text":"TemporaryFile(/tmp/multipartBody1448414127590957992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291182943,"filename":"image_16112025_10_07_07_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740811","file1":"1394740809","file0":"1394740807","file4":"1394740813","file5":"1394740815","file3":"1394740812"},"map_files_photo_id_array":[{"photo_id":"1394740815","filename":"file5"},{"photo_id":"1394740811","filename":"file2"},{"photo_id":"1394740813","filename":"file4"},{"photo_id":"1394740809","filename":"file1"},{"photo_id":"1394740807","filename":"file0"},{"photo_id":"1394740812","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740811":["hashtag1","hashtag2"]},{"1394740813":["hashtag1","hashtag2"]},{"1394740807":["hashtag1","hashtag2"]},{"1394740812":["hashtag1","hashtag2"]},{"1394740815":["hashtag1","hashtag2"]},{"1394740809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740811, 1394740813, 1394740807, 1394740812, 1394740815, 1394740809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8596465587616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:06:03.109776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_22_2609.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_25_2860.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_29_3659.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_32_2724.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_34_2633.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_37_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_22_2609.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_25_2860.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_29_3659.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_32_2724.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_34_2633.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_37_2824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740820","1394740828","1394740822","1394740819","1394740824","1394740818"],"photo_ids_order":["1394740818","1394740819","1394740820","1394740822","1394740824","1394740828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f3ba6fdd4d55e3ad0a8c48a6eee9415.jpg","text":"TemporaryFile(/tmp/multipartBody4773280990122194066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291223827,"filename":"image_16112025_10_07_29_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a76cae278c9bfaee075afc60e65103fc.jpg","text":"TemporaryFile(/tmp/multipartBody8476970132460111635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291223827,"filename":"image_16112025_10_07_37_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa88c766820ff2aa26786f5c4ff97cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4165409357318419213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291223827,"filename":"image_16112025_10_07_32_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b8c6e3d5cdcc915b2f8825e9802ba25.jpg","text":"TemporaryFile(/tmp/multipartBody7769190848867896487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291223827,"filename":"image_16112025_10_07_25_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b36f6ba007def60d572142439c9a37a5.jpg","text":"TemporaryFile(/tmp/multipartBody7764014118090439365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291223827,"filename":"image_16112025_10_07_34_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/391bb7a22dace2cd9cf240087698d4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1347450517629110793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291223827,"filename":"image_16112025_10_07_22_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740820","file1":"1394740819","file0":"1394740818","file4":"1394740824","file5":"1394740828","file3":"1394740822"},"map_files_photo_id_array":[{"photo_id":"1394740828","filename":"file5"},{"photo_id":"1394740820","filename":"file2"},{"photo_id":"1394740824","filename":"file4"},{"photo_id":"1394740819","filename":"file1"},{"photo_id":"1394740818","filename":"file0"},{"photo_id":"1394740822","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740820":["hashtag1","hashtag2"]},{"1394740828":["hashtag1","hashtag2"]},{"1394740822":["hashtag1","hashtag2"]},{"1394740819":["hashtag1","hashtag2"]},{"1394740824":["hashtag1","hashtag2"]},{"1394740818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740820, 1394740828, 1394740822, 1394740819, 1394740824, 1394740818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43895769119263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:06:42.656974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_41_3580.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_43_2633.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_46_2662.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_50_3782.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_52_2628.jpg', '/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_55_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_41_3580.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_43_2633.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_46_2662.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_50_3782.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_52_2628.jpg
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_55_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740837","1394740839","1394740833","1394740836","1394740835","1394740838"],"photo_ids_order":["1394740833","1394740835","1394740836","1394740837","1394740838","1394740839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8375f5c4cbbf8bbd7e635d7b0d31ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5147079123645288118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291263300,"filename":"image_16112025_10_07_50_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eccb6c152a71593b08f2cf3902c368f1.jpg","text":"TemporaryFile(/tmp/multipartBody4920656525543952920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291263300,"filename":"image_16112025_10_07_55_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee9ddd73506abc55f9061d6eb855f6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8067545024982554312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291263300,"filename":"image_16112025_10_07_41_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ad8543cc6327ad7ef9a787e6ca84d19.jpg","text":"TemporaryFile(/tmp/multipartBody8264011889764584650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291263300,"filename":"image_16112025_10_07_46_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2819d02d484387102643da78acc44c60.jpg","text":"TemporaryFile(/tmp/multipartBody5669405752631633702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291263300,"filename":"image_16112025_10_07_43_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbb3a17c1c5395f0c8fcb1cc12174e6e.jpg","text":"TemporaryFile(/tmp/multipartBody1583599147485188287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291263300,"filename":"image_16112025_10_07_52_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740836","file1":"1394740835","file0":"1394740833","file4":"1394740838","file5":"1394740839","file3":"1394740837"},"map_files_photo_id_array":[{"photo_id":"1394740839","filename":"file5"},{"photo_id":"1394740836","filename":"file2"},{"photo_id":"1394740838","filename":"file4"},{"photo_id":"1394740835","filename":"file1"},{"photo_id":"1394740833","filename":"file0"},{"photo_id":"1394740837","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740837":["hashtag1","hashtag2"]},{"1394740839":["hashtag1","hashtag2"]},{"1394740833":["hashtag1","hashtag2"]},{"1394740836":["hashtag1","hashtag2"]},{"1394740835":["hashtag1","hashtag2"]},{"1394740838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740837, 1394740839, 1394740833, 1394740836, 1394740835, 1394740838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.316166639328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:07:22.198539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_59_3614.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_01_2757.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_04_2670.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_08_3635.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_10_2565.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_13_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/07/image_16112025_10_07_59_3614.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_01_2757.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_04_2670.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_08_3635.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_10_2565.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_13_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740847","1394740846","1394740849","1394740845","1394740842","1394740844"],"photo_ids_order":["1394740842","1394740844","1394740845","1394740846","1394740847","1394740849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2365abc4dc46e9696e8ed76ea1f4dbc2.jpg","text":"TemporaryFile(/tmp/multipartBody4930059860303159851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291302870,"filename":"image_16112025_10_08_10_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5f6aaaf24775650b115b6cdbd1d9d88.jpg","text":"TemporaryFile(/tmp/multipartBody4793121677466304636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291302870,"filename":"image_16112025_10_08_08_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cb9ad012b25d14fd04e43714524ccf6.jpg","text":"TemporaryFile(/tmp/multipartBody8967960593809692195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291302870,"filename":"image_16112025_10_08_13_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a293dd848cb94545f60b3fa8a4ba21f2.jpg","text":"TemporaryFile(/tmp/multipartBody7817085370984228921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291302870,"filename":"image_16112025_10_08_04_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/172e77f4662e93d800d07cbf13986dc6.jpg","text":"TemporaryFile(/tmp/multipartBody4893169845207253978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291302870,"filename":"image_16112025_10_07_59_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ddea01b3846e186e1dc09c03641ff43e.jpg","text":"TemporaryFile(/tmp/multipartBody2701376929684688758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291302870,"filename":"image_16112025_10_08_01_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740845","file1":"1394740844","file0":"1394740842","file4":"1394740847","file5":"1394740849","file3":"1394740846"},"map_files_photo_id_array":[{"photo_id":"1394740849","filename":"file5"},{"photo_id":"1394740845","filename":"file2"},{"photo_id":"1394740847","filename":"file4"},{"photo_id":"1394740844","filename":"file1"},{"photo_id":"1394740842","filename":"file0"},{"photo_id":"1394740846","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740847":["hashtag1","hashtag2"]},{"1394740846":["hashtag1","hashtag2"]},{"1394740849":["hashtag1","hashtag2"]},{"1394740845":["hashtag1","hashtag2"]},{"1394740842":["hashtag1","hashtag2"]},{"1394740844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740847, 1394740846, 1394740849, 1394740845, 1394740842, 1394740844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.322569131851196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:08:02.772639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_17_3657.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_19_2635.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_22_2623.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_26_3566.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_28_2602.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_32_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_17_3657.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_19_2635.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_22_2623.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_26_3566.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_28_2602.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_32_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740852","1394740855","1394740858","1394740851","1394740853","1394740850"],"photo_ids_order":["1394740850","1394740851","1394740852","1394740853","1394740855","1394740858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce41c92c0472aaed14baa85680fd4ff8.jpg","text":"TemporaryFile(/tmp/multipartBody8774886073226444830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291343448,"filename":"image_16112025_10_08_22_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/204e201d28fd852e82d4f0f98f978a95.jpg","text":"TemporaryFile(/tmp/multipartBody196934706418992395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291343448,"filename":"image_16112025_10_08_28_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2548d3becbe2c2c126a632e8a39ab1a4.jpg","text":"TemporaryFile(/tmp/multipartBody412868922311737771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291343448,"filename":"image_16112025_10_08_32_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2d7baffc07a8bde0109824a4b283370.jpg","text":"TemporaryFile(/tmp/multipartBody2863792391829659091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291343448,"filename":"image_16112025_10_08_19_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98935a302e767d4c16ce4f64b5b2b841.jpg","text":"TemporaryFile(/tmp/multipartBody8597497084393969407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291343448,"filename":"image_16112025_10_08_26_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3ff9268466931b19e32d1949aea87a9.jpg","text":"TemporaryFile(/tmp/multipartBody5543307203965961556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291343448,"filename":"image_16112025_10_08_17_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740852","file1":"1394740851","file0":"1394740850","file4":"1394740855","file5":"1394740858","file3":"1394740853"},"map_files_photo_id_array":[{"photo_id":"1394740858","filename":"file5"},{"photo_id":"1394740852","filename":"file2"},{"photo_id":"1394740855","filename":"file4"},{"photo_id":"1394740851","filename":"file1"},{"photo_id":"1394740850","filename":"file0"},{"photo_id":"1394740853","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740852":["hashtag1","hashtag2"]},{"1394740855":["hashtag1","hashtag2"]},{"1394740858":["hashtag1","hashtag2"]},{"1394740851":["hashtag1","hashtag2"]},{"1394740853":["hashtag1","hashtag2"]},{"1394740850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740852, 1394740855, 1394740858, 1394740851, 1394740853, 1394740850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29882025718689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:08:42.320859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_35_2824.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_37_2647.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_41_3705.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_44_2705.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_46_2590.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_49_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_35_2824.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_37_2647.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_41_3705.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_44_2705.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_46_2590.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_49_2792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740870","1394740873","1394740872","1394740869","1394740871","1394740865"],"photo_ids_order":["1394740865","1394740869","1394740870","1394740871","1394740872","1394740873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/711233eccefe67e76b0c99aef251310b.jpg","text":"TemporaryFile(/tmp/multipartBody3093675723173936338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291383019,"filename":"image_16112025_10_08_41_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1dc28f01473bcc608ef2ee3c5f0e3ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4359725670505503848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291383019,"filename":"image_16112025_10_08_49_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3aeffa29edffc8b8b541578b3722b853.jpg","text":"TemporaryFile(/tmp/multipartBody7690989171809887293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291383019,"filename":"image_16112025_10_08_46_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e027ffad932c617ce65dec4af50074f.jpg","text":"TemporaryFile(/tmp/multipartBody1904184318739111266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291383019,"filename":"image_16112025_10_08_37_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02bcbca15039c65dcb6cee743f8585a1.jpg","text":"TemporaryFile(/tmp/multipartBody466826418676970915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291383019,"filename":"image_16112025_10_08_44_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/675f46cb21ab8bccdda45d16af24944d.jpg","text":"TemporaryFile(/tmp/multipartBody247663915875047636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291383019,"filename":"image_16112025_10_08_35_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740870","file1":"1394740869","file0":"1394740865","file4":"1394740872","file5":"1394740873","file3":"1394740871"},"map_files_photo_id_array":[{"photo_id":"1394740873","filename":"file5"},{"photo_id":"1394740870","filename":"file2"},{"photo_id":"1394740872","filename":"file4"},{"photo_id":"1394740869","filename":"file1"},{"photo_id":"1394740865","filename":"file0"},{"photo_id":"1394740871","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740870":["hashtag1","hashtag2"]},{"1394740873":["hashtag1","hashtag2"]},{"1394740872":["hashtag1","hashtag2"]},{"1394740869":["hashtag1","hashtag2"]},{"1394740871":["hashtag1","hashtag2"]},{"1394740865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740870, 1394740873, 1394740872, 1394740869, 1394740871, 1394740865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8466055393219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:09:22.482875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_53_3537.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_55_2580.jpg', '/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_59_3693.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_02_2681.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_04_2626.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_08_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_53_3537.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_55_2580.jpg
/home/pi/Desktop/images/16112025/10/08/image_16112025_10_08_59_3693.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_02_2681.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_04_2626.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_08_3703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740885","1394740879","1394740888","1394740876","1394740881","1394740883"],"photo_ids_order":["1394740876","1394740879","1394740881","1394740883","1394740885","1394740888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e39f4363c0917282b650d82f37c3c44.jpg","text":"TemporaryFile(/tmp/multipartBody7654256268447954698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291423165,"filename":"image_16112025_10_09_04_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5c26aaa513052087cfe3f7780294d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4210636488621288134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291423165,"filename":"image_16112025_10_08_55_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c944d75600061a5521eaded7da5aa07.jpg","text":"TemporaryFile(/tmp/multipartBody5599371021560941827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291423165,"filename":"image_16112025_10_09_08_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be767221c33fe7cea9519f8acbcfd82a.jpg","text":"TemporaryFile(/tmp/multipartBody4994146762531369320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291423165,"filename":"image_16112025_10_08_53_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/527790cd7841db5af9f100a14462c3f6.jpg","text":"TemporaryFile(/tmp/multipartBody7220614986252405293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291423165,"filename":"image_16112025_10_08_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/11/16/0bc84043159a19d50a65657268c06860.jpg","text":"TemporaryFile(/tmp/multipartBody513476454401419762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291423165,"filename":"image_16112025_10_09_02_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740881","file1":"1394740879","file0":"1394740876","file4":"1394740885","file5":"1394740888","file3":"1394740883"},"map_files_photo_id_array":[{"photo_id":"1394740888","filename":"file5"},{"photo_id":"1394740881","filename":"file2"},{"photo_id":"1394740885","filename":"file4"},{"photo_id":"1394740879","filename":"file1"},{"photo_id":"1394740876","filename":"file0"},{"photo_id":"1394740883","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740885":["hashtag1","hashtag2"]},{"1394740879":["hashtag1","hashtag2"]},{"1394740888":["hashtag1","hashtag2"]},{"1394740876":["hashtag1","hashtag2"]},{"1394740881":["hashtag1","hashtag2"]},{"1394740883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740885, 1394740879, 1394740888, 1394740876, 1394740881, 1394740883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44349503517151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:10:03.156955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_11_2669.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_13_2585.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_17_3604.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_19_2616.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_22_2589.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_25_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_11_2669.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_13_2585.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_17_3604.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_19_2616.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_22_2589.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_25_3547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740891","1394740893","1394740890","1394740898","1394740892","1394740895"],"photo_ids_order":["1394740890","1394740891","1394740892","1394740893","1394740895","1394740898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75e7238ac9354b0d88093f2c552c9957.jpg","text":"TemporaryFile(/tmp/multipartBody6933720729869049981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291463854,"filename":"image_16112025_10_09_13_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01281c56d2094325d43580ee0fcfc9fe.jpg","text":"TemporaryFile(/tmp/multipartBody3283208486662419929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291463854,"filename":"image_16112025_10_09_19_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4a4737e3bcb940613607fcfc9aaaf20.jpg","text":"TemporaryFile(/tmp/multipartBody5870855768311862565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291463854,"filename":"image_16112025_10_09_11_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/127f31854534e8fbe78f7637645e1254.jpg","text":"TemporaryFile(/tmp/multipartBody5144450261066947958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291463854,"filename":"image_16112025_10_09_25_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1484cc14d1abf39c9b76d9bc648576f8.jpg","text":"TemporaryFile(/tmp/multipartBody7662748169745840652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291463854,"filename":"image_16112025_10_09_17_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b6158d5670920469909f20d5440e9a5.jpg","text":"TemporaryFile(/tmp/multipartBody4136465551423058188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291463854,"filename":"image_16112025_10_09_22_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740892","file1":"1394740891","file0":"1394740890","file4":"1394740895","file5":"1394740898","file3":"1394740893"},"map_files_photo_id_array":[{"photo_id":"1394740898","filename":"file5"},{"photo_id":"1394740892","filename":"file2"},{"photo_id":"1394740895","filename":"file4"},{"photo_id":"1394740891","filename":"file1"},{"photo_id":"1394740890","filename":"file0"},{"photo_id":"1394740893","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740891":["hashtag1","hashtag2"]},{"1394740893":["hashtag1","hashtag2"]},{"1394740890":["hashtag1","hashtag2"]},{"1394740898":["hashtag1","hashtag2"]},{"1394740892":["hashtag1","hashtag2"]},{"1394740895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740891, 1394740893, 1394740890, 1394740898, 1394740892, 1394740895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15778112411499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:10:42.865006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_28_2611.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_31_2899.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_35_3548.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_37_2645.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_40_2697.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_43_3518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_28_2611.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_31_2899.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_35_3548.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_37_2645.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_40_2697.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_43_3518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740910","1394740907","1394740909","1394740911","1394740908","1394740905"],"photo_ids_order":["1394740905","1394740907","1394740908","1394740909","1394740910","1394740911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dace2b0adddcc533c272516c2c116676.jpg","text":"TemporaryFile(/tmp/multipartBody654594578819664186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291503511,"filename":"image_16112025_10_09_40_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4be9f89899dc906c01ed4848b351d6c0.jpg","text":"TemporaryFile(/tmp/multipartBody6427877732021530939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291503511,"filename":"image_16112025_10_09_31_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d023060500692636d4bd80d525ab2fad.jpg","text":"TemporaryFile(/tmp/multipartBody6052130492199465234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291503511,"filename":"image_16112025_10_09_37_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95695a1af3ca3aa6ffea3f04951c2c60.jpg","text":"TemporaryFile(/tmp/multipartBody1791687442928171007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291503511,"filename":"image_16112025_10_09_43_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71427a1b1dc46c3cb69725e658a0b44e.jpg","text":"TemporaryFile(/tmp/multipartBody102240233379956272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291503511,"filename":"image_16112025_10_09_35_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5281e86eb9af96022012a1448dbb5b0d.jpg","text":"TemporaryFile(/tmp/multipartBody6828007896951962316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291503511,"filename":"image_16112025_10_09_28_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740908","file1":"1394740907","file0":"1394740905","file4":"1394740910","file5":"1394740911","file3":"1394740909"},"map_files_photo_id_array":[{"photo_id":"1394740911","filename":"file5"},{"photo_id":"1394740908","filename":"file2"},{"photo_id":"1394740910","filename":"file4"},{"photo_id":"1394740907","filename":"file1"},{"photo_id":"1394740905","filename":"file0"},{"photo_id":"1394740909","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740910":["hashtag1","hashtag2"]},{"1394740907":["hashtag1","hashtag2"]},{"1394740909":["hashtag1","hashtag2"]},{"1394740911":["hashtag1","hashtag2"]},{"1394740908":["hashtag1","hashtag2"]},{"1394740905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740910, 1394740907, 1394740909, 1394740911, 1394740908, 1394740905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.303364992141724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:11:22.096742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_46_2620.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_50_3678.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_52_2572.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_55_2869.jpg', '/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_59_3692.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_07_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_46_2620.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_50_3678.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_52_2572.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_55_2869.jpg
/home/pi/Desktop/images/16112025/10/09/image_16112025_10_09_59_3692.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_07_3010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740919","1394740924","1394740926","1394740914","1394740917","1394740922"],"photo_ids_order":["1394740914","1394740917","1394740919","1394740922","1394740924","1394740926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a911ad346f64f9f53c893fd85a7afef9.jpg","text":"TemporaryFile(/tmp/multipartBody6394703773289112207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291542765,"filename":"image_16112025_10_09_52_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ca26d7d857720da4ff0f166c3586b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1229204404782679644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291542765,"filename":"image_16112025_10_09_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/11/16/6dea8bd42cd15df5f5ed94fc58aab4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6808497849413377787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291542765,"filename":"image_16112025_10_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/11/16/13bdc3e12010825c794ea18efb489c42.jpg","text":"TemporaryFile(/tmp/multipartBody3347348707277288527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291542765,"filename":"image_16112025_10_09_46_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87e30b8dd17ee92fba027c3773c8a6b8.jpg","text":"TemporaryFile(/tmp/multipartBody6206323006892738728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291542765,"filename":"image_16112025_10_09_50_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/947f6261c1c85935d7076e1ff96bf867.jpg","text":"TemporaryFile(/tmp/multipartBody3711909585409951546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291542765,"filename":"image_16112025_10_09_55_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740919","file1":"1394740917","file0":"1394740914","file4":"1394740924","file5":"1394740926","file3":"1394740922"},"map_files_photo_id_array":[{"photo_id":"1394740926","filename":"file5"},{"photo_id":"1394740919","filename":"file2"},{"photo_id":"1394740924","filename":"file4"},{"photo_id":"1394740917","filename":"file1"},{"photo_id":"1394740914","filename":"file0"},{"photo_id":"1394740922","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740919":["hashtag1","hashtag2"]},{"1394740924":["hashtag1","hashtag2"]},{"1394740926":["hashtag1","hashtag2"]},{"1394740914":["hashtag1","hashtag2"]},{"1394740917":["hashtag1","hashtag2"]},{"1394740922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740919, 1394740924, 1394740926, 1394740914, 1394740917, 1394740922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49596333503723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:12:02.835864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_11_3726.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_13_2726.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_16_2622.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_20_3663.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_22_2596.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_26_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_11_3726.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_13_2726.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_16_2622.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_20_3663.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_22_2596.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_26_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740931","1394740928","1394740933","1394740927","1394740930","1394740935"],"photo_ids_order":["1394740927","1394740928","1394740930","1394740931","1394740933","1394740935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4269ef257b39380200236d2efd7056ef.jpg","text":"TemporaryFile(/tmp/multipartBody7445987496269036913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291583532,"filename":"image_16112025_10_10_20_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e78dc6f6020f3d3bd00a3927861028d.jpg","text":"TemporaryFile(/tmp/multipartBody1554128076646163508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291583532,"filename":"image_16112025_10_10_13_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89bef22c35f1ef08cbbc593d5914f57d.jpg","text":"TemporaryFile(/tmp/multipartBody7188637730168552721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291583532,"filename":"image_16112025_10_10_22_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e58a1c79d2658ecc866162adaf866dca.jpg","text":"TemporaryFile(/tmp/multipartBody8469039328054246604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291583532,"filename":"image_16112025_10_10_11_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07d1946db6eb8c0a67436ddc5ff74c02.jpg","text":"TemporaryFile(/tmp/multipartBody6918548254103811556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291583532,"filename":"image_16112025_10_10_16_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7533e6127112a8fd5f8081aa0372c563.jpg","text":"TemporaryFile(/tmp/multipartBody6235629820911523517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291583532,"filename":"image_16112025_10_10_26_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740930","file1":"1394740928","file0":"1394740927","file4":"1394740933","file5":"1394740935","file3":"1394740931"},"map_files_photo_id_array":[{"photo_id":"1394740935","filename":"file5"},{"photo_id":"1394740930","filename":"file2"},{"photo_id":"1394740933","filename":"file4"},{"photo_id":"1394740928","filename":"file1"},{"photo_id":"1394740927","filename":"file0"},{"photo_id":"1394740931","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740931":["hashtag1","hashtag2"]},{"1394740928":["hashtag1","hashtag2"]},{"1394740933":["hashtag1","hashtag2"]},{"1394740927":["hashtag1","hashtag2"]},{"1394740930":["hashtag1","hashtag2"]},{"1394740935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740931, 1394740928, 1394740933, 1394740927, 1394740930, 1394740935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9115264415741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:12:42.248055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_28_2652.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_31_2686.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_34_2655.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_38_3939.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_40_2565.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_43_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_28_2652.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_31_2686.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_34_2655.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_38_3939.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_40_2565.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_43_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740946","1394740942","1394740944","1394740941","1394740940","1394740937"],"photo_ids_order":["1394740937","1394740940","1394740941","1394740942","1394740944","1394740946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/431576b70e4a5d628a04f19011d85ed1.jpg","text":"TemporaryFile(/tmp/multipartBody800059508190236306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291622948,"filename":"image_16112025_10_10_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/11/16/4264f4b76e7526e6d1aff2931361854d.jpg","text":"TemporaryFile(/tmp/multipartBody5825100226616888303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291622948,"filename":"image_16112025_10_10_38_3939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cd369502e44ad3d3a3e06426de17449.jpg","text":"TemporaryFile(/tmp/multipartBody325064034949127024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291622948,"filename":"image_16112025_10_10_40_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bcaf440ba7e25b352e227789a353c82.jpg","text":"TemporaryFile(/tmp/multipartBody7609289115385644968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291622948,"filename":"image_16112025_10_10_34_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d79e1d46e3ca635a7289cccd4112eea.jpg","text":"TemporaryFile(/tmp/multipartBody7566859427636989704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291622948,"filename":"image_16112025_10_10_31_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb54b2285a9e3bebb6400c2cb7480951.jpg","text":"TemporaryFile(/tmp/multipartBody3335292336317497740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291622948,"filename":"image_16112025_10_10_28_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740941","file1":"1394740940","file0":"1394740937","file4":"1394740944","file5":"1394740946","file3":"1394740942"},"map_files_photo_id_array":[{"photo_id":"1394740946","filename":"file5"},{"photo_id":"1394740941","filename":"file2"},{"photo_id":"1394740944","filename":"file4"},{"photo_id":"1394740940","filename":"file1"},{"photo_id":"1394740937","filename":"file0"},{"photo_id":"1394740942","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740946":["hashtag1","hashtag2"]},{"1394740942":["hashtag1","hashtag2"]},{"1394740944":["hashtag1","hashtag2"]},{"1394740941":["hashtag1","hashtag2"]},{"1394740940":["hashtag1","hashtag2"]},{"1394740937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740946, 1394740942, 1394740944, 1394740941, 1394740940, 1394740937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9812433719635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:13:22.475050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_47_3684.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_49_2555.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_52_2650.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_56_3738.jpg', '/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_58_2706.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_01_2893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_47_3684.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_49_2555.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_52_2650.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_56_3738.jpg
/home/pi/Desktop/images/16112025/10/10/image_16112025_10_10_58_2706.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_01_2893.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740954","1394740957","1394740956","1394740959","1394740952","1394740955"],"photo_ids_order":["1394740952","1394740954","1394740955","1394740956","1394740957","1394740959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e617c31201a47073f05b2fab2e84d45.jpg","text":"TemporaryFile(/tmp/multipartBody8063223818442001024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291663122,"filename":"image_16112025_10_10_49_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa0465b75cd92bf9e9091e4dbdbb671e.jpg","text":"TemporaryFile(/tmp/multipartBody3153214202408577056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291663122,"filename":"image_16112025_10_10_58_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf591f92b03091c9431d2f59873b93cc.jpg","text":"TemporaryFile(/tmp/multipartBody8112823165026471234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291663122,"filename":"image_16112025_10_10_56_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f8b1970339972a8d0af74b08a7680e1.jpg","text":"TemporaryFile(/tmp/multipartBody1905560548782493059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291663122,"filename":"image_16112025_10_11_01_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75f4242b56be5a2ae1019e661b5007bc.jpg","text":"TemporaryFile(/tmp/multipartBody413065298710168577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291663122,"filename":"image_16112025_10_10_47_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83df95792599f29b3afe5a9bce2abd51.jpg","text":"TemporaryFile(/tmp/multipartBody7493628542153604920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291663122,"filename":"image_16112025_10_10_52_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740955","file1":"1394740954","file0":"1394740952","file4":"1394740957","file5":"1394740959","file3":"1394740956"},"map_files_photo_id_array":[{"photo_id":"1394740959","filename":"file5"},{"photo_id":"1394740955","filename":"file2"},{"photo_id":"1394740957","filename":"file4"},{"photo_id":"1394740954","filename":"file1"},{"photo_id":"1394740952","filename":"file0"},{"photo_id":"1394740956","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740954":["hashtag1","hashtag2"]},{"1394740957":["hashtag1","hashtag2"]},{"1394740956":["hashtag1","hashtag2"]},{"1394740959":["hashtag1","hashtag2"]},{"1394740952":["hashtag1","hashtag2"]},{"1394740955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740954, 1394740957, 1394740956, 1394740959, 1394740952, 1394740955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.313698053359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:14:03.400124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_04_2671.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_08_3751.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_10_2669.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_13_2586.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_17_3699.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_19_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_04_2671.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_08_3751.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_10_2669.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_13_2586.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_17_3699.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_19_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740960","1394740962","1394740965","1394740967","1394740961","1394740964"],"photo_ids_order":["1394740960","1394740961","1394740962","1394740964","1394740965","1394740967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/908e9468f272163251ae688ca47eae16.jpg","text":"TemporaryFile(/tmp/multipartBody6932710258180058333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291704129,"filename":"image_16112025_10_11_04_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6113d2ad113865fb2f2e79adf0ed301f.jpg","text":"TemporaryFile(/tmp/multipartBody9022118374965830560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291704129,"filename":"image_16112025_10_11_10_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/850c4c055f8d72670922d2a6537a5bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5499479960927760175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291704129,"filename":"image_16112025_10_11_17_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c7c672616878094b333ad80b7fcbf41.jpg","text":"TemporaryFile(/tmp/multipartBody2406275270263546000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291704129,"filename":"image_16112025_10_11_19_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77c7f044295d6bb12d7ae3b0390b6b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7422577637123539710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291704129,"filename":"image_16112025_10_11_08_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/093bb2e7c444871058da16471d68eb43.jpg","text":"TemporaryFile(/tmp/multipartBody6810409521835783434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291704129,"filename":"image_16112025_10_11_13_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740962","file1":"1394740961","file0":"1394740960","file4":"1394740965","file5":"1394740967","file3":"1394740964"},"map_files_photo_id_array":[{"photo_id":"1394740967","filename":"file5"},{"photo_id":"1394740962","filename":"file2"},{"photo_id":"1394740965","filename":"file4"},{"photo_id":"1394740961","filename":"file1"},{"photo_id":"1394740960","filename":"file0"},{"photo_id":"1394740964","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740960":["hashtag1","hashtag2"]},{"1394740962":["hashtag1","hashtag2"]},{"1394740965":["hashtag1","hashtag2"]},{"1394740967":["hashtag1","hashtag2"]},{"1394740961":["hashtag1","hashtag2"]},{"1394740964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740960, 1394740962, 1394740965, 1394740967, 1394740961, 1394740964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53050470352173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:14:42.721618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_22_2678.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_25_3543.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_28_2681.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_31_2724.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_34_3648.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_37_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_22_2678.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_25_3543.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_28_2681.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_31_2724.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_34_3648.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_37_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740972","1394740975","1394740974","1394740977","1394740979","1394740976"],"photo_ids_order":["1394740972","1394740974","1394740975","1394740976","1394740977","1394740979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5ac2215de20dcdd31103426a557a613.jpg","text":"TemporaryFile(/tmp/multipartBody1921643405833152978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291743359,"filename":"image_16112025_10_11_22_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f6a841412f4410761efc9b494aad7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3457770435628422245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291743359,"filename":"image_16112025_10_11_28_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d57aa8f58feedf2f575eaaa5262a329.jpg","text":"TemporaryFile(/tmp/multipartBody8822013533185174503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291743359,"filename":"image_16112025_10_11_25_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e6978846696a543e2372ecf7f322e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8524648461995608706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291743359,"filename":"image_16112025_10_11_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/11/16/ac2a71ef066981eeda2b5f06615aedda.jpg","text":"TemporaryFile(/tmp/multipartBody7849191588605174796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291743359,"filename":"image_16112025_10_11_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/11/16/ff78039f50af1ea976262e1799a24a96.jpg","text":"TemporaryFile(/tmp/multipartBody404391149532238083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291743359,"filename":"image_16112025_10_11_31_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740975","file1":"1394740974","file0":"1394740972","file4":"1394740977","file5":"1394740979","file3":"1394740976"},"map_files_photo_id_array":[{"photo_id":"1394740979","filename":"file5"},{"photo_id":"1394740975","filename":"file2"},{"photo_id":"1394740977","filename":"file4"},{"photo_id":"1394740974","filename":"file1"},{"photo_id":"1394740972","filename":"file0"},{"photo_id":"1394740976","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740972":["hashtag1","hashtag2"]},{"1394740975":["hashtag1","hashtag2"]},{"1394740974":["hashtag1","hashtag2"]},{"1394740977":["hashtag1","hashtag2"]},{"1394740979":["hashtag1","hashtag2"]},{"1394740976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740972, 1394740975, 1394740974, 1394740977, 1394740979, 1394740976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78761339187622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:15:22.001014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_40_2713.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_43_3548.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_46_2630.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_50_3669.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_52_2795.jpg', '/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_55_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_40_2713.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_43_3548.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_46_2630.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_50_3669.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_52_2795.jpg
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_55_2851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394740990","1394740993","1394740987","1394740992","1394740983","1394740991"],"photo_ids_order":["1394740983","1394740987","1394740990","1394740991","1394740992","1394740993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4a2b107499fdd7ca1b0b6061841873f.jpg","text":"TemporaryFile(/tmp/multipartBody230849488162645162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291782660,"filename":"image_16112025_10_11_46_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d2bdfa273b3842df458e601b6368868.jpg","text":"TemporaryFile(/tmp/multipartBody583348011053978045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291782660,"filename":"image_16112025_10_11_55_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/055ce028372def96e678f2b67b55328d.jpg","text":"TemporaryFile(/tmp/multipartBody467662163062951494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291782660,"filename":"image_16112025_10_11_43_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/777d6a5c26191442072ef27df1836868.jpg","text":"TemporaryFile(/tmp/multipartBody7295397978452756685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291782660,"filename":"image_16112025_10_11_52_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae79e5e2a6c3769c6caf081c629d94fb.jpg","text":"TemporaryFile(/tmp/multipartBody573818218231595733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291782660,"filename":"image_16112025_10_11_40_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d726fef7b439409b5fc49c8e382066b.jpg","text":"TemporaryFile(/tmp/multipartBody3318252287558875947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291782660,"filename":"image_16112025_10_11_50_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394740990","file1":"1394740987","file0":"1394740983","file4":"1394740992","file5":"1394740993","file3":"1394740991"},"map_files_photo_id_array":[{"photo_id":"1394740993","filename":"file5"},{"photo_id":"1394740990","filename":"file2"},{"photo_id":"1394740992","filename":"file4"},{"photo_id":"1394740987","filename":"file1"},{"photo_id":"1394740983","filename":"file0"},{"photo_id":"1394740991","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394740990":["hashtag1","hashtag2"]},{"1394740993":["hashtag1","hashtag2"]},{"1394740987":["hashtag1","hashtag2"]},{"1394740992":["hashtag1","hashtag2"]},{"1394740983":["hashtag1","hashtag2"]},{"1394740991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394740990, 1394740993, 1394740987, 1394740992, 1394740983, 1394740991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78443932533264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:16:02.786572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_58_2687.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_02_3655.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_04_2537.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_07_2665.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_10_3622.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_13_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/11/image_16112025_10_11_58_2687.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_02_3655.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_04_2537.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_07_2665.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_10_3622.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_13_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741000","1394741008","1394741002","1394740998","1394741004","1394741006"],"photo_ids_order":["1394740998","1394741000","1394741002","1394741004","1394741006","1394741008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3842aeed9f26f540bc7aa6323f80b172.jpg","text":"TemporaryFile(/tmp/multipartBody4460188996884424369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291823490,"filename":"image_16112025_10_12_02_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33c30bab5161768ae7fa04a7a51a9f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4074643718650631500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291823490,"filename":"image_16112025_10_12_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/11/16/0a1de344fe9738e64235c5a7cd7a1fd1.jpg","text":"TemporaryFile(/tmp/multipartBody1056434071220329320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291823490,"filename":"image_16112025_10_12_04_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af456d1225af167879e3fcee36b1b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody6146485677958473903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291823490,"filename":"image_16112025_10_11_58_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08c27644e25fe17cd3e787d17e395e51.jpg","text":"TemporaryFile(/tmp/multipartBody1311725496512800359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291823490,"filename":"image_16112025_10_12_07_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/072bdafad71f11deb9cb298ab093cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody2385843054850479955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291823490,"filename":"image_16112025_10_12_10_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741002","file1":"1394741000","file0":"1394740998","file4":"1394741006","file5":"1394741008","file3":"1394741004"},"map_files_photo_id_array":[{"photo_id":"1394741008","filename":"file5"},{"photo_id":"1394741002","filename":"file2"},{"photo_id":"1394741006","filename":"file4"},{"photo_id":"1394741000","filename":"file1"},{"photo_id":"1394740998","filename":"file0"},{"photo_id":"1394741004","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741000":["hashtag1","hashtag2"]},{"1394741008":["hashtag1","hashtag2"]},{"1394741002":["hashtag1","hashtag2"]},{"1394740998":["hashtag1","hashtag2"]},{"1394741004":["hashtag1","hashtag2"]},{"1394741006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741000, 1394741008, 1394741002, 1394740998, 1394741004, 1394741006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20134973526001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:16:42.195865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_16_2673.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_19_3645.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_22_2572.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_25_2688.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_29_3863.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_31_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_16_2673.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_19_3645.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_22_2572.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_25_2688.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_29_3863.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_31_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741020","1394741017","1394741019","1394741022","1394741015","1394741018"],"photo_ids_order":["1394741015","1394741017","1394741018","1394741019","1394741020","1394741022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f413fb9fbe696b032d9c112e4c971cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1829175014527035633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291862896,"filename":"image_16112025_10_12_29_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae594b746c3abad56c672144ba747100.jpg","text":"TemporaryFile(/tmp/multipartBody4594307531943815150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291862896,"filename":"image_16112025_10_12_19_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01b3b7b592badc7241db07903b00737b.jpg","text":"TemporaryFile(/tmp/multipartBody1295525414420089760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291862896,"filename":"image_16112025_10_12_25_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/092abed62176277d36ce3a44164ad8c5.jpg","text":"TemporaryFile(/tmp/multipartBody2312280560914482332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291862896,"filename":"image_16112025_10_12_31_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eaf5842b1f96577f22be7266f21b2c26.jpg","text":"TemporaryFile(/tmp/multipartBody8472769882784547776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291862896,"filename":"image_16112025_10_12_16_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a2d3290ebf19aca7a0aa407b382ccb6.jpg","text":"TemporaryFile(/tmp/multipartBody3572733619847153946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291862896,"filename":"image_16112025_10_12_22_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741018","file1":"1394741017","file0":"1394741015","file4":"1394741020","file5":"1394741022","file3":"1394741019"},"map_files_photo_id_array":[{"photo_id":"1394741022","filename":"file5"},{"photo_id":"1394741018","filename":"file2"},{"photo_id":"1394741020","filename":"file4"},{"photo_id":"1394741017","filename":"file1"},{"photo_id":"1394741015","filename":"file0"},{"photo_id":"1394741019","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741020":["hashtag1","hashtag2"]},{"1394741017":["hashtag1","hashtag2"]},{"1394741019":["hashtag1","hashtag2"]},{"1394741022":["hashtag1","hashtag2"]},{"1394741015":["hashtag1","hashtag2"]},{"1394741018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741020, 1394741017, 1394741019, 1394741022, 1394741015, 1394741018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16053485870361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:17:22.450971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_34_2659.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_37_2935.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_40_3554.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_43_2665.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_46_2697.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_49_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_34_2659.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_37_2935.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_40_3554.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_43_2665.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_46_2697.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_49_2855.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741038","1394741031","1394741040","1394741034","1394741028","1394741036"],"photo_ids_order":["1394741028","1394741031","1394741034","1394741036","1394741038","1394741040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42991b2661b46ecd88f50e9f81099cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7270221723450043495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291903089,"filename":"image_16112025_10_12_46_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd6822b49dffc0749c84bf3d5416467c.jpg","text":"TemporaryFile(/tmp/multipartBody5393794094555432889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291903089,"filename":"image_16112025_10_12_37_2935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb5a4b6ad92f399e271e9c888c7635af.jpg","text":"TemporaryFile(/tmp/multipartBody4391499344280079287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291903089,"filename":"image_16112025_10_12_49_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0bbeac669c335b8f455b6d1f2eb0ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4363301749075055500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291903089,"filename":"image_16112025_10_12_40_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de4097069e3a0470b8dc6019cab5cbf7.jpg","text":"TemporaryFile(/tmp/multipartBody2241633404076981250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291903089,"filename":"image_16112025_10_12_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/11/16/81364a9585acdd373c5594e754b184d9.jpg","text":"TemporaryFile(/tmp/multipartBody4929465890905335585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291903089,"filename":"image_16112025_10_12_43_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741034","file1":"1394741031","file0":"1394741028","file4":"1394741038","file5":"1394741040","file3":"1394741036"},"map_files_photo_id_array":[{"photo_id":"1394741040","filename":"file5"},{"photo_id":"1394741034","filename":"file2"},{"photo_id":"1394741038","filename":"file4"},{"photo_id":"1394741031","filename":"file1"},{"photo_id":"1394741028","filename":"file0"},{"photo_id":"1394741036","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741038":["hashtag1","hashtag2"]},{"1394741031":["hashtag1","hashtag2"]},{"1394741040":["hashtag1","hashtag2"]},{"1394741034":["hashtag1","hashtag2"]},{"1394741028":["hashtag1","hashtag2"]},{"1394741036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741038, 1394741031, 1394741040, 1394741034, 1394741028, 1394741036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.343578577041626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:18:02.269351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_52_3651.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_55_2609.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_58_2762.jpg', '/home/pi/Desktop/images/16112025/10/12/image_16112025_10_13_01_3770.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_04_2698.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_07_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_52_3651.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_55_2609.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_12_58_2762.jpg
/home/pi/Desktop/images/16112025/10/12/image_16112025_10_13_01_3770.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_04_2698.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_07_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741044","1394741043","1394741046","1394741051","1394741054","1394741048"],"photo_ids_order":["1394741043","1394741044","1394741046","1394741048","1394741051","1394741054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2bbfe03da854b1cbcd2430ac74697440.jpg","text":"TemporaryFile(/tmp/multipartBody2461567484572964960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291942941,"filename":"image_16112025_10_12_55_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4d1df0d2dcb04cd4a65107b95f9654b.jpg","text":"TemporaryFile(/tmp/multipartBody8855136321794988035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291942941,"filename":"image_16112025_10_12_52_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2060e7efd411f75320b16621bdee482.jpg","text":"TemporaryFile(/tmp/multipartBody316788073347736034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291942941,"filename":"image_16112025_10_12_58_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/863dc205df51c3e2537070129195dc9a.jpg","text":"TemporaryFile(/tmp/multipartBody4503775231739008186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291942941,"filename":"image_16112025_10_13_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/11/16/f664fd3235e4d407bd09fc00c73b8c43.jpg","text":"TemporaryFile(/tmp/multipartBody3172725452733269486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291942941,"filename":"image_16112025_10_13_07_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a8796048f8dc15ba787bbd8462eae22.jpg","text":"TemporaryFile(/tmp/multipartBody3392352181290190241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291942941,"filename":"image_16112025_10_13_01_3770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741046","file1":"1394741044","file0":"1394741043","file4":"1394741051","file5":"1394741054","file3":"1394741048"},"map_files_photo_id_array":[{"photo_id":"1394741054","filename":"file5"},{"photo_id":"1394741046","filename":"file2"},{"photo_id":"1394741051","filename":"file4"},{"photo_id":"1394741044","filename":"file1"},{"photo_id":"1394741043","filename":"file0"},{"photo_id":"1394741048","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741044":["hashtag1","hashtag2"]},{"1394741043":["hashtag1","hashtag2"]},{"1394741046":["hashtag1","hashtag2"]},{"1394741051":["hashtag1","hashtag2"]},{"1394741054":["hashtag1","hashtag2"]},{"1394741048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741044, 1394741043, 1394741046, 1394741051, 1394741054, 1394741048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.335015535354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:18:41.884777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_10_3613.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_13_2633.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_16_2641.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_19_2788.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_22_3717.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_25_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_10_3613.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_13_2633.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_16_2641.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_19_2788.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_22_3717.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_25_2830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741062","1394741059","1394741061","1394741055","1394741064","1394741063"],"photo_ids_order":["1394741055","1394741059","1394741061","1394741062","1394741063","1394741064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34c37dd8b8fec32e5443f8c6f9519c78.jpg","text":"TemporaryFile(/tmp/multipartBody1294585238707304683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291982588,"filename":"image_16112025_10_13_19_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/993ae16d31190774c06b8125c1bc3211.jpg","text":"TemporaryFile(/tmp/multipartBody2385698791482394793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291982588,"filename":"image_16112025_10_13_13_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ea8c009fcdf19473b606c8544afa486.jpg","text":"TemporaryFile(/tmp/multipartBody2869178261870436174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291982588,"filename":"image_16112025_10_13_16_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74412fbfe560a17bb9a584c0c2dd14b3.jpg","text":"TemporaryFile(/tmp/multipartBody2263373776007213880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291982588,"filename":"image_16112025_10_13_10_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29259aa10b3000c4715f8eeb9ffdb359.jpg","text":"TemporaryFile(/tmp/multipartBody2979251559980148122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291982588,"filename":"image_16112025_10_13_25_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0204c60ee8d5e4cbb956037aadca9f15.jpg","text":"TemporaryFile(/tmp/multipartBody8349371846387455567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763291982588,"filename":"image_16112025_10_13_22_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741061","file1":"1394741059","file0":"1394741055","file4":"1394741063","file5":"1394741064","file3":"1394741062"},"map_files_photo_id_array":[{"photo_id":"1394741064","filename":"file5"},{"photo_id":"1394741061","filename":"file2"},{"photo_id":"1394741063","filename":"file4"},{"photo_id":"1394741059","filename":"file1"},{"photo_id":"1394741055","filename":"file0"},{"photo_id":"1394741062","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741062":["hashtag1","hashtag2"]},{"1394741059":["hashtag1","hashtag2"]},{"1394741061":["hashtag1","hashtag2"]},{"1394741055":["hashtag1","hashtag2"]},{"1394741064":["hashtag1","hashtag2"]},{"1394741063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741062, 1394741059, 1394741061, 1394741055, 1394741064, 1394741063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01197147369385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:19:22.003700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_28_2650.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_31_3566.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_34_2633.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_37_2701.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_40_3668.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_43_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_28_2650.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_31_3566.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_34_2633.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_37_2701.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_40_3668.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_43_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741077","1394741071","1394741068","1394741079","1394741081","1394741075"],"photo_ids_order":["1394741068","1394741071","1394741075","1394741077","1394741079","1394741081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a49d67f551c3d517387b1478cb44cb1.jpg","text":"TemporaryFile(/tmp/multipartBody4735376540818420892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292022671,"filename":"image_16112025_10_13_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/11/16/6d95f481b939758832809d7c4a18d2e4.jpg","text":"TemporaryFile(/tmp/multipartBody2758519025457401286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292022671,"filename":"image_16112025_10_13_31_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d0b8090df284e4e0d5214900b9807bd.jpg","text":"TemporaryFile(/tmp/multipartBody8378402636141697431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292022671,"filename":"image_16112025_10_13_28_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b55118af2711347d0f0d1745b5bb5100.jpg","text":"TemporaryFile(/tmp/multipartBody3450754550277202143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292022671,"filename":"image_16112025_10_13_40_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cd3b05475ddf8808d28ae5b78a6af6c.jpg","text":"TemporaryFile(/tmp/multipartBody1335808012275320922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292022671,"filename":"image_16112025_10_13_43_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e434ce4eb37094cd95c5b30ba02da43.jpg","text":"TemporaryFile(/tmp/multipartBody4545505900791935377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292022671,"filename":"image_16112025_10_13_34_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741075","file1":"1394741071","file0":"1394741068","file4":"1394741079","file5":"1394741081","file3":"1394741077"},"map_files_photo_id_array":[{"photo_id":"1394741081","filename":"file5"},{"photo_id":"1394741075","filename":"file2"},{"photo_id":"1394741079","filename":"file4"},{"photo_id":"1394741071","filename":"file1"},{"photo_id":"1394741068","filename":"file0"},{"photo_id":"1394741077","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741077":["hashtag1","hashtag2"]},{"1394741071":["hashtag1","hashtag2"]},{"1394741068":["hashtag1","hashtag2"]},{"1394741079":["hashtag1","hashtag2"]},{"1394741081":["hashtag1","hashtag2"]},{"1394741075":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741077, 1394741071, 1394741068, 1394741079, 1394741081, 1394741075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.423890352249146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:20:02.662759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_46_2680.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_49_2790.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_52_3728.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_55_2771.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_58_2541.jpg', '/home/pi/Desktop/images/16112025/10/13/image_16112025_10_14_01_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_46_2680.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_49_2790.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_52_3728.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_55_2771.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_13_58_2541.jpg
/home/pi/Desktop/images/16112025/10/13/image_16112025_10_14_01_3786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741083","1394741092","1394741086","1394741088","1394741090","1394741087"],"photo_ids_order":["1394741083","1394741086","1394741087","1394741088","1394741090","1394741092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a38ee58cd424d4146c6df7808c6c5c96.jpg","text":"TemporaryFile(/tmp/multipartBody5821705597499886151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292063370,"filename":"image_16112025_10_13_46_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/881636d245823f438ac70c0c12e1c7aa.jpg","text":"TemporaryFile(/tmp/multipartBody8566942013609022318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292063370,"filename":"image_16112025_10_14_01_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18104b15be6bdbf276e050dcb9abd955.jpg","text":"TemporaryFile(/tmp/multipartBody6313917924636718603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292063370,"filename":"image_16112025_10_13_49_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48b0bd9f05a35a64a7d56d014fcc2b33.jpg","text":"TemporaryFile(/tmp/multipartBody2233361095620139436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292063370,"filename":"image_16112025_10_13_55_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/781aa055a9c9c2b33a679cfc6e9680f0.jpg","text":"TemporaryFile(/tmp/multipartBody5395014459974296325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292063370,"filename":"image_16112025_10_13_58_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4bd2e9cc242a6447fbfa01845e99765.jpg","text":"TemporaryFile(/tmp/multipartBody184045614332521742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292063370,"filename":"image_16112025_10_13_52_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741087","file1":"1394741086","file0":"1394741083","file4":"1394741090","file5":"1394741092","file3":"1394741088"},"map_files_photo_id_array":[{"photo_id":"1394741092","filename":"file5"},{"photo_id":"1394741087","filename":"file2"},{"photo_id":"1394741090","filename":"file4"},{"photo_id":"1394741086","filename":"file1"},{"photo_id":"1394741083","filename":"file0"},{"photo_id":"1394741088","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741083":["hashtag1","hashtag2"]},{"1394741092":["hashtag1","hashtag2"]},{"1394741086":["hashtag1","hashtag2"]},{"1394741088":["hashtag1","hashtag2"]},{"1394741090":["hashtag1","hashtag2"]},{"1394741087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741083, 1394741092, 1394741086, 1394741088, 1394741090, 1394741087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05253481864929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:20:42.270211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_04_2716.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_07_2531.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_10_3023.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_13_3674.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_16_2612.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_19_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_04_2716.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_07_2531.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_10_3023.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_13_3674.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_16_2612.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_19_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741101","1394741097","1394741100","1394741099","1394741103","1394741105"],"photo_ids_order":["1394741097","1394741099","1394741100","1394741101","1394741103","1394741105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ccfd471387c4e3afd33918e83018d1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3484834304145531262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292102937,"filename":"image_16112025_10_14_13_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b34d488bb1f84e7b9cd4ec34036ea6c4.jpg","text":"TemporaryFile(/tmp/multipartBody5532192081340163052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292102937,"filename":"image_16112025_10_14_04_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/744d68a29fe8a65cc09671f19419aff1.jpg","text":"TemporaryFile(/tmp/multipartBody8697864592760282899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292102937,"filename":"image_16112025_10_14_10_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac6af3784b6f16373764a4b39335b561.jpg","text":"TemporaryFile(/tmp/multipartBody1644465468993763023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292102937,"filename":"image_16112025_10_14_07_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a197fa750404185bb60d8611eff8f636.jpg","text":"TemporaryFile(/tmp/multipartBody776872195602316585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292102937,"filename":"image_16112025_10_14_16_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9176e9c5b5dca9afe01f5082b836d9ad.jpg","text":"TemporaryFile(/tmp/multipartBody6860242810051347676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292102937,"filename":"image_16112025_10_14_19_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741100","file1":"1394741099","file0":"1394741097","file4":"1394741103","file5":"1394741105","file3":"1394741101"},"map_files_photo_id_array":[{"photo_id":"1394741105","filename":"file5"},{"photo_id":"1394741100","filename":"file2"},{"photo_id":"1394741103","filename":"file4"},{"photo_id":"1394741099","filename":"file1"},{"photo_id":"1394741097","filename":"file0"},{"photo_id":"1394741101","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741101":["hashtag1","hashtag2"]},{"1394741097":["hashtag1","hashtag2"]},{"1394741100":["hashtag1","hashtag2"]},{"1394741099":["hashtag1","hashtag2"]},{"1394741103":["hashtag1","hashtag2"]},{"1394741105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741101, 1394741097, 1394741100, 1394741099, 1394741103, 1394741105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94501972198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:21:22.571867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_22_3666.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_25_2661.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_28_2877.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_31_2736.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_34_3589.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_37_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_22_3666.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_25_2661.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_28_2877.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_31_2736.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_34_3589.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_37_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741116","1394741118","1394741121","1394741114","1394741117","1394741111"],"photo_ids_order":["1394741111","1394741114","1394741116","1394741117","1394741118","1394741121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ccedf66aceaf235a18991d715754af0.jpg","text":"TemporaryFile(/tmp/multipartBody5017276547837690083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292143239,"filename":"image_16112025_10_14_28_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf345de0478241282467ab177dd308ea.jpg","text":"TemporaryFile(/tmp/multipartBody7833765512412769263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292143239,"filename":"image_16112025_10_14_34_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f586183d952e62c4cb5121ba64c414a.jpg","text":"TemporaryFile(/tmp/multipartBody6710032693461650974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292143239,"filename":"image_16112025_10_14_37_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/202b8618055afa6323ef760c14c7aae1.jpg","text":"TemporaryFile(/tmp/multipartBody3956113238106467832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292143239,"filename":"image_16112025_10_14_25_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fba71328f0eaf23f00e3341c76b44ae4.jpg","text":"TemporaryFile(/tmp/multipartBody7797321346176203348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292143239,"filename":"image_16112025_10_14_31_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be255efd297b2cd3bf47d1c9642a1d80.jpg","text":"TemporaryFile(/tmp/multipartBody1087192143008732072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292143239,"filename":"image_16112025_10_14_22_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741116","file1":"1394741114","file0":"1394741111","file4":"1394741118","file5":"1394741121","file3":"1394741117"},"map_files_photo_id_array":[{"photo_id":"1394741121","filename":"file5"},{"photo_id":"1394741116","filename":"file2"},{"photo_id":"1394741118","filename":"file4"},{"photo_id":"1394741114","filename":"file1"},{"photo_id":"1394741111","filename":"file0"},{"photo_id":"1394741117","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741116":["hashtag1","hashtag2"]},{"1394741118":["hashtag1","hashtag2"]},{"1394741121":["hashtag1","hashtag2"]},{"1394741114":["hashtag1","hashtag2"]},{"1394741117":["hashtag1","hashtag2"]},{"1394741111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741116, 1394741118, 1394741121, 1394741114, 1394741117, 1394741111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20461082458496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:22:03.191960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_39_2576.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_43_3783.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_46_2564.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_48_2610.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_52_3664.jpg', '/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_55_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_39_2576.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_43_3783.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_46_2564.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_48_2610.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_52_3664.jpg
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_55_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741125","1394741130","1394741124","1394741127","1394741129","1394741126"],"photo_ids_order":["1394741124","1394741125","1394741126","1394741127","1394741129","1394741130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/050ad48c9ab4729ab5160a565eb3f893.jpg","text":"TemporaryFile(/tmp/multipartBody8769486346878470789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292183896,"filename":"image_16112025_10_14_43_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77fc45b353ebbe53e2ae5f4915d5413c.jpg","text":"TemporaryFile(/tmp/multipartBody9068649772657520360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292183896,"filename":"image_16112025_10_14_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/11/16/e2c314cc5639c8dfbf4475666c4ce8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1915019790383770492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292183896,"filename":"image_16112025_10_14_39_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c10c6559228202c7c6d80dc1c8583706.jpg","text":"TemporaryFile(/tmp/multipartBody5486029074887254885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292183896,"filename":"image_16112025_10_14_48_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c60c60e123be812e54f033a7f12f0ca8.jpg","text":"TemporaryFile(/tmp/multipartBody6144108737042671402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292183896,"filename":"image_16112025_10_14_52_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37d485e147c0dcb5acadf809ea549724.jpg","text":"TemporaryFile(/tmp/multipartBody1739424660607546623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292183896,"filename":"image_16112025_10_14_46_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741126","file1":"1394741125","file0":"1394741124","file4":"1394741129","file5":"1394741130","file3":"1394741127"},"map_files_photo_id_array":[{"photo_id":"1394741130","filename":"file5"},{"photo_id":"1394741126","filename":"file2"},{"photo_id":"1394741129","filename":"file4"},{"photo_id":"1394741125","filename":"file1"},{"photo_id":"1394741124","filename":"file0"},{"photo_id":"1394741127","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741125":["hashtag1","hashtag2"]},{"1394741130":["hashtag1","hashtag2"]},{"1394741124":["hashtag1","hashtag2"]},{"1394741127":["hashtag1","hashtag2"]},{"1394741129":["hashtag1","hashtag2"]},{"1394741126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741125, 1394741130, 1394741124, 1394741127, 1394741129, 1394741126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.075438499450684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:22:42.721997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_58_2679.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_07_3010.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_11_3759.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_13_2791.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_16_2521.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_20_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_58_2679.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_07_3010.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_11_3759.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_13_2791.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_16_2521.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_20_3625.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.5949296951293945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:23:02.769054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_58_2679.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_07_3010.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_11_3759.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_13_2791.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_16_2521.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_20_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/14/image_16112025_10_14_58_2679.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_07_3010.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_11_3759.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_13_2791.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_16_2521.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_20_3625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741146","1394741148","1394741142","1394741151","1394741145","1394741144"],"photo_ids_order":["1394741142","1394741144","1394741145","1394741146","1394741148","1394741151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e672ff6fde044185c39e5fca679cb61.jpg","text":"TemporaryFile(/tmp/multipartBody2378796834257219575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292243551,"filename":"image_16112025_10_15_13_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8436c9297b8eebd4d1989ef4a4ba899e.jpg","text":"TemporaryFile(/tmp/multipartBody321624501587294067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292243551,"filename":"image_16112025_10_15_16_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7acc495f063c3c08241d4bc60b3d6947.jpg","text":"TemporaryFile(/tmp/multipartBody997350653646229269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292243551,"filename":"image_16112025_10_14_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/11/16/245268b75066e2e071d5f610b840ebd1.jpg","text":"TemporaryFile(/tmp/multipartBody8595636918273410958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292243551,"filename":"image_16112025_10_15_20_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ee798a860656b7f41aa0ccb550fca96.jpg","text":"TemporaryFile(/tmp/multipartBody1795455367884721174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292243551,"filename":"image_16112025_10_15_11_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f72afa3c7fa44879050e44e562ff3a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7741835544754489061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292243551,"filename":"image_16112025_10_15_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741145","file1":"1394741144","file0":"1394741142","file4":"1394741148","file5":"1394741151","file3":"1394741146"},"map_files_photo_id_array":[{"photo_id":"1394741151","filename":"file5"},{"photo_id":"1394741145","filename":"file2"},{"photo_id":"1394741148","filename":"file4"},{"photo_id":"1394741144","filename":"file1"},{"photo_id":"1394741142","filename":"file0"},{"photo_id":"1394741146","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741146":["hashtag1","hashtag2"]},{"1394741148":["hashtag1","hashtag2"]},{"1394741142":["hashtag1","hashtag2"]},{"1394741151":["hashtag1","hashtag2"]},{"1394741145":["hashtag1","hashtag2"]},{"1394741144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741146, 1394741148, 1394741142, 1394741151, 1394741145, 1394741144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38033366203308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:23:41.952943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_22_2685.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_25_2828.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_29_3541.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_31_2794.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_34_2547.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_38_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_22_2685.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_25_2828.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_29_3541.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_31_2794.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_34_2547.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_38_3587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741158","1394741155","1394741160","1394741157","1394741159","1394741156"],"photo_ids_order":["1394741155","1394741156","1394741157","1394741158","1394741159","1394741160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0799c0c3b5d7cd6df6c5a07df3ab7265.jpg","text":"TemporaryFile(/tmp/multipartBody7179695017815075164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292282589,"filename":"image_16112025_10_15_31_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2efeede96fb90166c0380f7ad5539cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3746619396292610687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292282589,"filename":"image_16112025_10_15_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/11/16/1cb9ebaae3fb3822198f8940a12d6781.jpg","text":"TemporaryFile(/tmp/multipartBody7373792984150338604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292282589,"filename":"image_16112025_10_15_38_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b9bd5ca567515853b926893b5501b52.jpg","text":"TemporaryFile(/tmp/multipartBody6789154576847590901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292282589,"filename":"image_16112025_10_15_29_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e838caa0cf2844c639793405aeab7d73.jpg","text":"TemporaryFile(/tmp/multipartBody6855877705365737091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292282589,"filename":"image_16112025_10_15_34_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d02ca98bba51c886a8462793c0e07b0f.jpg","text":"TemporaryFile(/tmp/multipartBody7067328623986564457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292282589,"filename":"image_16112025_10_15_25_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741157","file1":"1394741156","file0":"1394741155","file4":"1394741159","file5":"1394741160","file3":"1394741158"},"map_files_photo_id_array":[{"photo_id":"1394741160","filename":"file5"},{"photo_id":"1394741157","filename":"file2"},{"photo_id":"1394741159","filename":"file4"},{"photo_id":"1394741156","filename":"file1"},{"photo_id":"1394741155","filename":"file0"},{"photo_id":"1394741158","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741158":["hashtag1","hashtag2"]},{"1394741155":["hashtag1","hashtag2"]},{"1394741160":["hashtag1","hashtag2"]},{"1394741157":["hashtag1","hashtag2"]},{"1394741159":["hashtag1","hashtag2"]},{"1394741156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741158, 1394741155, 1394741160, 1394741157, 1394741159, 1394741156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44478106498718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:24:22.236720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_40_2604.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_43_2789.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_46_3538.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_49_2676.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_53_3592.jpg', '/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_55_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_40_2604.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_43_2789.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_46_3538.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_49_2676.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_53_3592.jpg
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_55_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741164","1394741167","1394741166","1394741169","1394741165","1394741162"],"photo_ids_order":["1394741162","1394741164","1394741165","1394741166","1394741167","1394741169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/295e1f311b1363f5522f45f34404d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody7109581509927829132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292322874,"filename":"image_16112025_10_15_43_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8d45c937485587c298622f13fef67ef.jpg","text":"TemporaryFile(/tmp/multipartBody6237750188928952374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292322874,"filename":"image_16112025_10_15_53_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/479489fcfadb776bb8e792aef1e4ba3b.jpg","text":"TemporaryFile(/tmp/multipartBody8569291180179149913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292322874,"filename":"image_16112025_10_15_49_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df46647e3bf4aa52ae728a22828b945d.jpg","text":"TemporaryFile(/tmp/multipartBody3095592629120773652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292322874,"filename":"image_16112025_10_15_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/11/16/3fba6ff208c361fc0d1b2f4de4e9f9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7682589209055077997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292322874,"filename":"image_16112025_10_15_46_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfe060bc7105e4de6cc1680c6810130a.jpg","text":"TemporaryFile(/tmp/multipartBody6900498408678298076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292322874,"filename":"image_16112025_10_15_40_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741165","file1":"1394741164","file0":"1394741162","file4":"1394741167","file5":"1394741169","file3":"1394741166"},"map_files_photo_id_array":[{"photo_id":"1394741169","filename":"file5"},{"photo_id":"1394741165","filename":"file2"},{"photo_id":"1394741167","filename":"file4"},{"photo_id":"1394741164","filename":"file1"},{"photo_id":"1394741162","filename":"file0"},{"photo_id":"1394741166","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741164":["hashtag1","hashtag2"]},{"1394741167":["hashtag1","hashtag2"]},{"1394741166":["hashtag1","hashtag2"]},{"1394741169":["hashtag1","hashtag2"]},{"1394741165":["hashtag1","hashtag2"]},{"1394741162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741164, 1394741167, 1394741166, 1394741169, 1394741165, 1394741162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01189637184143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:25:02.399750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_58_2707.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_01_2901.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_04_2686.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_07_3530.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_10_2754.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_14_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/15/image_16112025_10_15_58_2707.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_01_2901.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_04_2686.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_07_3530.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_10_2754.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_14_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741173","1394741172","1394741175","1394741177","1394741180","1394741174"],"photo_ids_order":["1394741172","1394741173","1394741174","1394741175","1394741177","1394741180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e51c0df2b29737ae4fda9f68c0799d9e.jpg","text":"TemporaryFile(/tmp/multipartBody888763753943005845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292363145,"filename":"image_16112025_10_16_01_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10ba7c445d068c021f7fa41b6dafe635.jpg","text":"TemporaryFile(/tmp/multipartBody7551337340796796577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292363145,"filename":"image_16112025_10_15_58_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a76abbefc73f6ebc5dfdbcb9e0ec608a.jpg","text":"TemporaryFile(/tmp/multipartBody1955384858931455097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292363145,"filename":"image_16112025_10_16_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/11/16/df8f9eb937b5a1986cd53c5beafa2443.jpg","text":"TemporaryFile(/tmp/multipartBody2075398162585449070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292363145,"filename":"image_16112025_10_16_10_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/517ae6861f67ac25856d04e49307d661.jpg","text":"TemporaryFile(/tmp/multipartBody7027041711735318927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292363145,"filename":"image_16112025_10_16_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/11/16/540479a66de0dce913e495d130589394.jpg","text":"TemporaryFile(/tmp/multipartBody6981003476448495594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292363145,"filename":"image_16112025_10_16_04_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741174","file1":"1394741173","file0":"1394741172","file4":"1394741177","file5":"1394741180","file3":"1394741175"},"map_files_photo_id_array":[{"photo_id":"1394741180","filename":"file5"},{"photo_id":"1394741174","filename":"file2"},{"photo_id":"1394741177","filename":"file4"},{"photo_id":"1394741173","filename":"file1"},{"photo_id":"1394741172","filename":"file0"},{"photo_id":"1394741175","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741173":["hashtag1","hashtag2"]},{"1394741172":["hashtag1","hashtag2"]},{"1394741175":["hashtag1","hashtag2"]},{"1394741177":["hashtag1","hashtag2"]},{"1394741180":["hashtag1","hashtag2"]},{"1394741174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741173, 1394741172, 1394741175, 1394741177, 1394741180, 1394741174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70667099952698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:25:41.864900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_16_2722.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_19_2621.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_23_3590.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_25_2653.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_28_2577.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_31_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_16_2722.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_19_2621.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_23_3590.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_25_2653.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_28_2577.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_31_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741190","1394741184","1394741181","1394741183","1394741186","1394741188"],"photo_ids_order":["1394741181","1394741183","1394741184","1394741186","1394741188","1394741190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2a9eb93c87265d4bc6bfcd1815a5cfa.jpg","text":"TemporaryFile(/tmp/multipartBody8120086502722021859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292402512,"filename":"image_16112025_10_16_31_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4406e0b9906f1845169ef33e442f6f4.jpg","text":"TemporaryFile(/tmp/multipartBody5065764321321692906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292402512,"filename":"image_16112025_10_16_23_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2488545b6a5e8a6d59afd39a56023a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7113531632813384724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292402512,"filename":"image_16112025_10_16_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/11/16/7fab016ea20c32a7b0e892344f3937c6.jpg","text":"TemporaryFile(/tmp/multipartBody4356644271619671644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292402512,"filename":"image_16112025_10_16_19_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e54cd88309bf39a49d30725ff51e8ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7841202531630159588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292402512,"filename":"image_16112025_10_16_25_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7203500aef63590a15266423a070d385.jpg","text":"TemporaryFile(/tmp/multipartBody2119222378891866078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292402512,"filename":"image_16112025_10_16_28_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741184","file1":"1394741183","file0":"1394741181","file4":"1394741188","file5":"1394741190","file3":"1394741186"},"map_files_photo_id_array":[{"photo_id":"1394741190","filename":"file5"},{"photo_id":"1394741184","filename":"file2"},{"photo_id":"1394741188","filename":"file4"},{"photo_id":"1394741183","filename":"file1"},{"photo_id":"1394741181","filename":"file0"},{"photo_id":"1394741186","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741190":["hashtag1","hashtag2"]},{"1394741184":["hashtag1","hashtag2"]},{"1394741181":["hashtag1","hashtag2"]},{"1394741183":["hashtag1","hashtag2"]},{"1394741186":["hashtag1","hashtag2"]},{"1394741188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741190, 1394741184, 1394741181, 1394741183, 1394741186, 1394741188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93122673034668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:26:22.108174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_34_2558.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_37_2842.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_40_3698.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_43_2679.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_46_2673.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_50_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_34_2558.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_37_2842.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_40_3698.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_43_2679.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_46_2673.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_50_3706.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.6279282569885254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:26:42.047805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_34_2558.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_37_2842.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_40_3698.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_43_2679.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_46_2673.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_50_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_34_2558.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_37_2842.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_40_3698.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_43_2679.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_46_2673.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_50_3706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741212","1394741221","1394741215","1394741217","1394741216","1394741219"],"photo_ids_order":["1394741212","1394741215","1394741216","1394741217","1394741219","1394741221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96d8d4ee881b0c400b8dd8342f97b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody2922958014865084978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292462745,"filename":"image_16112025_10_16_34_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28eab697e56ca774240d27277df58c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1667245990245696750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292462745,"filename":"image_16112025_10_16_50_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b3cdef3d8f8d9794871b2a74847ad48.jpg","text":"TemporaryFile(/tmp/multipartBody414956988687557643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292462745,"filename":"image_16112025_10_16_37_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1ff860d298e313b92b6aaf32b7411c2.jpg","text":"TemporaryFile(/tmp/multipartBody5426827466794570112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292462745,"filename":"image_16112025_10_16_43_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/980380540bd09d20cc3802d5f2fa0b16.jpg","text":"TemporaryFile(/tmp/multipartBody7344975154345831044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292462745,"filename":"image_16112025_10_16_40_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4df99ade8be21ccbc383250f193228e.jpg","text":"TemporaryFile(/tmp/multipartBody7075414183003122508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292462745,"filename":"image_16112025_10_16_46_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741216","file1":"1394741215","file0":"1394741212","file4":"1394741219","file5":"1394741221","file3":"1394741217"},"map_files_photo_id_array":[{"photo_id":"1394741221","filename":"file5"},{"photo_id":"1394741216","filename":"file2"},{"photo_id":"1394741219","filename":"file4"},{"photo_id":"1394741215","filename":"file1"},{"photo_id":"1394741212","filename":"file0"},{"photo_id":"1394741217","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741212":["hashtag1","hashtag2"]},{"1394741221":["hashtag1","hashtag2"]},{"1394741215":["hashtag1","hashtag2"]},{"1394741217":["hashtag1","hashtag2"]},{"1394741216":["hashtag1","hashtag2"]},{"1394741219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741212, 1394741221, 1394741215, 1394741217, 1394741216, 1394741219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.043177366256714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:27:22.289502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_52_2582.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_55_2717.jpg', '/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_58_3564.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_01_2636.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_04_2609.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_07_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_52_2582.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_55_2717.jpg
/home/pi/Desktop/images/16112025/10/16/image_16112025_10_16_58_3564.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_01_2636.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_04_2609.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_07_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741230","1394741241","1394741235","1394741232","1394741226","1394741237"],"photo_ids_order":["1394741226","1394741230","1394741232","1394741235","1394741237","1394741241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/318ff09bd71535396cc63f5a43afde7a.jpg","text":"TemporaryFile(/tmp/multipartBody752755159351141063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292502980,"filename":"image_16112025_10_16_55_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb786535da2fde0fa6c76a7bf07881ce.jpg","text":"TemporaryFile(/tmp/multipartBody2231613181671362183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292502980,"filename":"image_16112025_10_17_07_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91c99d31163e51d0b952afedb608c3de.jpg","text":"TemporaryFile(/tmp/multipartBody7316130648864188188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292502980,"filename":"image_16112025_10_17_01_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be7d6ae09fe3c39613bb11b07f70d659.jpg","text":"TemporaryFile(/tmp/multipartBody7223230299160364227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292502980,"filename":"image_16112025_10_16_58_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84aa9564707e123c40c49e6ea124cff3.jpg","text":"TemporaryFile(/tmp/multipartBody5986041911164092403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292502980,"filename":"image_16112025_10_16_52_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4753e8ebd7f9cdcb153ef8a8a84aafdc.jpg","text":"TemporaryFile(/tmp/multipartBody837149761855785067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292502980,"filename":"image_16112025_10_17_04_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741232","file1":"1394741230","file0":"1394741226","file4":"1394741237","file5":"1394741241","file3":"1394741235"},"map_files_photo_id_array":[{"photo_id":"1394741241","filename":"file5"},{"photo_id":"1394741232","filename":"file2"},{"photo_id":"1394741237","filename":"file4"},{"photo_id":"1394741230","filename":"file1"},{"photo_id":"1394741226","filename":"file0"},{"photo_id":"1394741235","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741230":["hashtag1","hashtag2"]},{"1394741241":["hashtag1","hashtag2"]},{"1394741235":["hashtag1","hashtag2"]},{"1394741232":["hashtag1","hashtag2"]},{"1394741226":["hashtag1","hashtag2"]},{"1394741237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741230, 1394741241, 1394741235, 1394741232, 1394741226, 1394741237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6388623714447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:28:03.034070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_10_2671.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_13_2619.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_16_3727.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_19_2795.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_22_2614.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_26_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_10_2671.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_13_2619.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_16_3727.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_19_2795.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_22_2614.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_26_3770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741251","1394741248","1394741247","1394741246","1394741255","1394741249"],"photo_ids_order":["1394741246","1394741247","1394741248","1394741249","1394741251","1394741255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3968861229441e0d3bd61264a953f168.jpg","text":"TemporaryFile(/tmp/multipartBody1228534563130106650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292543699,"filename":"image_16112025_10_17_22_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02f362e3fbb25e0d96aeb13cecf1ff27.jpg","text":"TemporaryFile(/tmp/multipartBody7903105412292164904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292543699,"filename":"image_16112025_10_17_16_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10d14e1e09a1c75b7fe41a126884d329.jpg","text":"TemporaryFile(/tmp/multipartBody4704836764805453989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292543699,"filename":"image_16112025_10_17_13_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b220c2ae75b7d0205a3a6b2f00d754e8.jpg","text":"TemporaryFile(/tmp/multipartBody417354361522267166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292543699,"filename":"image_16112025_10_17_10_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bb771ecabdb176b7b156edf144600fb.jpg","text":"TemporaryFile(/tmp/multipartBody7015807990280766213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292543699,"filename":"image_16112025_10_17_26_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1f1b9b3a619560d2a957e9b341cfda4.jpg","text":"TemporaryFile(/tmp/multipartBody5104691180055174222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292543699,"filename":"image_16112025_10_17_19_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741248","file1":"1394741247","file0":"1394741246","file4":"1394741251","file5":"1394741255","file3":"1394741249"},"map_files_photo_id_array":[{"photo_id":"1394741255","filename":"file5"},{"photo_id":"1394741248","filename":"file2"},{"photo_id":"1394741251","filename":"file4"},{"photo_id":"1394741247","filename":"file1"},{"photo_id":"1394741246","filename":"file0"},{"photo_id":"1394741249","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741251":["hashtag1","hashtag2"]},{"1394741248":["hashtag1","hashtag2"]},{"1394741247":["hashtag1","hashtag2"]},{"1394741246":["hashtag1","hashtag2"]},{"1394741255":["hashtag1","hashtag2"]},{"1394741249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741251, 1394741248, 1394741247, 1394741246, 1394741255, 1394741249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12963008880615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:28:42.479648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_28_2537.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_31_2645.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_34_3484.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_37_2649.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_43_3554.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_46_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_28_2537.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_31_2645.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_34_3484.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_37_2649.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_43_3554.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_46_2644.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.5831670761108398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:29:03.334245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_28_2537.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_31_2645.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_34_3484.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_37_2649.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_43_3554.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_46_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_28_2537.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_31_2645.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_34_3484.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_37_2649.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_43_3554.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_46_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741281","1394741272","1394741266","1394741268","1394741276","1394741270"],"photo_ids_order":["1394741266","1394741268","1394741270","1394741272","1394741276","1394741281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c8d4f88a1e177f2fe9a69be7f5fb7b1.jpg","text":"TemporaryFile(/tmp/multipartBody7409624577062218921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292604148,"filename":"image_16112025_10_17_46_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9bb5bb79b2b0175ffe858bdb3eb51584.jpg","text":"TemporaryFile(/tmp/multipartBody2817804975645764369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292604148,"filename":"image_16112025_10_17_37_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/792f9c0fdc259b78995224117b14a5c6.jpg","text":"TemporaryFile(/tmp/multipartBody8518702168762151214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292604148,"filename":"image_16112025_10_17_28_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca9bca77a745b235b2ff994867c66fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3310963597638730931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292604148,"filename":"image_16112025_10_17_31_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dfbc1c4491deceb8e0cbcb8a62d8ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4339109384930411528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292604148,"filename":"image_16112025_10_17_43_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca6200559900d9dff5930720c65b2e18.jpg","text":"TemporaryFile(/tmp/multipartBody8179030657931656957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292604148,"filename":"image_16112025_10_17_34_3484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741270","file1":"1394741268","file0":"1394741266","file4":"1394741276","file5":"1394741281","file3":"1394741272"},"map_files_photo_id_array":[{"photo_id":"1394741281","filename":"file5"},{"photo_id":"1394741270","filename":"file2"},{"photo_id":"1394741276","filename":"file4"},{"photo_id":"1394741268","filename":"file1"},{"photo_id":"1394741266","filename":"file0"},{"photo_id":"1394741272","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741281":["hashtag1","hashtag2"]},{"1394741272":["hashtag1","hashtag2"]},{"1394741266":["hashtag1","hashtag2"]},{"1394741268":["hashtag1","hashtag2"]},{"1394741276":["hashtag1","hashtag2"]},{"1394741270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741281, 1394741272, 1394741266, 1394741268, 1394741276, 1394741270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31884169578552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:29:42.385822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_49_3613.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_52_2631.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_55_2687.jpg', '/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_58_3616.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_01_2636.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_04_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_49_3613.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_52_2631.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_55_2687.jpg
/home/pi/Desktop/images/16112025/10/17/image_16112025_10_17_58_3616.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_01_2636.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_04_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741290","1394741292","1394741289","1394741291","1394741293","1394741287"],"photo_ids_order":["1394741287","1394741289","1394741290","1394741291","1394741292","1394741293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ac066be60ffdb21536cadf0810923c9.jpg","text":"TemporaryFile(/tmp/multipartBody6250016405375301272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292643052,"filename":"image_16112025_10_17_55_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b14212df1931564fab5d658a60922d3.jpg","text":"TemporaryFile(/tmp/multipartBody9127193909850921825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292643052,"filename":"image_16112025_10_18_01_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcb7a81da2e88b2c6223075d23698f43.jpg","text":"TemporaryFile(/tmp/multipartBody522033096455146303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292643052,"filename":"image_16112025_10_17_52_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/052bc4238097f46e799ea31cf243bad7.jpg","text":"TemporaryFile(/tmp/multipartBody2852871642604684124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292643052,"filename":"image_16112025_10_17_58_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e223c699a88a3c9722cd3b7cbdaf4a4d.jpg","text":"TemporaryFile(/tmp/multipartBody5556870188806446425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292643052,"filename":"image_16112025_10_18_04_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88166555b84eb8f0571fff35e3381d99.jpg","text":"TemporaryFile(/tmp/multipartBody957001583598729040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292643052,"filename":"image_16112025_10_17_49_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741290","file1":"1394741289","file0":"1394741287","file4":"1394741292","file5":"1394741293","file3":"1394741291"},"map_files_photo_id_array":[{"photo_id":"1394741293","filename":"file5"},{"photo_id":"1394741290","filename":"file2"},{"photo_id":"1394741292","filename":"file4"},{"photo_id":"1394741289","filename":"file1"},{"photo_id":"1394741287","filename":"file0"},{"photo_id":"1394741291","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741290":["hashtag1","hashtag2"]},{"1394741292":["hashtag1","hashtag2"]},{"1394741289":["hashtag1","hashtag2"]},{"1394741291":["hashtag1","hashtag2"]},{"1394741293":["hashtag1","hashtag2"]},{"1394741287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741290, 1394741292, 1394741289, 1394741291, 1394741293, 1394741287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.629496812820435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:30:22.628105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_07_3779.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_10_2749.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_13_2906.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_16_2682.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_19_3570.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_22_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_07_3779.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_10_2749.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_13_2906.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_16_2682.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_19_3570.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_22_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741306","1394741305","1394741308","1394741298","1394741301","1394741303"],"photo_ids_order":["1394741298","1394741301","1394741303","1394741305","1394741306","1394741308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09bd3bd318a460de497c2bf4f0feba8f.jpg","text":"TemporaryFile(/tmp/multipartBody23323073709837475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292683272,"filename":"image_16112025_10_18_19_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5c8bbc0af6601e377995b5b8d8165ee.jpg","text":"TemporaryFile(/tmp/multipartBody8484561907443106809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292683272,"filename":"image_16112025_10_18_16_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28824cb3bafe8398fe84825684a0c9eb.jpg","text":"TemporaryFile(/tmp/multipartBody8125148417962164009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292683272,"filename":"image_16112025_10_18_22_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1115f64e6f6f45f301545b8cac71fd8e.jpg","text":"TemporaryFile(/tmp/multipartBody237687432256026868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292683272,"filename":"image_16112025_10_18_07_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0247eaf96585b87166d9e3fa13a356a5.jpg","text":"TemporaryFile(/tmp/multipartBody5937952725799074493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292683272,"filename":"image_16112025_10_18_10_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65229abe49a90ead09d245d376a21fdd.jpg","text":"TemporaryFile(/tmp/multipartBody160871798467429549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292683272,"filename":"image_16112025_10_18_13_2906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741303","file1":"1394741301","file0":"1394741298","file4":"1394741306","file5":"1394741308","file3":"1394741305"},"map_files_photo_id_array":[{"photo_id":"1394741308","filename":"file5"},{"photo_id":"1394741303","filename":"file2"},{"photo_id":"1394741306","filename":"file4"},{"photo_id":"1394741301","filename":"file1"},{"photo_id":"1394741298","filename":"file0"},{"photo_id":"1394741305","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741306":["hashtag1","hashtag2"]},{"1394741305":["hashtag1","hashtag2"]},{"1394741308":["hashtag1","hashtag2"]},{"1394741298":["hashtag1","hashtag2"]},{"1394741301":["hashtag1","hashtag2"]},{"1394741303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741306, 1394741305, 1394741308, 1394741298, 1394741301, 1394741303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1654417514801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:31:02.979196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_25_2753.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_27_2766.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_31_3516.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_34_2573.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_37_3638.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_40_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_25_2753.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_27_2766.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_31_3516.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_34_2573.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_37_3638.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_40_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741317","1394741311","1394741310","1394741313","1394741312","1394741315"],"photo_ids_order":["1394741310","1394741311","1394741312","1394741313","1394741315","1394741317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39ae24a355e861bbcef8ae3b8a932035.jpg","text":"TemporaryFile(/tmp/multipartBody1626185945772971438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292723715,"filename":"image_16112025_10_18_40_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b1f09ef80b72cc9b2441666c0f9015a.jpg","text":"TemporaryFile(/tmp/multipartBody4199500798734239195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292723715,"filename":"image_16112025_10_18_27_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb77de46bcbcc340b93ff1fbbf2e2c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2230826079613407654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292723715,"filename":"image_16112025_10_18_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/11/16/21a23a4822aa33a9790d3fe78f20f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody750055913167858916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292723715,"filename":"image_16112025_10_18_34_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4306553d56ff51d711f29e3aa77196d9.jpg","text":"TemporaryFile(/tmp/multipartBody8872193340830646976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292723715,"filename":"image_16112025_10_18_31_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fdb5f4e3327d10cb711c6deddf35606.jpg","text":"TemporaryFile(/tmp/multipartBody1180059651761608789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292723715,"filename":"image_16112025_10_18_37_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741312","file1":"1394741311","file0":"1394741310","file4":"1394741315","file5":"1394741317","file3":"1394741313"},"map_files_photo_id_array":[{"photo_id":"1394741317","filename":"file5"},{"photo_id":"1394741312","filename":"file2"},{"photo_id":"1394741315","filename":"file4"},{"photo_id":"1394741311","filename":"file1"},{"photo_id":"1394741310","filename":"file0"},{"photo_id":"1394741313","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741317":["hashtag1","hashtag2"]},{"1394741311":["hashtag1","hashtag2"]},{"1394741310":["hashtag1","hashtag2"]},{"1394741313":["hashtag1","hashtag2"]},{"1394741312":["hashtag1","hashtag2"]},{"1394741315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741317, 1394741311, 1394741310, 1394741313, 1394741312, 1394741315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48724985122681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:31:42.387496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_43_2668.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_46_3627.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_49_2525.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_52_2734.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_55_3694.jpg', '/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_58_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_43_2668.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_46_3627.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_49_2525.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_52_2734.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_55_3694.jpg
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_18_58_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741326","1394741320","1394741328","1394741322","1394741321","1394741324"],"photo_ids_order":["1394741320","1394741321","1394741322","1394741324","1394741326","1394741328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea8956d6a6595063af68ef7c4ec68ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4940887367557950725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292764872,"filename":"image_16112025_10_18_55_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69d265a4a234f1b811e5c5d2eca66d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8637013495566429833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292764872,"filename":"image_16112025_10_18_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/11/16/952e9947aca47a0c05c472ac86253177.jpg","text":"TemporaryFile(/tmp/multipartBody5898039874813357488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292764872,"filename":"image_16112025_10_18_58_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f22aec2c289614c77726c20d0d8ae6e6.jpg","text":"TemporaryFile(/tmp/multipartBody146340775054307879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292764872,"filename":"image_16112025_10_18_49_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34750ddc326d4975ef31be67f683bfca.jpg","text":"TemporaryFile(/tmp/multipartBody3811164024732674397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292764872,"filename":"image_16112025_10_18_46_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/804847c142a0020a19dc8282e503fded.jpg","text":"TemporaryFile(/tmp/multipartBody3580768078678837052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292764872,"filename":"image_16112025_10_18_52_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741322","file1":"1394741321","file0":"1394741320","file4":"1394741326","file5":"1394741328","file3":"1394741324"},"map_files_photo_id_array":[{"photo_id":"1394741328","filename":"file5"},{"photo_id":"1394741322","filename":"file2"},{"photo_id":"1394741326","filename":"file4"},{"photo_id":"1394741321","filename":"file1"},{"photo_id":"1394741320","filename":"file0"},{"photo_id":"1394741324","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741326":["hashtag1","hashtag2"]},{"1394741320":["hashtag1","hashtag2"]},{"1394741328":["hashtag1","hashtag2"]},{"1394741322":["hashtag1","hashtag2"]},{"1394741321":["hashtag1","hashtag2"]},{"1394741324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741326, 1394741320, 1394741328, 1394741322, 1394741321, 1394741324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1953444480896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:32:22.656435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/18/image_16112025_10_19_00_2569.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_04_3606.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_07_2605.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_09_2800.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_13_3616.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_16_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/18/image_16112025_10_19_00_2569.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_04_3606.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_07_2605.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_09_2800.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_13_3616.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_16_2527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741335","1394741340","1394741337","1394741339","1394741333","1394741342"],"photo_ids_order":["1394741333","1394741335","1394741337","1394741339","1394741340","1394741342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48859186d2d50ad13f0c1f3a41b635af.jpg","text":"TemporaryFile(/tmp/multipartBody5061297090981268815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292803289,"filename":"image_16112025_10_19_04_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1432185362cc96a79235cb2e4f797bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1173715326433755329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292803289,"filename":"image_16112025_10_19_13_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/901ae54c6101c5c0ff4d5b6d1cc65249.jpg","text":"TemporaryFile(/tmp/multipartBody5984024737452196680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292803289,"filename":"image_16112025_10_19_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/11/16/ac24f2d4f94b4700b50ad03bbe71fc4c.jpg","text":"TemporaryFile(/tmp/multipartBody3700819464601660503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292803289,"filename":"image_16112025_10_19_09_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec6888a658894ee2712c37f46976df38.jpg","text":"TemporaryFile(/tmp/multipartBody2054700632321498974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292803289,"filename":"image_16112025_10_19_00_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc9fd95ffaadfa67e4c64211945042c8.jpg","text":"TemporaryFile(/tmp/multipartBody8810385963316225254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292803289,"filename":"image_16112025_10_19_16_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741337","file1":"1394741335","file0":"1394741333","file4":"1394741340","file5":"1394741342","file3":"1394741339"},"map_files_photo_id_array":[{"photo_id":"1394741342","filename":"file5"},{"photo_id":"1394741337","filename":"file2"},{"photo_id":"1394741340","filename":"file4"},{"photo_id":"1394741335","filename":"file1"},{"photo_id":"1394741333","filename":"file0"},{"photo_id":"1394741339","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741335":["hashtag1","hashtag2"]},{"1394741340":["hashtag1","hashtag2"]},{"1394741337":["hashtag1","hashtag2"]},{"1394741339":["hashtag1","hashtag2"]},{"1394741333":["hashtag1","hashtag2"]},{"1394741342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741335, 1394741340, 1394741337, 1394741339, 1394741333, 1394741342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43029260635376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:33:02.637029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_19_3756.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_22_2622.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_25_2705.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_27_2771.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_31_3826.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_34_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_19_3756.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_22_2622.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_25_2705.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_27_2771.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_31_3826.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_34_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741350","1394741344","1394741347","1394741346","1394741349","1394741345"],"photo_ids_order":["1394741344","1394741345","1394741346","1394741347","1394741349","1394741350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6df7fc7d16d1eb771bd5b9255534b08f.jpg","text":"TemporaryFile(/tmp/multipartBody7922200619210865499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292843386,"filename":"image_16112025_10_19_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/11/16/a52be217ba9bcdb1466ab3595dd4f673.jpg","text":"TemporaryFile(/tmp/multipartBody1266830407349747066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292843386,"filename":"image_16112025_10_19_19_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e2785eefacfa020561baeb2cc778920.jpg","text":"TemporaryFile(/tmp/multipartBody6093576569209725966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292843386,"filename":"image_16112025_10_19_27_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/220243c7f040304229e855f10e2544b7.jpg","text":"TemporaryFile(/tmp/multipartBody921971478903840893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292843386,"filename":"image_16112025_10_19_25_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7448c800e8d339f47d0aeef9ca15af91.jpg","text":"TemporaryFile(/tmp/multipartBody6094060651757544806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292843386,"filename":"image_16112025_10_19_31_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6dff1c16f9bc1526da6f68108ed616e7.jpg","text":"TemporaryFile(/tmp/multipartBody5499750424468915692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292843386,"filename":"image_16112025_10_19_22_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741346","file1":"1394741345","file0":"1394741344","file4":"1394741349","file5":"1394741350","file3":"1394741347"},"map_files_photo_id_array":[{"photo_id":"1394741350","filename":"file5"},{"photo_id":"1394741346","filename":"file2"},{"photo_id":"1394741349","filename":"file4"},{"photo_id":"1394741345","filename":"file1"},{"photo_id":"1394741344","filename":"file0"},{"photo_id":"1394741347","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741350":["hashtag1","hashtag2"]},{"1394741344":["hashtag1","hashtag2"]},{"1394741347":["hashtag1","hashtag2"]},{"1394741346":["hashtag1","hashtag2"]},{"1394741349":["hashtag1","hashtag2"]},{"1394741345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741350, 1394741344, 1394741347, 1394741346, 1394741349, 1394741345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74101948738098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:33:41.933298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_37_2685.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_40_3527.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_43_2633.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_46_2755.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_49_3638.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_52_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_37_2685.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_40_3527.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_43_2633.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_46_2755.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_49_3638.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_52_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741353","1394741356","1394741355","1394741357","1394741351","1394741354"],"photo_ids_order":["1394741351","1394741353","1394741354","1394741355","1394741356","1394741357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7350c60b2babd9f6ac2a54381cb5298.jpg","text":"TemporaryFile(/tmp/multipartBody3156123991452055903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292882564,"filename":"image_16112025_10_19_40_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a8e9c5e05448e3c33c80622c4591d14.jpg","text":"TemporaryFile(/tmp/multipartBody1297501864500940301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292882564,"filename":"image_16112025_10_19_49_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df50f062bde52e68531f2ee575da500f.jpg","text":"TemporaryFile(/tmp/multipartBody7814764640642775572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292882564,"filename":"image_16112025_10_19_46_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06c3f90d3dbe2138bc970811703d0f54.jpg","text":"TemporaryFile(/tmp/multipartBody8195480406305440346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292882564,"filename":"image_16112025_10_19_52_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/591df430c39a0452257b81685b135deb.jpg","text":"TemporaryFile(/tmp/multipartBody5275008191055569401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292882564,"filename":"image_16112025_10_19_37_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afc9c9c2892bf6506e626968d44eb380.jpg","text":"TemporaryFile(/tmp/multipartBody6553548883678219751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292882564,"filename":"image_16112025_10_19_43_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741354","file1":"1394741353","file0":"1394741351","file4":"1394741356","file5":"1394741357","file3":"1394741355"},"map_files_photo_id_array":[{"photo_id":"1394741357","filename":"file5"},{"photo_id":"1394741354","filename":"file2"},{"photo_id":"1394741356","filename":"file4"},{"photo_id":"1394741353","filename":"file1"},{"photo_id":"1394741351","filename":"file0"},{"photo_id":"1394741355","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741353":["hashtag1","hashtag2"]},{"1394741356":["hashtag1","hashtag2"]},{"1394741355":["hashtag1","hashtag2"]},{"1394741357":["hashtag1","hashtag2"]},{"1394741351":["hashtag1","hashtag2"]},{"1394741354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741353, 1394741356, 1394741355, 1394741357, 1394741351, 1394741354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44049906730652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:34:22.217300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_55_2669.jpg', '/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_58_3539.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_07_3011.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_11_3845.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_16_2615.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_25_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_55_2669.jpg
/home/pi/Desktop/images/16112025/10/19/image_16112025_10_19_58_3539.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_07_3011.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_11_3845.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_16_2615.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_25_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741374","1394741368","1394741362","1394741379","1394741376","1394741371"],"photo_ids_order":["1394741362","1394741368","1394741371","1394741374","1394741376","1394741379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc37d06f34e8e83d4dc9c52b7f6728cf.jpg","text":"TemporaryFile(/tmp/multipartBody5027028120697175242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292922858,"filename":"image_16112025_10_21_11_3845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85f2ea12079cc862a23f16f909f5c280.jpg","text":"TemporaryFile(/tmp/multipartBody1107009945489397242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292922858,"filename":"image_16112025_10_19_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/11/16/8ffbf359701d4b146393b07c3c9d4018.jpg","text":"TemporaryFile(/tmp/multipartBody8651650876141234161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292922858,"filename":"image_16112025_10_19_55_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b6abe62838895b6bc5f7f79f7de7a26.jpg","text":"TemporaryFile(/tmp/multipartBody6566258199725689955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292922858,"filename":"image_16112025_10_21_25_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfdb774cea155af18f8e73a1c02a7c88.jpg","text":"TemporaryFile(/tmp/multipartBody5863662485419918816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292922858,"filename":"image_16112025_10_21_16_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/188d9a77e6c56f12afa8793695930ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7256593279676329759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292922858,"filename":"image_16112025_10_21_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741371","file1":"1394741368","file0":"1394741362","file4":"1394741376","file5":"1394741379","file3":"1394741374"},"map_files_photo_id_array":[{"photo_id":"1394741379","filename":"file5"},{"photo_id":"1394741371","filename":"file2"},{"photo_id":"1394741376","filename":"file4"},{"photo_id":"1394741368","filename":"file1"},{"photo_id":"1394741362","filename":"file0"},{"photo_id":"1394741374","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741374":["hashtag1","hashtag2"]},{"1394741368":["hashtag1","hashtag2"]},{"1394741362":["hashtag1","hashtag2"]},{"1394741379":["hashtag1","hashtag2"]},{"1394741376":["hashtag1","hashtag2"]},{"1394741371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741374, 1394741368, 1394741362, 1394741379, 1394741376, 1394741371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44687223434448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:35:02.822973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_29_3727.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_34_2662.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_43_9308.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_48_1538.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_50_1693.jpg', '/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_52_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_29_3727.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_34_2662.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_43_9308.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_48_1538.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_50_1693.jpg
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_52_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741383","1394741385","1394741388","1394741390","1394741384","1394741386"],"photo_ids_order":["1394741383","1394741384","1394741385","1394741386","1394741388","1394741390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8eaafec322f9108ab2cbb066819164c.jpg","text":"TemporaryFile(/tmp/multipartBody6458691491352279403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292963538,"filename":"image_16112025_10_21_29_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebbefd6f359537bdea9f40fb83df5388.jpg","text":"TemporaryFile(/tmp/multipartBody181429656601079415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292963538,"filename":"image_16112025_10_21_43_9308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb9d533f7143c1341e30940a49d33c02.jpg","text":"TemporaryFile(/tmp/multipartBody1106196109754894616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292963538,"filename":"image_16112025_10_21_50_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e64de5e7415d94ab0074bf9e5160043.jpg","text":"TemporaryFile(/tmp/multipartBody1972230324012199936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292963538,"filename":"image_16112025_10_21_52_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/702378c32017f67774ebad24a4883e29.jpg","text":"TemporaryFile(/tmp/multipartBody9029414056094759568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292963538,"filename":"image_16112025_10_21_34_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94d2a30542d40982ec6c710409a904ba.jpg","text":"TemporaryFile(/tmp/multipartBody7742111227430813789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763292963538,"filename":"image_16112025_10_21_48_1538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741385","file1":"1394741384","file0":"1394741383","file4":"1394741388","file5":"1394741390","file3":"1394741386"},"map_files_photo_id_array":[{"photo_id":"1394741390","filename":"file5"},{"photo_id":"1394741385","filename":"file2"},{"photo_id":"1394741388","filename":"file4"},{"photo_id":"1394741384","filename":"file1"},{"photo_id":"1394741383","filename":"file0"},{"photo_id":"1394741386","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741383":["hashtag1","hashtag2"]},{"1394741385":["hashtag1","hashtag2"]},{"1394741388":["hashtag1","hashtag2"]},{"1394741390":["hashtag1","hashtag2"]},{"1394741384":["hashtag1","hashtag2"]},{"1394741386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741383, 1394741385, 1394741388, 1394741390, 1394741384, 1394741386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24938702583313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:35:42.185106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_55_2628.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_01_2631.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_07_3622.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_10_2638.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_13_2628.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_16_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/21/image_16112025_10_21_55_2628.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_01_2631.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_07_3622.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_10_2638.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_13_2628.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_16_3734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741391","1394741394","1394741393","1394741396","1394741399","1394741392"],"photo_ids_order":["1394741391","1394741392","1394741393","1394741394","1394741396","1394741399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d310216e28483d186d19c40af723194c.jpg","text":"TemporaryFile(/tmp/multipartBody47981802893264843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293002838,"filename":"image_16112025_10_21_55_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a39ad49cd2ca63486a7c627e6a1f68c8.jpg","text":"TemporaryFile(/tmp/multipartBody7006710587438349122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293002838,"filename":"image_16112025_10_22_10_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4b1f29e619f323b977bc9b1548f2c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5224507399814758465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293002838,"filename":"image_16112025_10_22_07_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/106a9672142ff9cbb639a77eb27569b7.jpg","text":"TemporaryFile(/tmp/multipartBody8077022192259060944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293002838,"filename":"image_16112025_10_22_13_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ffdc4eda0d3d6c759d53c88ee258d51.jpg","text":"TemporaryFile(/tmp/multipartBody3336415307190447440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293002838,"filename":"image_16112025_10_22_16_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b94577db70ffcdab642d5a427c02632.jpg","text":"TemporaryFile(/tmp/multipartBody4758404435257176499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293002838,"filename":"image_16112025_10_22_01_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741393","file1":"1394741392","file0":"1394741391","file4":"1394741396","file5":"1394741399","file3":"1394741394"},"map_files_photo_id_array":[{"photo_id":"1394741399","filename":"file5"},{"photo_id":"1394741393","filename":"file2"},{"photo_id":"1394741396","filename":"file4"},{"photo_id":"1394741392","filename":"file1"},{"photo_id":"1394741391","filename":"file0"},{"photo_id":"1394741394","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741391":["hashtag1","hashtag2"]},{"1394741394":["hashtag1","hashtag2"]},{"1394741393":["hashtag1","hashtag2"]},{"1394741396":["hashtag1","hashtag2"]},{"1394741399":["hashtag1","hashtag2"]},{"1394741392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741391, 1394741394, 1394741393, 1394741396, 1394741399, 1394741392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06376266479492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:36:22.453049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_22_5772.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_37_15004.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_39_1670.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_41_1738.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_42_1702.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_44_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_22_5772.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_37_15004.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_39_1670.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_41_1738.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_42_1702.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_44_1686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741409","1394741403","1394741412","1394741406","1394741411","1394741414"],"photo_ids_order":["1394741403","1394741406","1394741409","1394741411","1394741412","1394741414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f0b751889391c35461b1dd35af02dc0.jpg","text":"TemporaryFile(/tmp/multipartBody354101678174945662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293043099,"filename":"image_16112025_10_22_39_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bcf35d5d717819a5a9dc3459e093fec.jpg","text":"TemporaryFile(/tmp/multipartBody8167111209491682712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293043099,"filename":"image_16112025_10_22_22_5772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ff54512662da1912bbd66be0d4141f1.jpg","text":"TemporaryFile(/tmp/multipartBody2856753398519188046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293043099,"filename":"image_16112025_10_22_42_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07705c2a7cd6bf83041b9e6f15a97971.jpg","text":"TemporaryFile(/tmp/multipartBody6458819728383046825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293043099,"filename":"image_16112025_10_22_37_15004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38a54a973138a353909cd0d6052614d0.jpg","text":"TemporaryFile(/tmp/multipartBody4041511976557677778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293043099,"filename":"image_16112025_10_22_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/11/16/5eb7ccdfec3a5a936d51c5a2ad449543.jpg","text":"TemporaryFile(/tmp/multipartBody7843423038819695341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293043099,"filename":"image_16112025_10_22_44_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741409","file1":"1394741406","file0":"1394741403","file4":"1394741412","file5":"1394741414","file3":"1394741411"},"map_files_photo_id_array":[{"photo_id":"1394741414","filename":"file5"},{"photo_id":"1394741409","filename":"file2"},{"photo_id":"1394741412","filename":"file4"},{"photo_id":"1394741406","filename":"file1"},{"photo_id":"1394741403","filename":"file0"},{"photo_id":"1394741411","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741409":["hashtag1","hashtag2"]},{"1394741403":["hashtag1","hashtag2"]},{"1394741412":["hashtag1","hashtag2"]},{"1394741406":["hashtag1","hashtag2"]},{"1394741411":["hashtag1","hashtag2"]},{"1394741414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741409, 1394741403, 1394741412, 1394741406, 1394741411, 1394741414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.558156967163086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:37:02.888047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_46_1491.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_50_1673.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_52_1512.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_54_1635.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_55_1634.jpg', '/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_58_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_46_1491.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_50_1673.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_52_1512.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_54_1635.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_55_1634.jpg
/home/pi/Desktop/images/16112025/10/22/image_16112025_10_22_58_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741422","1394741416","1394741425","1394741418","1394741420","1394741417"],"photo_ids_order":["1394741416","1394741417","1394741418","1394741420","1394741422","1394741425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/217181326a3351271e54edbd5618bd09.jpg","text":"TemporaryFile(/tmp/multipartBody335221669635524993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293083595,"filename":"image_16112025_10_22_55_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb95e4a1716b21761f78417288095558.jpg","text":"TemporaryFile(/tmp/multipartBody4365706899329043189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293083595,"filename":"image_16112025_10_22_46_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfbf317c951676a624ffc0cc4148fcc8.jpg","text":"TemporaryFile(/tmp/multipartBody8205484847412543413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293083595,"filename":"image_16112025_10_22_58_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69e24f65a1a818ac6114c1566da988ad.jpg","text":"TemporaryFile(/tmp/multipartBody6055899921947687120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293083595,"filename":"image_16112025_10_22_52_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d83d03b0db2c22e6d4c063750ca9b413.jpg","text":"TemporaryFile(/tmp/multipartBody759737554295284999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293083595,"filename":"image_16112025_10_22_54_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7b7769ae0c1188b405c966978a2c046.jpg","text":"TemporaryFile(/tmp/multipartBody6790983534806154939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293083595,"filename":"image_16112025_10_22_50_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741418","file1":"1394741417","file0":"1394741416","file4":"1394741422","file5":"1394741425","file3":"1394741420"},"map_files_photo_id_array":[{"photo_id":"1394741425","filename":"file5"},{"photo_id":"1394741418","filename":"file2"},{"photo_id":"1394741422","filename":"file4"},{"photo_id":"1394741417","filename":"file1"},{"photo_id":"1394741416","filename":"file0"},{"photo_id":"1394741420","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741422":["hashtag1","hashtag2"]},{"1394741416":["hashtag1","hashtag2"]},{"1394741425":["hashtag1","hashtag2"]},{"1394741418":["hashtag1","hashtag2"]},{"1394741420":["hashtag1","hashtag2"]},{"1394741417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741422, 1394741416, 1394741425, 1394741418, 1394741420, 1394741417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.778564453125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:37:42.304543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_01_2678.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_10_3717.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_13_2593.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_16_2603.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_19_3638.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_22_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_01_2678.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_10_3717.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_13_2593.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_16_2603.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_19_3638.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_22_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741434","1394741436","1394741439","1394741432","1394741441","1394741429"],"photo_ids_order":["1394741429","1394741432","1394741434","1394741436","1394741439","1394741441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90a551489834a7c8eeb56ceb9f10bab3.jpg","text":"TemporaryFile(/tmp/multipartBody5324662989245386238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293122931,"filename":"image_16112025_10_23_13_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37b595e52f390e8868b6e38c12a3c187.jpg","text":"TemporaryFile(/tmp/multipartBody1364936413435331423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293122931,"filename":"image_16112025_10_23_16_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6a8c6ac07c7fc9c7adf48d22da2ba93.jpg","text":"TemporaryFile(/tmp/multipartBody8189651966318380871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293122931,"filename":"image_16112025_10_23_19_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59f6232adc3c6d6faa7c2eb8ec475c68.jpg","text":"TemporaryFile(/tmp/multipartBody7678757195233150727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293122931,"filename":"image_16112025_10_23_10_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80db2833f01e8ec4ccfccd0b969e35ab.jpg","text":"TemporaryFile(/tmp/multipartBody1544574296902966038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293122931,"filename":"image_16112025_10_23_22_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02b4a89060f20564a4b9dae564fac9ee.jpg","text":"TemporaryFile(/tmp/multipartBody7691547609417327329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293122931,"filename":"image_16112025_10_23_01_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741434","file1":"1394741432","file0":"1394741429","file4":"1394741439","file5":"1394741441","file3":"1394741436"},"map_files_photo_id_array":[{"photo_id":"1394741441","filename":"file5"},{"photo_id":"1394741434","filename":"file2"},{"photo_id":"1394741439","filename":"file4"},{"photo_id":"1394741432","filename":"file1"},{"photo_id":"1394741429","filename":"file0"},{"photo_id":"1394741436","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741434":["hashtag1","hashtag2"]},{"1394741436":["hashtag1","hashtag2"]},{"1394741439":["hashtag1","hashtag2"]},{"1394741432":["hashtag1","hashtag2"]},{"1394741441":["hashtag1","hashtag2"]},{"1394741429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741434, 1394741436, 1394741439, 1394741432, 1394741441, 1394741429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26957654953003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:38:22.507203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_25_2567.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_28_3691.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_32_3247.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_34_2627.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_40_3620.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_43_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_25_2567.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_28_3691.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_32_3247.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_34_2627.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_40_3620.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_43_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741452","1394741455","1394741449","1394741458","1394741445","1394741447"],"photo_ids_order":["1394741445","1394741447","1394741449","1394741452","1394741455","1394741458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51921c49c11b6174d232093b781bf066.jpg","text":"TemporaryFile(/tmp/multipartBody4777703843921128499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293163129,"filename":"image_16112025_10_23_34_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba6a456781bb0e87dbfa34336ed21c05.jpg","text":"TemporaryFile(/tmp/multipartBody8681388231580352466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293163129,"filename":"image_16112025_10_23_40_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/724270230237c482a4c6c7c81a0edbc3.jpg","text":"TemporaryFile(/tmp/multipartBody6609756394989582029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293163129,"filename":"image_16112025_10_23_32_3247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6766a5b97427ff818613829f832aa6ef.jpg","text":"TemporaryFile(/tmp/multipartBody841919172941700388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293163129,"filename":"image_16112025_10_23_43_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c1491ad1c2b5f3e24cc50e81a3dae35.jpg","text":"TemporaryFile(/tmp/multipartBody5167997680044094922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293163129,"filename":"image_16112025_10_23_25_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5239e21b024b30766384459dd41e1ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2124591945567092242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293163129,"filename":"image_16112025_10_23_28_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741449","file1":"1394741447","file0":"1394741445","file4":"1394741455","file5":"1394741458","file3":"1394741452"},"map_files_photo_id_array":[{"photo_id":"1394741458","filename":"file5"},{"photo_id":"1394741449","filename":"file2"},{"photo_id":"1394741455","filename":"file4"},{"photo_id":"1394741447","filename":"file1"},{"photo_id":"1394741445","filename":"file0"},{"photo_id":"1394741452","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741452":["hashtag1","hashtag2"]},{"1394741455":["hashtag1","hashtag2"]},{"1394741449":["hashtag1","hashtag2"]},{"1394741458":["hashtag1","hashtag2"]},{"1394741445":["hashtag1","hashtag2"]},{"1394741447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741452, 1394741455, 1394741449, 1394741458, 1394741445, 1394741447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79000425338745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:39:03.402813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_46_2661.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_48_2661.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_52_3657.jpg', '/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_58_3638.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_13_3718.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_16_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_46_2661.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_48_2661.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_52_3657.jpg
/home/pi/Desktop/images/16112025/10/23/image_16112025_10_23_58_3638.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_13_3718.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_16_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741464","1394741472","1394741466","1394741474","1394741468","1394741470"],"photo_ids_order":["1394741464","1394741466","1394741468","1394741470","1394741472","1394741474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8464d46178f02f8eb69c589e2cf11914.jpg","text":"TemporaryFile(/tmp/multipartBody3102554920754071704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293204222,"filename":"image_16112025_10_23_46_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7842c4830894cf55746bb97c610ad935.jpg","text":"TemporaryFile(/tmp/multipartBody109484703053453567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293204222,"filename":"image_16112025_10_24_13_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0401719ed4c2f767dd99ce3c90e4661.jpg","text":"TemporaryFile(/tmp/multipartBody7313946341071810046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293204222,"filename":"image_16112025_10_23_48_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/904440350cc4ff2667c7911bd755807d.jpg","text":"TemporaryFile(/tmp/multipartBody8115563955573381478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293204222,"filename":"image_16112025_10_24_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/11/16/1dd549b28021be39a027fb0a16e8fa30.jpg","text":"TemporaryFile(/tmp/multipartBody1187301082559177202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293204222,"filename":"image_16112025_10_23_52_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09495aa35ad734e781a99e788fdfecfd.jpg","text":"TemporaryFile(/tmp/multipartBody4580029354269512237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293204222,"filename":"image_16112025_10_23_58_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741468","file1":"1394741466","file0":"1394741464","file4":"1394741472","file5":"1394741474","file3":"1394741470"},"map_files_photo_id_array":[{"photo_id":"1394741474","filename":"file5"},{"photo_id":"1394741468","filename":"file2"},{"photo_id":"1394741472","filename":"file4"},{"photo_id":"1394741466","filename":"file1"},{"photo_id":"1394741464","filename":"file0"},{"photo_id":"1394741470","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741464":["hashtag1","hashtag2"]},{"1394741472":["hashtag1","hashtag2"]},{"1394741466":["hashtag1","hashtag2"]},{"1394741474":["hashtag1","hashtag2"]},{"1394741468":["hashtag1","hashtag2"]},{"1394741470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741464, 1394741472, 1394741466, 1394741474, 1394741468, 1394741470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.861571311950684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:39:42.306604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_19_2643.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_22_3562.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_25_2527.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_28_2692.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_31_3539.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_34_2508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_19_2643.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_22_3562.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_25_2527.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_28_2692.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_31_3539.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_34_2508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741488","1394741482","1394741481","1394741490","1394741484","1394741486"],"photo_ids_order":["1394741481","1394741482","1394741484","1394741486","1394741488","1394741490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e5a6bd6f34986abe80e6051a6733901.jpg","text":"TemporaryFile(/tmp/multipartBody2808458136060117411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293242993,"filename":"image_16112025_10_24_31_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1320006077a5e270595017f867713212.jpg","text":"TemporaryFile(/tmp/multipartBody6019409099244292100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293242993,"filename":"image_16112025_10_24_22_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/861038e4f53d18016d54ff461a852c7e.jpg","text":"TemporaryFile(/tmp/multipartBody6236138419360016851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293242993,"filename":"image_16112025_10_24_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/11/16/267d601d23a965d4102a82baeb00b70f.jpg","text":"TemporaryFile(/tmp/multipartBody2208031881044809425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293242993,"filename":"image_16112025_10_24_34_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b52bece7566259dbd40e2066cbf75c2d.jpg","text":"TemporaryFile(/tmp/multipartBody1612481364957688132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293242993,"filename":"image_16112025_10_24_25_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12f2f31ffd617f1c37aca688a27249fb.jpg","text":"TemporaryFile(/tmp/multipartBody3106061725333121340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293242993,"filename":"image_16112025_10_24_28_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741484","file1":"1394741482","file0":"1394741481","file4":"1394741488","file5":"1394741490","file3":"1394741486"},"map_files_photo_id_array":[{"photo_id":"1394741490","filename":"file5"},{"photo_id":"1394741484","filename":"file2"},{"photo_id":"1394741488","filename":"file4"},{"photo_id":"1394741482","filename":"file1"},{"photo_id":"1394741481","filename":"file0"},{"photo_id":"1394741486","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741488":["hashtag1","hashtag2"]},{"1394741482":["hashtag1","hashtag2"]},{"1394741481":["hashtag1","hashtag2"]},{"1394741490":["hashtag1","hashtag2"]},{"1394741484":["hashtag1","hashtag2"]},{"1394741486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741488, 1394741482, 1394741481, 1394741490, 1394741484, 1394741486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67630100250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:40:22.584126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_36_2775.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_40_3754.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_43_2644.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_46_3561.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_52_2809.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_55_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_36_2775.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_40_3754.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_43_2644.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_46_3561.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_52_2809.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_55_2570.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.554495096206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:40:42.531451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_36_2775.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_40_3754.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_43_2644.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_46_3561.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_52_2809.jpg', '/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_55_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_36_2775.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_40_3754.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_43_2644.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_46_3561.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_52_2809.jpg
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_55_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741515","1394741518","1394741517","1394741519","1394741510","1394741513"],"photo_ids_order":["1394741510","1394741513","1394741515","1394741517","1394741518","1394741519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbfb6c36f05e198ce92b0e9a9776c826.jpg","text":"TemporaryFile(/tmp/multipartBody8891372965456369091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293303240,"filename":"image_16112025_10_24_43_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5660628e00f8b7734dd81b358b22b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8476725131073912643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293303240,"filename":"image_16112025_10_24_52_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7e29e80fd2dd0dc7daecd3fdb079a51.jpg","text":"TemporaryFile(/tmp/multipartBody8360105270315907682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293303240,"filename":"image_16112025_10_24_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/11/16/ace42f4e11a5730fefaa17b7f598c11e.jpg","text":"TemporaryFile(/tmp/multipartBody2646870590890117638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293303240,"filename":"image_16112025_10_24_55_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e696ec3f72144723b64b636c01e95b2d.jpg","text":"TemporaryFile(/tmp/multipartBody7709817166588839857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293303240,"filename":"image_16112025_10_24_36_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6284688e068519d2a6198bfa35ab463c.jpg","text":"TemporaryFile(/tmp/multipartBody6945642566811138689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293303240,"filename":"image_16112025_10_24_40_3754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741515","file1":"1394741513","file0":"1394741510","file4":"1394741518","file5":"1394741519","file3":"1394741517"},"map_files_photo_id_array":[{"photo_id":"1394741519","filename":"file5"},{"photo_id":"1394741515","filename":"file2"},{"photo_id":"1394741518","filename":"file4"},{"photo_id":"1394741513","filename":"file1"},{"photo_id":"1394741510","filename":"file0"},{"photo_id":"1394741517","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741515":["hashtag1","hashtag2"]},{"1394741518":["hashtag1","hashtag2"]},{"1394741517":["hashtag1","hashtag2"]},{"1394741519":["hashtag1","hashtag2"]},{"1394741510":["hashtag1","hashtag2"]},{"1394741513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741515, 1394741518, 1394741517, 1394741519, 1394741510, 1394741513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68086123466492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:41:22.819248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_58_3745.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_07_3013.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_12_5784.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_14_1656.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_16_1628.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_19_3806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/24/image_16112025_10_24_58_3745.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_07_3013.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_12_5784.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_14_1656.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_16_1628.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_19_3806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741530","1394741524","1394741527","1394741526","1394741525","1394741528"],"photo_ids_order":["1394741524","1394741525","1394741526","1394741527","1394741528","1394741530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71fbd97da80862cb5fc2bcb9637dc42a.jpg","text":"TemporaryFile(/tmp/multipartBody3661950523542426616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293343501,"filename":"image_16112025_10_25_19_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b257bcfd3e357f3dcd393df1bf42a389.jpg","text":"TemporaryFile(/tmp/multipartBody1197154092448550514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293343501,"filename":"image_16112025_10_24_58_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/937c237bb404658b894ab2eebbc24310.jpg","text":"TemporaryFile(/tmp/multipartBody7414303631617965736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293343501,"filename":"image_16112025_10_25_14_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f7b38cb9f6a306803e33a9c88f2565d.jpg","text":"TemporaryFile(/tmp/multipartBody5888929508459445735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293343501,"filename":"image_16112025_10_25_12_5784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/523cade93ad79c24dfc87fbfc05e5804.jpg","text":"TemporaryFile(/tmp/multipartBody8903056640490626617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293343501,"filename":"image_16112025_10_25_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/11/16/d35fe573ac5348e94e43fdf7ad845f21.jpg","text":"TemporaryFile(/tmp/multipartBody3809212030287258079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293343501,"filename":"image_16112025_10_25_16_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741526","file1":"1394741525","file0":"1394741524","file4":"1394741528","file5":"1394741530","file3":"1394741527"},"map_files_photo_id_array":[{"photo_id":"1394741530","filename":"file5"},{"photo_id":"1394741526","filename":"file2"},{"photo_id":"1394741528","filename":"file4"},{"photo_id":"1394741525","filename":"file1"},{"photo_id":"1394741524","filename":"file0"},{"photo_id":"1394741527","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741530":["hashtag1","hashtag2"]},{"1394741524":["hashtag1","hashtag2"]},{"1394741527":["hashtag1","hashtag2"]},{"1394741526":["hashtag1","hashtag2"]},{"1394741525":["hashtag1","hashtag2"]},{"1394741528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741530, 1394741524, 1394741527, 1394741526, 1394741525, 1394741528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16259169578552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:42:02.433770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_24_4965.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_26_1695.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_28_1599.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_31_3670.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_34_2675.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_37_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_24_4965.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_26_1695.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_28_1599.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_31_3670.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_34_2675.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_37_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741536","1394741545","1394741541","1394741538","1394741537","1394741534"],"photo_ids_order":["1394741534","1394741536","1394741537","1394741538","1394741541","1394741545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e15a5e763cd81d08237cfdff19cfdf7.jpg","text":"TemporaryFile(/tmp/multipartBody227517769607749580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293383094,"filename":"image_16112025_10_25_26_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12f0299556da8c08e542c8379cc8f50a.jpg","text":"TemporaryFile(/tmp/multipartBody3436188628649571081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293383094,"filename":"image_16112025_10_25_37_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65ee2130f72426a1fb9c417ee58f040b.jpg","text":"TemporaryFile(/tmp/multipartBody1622452397230884685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293383094,"filename":"image_16112025_10_25_34_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e73d7054fbb2ee9c5c537b6527e00546.jpg","text":"TemporaryFile(/tmp/multipartBody2985584196097364301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293383094,"filename":"image_16112025_10_25_31_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6901aa06e82b59fbfc212390fee64b69.jpg","text":"TemporaryFile(/tmp/multipartBody5153746185994055468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293383094,"filename":"image_16112025_10_25_28_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79b8e20f54303361668b9d1c19dcf4ff.jpg","text":"TemporaryFile(/tmp/multipartBody510150263568963700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293383094,"filename":"image_16112025_10_25_24_4965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741537","file1":"1394741536","file0":"1394741534","file4":"1394741541","file5":"1394741545","file3":"1394741538"},"map_files_photo_id_array":[{"photo_id":"1394741545","filename":"file5"},{"photo_id":"1394741537","filename":"file2"},{"photo_id":"1394741541","filename":"file4"},{"photo_id":"1394741536","filename":"file1"},{"photo_id":"1394741534","filename":"file0"},{"photo_id":"1394741538","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741536":["hashtag1","hashtag2"]},{"1394741545":["hashtag1","hashtag2"]},{"1394741541":["hashtag1","hashtag2"]},{"1394741538":["hashtag1","hashtag2"]},{"1394741537":["hashtag1","hashtag2"]},{"1394741534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741536, 1394741545, 1394741541, 1394741538, 1394741537, 1394741534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82367181777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:42:41.999088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_40_3675.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_43_2634.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_46_2556.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_52_2672.jpg', '/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_55_2665.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_01_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_40_3675.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_43_2634.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_46_2556.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_52_2672.jpg
/home/pi/Desktop/images/16112025/10/25/image_16112025_10_25_55_2665.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_01_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741560","1394741554","1394741563","1394741559","1394741550","1394741556"],"photo_ids_order":["1394741550","1394741554","1394741556","1394741559","1394741560","1394741563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a87bbc16ff197004e517d9d369615267.jpg","text":"TemporaryFile(/tmp/multipartBody1714160631026556216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293422743,"filename":"image_16112025_10_25_55_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef1ef91471a586900c02e16696d612fc.jpg","text":"TemporaryFile(/tmp/multipartBody5780411161889929808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293422743,"filename":"image_16112025_10_25_43_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9353a490f5ff656c194457905d3ec112.jpg","text":"TemporaryFile(/tmp/multipartBody3720932950535192654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293422743,"filename":"image_16112025_10_26_01_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96af8c3e7551ad7823e3e7d989352f73.jpg","text":"TemporaryFile(/tmp/multipartBody7376574801701491147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293422743,"filename":"image_16112025_10_25_52_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de97c13e9770535a2490b490d947d0d9.jpg","text":"TemporaryFile(/tmp/multipartBody7094419384139081173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293422743,"filename":"image_16112025_10_25_40_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb761366397f2fdcf5326d5e2fe305bb.jpg","text":"TemporaryFile(/tmp/multipartBody605140620973517008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293422743,"filename":"image_16112025_10_25_46_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741556","file1":"1394741554","file0":"1394741550","file4":"1394741560","file5":"1394741563","file3":"1394741559"},"map_files_photo_id_array":[{"photo_id":"1394741563","filename":"file5"},{"photo_id":"1394741556","filename":"file2"},{"photo_id":"1394741560","filename":"file4"},{"photo_id":"1394741554","filename":"file1"},{"photo_id":"1394741550","filename":"file0"},{"photo_id":"1394741559","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741560":["hashtag1","hashtag2"]},{"1394741554":["hashtag1","hashtag2"]},{"1394741563":["hashtag1","hashtag2"]},{"1394741559":["hashtag1","hashtag2"]},{"1394741550":["hashtag1","hashtag2"]},{"1394741556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741560, 1394741554, 1394741563, 1394741559, 1394741550, 1394741556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.448227405548096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:43:22.305926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_04_2628.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_10_2660.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_13_3591.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_16_2568.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_19_3588.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_22_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_04_2628.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_10_2660.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_13_3591.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_16_2568.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_19_3588.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_22_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741569","1394741580","1394741573","1394741582","1394741576","1394741578"],"photo_ids_order":["1394741569","1394741573","1394741576","1394741578","1394741580","1394741582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5551b92acea7520b8db0b3f4b41007f1.jpg","text":"TemporaryFile(/tmp/multipartBody5066272894235946689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293462964,"filename":"image_16112025_10_26_04_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d8a2bc435bb6db3f655c0b90d1ee2ef.jpg","text":"TemporaryFile(/tmp/multipartBody8114258757951791592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293462964,"filename":"image_16112025_10_26_19_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad2aa7ce193a5aa5f2b709e9ddfab75b.jpg","text":"TemporaryFile(/tmp/multipartBody529902748417527624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293462964,"filename":"image_16112025_10_26_10_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0080522105cc07289c6eaf279c54b4b2.jpg","text":"TemporaryFile(/tmp/multipartBody2023389855941471763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293462964,"filename":"image_16112025_10_26_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/11/16/bf2876dbce225dc887bc1e7962adf3e7.jpg","text":"TemporaryFile(/tmp/multipartBody1808735841746919070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293462964,"filename":"image_16112025_10_26_13_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cefeb9e151aefb8f1572518e2050884.jpg","text":"TemporaryFile(/tmp/multipartBody665252905578618146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293462964,"filename":"image_16112025_10_26_16_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741576","file1":"1394741573","file0":"1394741569","file4":"1394741580","file5":"1394741582","file3":"1394741578"},"map_files_photo_id_array":[{"photo_id":"1394741582","filename":"file5"},{"photo_id":"1394741576","filename":"file2"},{"photo_id":"1394741580","filename":"file4"},{"photo_id":"1394741573","filename":"file1"},{"photo_id":"1394741569","filename":"file0"},{"photo_id":"1394741578","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741569":["hashtag1","hashtag2"]},{"1394741580":["hashtag1","hashtag2"]},{"1394741573":["hashtag1","hashtag2"]},{"1394741582":["hashtag1","hashtag2"]},{"1394741576":["hashtag1","hashtag2"]},{"1394741578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741569, 1394741580, 1394741573, 1394741582, 1394741576, 1394741578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13763689994812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:44:03.207900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_24_2555.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_28_3573.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_37_2689.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_40_2805.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_42_2575.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_49_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_24_2555.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_28_3573.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_37_2689.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_40_2805.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_42_2575.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_49_2877.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.6179463863372803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:44:22.490702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_24_2555.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_28_3573.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_37_2689.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_40_2805.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_42_2575.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_49_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_24_2555.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_28_3573.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_37_2689.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_40_2805.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_42_2575.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_49_2877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741598","1394741592","1394741601","1394741604","1394741606","1394741596"],"photo_ids_order":["1394741592","1394741596","1394741598","1394741601","1394741604","1394741606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fe133b663ced31e5ea733e16fad1b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1053274044051393644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293523117,"filename":"image_16112025_10_26_37_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d7377fbf0622f668e57cf84ad27bb0a.jpg","text":"TemporaryFile(/tmp/multipartBody1178961696102759462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293523117,"filename":"image_16112025_10_26_24_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/464699824d8c25e4e85e75a5666d0b56.jpg","text":"TemporaryFile(/tmp/multipartBody776390121554365908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293523117,"filename":"image_16112025_10_26_40_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db6ae0609c7f29a7c2c24a7321200892.jpg","text":"TemporaryFile(/tmp/multipartBody7102241566194584523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293523117,"filename":"image_16112025_10_26_42_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fefe2d75773cd46c51a8d865159f7033.jpg","text":"TemporaryFile(/tmp/multipartBody4362929768120679387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293523117,"filename":"image_16112025_10_26_49_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0482a61ac817de317241a0381da9eff5.jpg","text":"TemporaryFile(/tmp/multipartBody2051716665876948823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293523117,"filename":"image_16112025_10_26_28_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741598","file1":"1394741596","file0":"1394741592","file4":"1394741604","file5":"1394741606","file3":"1394741601"},"map_files_photo_id_array":[{"photo_id":"1394741606","filename":"file5"},{"photo_id":"1394741598","filename":"file2"},{"photo_id":"1394741604","filename":"file4"},{"photo_id":"1394741596","filename":"file1"},{"photo_id":"1394741592","filename":"file0"},{"photo_id":"1394741601","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741598":["hashtag1","hashtag2"]},{"1394741592":["hashtag1","hashtag2"]},{"1394741601":["hashtag1","hashtag2"]},{"1394741604":["hashtag1","hashtag2"]},{"1394741606":["hashtag1","hashtag2"]},{"1394741596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741598, 1394741592, 1394741601, 1394741604, 1394741606, 1394741596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55816292762756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:45:03.039515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_52_2717.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_54_2675.jpg', '/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_58_3648.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_01_2483.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_04_3741.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_07_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_52_2717.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_54_2675.jpg
/home/pi/Desktop/images/16112025/10/26/image_16112025_10_26_58_3648.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_01_2483.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_04_3741.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_07_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741611","1394741608","1394741613","1394741610","1394741615","1394741609"],"photo_ids_order":["1394741608","1394741609","1394741610","1394741611","1394741613","1394741615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f36db2d0a0bc98531fe56800c7bf14e.jpg","text":"TemporaryFile(/tmp/multipartBody4724792968361895306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293563728,"filename":"image_16112025_10_27_01_2483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25f37b4cb94d9690220254fa4525d10f.jpg","text":"TemporaryFile(/tmp/multipartBody3143922546306815807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293563728,"filename":"image_16112025_10_26_52_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c9c2aa4c4afb204231f754e611103e1.jpg","text":"TemporaryFile(/tmp/multipartBody6492229411243004018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293563728,"filename":"image_16112025_10_27_04_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c5d96e92c976be3580c8f635505abe0.jpg","text":"TemporaryFile(/tmp/multipartBody47323528071028992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293563728,"filename":"image_16112025_10_26_58_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/307b9c18cf67b8df4f4ada9a29710617.jpg","text":"TemporaryFile(/tmp/multipartBody2531321213935278979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293563728,"filename":"image_16112025_10_27_07_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eb66bdcfa30317f9211e2958091e544.jpg","text":"TemporaryFile(/tmp/multipartBody7322317757479326470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293563728,"filename":"image_16112025_10_26_54_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741610","file1":"1394741609","file0":"1394741608","file4":"1394741613","file5":"1394741615","file3":"1394741611"},"map_files_photo_id_array":[{"photo_id":"1394741615","filename":"file5"},{"photo_id":"1394741610","filename":"file2"},{"photo_id":"1394741613","filename":"file4"},{"photo_id":"1394741609","filename":"file1"},{"photo_id":"1394741608","filename":"file0"},{"photo_id":"1394741611","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741611":["hashtag1","hashtag2"]},{"1394741608":["hashtag1","hashtag2"]},{"1394741613":["hashtag1","hashtag2"]},{"1394741610":["hashtag1","hashtag2"]},{"1394741615":["hashtag1","hashtag2"]},{"1394741609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741611, 1394741608, 1394741613, 1394741610, 1394741615, 1394741609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67716360092163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:45:42.260972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_09_2524.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_16_2630.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_19_3504.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_22_2665.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_31_2671.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_37_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_09_2524.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_16_2630.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_19_3504.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_22_2665.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_31_2671.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_37_3754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741620","1394741623","1394741622","1394741619","1394741621","1394741618"],"photo_ids_order":["1394741618","1394741619","1394741620","1394741621","1394741622","1394741623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd5e903e324d958cd420267a657c9e6d.jpg","text":"TemporaryFile(/tmp/multipartBody8028846346707713177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293602910,"filename":"image_16112025_10_27_19_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/699370a3f60eb6f1915859fe2dd09840.jpg","text":"TemporaryFile(/tmp/multipartBody7592858574102743540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293602910,"filename":"image_16112025_10_27_37_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd8d336e4649c9fe3b6de127e2903b14.jpg","text":"TemporaryFile(/tmp/multipartBody594549107910128205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293602910,"filename":"image_16112025_10_27_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/11/16/e6832c705a1aad7e042e3a51ad0a129e.jpg","text":"TemporaryFile(/tmp/multipartBody5081148880319977879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293602910,"filename":"image_16112025_10_27_16_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/581e0e5dfc18030bf4209f9e08d0d95d.jpg","text":"TemporaryFile(/tmp/multipartBody262278506129321725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293602910,"filename":"image_16112025_10_27_22_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5bac1b2efe4b47e70a9a59267da9097.jpg","text":"TemporaryFile(/tmp/multipartBody2492871789367448315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293602910,"filename":"image_16112025_10_27_09_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741620","file1":"1394741619","file0":"1394741618","file4":"1394741622","file5":"1394741623","file3":"1394741621"},"map_files_photo_id_array":[{"photo_id":"1394741623","filename":"file5"},{"photo_id":"1394741620","filename":"file2"},{"photo_id":"1394741622","filename":"file4"},{"photo_id":"1394741619","filename":"file1"},{"photo_id":"1394741618","filename":"file0"},{"photo_id":"1394741621","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741620":["hashtag1","hashtag2"]},{"1394741623":["hashtag1","hashtag2"]},{"1394741622":["hashtag1","hashtag2"]},{"1394741619":["hashtag1","hashtag2"]},{"1394741621":["hashtag1","hashtag2"]},{"1394741618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741620, 1394741623, 1394741622, 1394741619, 1394741621, 1394741618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.009039640426636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:46:22.612599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_40_2776.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_42_2533.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_46_3656.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_49_2583.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_54_3085.jpg', '/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_58_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_40_2776.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_42_2533.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_46_3656.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_49_2583.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_54_3085.jpg
/home/pi/Desktop/images/16112025/10/27/image_16112025_10_27_58_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741629","1394741631","1394741634","1394741628","1394741636","1394741627"],"photo_ids_order":["1394741627","1394741628","1394741629","1394741631","1394741634","1394741636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19c6e3dc9a773c007e4821e47e0a39a4.jpg","text":"TemporaryFile(/tmp/multipartBody9068487596744292505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293643238,"filename":"image_16112025_10_27_46_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99c3bea34b4efd82fa4a3440fb22e904.jpg","text":"TemporaryFile(/tmp/multipartBody1188073477298443401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293643238,"filename":"image_16112025_10_27_49_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f13f1c1e72ffe221db4d67d5113ef99c.jpg","text":"TemporaryFile(/tmp/multipartBody7320568399457719452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293643238,"filename":"image_16112025_10_27_54_3085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/226c457eb721657f4f6a54a11e59f56d.jpg","text":"TemporaryFile(/tmp/multipartBody4120382810480754036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293643238,"filename":"image_16112025_10_27_42_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8ab0f278cbd7d923003238c21a2caca.jpg","text":"TemporaryFile(/tmp/multipartBody8629807726059595083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293643238,"filename":"image_16112025_10_27_58_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b71eac922c434a3e53c2f0ee55ba746.jpg","text":"TemporaryFile(/tmp/multipartBody6408816669876188249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293643238,"filename":"image_16112025_10_27_40_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741629","file1":"1394741628","file0":"1394741627","file4":"1394741634","file5":"1394741636","file3":"1394741631"},"map_files_photo_id_array":[{"photo_id":"1394741636","filename":"file5"},{"photo_id":"1394741629","filename":"file2"},{"photo_id":"1394741634","filename":"file4"},{"photo_id":"1394741628","filename":"file1"},{"photo_id":"1394741627","filename":"file0"},{"photo_id":"1394741631","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741629":["hashtag1","hashtag2"]},{"1394741631":["hashtag1","hashtag2"]},{"1394741634":["hashtag1","hashtag2"]},{"1394741628":["hashtag1","hashtag2"]},{"1394741636":["hashtag1","hashtag2"]},{"1394741627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741629, 1394741631, 1394741634, 1394741628, 1394741636, 1394741627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1344678401947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:47:03.400725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_07_3600.jpg', '/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_10_2752.jpg', '/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_48_2506.jpg', '/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_52_3629.jpg', '/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_57_2499.jpg', '/home/pi/Desktop/images/16112025/10/28/image_16112025_10_29_01_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_07_3600.jpg
/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_10_2752.jpg
/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_48_2506.jpg
/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_52_3629.jpg
/home/pi/Desktop/images/16112025/10/28/image_16112025_10_28_57_2499.jpg
/home/pi/Desktop/images/16112025/10/28/image_16112025_10_29_01_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741644","1394741638","1394741640","1394741637","1394741642","1394741639"],"photo_ids_order":["1394741637","1394741638","1394741639","1394741640","1394741642","1394741644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec91b780adeac758517bc45c3148f28f.jpg","text":"TemporaryFile(/tmp/multipartBody814195392473231506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293684095,"filename":"image_16112025_10_29_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/11/16/bc44d999018cb2e42cad970b84b112ec.jpg","text":"TemporaryFile(/tmp/multipartBody6464517315826790387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293684095,"filename":"image_16112025_10_28_10_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cabbf085c695ea5a1eb3166091628862.jpg","text":"TemporaryFile(/tmp/multipartBody1744425685227883131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293684095,"filename":"image_16112025_10_28_52_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ace1234f75fd7916fbf9a14b5ab45dce.jpg","text":"TemporaryFile(/tmp/multipartBody1884585191095783954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293684095,"filename":"image_16112025_10_28_07_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce237d78fcf02239dd764db3d5850d7a.jpg","text":"TemporaryFile(/tmp/multipartBody5925735154282612767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293684095,"filename":"image_16112025_10_28_57_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/176702f9fcafa1ffb12deaac44f7e591.jpg","text":"TemporaryFile(/tmp/multipartBody8958573497602184163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293684095,"filename":"image_16112025_10_28_48_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741639","file1":"1394741638","file0":"1394741637","file4":"1394741642","file5":"1394741644","file3":"1394741640"},"map_files_photo_id_array":[{"photo_id":"1394741644","filename":"file5"},{"photo_id":"1394741639","filename":"file2"},{"photo_id":"1394741642","filename":"file4"},{"photo_id":"1394741638","filename":"file1"},{"photo_id":"1394741637","filename":"file0"},{"photo_id":"1394741640","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741644":["hashtag1","hashtag2"]},{"1394741638":["hashtag1","hashtag2"]},{"1394741640":["hashtag1","hashtag2"]},{"1394741637":["hashtag1","hashtag2"]},{"1394741642":["hashtag1","hashtag2"]},{"1394741639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741644, 1394741638, 1394741640, 1394741637, 1394741642, 1394741639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65457630157471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:47:42.787889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_04_3084.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_07_2714.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_25_2724.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_39_5569.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_41_1679.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_46_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_04_3084.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_07_2714.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_25_2724.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_39_5569.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_41_1679.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_46_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741650","1394741647","1394741652","1394741646","1394741649","1394741648"],"photo_ids_order":["1394741646","1394741647","1394741648","1394741649","1394741650","1394741652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de8f792b4cf0fd2fc1fbb68a3e75321f.jpg","text":"TemporaryFile(/tmp/multipartBody2322181022387041275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293723430,"filename":"image_16112025_10_29_41_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68151c2d93902f645e864b2de0fb6343.jpg","text":"TemporaryFile(/tmp/multipartBody9120777856742752995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293723430,"filename":"image_16112025_10_29_07_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/808f531873aab21d19e3d6eb2f79f441.jpg","text":"TemporaryFile(/tmp/multipartBody7376500781507388337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293723430,"filename":"image_16112025_10_29_46_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e3c1e64a9b0ac925738239113dd80f9.jpg","text":"TemporaryFile(/tmp/multipartBody864750032216543771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293723430,"filename":"image_16112025_10_29_04_3084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b5ec8c95b330a248e3172b5d29c5cd5.jpg","text":"TemporaryFile(/tmp/multipartBody4923893868850453465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293723430,"filename":"image_16112025_10_29_39_5569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7d0e3624d44632dd46498bd930d4382.jpg","text":"TemporaryFile(/tmp/multipartBody403350112598267719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293723430,"filename":"image_16112025_10_29_25_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741648","file1":"1394741647","file0":"1394741646","file4":"1394741650","file5":"1394741652","file3":"1394741649"},"map_files_photo_id_array":[{"photo_id":"1394741652","filename":"file5"},{"photo_id":"1394741648","filename":"file2"},{"photo_id":"1394741650","filename":"file4"},{"photo_id":"1394741647","filename":"file1"},{"photo_id":"1394741646","filename":"file0"},{"photo_id":"1394741649","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741650":["hashtag1","hashtag2"]},{"1394741647":["hashtag1","hashtag2"]},{"1394741652":["hashtag1","hashtag2"]},{"1394741646":["hashtag1","hashtag2"]},{"1394741649":["hashtag1","hashtag2"]},{"1394741648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741650, 1394741647, 1394741652, 1394741646, 1394741649, 1394741648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86237049102783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:48:21.979625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_49_2747.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_51_2581.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_58_2652.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_30_00_2628.jpg', '/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_08_3011.jpg', '/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_26_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_49_2747.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_51_2581.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_58_2652.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_30_00_2628.jpg
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_08_3011.jpg
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_26_1666.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.5768394470214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:48:42.055323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_49_2747.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_51_2581.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_58_2652.jpg', '/home/pi/Desktop/images/16112025/10/29/image_16112025_10_30_00_2628.jpg', '/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_08_3011.jpg', '/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_26_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_49_2747.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_51_2581.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_29_58_2652.jpg
/home/pi/Desktop/images/16112025/10/29/image_16112025_10_30_00_2628.jpg
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_08_3011.jpg
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_26_1666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741671","1394741673","1394741667","1394741672","1394741675","1394741669"],"photo_ids_order":["1394741667","1394741669","1394741671","1394741672","1394741673","1394741675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02bf3bcbad3e2cc70d9685691bfbdaa1.jpg","text":"TemporaryFile(/tmp/multipartBody871175506332088589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293782695,"filename":"image_16112025_10_29_58_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21e91934325c625dbbb8aa4a96c80dba.jpg","text":"TemporaryFile(/tmp/multipartBody5443285601364389088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293782695,"filename":"image_16112025_10_30_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f61a16d93aadf0f5f6465c55c88d0830.jpg","text":"TemporaryFile(/tmp/multipartBody8550813422267861309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293782695,"filename":"image_16112025_10_29_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/11/16/81bc278b548dcf883a0a9052a2c8e7ec.jpg","text":"TemporaryFile(/tmp/multipartBody755335871924966000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293782695,"filename":"image_16112025_10_30_00_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e10752375edcc4cfcf2ebae632cb7132.jpg","text":"TemporaryFile(/tmp/multipartBody1438101025484100359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293782695,"filename":"image_16112025_10_30_26_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8242b5679e63873e008f83c03ae6e49.jpg","text":"TemporaryFile(/tmp/multipartBody4656823172115438152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293782695,"filename":"image_16112025_10_29_51_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741671","file1":"1394741669","file0":"1394741667","file4":"1394741673","file5":"1394741675","file3":"1394741672"},"map_files_photo_id_array":[{"photo_id":"1394741675","filename":"file5"},{"photo_id":"1394741671","filename":"file2"},{"photo_id":"1394741673","filename":"file4"},{"photo_id":"1394741669","filename":"file1"},{"photo_id":"1394741667","filename":"file0"},{"photo_id":"1394741672","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741671":["hashtag1","hashtag2"]},{"1394741673":["hashtag1","hashtag2"]},{"1394741667":["hashtag1","hashtag2"]},{"1394741672":["hashtag1","hashtag2"]},{"1394741675":["hashtag1","hashtag2"]},{"1394741669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741671, 1394741673, 1394741667, 1394741672, 1394741675, 1394741669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54037880897522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:49:22.465162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_28_1563.jpg', '/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_31_3179.jpg', '/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_33_1742.jpg', '/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_50_2668.jpg', '/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_53_3793.jpg', '/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_38_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_28_1563.jpg
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_31_3179.jpg
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_33_1742.jpg
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_50_2668.jpg
/home/pi/Desktop/images/16112025/10/30/image_16112025_10_30_53_3793.jpg
/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_38_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741686","1394741688","1394741679","1394741690","1394741684","1394741681"],"photo_ids_order":["1394741679","1394741681","1394741684","1394741686","1394741688","1394741690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d65bd97f2f91f24a49918b1118255b4.jpg","text":"TemporaryFile(/tmp/multipartBody6660231464790042727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293823099,"filename":"image_16112025_10_30_50_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/675e2a0b5a823dc86a2a58d9604c3fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5161649451401590139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293823099,"filename":"image_16112025_10_30_53_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a77eeb254727a506f26bb60e4b0315cf.jpg","text":"TemporaryFile(/tmp/multipartBody2317240131298753411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293823099,"filename":"image_16112025_10_30_28_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f39f6815bd5e46b234d01f31aa0ad5b7.jpg","text":"TemporaryFile(/tmp/multipartBody6201993885511367578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293823099,"filename":"image_16112025_10_31_38_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a60dd8bad81744a2bbf4d4321e89a852.jpg","text":"TemporaryFile(/tmp/multipartBody1433820450877254358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293823099,"filename":"image_16112025_10_30_33_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/999de55b758df82fa09fcc1e528f3f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8744127325261055033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293823099,"filename":"image_16112025_10_30_31_3179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741684","file1":"1394741681","file0":"1394741679","file4":"1394741688","file5":"1394741690","file3":"1394741686"},"map_files_photo_id_array":[{"photo_id":"1394741690","filename":"file5"},{"photo_id":"1394741684","filename":"file2"},{"photo_id":"1394741688","filename":"file4"},{"photo_id":"1394741681","filename":"file1"},{"photo_id":"1394741679","filename":"file0"},{"photo_id":"1394741686","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741686":["hashtag1","hashtag2"]},{"1394741688":["hashtag1","hashtag2"]},{"1394741679":["hashtag1","hashtag2"]},{"1394741690":["hashtag1","hashtag2"]},{"1394741684":["hashtag1","hashtag2"]},{"1394741681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741686, 1394741688, 1394741679, 1394741690, 1394741684, 1394741681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80097007751465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:50:03.122324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_41_2769.jpg', '/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_44_3697.jpg', '/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_47_2722.jpg', '/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_56_2715.jpg', '/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_59_2669.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_08_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_41_2769.jpg
/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_44_3697.jpg
/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_47_2722.jpg
/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_56_2715.jpg
/home/pi/Desktop/images/16112025/10/31/image_16112025_10_31_59_2669.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_08_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741694","1394741697","1394741700","1394741696","1394741702","1394741695"],"photo_ids_order":["1394741694","1394741695","1394741696","1394741697","1394741700","1394741702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8fb20f55a92f7b02fd32ff8d284071b.jpg","text":"TemporaryFile(/tmp/multipartBody8204677709069441157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293863781,"filename":"image_16112025_10_31_41_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b7ee9b306bc544e221741343d21f680.jpg","text":"TemporaryFile(/tmp/multipartBody6271040525653142917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293863781,"filename":"image_16112025_10_31_56_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/094a2431a58bc58fdc1fa7c6e3628344.jpg","text":"TemporaryFile(/tmp/multipartBody5504599500302681853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293863781,"filename":"image_16112025_10_31_59_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efcbc0f5453f2e3b7941207208cc76af.jpg","text":"TemporaryFile(/tmp/multipartBody3455257086236782538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293863781,"filename":"image_16112025_10_31_47_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b573b09222b95e26b725b8a1428eaee3.jpg","text":"TemporaryFile(/tmp/multipartBody3540515561117397085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293863781,"filename":"image_16112025_10_32_08_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24cdab2ce3a72caaf19b31e40640f955.jpg","text":"TemporaryFile(/tmp/multipartBody5350633901545340351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293863781,"filename":"image_16112025_10_31_44_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741696","file1":"1394741695","file0":"1394741694","file4":"1394741700","file5":"1394741702","file3":"1394741697"},"map_files_photo_id_array":[{"photo_id":"1394741702","filename":"file5"},{"photo_id":"1394741696","filename":"file2"},{"photo_id":"1394741700","filename":"file4"},{"photo_id":"1394741695","filename":"file1"},{"photo_id":"1394741694","filename":"file0"},{"photo_id":"1394741697","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741694":["hashtag1","hashtag2"]},{"1394741697":["hashtag1","hashtag2"]},{"1394741700":["hashtag1","hashtag2"]},{"1394741696":["hashtag1","hashtag2"]},{"1394741702":["hashtag1","hashtag2"]},{"1394741695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741694, 1394741697, 1394741700, 1394741696, 1394741702, 1394741695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82859969139099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:50:42.718601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_11_3682.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_14_2547.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_16_2550.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_47_2585.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_56_2601.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_58_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_11_3682.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_14_2547.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_16_2550.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_47_2585.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_56_2601.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_58_2592.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.5929703712463379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:51:02.690515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_11_3682.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_14_2547.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_16_2550.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_47_2585.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_56_2601.jpg', '/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_58_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_11_3682.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_14_2547.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_16_2550.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_47_2585.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_56_2601.jpg
/home/pi/Desktop/images/16112025/10/32/image_16112025_10_32_58_2592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741716","1394741719","1394741710","1394741712","1394741721","1394741714"],"photo_ids_order":["1394741710","1394741712","1394741714","1394741716","1394741719","1394741721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2840a57bcf82957f82d0aecdd5f474ed.jpg","text":"TemporaryFile(/tmp/multipartBody4344472384384458692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293923421,"filename":"image_16112025_10_32_47_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b1dc9ccf81b6623d6afed2292344b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1695323641616685817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293923421,"filename":"image_16112025_10_32_56_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5c8ad6121329d1c477d4da3e0ec0d1f.jpg","text":"TemporaryFile(/tmp/multipartBody486027128345273239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293923421,"filename":"image_16112025_10_32_11_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9c4f601e1bd15240c0d235c4fb0d7b8.jpg","text":"TemporaryFile(/tmp/multipartBody8906707722793541075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293923421,"filename":"image_16112025_10_32_14_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48ac02683a2dfcf8fbf578e581565033.jpg","text":"TemporaryFile(/tmp/multipartBody2054848757594868825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293923421,"filename":"image_16112025_10_32_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/11/16/ebaf933df54ed8ee56d51c4dd211ca33.jpg","text":"TemporaryFile(/tmp/multipartBody4817068106563900245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293923421,"filename":"image_16112025_10_32_16_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741714","file1":"1394741712","file0":"1394741710","file4":"1394741719","file5":"1394741721","file3":"1394741716"},"map_files_photo_id_array":[{"photo_id":"1394741721","filename":"file5"},{"photo_id":"1394741714","filename":"file2"},{"photo_id":"1394741719","filename":"file4"},{"photo_id":"1394741712","filename":"file1"},{"photo_id":"1394741710","filename":"file0"},{"photo_id":"1394741716","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741716":["hashtag1","hashtag2"]},{"1394741719":["hashtag1","hashtag2"]},{"1394741710":["hashtag1","hashtag2"]},{"1394741712":["hashtag1","hashtag2"]},{"1394741721":["hashtag1","hashtag2"]},{"1394741714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741716, 1394741719, 1394741710, 1394741712, 1394741721, 1394741714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62951683998108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:51:41.976531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_04_5399.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_05_1616.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_08_2662.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_13_2673.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_17_3756.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_22_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_04_5399.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_05_1616.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_08_2662.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_13_2673.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_17_3756.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_22_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741728","1394741730","1394741724","1394741727","1394741729","1394741726"],"photo_ids_order":["1394741724","1394741726","1394741727","1394741728","1394741729","1394741730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a102ea419b3d4e2eaaf74398fc3b9c8.jpg","text":"TemporaryFile(/tmp/multipartBody712826631886634306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293962591,"filename":"image_16112025_10_33_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7353e242f99259130c2e0317ed94271e.jpg","text":"TemporaryFile(/tmp/multipartBody5390077078579439927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293962591,"filename":"image_16112025_10_33_22_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3ad75867a919c16053d1f5bbee95a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7322796452316014745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293962591,"filename":"image_16112025_10_33_04_5399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb6756385304c15aba20aba5e5668e89.jpg","text":"TemporaryFile(/tmp/multipartBody1081998279982406892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293962591,"filename":"image_16112025_10_33_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/11/16/3bb034c776c58d698bfece68fc744dcf.jpg","text":"TemporaryFile(/tmp/multipartBody932912021159844281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293962591,"filename":"image_16112025_10_33_17_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e24ceb5d19ac1914395e52ca0a82f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2674366048221872850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763293962591,"filename":"image_16112025_10_33_05_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741727","file1":"1394741726","file0":"1394741724","file4":"1394741729","file5":"1394741730","file3":"1394741728"},"map_files_photo_id_array":[{"photo_id":"1394741730","filename":"file5"},{"photo_id":"1394741727","filename":"file2"},{"photo_id":"1394741729","filename":"file4"},{"photo_id":"1394741726","filename":"file1"},{"photo_id":"1394741724","filename":"file0"},{"photo_id":"1394741728","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741728":["hashtag1","hashtag2"]},{"1394741730":["hashtag1","hashtag2"]},{"1394741724":["hashtag1","hashtag2"]},{"1394741727":["hashtag1","hashtag2"]},{"1394741729":["hashtag1","hashtag2"]},{"1394741726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741728, 1394741730, 1394741724, 1394741727, 1394741729, 1394741726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.748228311538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:52:22.367493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_26_3624.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_40_2565.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_44_3636.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_47_2645.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_49_2691.jpg', '/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_58_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_26_3624.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_40_2565.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_44_3636.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_47_2645.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_49_2691.jpg
/home/pi/Desktop/images/16112025/10/33/image_16112025_10_33_58_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741740","1394741743","1394741739","1394741741","1394741735","1394741738"],"photo_ids_order":["1394741735","1394741738","1394741739","1394741740","1394741741","1394741743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab62908aab722a0ccb0cd32c798c1738.jpg","text":"TemporaryFile(/tmp/multipartBody4215542266282998915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294002979,"filename":"image_16112025_10_33_47_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33c30308722648c6e2ba42727c757792.jpg","text":"TemporaryFile(/tmp/multipartBody155912215066615204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294002979,"filename":"image_16112025_10_33_58_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5d761a1480bedd96e6ddf317bd7b829.jpg","text":"TemporaryFile(/tmp/multipartBody6142969104046414703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294002979,"filename":"image_16112025_10_33_44_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/297fd217f3648c7ce9e5b3aefdc1e4d4.jpg","text":"TemporaryFile(/tmp/multipartBody3240739531103926315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294002979,"filename":"image_16112025_10_33_49_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef51eae9d75c28191539452f9e2c0070.jpg","text":"TemporaryFile(/tmp/multipartBody5638223831579601918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294002979,"filename":"image_16112025_10_33_26_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3957312d8ed40f04a7198285efcfc30c.jpg","text":"TemporaryFile(/tmp/multipartBody2268303649015190578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294002979,"filename":"image_16112025_10_33_40_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741739","file1":"1394741738","file0":"1394741735","file4":"1394741741","file5":"1394741743","file3":"1394741740"},"map_files_photo_id_array":[{"photo_id":"1394741743","filename":"file5"},{"photo_id":"1394741739","filename":"file2"},{"photo_id":"1394741741","filename":"file4"},{"photo_id":"1394741738","filename":"file1"},{"photo_id":"1394741735","filename":"file0"},{"photo_id":"1394741740","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741740":["hashtag1","hashtag2"]},{"1394741743":["hashtag1","hashtag2"]},{"1394741739":["hashtag1","hashtag2"]},{"1394741741":["hashtag1","hashtag2"]},{"1394741735":["hashtag1","hashtag2"]},{"1394741738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741740, 1394741743, 1394741739, 1394741741, 1394741735, 1394741738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83565831184387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:53:02.727620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_02_3528.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_05_2689.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_07_2748.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_17_1536.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_19_1800.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_21_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_02_3528.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_05_2689.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_07_2748.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_17_1536.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_19_1800.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_21_1665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741746","1394741745","1394741748","1394741753","1394741747","1394741750"],"photo_ids_order":["1394741745","1394741746","1394741747","1394741748","1394741750","1394741753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5328ceed6ac027bcbb7686003e2f63fc.jpg","text":"TemporaryFile(/tmp/multipartBody1196419116739079317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294043401,"filename":"image_16112025_10_34_05_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50af342fc9afc5848ccdc9b13d8e72ab.jpg","text":"TemporaryFile(/tmp/multipartBody100593981641740887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294043401,"filename":"image_16112025_10_34_02_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30646389ab8967b669710befb313b152.jpg","text":"TemporaryFile(/tmp/multipartBody6525729944373064030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294043401,"filename":"image_16112025_10_34_17_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2b231691b82de97d317de19f682fbe1.jpg","text":"TemporaryFile(/tmp/multipartBody3277877841157142998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294043401,"filename":"image_16112025_10_34_21_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/003015466998c32134bbd6b01622b2bb.jpg","text":"TemporaryFile(/tmp/multipartBody5240012712930029939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294043401,"filename":"image_16112025_10_34_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/11/16/27f0b60f54088efcbdc2bb280a28066e.jpg","text":"TemporaryFile(/tmp/multipartBody7284505946960456279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294043401,"filename":"image_16112025_10_34_19_1800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741747","file1":"1394741746","file0":"1394741745","file4":"1394741750","file5":"1394741753","file3":"1394741748"},"map_files_photo_id_array":[{"photo_id":"1394741753","filename":"file5"},{"photo_id":"1394741747","filename":"file2"},{"photo_id":"1394741750","filename":"file4"},{"photo_id":"1394741746","filename":"file1"},{"photo_id":"1394741745","filename":"file0"},{"photo_id":"1394741748","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741746":["hashtag1","hashtag2"]},{"1394741745":["hashtag1","hashtag2"]},{"1394741748":["hashtag1","hashtag2"]},{"1394741753":["hashtag1","hashtag2"]},{"1394741747":["hashtag1","hashtag2"]},{"1394741750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741746, 1394741745, 1394741748, 1394741753, 1394741747, 1394741750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.571314573287964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:53:42.094479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_23_2542.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_26_2687.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_28_2532.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_32_3549.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_35_2883.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_38_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_23_2542.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_26_2687.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_28_2532.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_32_3549.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_35_2883.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_38_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741764","1394741761","1394741763","1394741762","1394741756","1394741759"],"photo_ids_order":["1394741756","1394741759","1394741761","1394741762","1394741763","1394741764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec191ee5e3416445e6c0fe4f35f53443.jpg","text":"TemporaryFile(/tmp/multipartBody4002223562023405488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294082738,"filename":"image_16112025_10_34_38_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2bfee537644eb0aba323b378ab290a3.jpg","text":"TemporaryFile(/tmp/multipartBody6137042303129025717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294082738,"filename":"image_16112025_10_34_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/11/16/3aa56ddf0b039adb348de0b9a501a932.jpg","text":"TemporaryFile(/tmp/multipartBody945339594422651821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294082738,"filename":"image_16112025_10_34_35_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/088edede300d3172f25e363a33ff4d13.jpg","text":"TemporaryFile(/tmp/multipartBody8221402090196360261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294082738,"filename":"image_16112025_10_34_32_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91e2e214be202870aeb03a887c414135.jpg","text":"TemporaryFile(/tmp/multipartBody951882584579501503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294082738,"filename":"image_16112025_10_34_23_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78cec5ad4b3a711249af717d3cf20432.jpg","text":"TemporaryFile(/tmp/multipartBody1926844466846512209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294082738,"filename":"image_16112025_10_34_26_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741761","file1":"1394741759","file0":"1394741756","file4":"1394741763","file5":"1394741764","file3":"1394741762"},"map_files_photo_id_array":[{"photo_id":"1394741764","filename":"file5"},{"photo_id":"1394741761","filename":"file2"},{"photo_id":"1394741763","filename":"file4"},{"photo_id":"1394741759","filename":"file1"},{"photo_id":"1394741756","filename":"file0"},{"photo_id":"1394741762","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741764":["hashtag1","hashtag2"]},{"1394741761":["hashtag1","hashtag2"]},{"1394741763":["hashtag1","hashtag2"]},{"1394741762":["hashtag1","hashtag2"]},{"1394741756":["hashtag1","hashtag2"]},{"1394741759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741764, 1394741761, 1394741763, 1394741762, 1394741756, 1394741759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81771445274353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:54:22.380726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_40_2622.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_44_3529.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_46_2615.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_50_3572.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_52_2580.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_59_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_40_2622.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_44_3529.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_46_2615.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_50_3572.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_52_2580.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_59_2566.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.5263817310333252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:54:42.312561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_40_2622.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_44_3529.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_46_2615.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_50_3572.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_52_2580.jpg', '/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_59_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_40_2622.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_44_3529.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_46_2615.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_50_3572.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_52_2580.jpg
/home/pi/Desktop/images/16112025/10/34/image_16112025_10_34_59_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741785","1394741784","1394741783","1394741786","1394741780","1394741782"],"photo_ids_order":["1394741780","1394741782","1394741783","1394741784","1394741785","1394741786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee01bf550a2aa7a1c8eebe9f4168f3e2.jpg","text":"TemporaryFile(/tmp/multipartBody101295667853348943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294142969,"filename":"image_16112025_10_34_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/11/16/7c46e3ac8e6e67436b505e0aa582a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody2364444187713134246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294142969,"filename":"image_16112025_10_34_50_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3fb6fb81d39932d38c15df93b562629.jpg","text":"TemporaryFile(/tmp/multipartBody1808784179622409334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294142969,"filename":"image_16112025_10_34_46_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76d1f7d85c3fe48331e42c7248810d0d.jpg","text":"TemporaryFile(/tmp/multipartBody3050123955391047254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294142969,"filename":"image_16112025_10_34_59_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/612fbeaaf8406e915d5e6b5de740bb15.jpg","text":"TemporaryFile(/tmp/multipartBody9093895325610288623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294142969,"filename":"image_16112025_10_34_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/11/16/19f1365e5428aa9e3f180ab807537c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2013611017366931322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294142969,"filename":"image_16112025_10_34_44_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741783","file1":"1394741782","file0":"1394741780","file4":"1394741785","file5":"1394741786","file3":"1394741784"},"map_files_photo_id_array":[{"photo_id":"1394741786","filename":"file5"},{"photo_id":"1394741783","filename":"file2"},{"photo_id":"1394741785","filename":"file4"},{"photo_id":"1394741782","filename":"file1"},{"photo_id":"1394741780","filename":"file0"},{"photo_id":"1394741784","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741785":["hashtag1","hashtag2"]},{"1394741784":["hashtag1","hashtag2"]},{"1394741783":["hashtag1","hashtag2"]},{"1394741786":["hashtag1","hashtag2"]},{"1394741780":["hashtag1","hashtag2"]},{"1394741782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741785, 1394741784, 1394741783, 1394741786, 1394741780, 1394741782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19818830490112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:55:22.307932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_07_3010.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_12_4818.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_13_1473.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_17_3681.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_20_2713.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_22_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_07_3010.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_12_4818.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_13_1473.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_17_3681.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_20_2713.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_22_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741800","1394741803","1394741793","1394741796","1394741798","1394741789"],"photo_ids_order":["1394741789","1394741793","1394741796","1394741798","1394741800","1394741803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95c300708734264a288b3b152a1a8520.jpg","text":"TemporaryFile(/tmp/multipartBody5108440513057515386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294182950,"filename":"image_16112025_10_35_20_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17e503d4f0d53ec78174c7e3b70ffd43.jpg","text":"TemporaryFile(/tmp/multipartBody292954039191610835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294182950,"filename":"image_16112025_10_35_22_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9324cebbc4b56e6e0915832456d3fcc.jpg","text":"TemporaryFile(/tmp/multipartBody272814960885031040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294182950,"filename":"image_16112025_10_35_12_4818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e9f93d39c38d8b3dc4fc4c65e81258b.jpg","text":"TemporaryFile(/tmp/multipartBody2166958454126826537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294182950,"filename":"image_16112025_10_35_13_1473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b91eaf6cef7e0e2072fada321dd8dd89.jpg","text":"TemporaryFile(/tmp/multipartBody8682236545415848848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294182950,"filename":"image_16112025_10_35_17_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6adfffd3e0643f92874b149c1801191.jpg","text":"TemporaryFile(/tmp/multipartBody2794031208369812094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294182950,"filename":"image_16112025_10_35_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741796","file1":"1394741793","file0":"1394741789","file4":"1394741800","file5":"1394741803","file3":"1394741798"},"map_files_photo_id_array":[{"photo_id":"1394741803","filename":"file5"},{"photo_id":"1394741796","filename":"file2"},{"photo_id":"1394741800","filename":"file4"},{"photo_id":"1394741793","filename":"file1"},{"photo_id":"1394741789","filename":"file0"},{"photo_id":"1394741798","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741800":["hashtag1","hashtag2"]},{"1394741803":["hashtag1","hashtag2"]},{"1394741793":["hashtag1","hashtag2"]},{"1394741796":["hashtag1","hashtag2"]},{"1394741798":["hashtag1","hashtag2"]},{"1394741789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741800, 1394741803, 1394741793, 1394741796, 1394741798, 1394741789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66820812225342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:56:02.969559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_25_2558.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_28_3569.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_31_2737.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_34_2654.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_37_3542.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_50_12543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_25_2558.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_28_3569.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_31_2737.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_34_2654.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_37_3542.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_50_12543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741812","1394741817","1394741811","1394741814","1394741808","1394741810"],"photo_ids_order":["1394741808","1394741810","1394741811","1394741812","1394741814","1394741817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfbd12025b3faeb6b78934be2534446d.jpg","text":"TemporaryFile(/tmp/multipartBody5807867082518446738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294223615,"filename":"image_16112025_10_35_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/11/16/5d6c2d89dc058a2f382a746b1f4b5c87.jpg","text":"TemporaryFile(/tmp/multipartBody7963760783035565735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294223615,"filename":"image_16112025_10_35_50_12543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a165722ae0230a4533b63b3172b6916a.jpg","text":"TemporaryFile(/tmp/multipartBody1977694331771141007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294223615,"filename":"image_16112025_10_35_31_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5301e7b786bbfc239881849919164322.jpg","text":"TemporaryFile(/tmp/multipartBody1050816589379855761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294223615,"filename":"image_16112025_10_35_37_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e645da8b5a8dcd0a675dccc7977d09b4.jpg","text":"TemporaryFile(/tmp/multipartBody5838292791406106946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294223615,"filename":"image_16112025_10_35_25_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af810958e7d8ca4a70da373eb49d452a.jpg","text":"TemporaryFile(/tmp/multipartBody8251769808951608092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294223615,"filename":"image_16112025_10_35_28_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741811","file1":"1394741810","file0":"1394741808","file4":"1394741814","file5":"1394741817","file3":"1394741812"},"map_files_photo_id_array":[{"photo_id":"1394741817","filename":"file5"},{"photo_id":"1394741811","filename":"file2"},{"photo_id":"1394741814","filename":"file4"},{"photo_id":"1394741810","filename":"file1"},{"photo_id":"1394741808","filename":"file0"},{"photo_id":"1394741812","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741812":["hashtag1","hashtag2"]},{"1394741817":["hashtag1","hashtag2"]},{"1394741811":["hashtag1","hashtag2"]},{"1394741814":["hashtag1","hashtag2"]},{"1394741808":["hashtag1","hashtag2"]},{"1394741810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741812, 1394741817, 1394741811, 1394741814, 1394741808, 1394741810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98123502731323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:56:42.499073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_52_1692.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_56_4389.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_58_1725.jpg', '/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_59_1620.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_01_1636.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_08_6812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_52_1692.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_56_4389.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_58_1725.jpg
/home/pi/Desktop/images/16112025/10/35/image_16112025_10_35_59_1620.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_01_1636.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_08_6812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741830","1394741827","1394741821","1394741823","1394741820","1394741825"],"photo_ids_order":["1394741820","1394741821","1394741823","1394741825","1394741827","1394741830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f82dd71de2d4bf758aa7bf5f14d2bc62.jpg","text":"TemporaryFile(/tmp/multipartBody3301183612610221199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294263115,"filename":"image_16112025_10_36_08_6812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33af6ff616a7b84de1bd06b5168f28a7.jpg","text":"TemporaryFile(/tmp/multipartBody1349165347079116328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294263115,"filename":"image_16112025_10_36_01_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b743bfca872723822198505e4aabe7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5935266716872766433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294263115,"filename":"image_16112025_10_35_56_4389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a47cb2d57e58468e6df5f4075078772.jpg","text":"TemporaryFile(/tmp/multipartBody8150908457912730779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294263115,"filename":"image_16112025_10_35_58_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbbc5fc5c95e3b9e7c96318c5d5ecc3f.jpg","text":"TemporaryFile(/tmp/multipartBody1298961123397516468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294263115,"filename":"image_16112025_10_35_52_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d689051d08e19b2bd662954e81d0f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3309277162691128593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294263115,"filename":"image_16112025_10_35_59_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741823","file1":"1394741821","file0":"1394741820","file4":"1394741827","file5":"1394741830","file3":"1394741825"},"map_files_photo_id_array":[{"photo_id":"1394741830","filename":"file5"},{"photo_id":"1394741823","filename":"file2"},{"photo_id":"1394741827","filename":"file4"},{"photo_id":"1394741821","filename":"file1"},{"photo_id":"1394741820","filename":"file0"},{"photo_id":"1394741825","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741830":["hashtag1","hashtag2"]},{"1394741827":["hashtag1","hashtag2"]},{"1394741821":["hashtag1","hashtag2"]},{"1394741823":["hashtag1","hashtag2"]},{"1394741820":["hashtag1","hashtag2"]},{"1394741825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741830, 1394741827, 1394741821, 1394741823, 1394741820, 1394741825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7466824054718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 12:57:22.721285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_09_1649.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_12_2061.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_13_1581.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_15_1573.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_16_1664.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_18_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_09_1649.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_12_2061.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_13_1581.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_15_1573.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_16_1664.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_18_1557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741845","1394741841","1394741844","1394741838","1394741847","1394741843"],"photo_ids_order":["1394741838","1394741841","1394741843","1394741844","1394741845","1394741847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2df0e6b61ce715be2f81426e79ff33c.jpg","text":"TemporaryFile(/tmp/multipartBody1575205973169238704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294303388,"filename":"image_16112025_10_36_16_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e40fa2938dfac3e3c09323f3b5584dae.jpg","text":"TemporaryFile(/tmp/multipartBody373972762413870708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294303388,"filename":"image_16112025_10_36_12_2061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c338a5bf4126e1c92be31f906ca1d83b.jpg","text":"TemporaryFile(/tmp/multipartBody4874289189289051698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294303388,"filename":"image_16112025_10_36_15_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d8eaeb59471de0d95f3b3f957172436.jpg","text":"TemporaryFile(/tmp/multipartBody3938065701032516096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294303388,"filename":"image_16112025_10_36_09_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/865bca605905ac5165fbd682a54bf9c5.jpg","text":"TemporaryFile(/tmp/multipartBody132676696934832728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294303388,"filename":"image_16112025_10_36_18_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d6aae4abf6b05f47f90cd4eca785874.jpg","text":"TemporaryFile(/tmp/multipartBody6469254254374439183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294303388,"filename":"image_16112025_10_36_13_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741843","file1":"1394741841","file0":"1394741838","file4":"1394741845","file5":"1394741847","file3":"1394741844"},"map_files_photo_id_array":[{"photo_id":"1394741847","filename":"file5"},{"photo_id":"1394741843","filename":"file2"},{"photo_id":"1394741845","filename":"file4"},{"photo_id":"1394741841","filename":"file1"},{"photo_id":"1394741838","filename":"file0"},{"photo_id":"1394741844","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741845":["hashtag1","hashtag2"]},{"1394741841":["hashtag1","hashtag2"]},{"1394741844":["hashtag1","hashtag2"]},{"1394741838":["hashtag1","hashtag2"]},{"1394741847":["hashtag1","hashtag2"]},{"1394741843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741845, 1394741841, 1394741844, 1394741838, 1394741847, 1394741843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.095006465911865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 12:59:03.413888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_19_1475.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_24_4459.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_25_1644.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_28_2548.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_32_3768.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_34_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_19_1475.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_24_4459.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_25_1644.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_28_2548.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_32_3768.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_34_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741857","1394741860","1394741868","1394741862","1394741864","1394741861"],"photo_ids_order":["1394741857","1394741860","1394741861","1394741862","1394741864","1394741868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b49fb86e7a89773ba2ca5a38962186b9.jpg","text":"TemporaryFile(/tmp/multipartBody4450937787418837437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294404164,"filename":"image_16112025_10_36_19_1475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8bdf54546653eba1ccd61ff99e2fe06c.jpg","text":"TemporaryFile(/tmp/multipartBody9017229368961595883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294404164,"filename":"image_16112025_10_36_24_4459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6b216b61f3101666139c3ae413ec265.jpg","text":"TemporaryFile(/tmp/multipartBody52535535460972894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294404164,"filename":"image_16112025_10_36_34_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb53ca8fd02335c6afe0e0ffed91fd8d.jpg","text":"TemporaryFile(/tmp/multipartBody4418831180213222194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294404164,"filename":"image_16112025_10_36_28_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cc883fc499461b30f1a4334c5990755.jpg","text":"TemporaryFile(/tmp/multipartBody7827915309068100807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294404164,"filename":"image_16112025_10_36_32_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84a7a6b540c05b95ca4187b748071556.jpg","text":"TemporaryFile(/tmp/multipartBody3115839173803351929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294404164,"filename":"image_16112025_10_36_25_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741861","file1":"1394741860","file0":"1394741857","file4":"1394741864","file5":"1394741868","file3":"1394741862"},"map_files_photo_id_array":[{"photo_id":"1394741868","filename":"file5"},{"photo_id":"1394741861","filename":"file2"},{"photo_id":"1394741864","filename":"file4"},{"photo_id":"1394741860","filename":"file1"},{"photo_id":"1394741857","filename":"file0"},{"photo_id":"1394741862","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741857":["hashtag1","hashtag2"]},{"1394741860":["hashtag1","hashtag2"]},{"1394741868":["hashtag1","hashtag2"]},{"1394741862":["hashtag1","hashtag2"]},{"1394741864":["hashtag1","hashtag2"]},{"1394741861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741857, 1394741860, 1394741868, 1394741862, 1394741864, 1394741861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27423071861267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 12:59:42.300401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_38_3320.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_40_2753.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_45_4514.jpg', '/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_47_1661.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_01_14150.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_03_2145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_38_3320.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_40_2753.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_45_4514.jpg
/home/pi/Desktop/images/16112025/10/36/image_16112025_10_36_47_1661.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_01_14150.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_03_2145.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741872","1394741880","1394741874","1394741877","1394741879","1394741876"],"photo_ids_order":["1394741872","1394741874","1394741876","1394741877","1394741879","1394741880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd5bf2b23487d5b2722d5cdcb6e81e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6687096217607088725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294442916,"filename":"image_16112025_10_36_38_3320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80e907215115ec18771218d8eca4f37d.jpg","text":"TemporaryFile(/tmp/multipartBody2169165163717635677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294442916,"filename":"image_16112025_10_37_03_2145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0574bfdd5a5958901a402bf7e54682fc.jpg","text":"TemporaryFile(/tmp/multipartBody6424973354762861898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294442916,"filename":"image_16112025_10_36_40_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b183af899e750711ad84070ceb3b3b49.jpg","text":"TemporaryFile(/tmp/multipartBody211405710519467719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294442916,"filename":"image_16112025_10_36_47_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7948fe4ec17349bc42052c1917c95352.jpg","text":"TemporaryFile(/tmp/multipartBody3307706220912817306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294442916,"filename":"image_16112025_10_37_01_14150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65be12ec2910cb58a1b808a611e6c05e.jpg","text":"TemporaryFile(/tmp/multipartBody5468072980476830846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294442916,"filename":"image_16112025_10_36_45_4514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741876","file1":"1394741874","file0":"1394741872","file4":"1394741879","file5":"1394741880","file3":"1394741877"},"map_files_photo_id_array":[{"photo_id":"1394741880","filename":"file5"},{"photo_id":"1394741876","filename":"file2"},{"photo_id":"1394741879","filename":"file4"},{"photo_id":"1394741874","filename":"file1"},{"photo_id":"1394741872","filename":"file0"},{"photo_id":"1394741877","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741872":["hashtag1","hashtag2"]},{"1394741880":["hashtag1","hashtag2"]},{"1394741874":["hashtag1","hashtag2"]},{"1394741877":["hashtag1","hashtag2"]},{"1394741879":["hashtag1","hashtag2"]},{"1394741876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741872, 1394741880, 1394741874, 1394741877, 1394741879, 1394741876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0747971534729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:00:22.631941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_05_1628.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_06_1700.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_08_1684.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_10_1601.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_11_1636.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_13_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_05_1628.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_06_1700.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_08_1684.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_10_1601.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_11_1636.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_13_1658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741890","1394741884","1394741892","1394741889","1394741891","1394741887"],"photo_ids_order":["1394741884","1394741887","1394741889","1394741890","1394741891","1394741892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/230019c48e608d46a446183e2ea70c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1182718683253657909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294483251,"filename":"image_16112025_10_37_10_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9ae4bb5eb450256c014b49e445966f8.jpg","text":"TemporaryFile(/tmp/multipartBody3017537588076572900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294483251,"filename":"image_16112025_10_37_05_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7541b8048a287d732243e8906279032c.jpg","text":"TemporaryFile(/tmp/multipartBody3971103385838804646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294483251,"filename":"image_16112025_10_37_13_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8dadb8896516c374acbfd5f1742833a4.jpg","text":"TemporaryFile(/tmp/multipartBody9194008725703045290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294483251,"filename":"image_16112025_10_37_08_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97d0829d0f525157ffebb03cee9783a9.jpg","text":"TemporaryFile(/tmp/multipartBody1876096328285235386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294483251,"filename":"image_16112025_10_37_11_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48140ed4fc2d573e19d7c1939c34c2db.jpg","text":"TemporaryFile(/tmp/multipartBody2459493959737397066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294483251,"filename":"image_16112025_10_37_06_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741889","file1":"1394741887","file0":"1394741884","file4":"1394741891","file5":"1394741892","file3":"1394741890"},"map_files_photo_id_array":[{"photo_id":"1394741892","filename":"file5"},{"photo_id":"1394741889","filename":"file2"},{"photo_id":"1394741891","filename":"file4"},{"photo_id":"1394741887","filename":"file1"},{"photo_id":"1394741884","filename":"file0"},{"photo_id":"1394741890","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741890":["hashtag1","hashtag2"]},{"1394741884":["hashtag1","hashtag2"]},{"1394741892":["hashtag1","hashtag2"]},{"1394741889":["hashtag1","hashtag2"]},{"1394741891":["hashtag1","hashtag2"]},{"1394741887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741890, 1394741884, 1394741892, 1394741889, 1394741891, 1394741887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.090651988983154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:01:03.339112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_14_1623.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_16_1786.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_19_2522.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_23_4168.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_25_1768.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_29_3804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_14_1623.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_16_1786.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_19_2522.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_23_4168.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_25_1768.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_29_3804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741895","1394741897","1394741900","1394741903","1394741893","1394741896"],"photo_ids_order":["1394741893","1394741895","1394741896","1394741897","1394741900","1394741903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0e9f712568632a61fd5c3052650eddf.jpg","text":"TemporaryFile(/tmp/multipartBody7380841807992309035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294524041,"filename":"image_16112025_10_37_16_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/404d5ee5f2dfba67acdd85b754ff0cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1795538416638230086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294524041,"filename":"image_16112025_10_37_23_4168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a0b75883b3db5b6c6c59d7b47884427.jpg","text":"TemporaryFile(/tmp/multipartBody231526603696709184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294524041,"filename":"image_16112025_10_37_25_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54ebd04db40d09b2855b5f438581dd5a.jpg","text":"TemporaryFile(/tmp/multipartBody3962369812312866272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294524041,"filename":"image_16112025_10_37_29_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf3e6dee6c65667d9cdbce4d2907e82c.jpg","text":"TemporaryFile(/tmp/multipartBody3495467523134359158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294524041,"filename":"image_16112025_10_37_14_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/141496849326a7cb4abee2dcd6d00a89.jpg","text":"TemporaryFile(/tmp/multipartBody1852569341920975114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294524041,"filename":"image_16112025_10_37_19_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741896","file1":"1394741895","file0":"1394741893","file4":"1394741900","file5":"1394741903","file3":"1394741897"},"map_files_photo_id_array":[{"photo_id":"1394741903","filename":"file5"},{"photo_id":"1394741896","filename":"file2"},{"photo_id":"1394741900","filename":"file4"},{"photo_id":"1394741895","filename":"file1"},{"photo_id":"1394741893","filename":"file0"},{"photo_id":"1394741897","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741895":["hashtag1","hashtag2"]},{"1394741897":["hashtag1","hashtag2"]},{"1394741900":["hashtag1","hashtag2"]},{"1394741903":["hashtag1","hashtag2"]},{"1394741893":["hashtag1","hashtag2"]},{"1394741896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741895, 1394741897, 1394741900, 1394741903, 1394741893, 1394741896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23286271095276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:01:42.826102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_31_2667.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_34_2944.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_37_2628.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_40_2969.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_43_3684.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_49_5229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_31_2667.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_34_2944.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_37_2628.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_40_2969.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_43_3684.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_49_5229.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741920","1394741917","1394741919","1394741921","1394741915","1394741918"],"photo_ids_order":["1394741915","1394741917","1394741918","1394741919","1394741920","1394741921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cf945a1484e70502952a899017ce528.jpg","text":"TemporaryFile(/tmp/multipartBody2539277348374265571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294563534,"filename":"image_16112025_10_37_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/11/16/c0bc73a6a547ce5fc487e634ddb32c86.jpg","text":"TemporaryFile(/tmp/multipartBody4926279354195726318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294563534,"filename":"image_16112025_10_37_34_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48a94a450d4e07e997a19dbc20d5e022.jpg","text":"TemporaryFile(/tmp/multipartBody8668611370887399600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294563534,"filename":"image_16112025_10_37_40_2969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4de9992cf356e3f7568b410e1404cf3.jpg","text":"TemporaryFile(/tmp/multipartBody6507959127096901314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294563534,"filename":"image_16112025_10_37_49_5229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fddc4fe5f66968ab056576943ed96931.jpg","text":"TemporaryFile(/tmp/multipartBody5726936027859039231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294563534,"filename":"image_16112025_10_37_31_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eaa8fda96001dc6835fed348267e632d.jpg","text":"TemporaryFile(/tmp/multipartBody4871824299945463341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294563534,"filename":"image_16112025_10_37_37_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741918","file1":"1394741917","file0":"1394741915","file4":"1394741920","file5":"1394741921","file3":"1394741919"},"map_files_photo_id_array":[{"photo_id":"1394741921","filename":"file5"},{"photo_id":"1394741918","filename":"file2"},{"photo_id":"1394741920","filename":"file4"},{"photo_id":"1394741917","filename":"file1"},{"photo_id":"1394741915","filename":"file0"},{"photo_id":"1394741919","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741920":["hashtag1","hashtag2"]},{"1394741917":["hashtag1","hashtag2"]},{"1394741919":["hashtag1","hashtag2"]},{"1394741921":["hashtag1","hashtag2"]},{"1394741915":["hashtag1","hashtag2"]},{"1394741918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741920, 1394741917, 1394741919, 1394741921, 1394741915, 1394741918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.448339223861694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:02:22.128343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_55_5962.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_56_1634.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_58_1665.jpg', '/home/pi/Desktop/images/16112025/10/37/image_16112025_10_38_00_1642.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_03_2971.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_04_1712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_55_5962.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_56_1634.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_37_58_1665.jpg
/home/pi/Desktop/images/16112025/10/37/image_16112025_10_38_00_1642.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_03_2971.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_04_1712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741932","1394741926","1394741929","1394741928","1394741930","1394741924"],"photo_ids_order":["1394741924","1394741926","1394741928","1394741929","1394741930","1394741932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/934af1fdb9b0ac3aa45d393f44efdb49.jpg","text":"TemporaryFile(/tmp/multipartBody5265126729324356922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294602769,"filename":"image_16112025_10_38_04_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4308a059f3915343d2b18ff1f38e88c0.jpg","text":"TemporaryFile(/tmp/multipartBody7973843359091347889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294602769,"filename":"image_16112025_10_37_56_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6d777068f9b851a0c87ac68deeff0ff.jpg","text":"TemporaryFile(/tmp/multipartBody1032079852869972242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294602769,"filename":"image_16112025_10_38_00_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70f0d35d66f5197a7122a8a28c96ef84.jpg","text":"TemporaryFile(/tmp/multipartBody242671993405016807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294602769,"filename":"image_16112025_10_37_58_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa00d8be2da8034362e8369220df55ab.jpg","text":"TemporaryFile(/tmp/multipartBody7341117183682054736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294602769,"filename":"image_16112025_10_38_03_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d067d9f156f9d199df04b19115d1fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8711762999342561226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294602769,"filename":"image_16112025_10_37_55_5962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741928","file1":"1394741926","file0":"1394741924","file4":"1394741930","file5":"1394741932","file3":"1394741929"},"map_files_photo_id_array":[{"photo_id":"1394741932","filename":"file5"},{"photo_id":"1394741928","filename":"file2"},{"photo_id":"1394741930","filename":"file4"},{"photo_id":"1394741926","filename":"file1"},{"photo_id":"1394741924","filename":"file0"},{"photo_id":"1394741929","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741932":["hashtag1","hashtag2"]},{"1394741926":["hashtag1","hashtag2"]},{"1394741929":["hashtag1","hashtag2"]},{"1394741928":["hashtag1","hashtag2"]},{"1394741930":["hashtag1","hashtag2"]},{"1394741924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741932, 1394741926, 1394741929, 1394741928, 1394741930, 1394741924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89308500289917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:03:03.271803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_07_2544.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_15_8279.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_22_7114.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_25_3050.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_27_1479.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_28_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_07_2544.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_15_8279.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_22_7114.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_25_3050.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_27_1479.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_28_1631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741941","1394741944","1394741938","1394741935","1394741937","1394741936"],"photo_ids_order":["1394741935","1394741936","1394741937","1394741938","1394741941","1394741944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aeae0d113a696db726671d5a43e7d2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5875378219821162030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294643956,"filename":"image_16112025_10_38_27_1479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e50435c3f4e557edffdf6cc1ad0bdc2f.jpg","text":"TemporaryFile(/tmp/multipartBody8449112660362763492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294643956,"filename":"image_16112025_10_38_28_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b75ef7f69f8f6c6dc11433873a2bb7ac.jpg","text":"TemporaryFile(/tmp/multipartBody7506299269426863484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294643956,"filename":"image_16112025_10_38_25_3050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/948d6fb5a20cef0d829a7efee2fef456.jpg","text":"TemporaryFile(/tmp/multipartBody1946630803938911815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294643956,"filename":"image_16112025_10_38_07_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dc6dd9dd6ae0683525a8b2728b21ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1958768458446841702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294643956,"filename":"image_16112025_10_38_22_7114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/706690f1ac011fad450dcd8199ec5e93.jpg","text":"TemporaryFile(/tmp/multipartBody124055071138825452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294643956,"filename":"image_16112025_10_38_15_8279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741937","file1":"1394741936","file0":"1394741935","file4":"1394741941","file5":"1394741944","file3":"1394741938"},"map_files_photo_id_array":[{"photo_id":"1394741944","filename":"file5"},{"photo_id":"1394741937","filename":"file2"},{"photo_id":"1394741941","filename":"file4"},{"photo_id":"1394741936","filename":"file1"},{"photo_id":"1394741935","filename":"file0"},{"photo_id":"1394741938","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741941":["hashtag1","hashtag2"]},{"1394741944":["hashtag1","hashtag2"]},{"1394741938":["hashtag1","hashtag2"]},{"1394741935":["hashtag1","hashtag2"]},{"1394741937":["hashtag1","hashtag2"]},{"1394741936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741941, 1394741944, 1394741938, 1394741935, 1394741937, 1394741936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2383599281311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:03:42.543123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_31_3007.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_33_1561.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_35_1592.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_36_1523.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_38_1635.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_40_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_31_3007.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_33_1561.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_35_1592.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_36_1523.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_38_1635.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_40_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741950","1394741953","1394741955","1394741958","1394741951","1394741954"],"photo_ids_order":["1394741950","1394741951","1394741953","1394741954","1394741955","1394741958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb68b1f872820af6d879a2e09c5a33c3.jpg","text":"TemporaryFile(/tmp/multipartBody6998645836001659447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294683159,"filename":"image_16112025_10_38_31_3007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b03b1afc73e964b4bf77b12f1d057040.jpg","text":"TemporaryFile(/tmp/multipartBody4465806968821502613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294683159,"filename":"image_16112025_10_38_35_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31b180f84c5f830157e42867975fae83.jpg","text":"TemporaryFile(/tmp/multipartBody1834476141069262870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294683159,"filename":"image_16112025_10_38_38_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7487fb0f13d7d456d35c995141a69b9.jpg","text":"TemporaryFile(/tmp/multipartBody660927053061120461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294683159,"filename":"image_16112025_10_38_40_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9172f971ae9ae610ec9f39f9e62c0e4.jpg","text":"TemporaryFile(/tmp/multipartBody5060040234510542248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294683159,"filename":"image_16112025_10_38_33_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0205cf7b63d2894d7a2084ef3f16f617.jpg","text":"TemporaryFile(/tmp/multipartBody1792094427303923898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294683159,"filename":"image_16112025_10_38_36_1523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741953","file1":"1394741951","file0":"1394741950","file4":"1394741955","file5":"1394741958","file3":"1394741954"},"map_files_photo_id_array":[{"photo_id":"1394741958","filename":"file5"},{"photo_id":"1394741953","filename":"file2"},{"photo_id":"1394741955","filename":"file4"},{"photo_id":"1394741951","filename":"file1"},{"photo_id":"1394741950","filename":"file0"},{"photo_id":"1394741954","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741950":["hashtag1","hashtag2"]},{"1394741953":["hashtag1","hashtag2"]},{"1394741955":["hashtag1","hashtag2"]},{"1394741958":["hashtag1","hashtag2"]},{"1394741951":["hashtag1","hashtag2"]},{"1394741954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741950, 1394741953, 1394741955, 1394741958, 1394741951, 1394741954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79642868041992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:04:22.819117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_43_2654.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_46_2644.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_55_9522.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_57_1661.jpg', '/home/pi/Desktop/images/16112025/10/38/image_16112025_10_39_00_2736.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_01_1593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_43_2654.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_46_2644.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_55_9522.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_38_57_1661.jpg
/home/pi/Desktop/images/16112025/10/38/image_16112025_10_39_00_2736.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_01_1593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741965","1394741970","1394741967","1394741963","1394741966","1394741968"],"photo_ids_order":["1394741963","1394741965","1394741966","1394741967","1394741968","1394741970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f250ec81d7f63e043282b071c08d561f.jpg","text":"TemporaryFile(/tmp/multipartBody2027486542168733367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294723448,"filename":"image_16112025_10_38_46_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5793408b94639124625b9aca1181ca03.jpg","text":"TemporaryFile(/tmp/multipartBody8791011457631954494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294723448,"filename":"image_16112025_10_39_01_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c24884007694887285a3697c0c28c33c.jpg","text":"TemporaryFile(/tmp/multipartBody1527048339260640719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294723448,"filename":"image_16112025_10_38_57_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f5bf23eee6800451193bc4382a7b2e3.jpg","text":"TemporaryFile(/tmp/multipartBody3755994273401901532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294723448,"filename":"image_16112025_10_38_43_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/651b8de383490543c57fd836b3153fd9.jpg","text":"TemporaryFile(/tmp/multipartBody7896075136302263685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294723448,"filename":"image_16112025_10_38_55_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8db103fbaca17c9422070ca3f8a85bb.jpg","text":"TemporaryFile(/tmp/multipartBody3151779087222784764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294723448,"filename":"image_16112025_10_39_00_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741966","file1":"1394741965","file0":"1394741963","file4":"1394741968","file5":"1394741970","file3":"1394741967"},"map_files_photo_id_array":[{"photo_id":"1394741970","filename":"file5"},{"photo_id":"1394741966","filename":"file2"},{"photo_id":"1394741968","filename":"file4"},{"photo_id":"1394741965","filename":"file1"},{"photo_id":"1394741963","filename":"file0"},{"photo_id":"1394741967","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741965":["hashtag1","hashtag2"]},{"1394741970":["hashtag1","hashtag2"]},{"1394741967":["hashtag1","hashtag2"]},{"1394741963":["hashtag1","hashtag2"]},{"1394741966":["hashtag1","hashtag2"]},{"1394741968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741965, 1394741970, 1394741967, 1394741963, 1394741966, 1394741968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05188322067261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:05:02.786806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_03_1599.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_05_1885.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_07_2706.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_10_2774.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_13_2582.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_16_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_03_1599.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_05_1885.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_07_2706.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_10_2774.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_13_2582.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_16_3712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741971","1394741973","1394741976","1394741972","1394741980","1394741974"],"photo_ids_order":["1394741971","1394741972","1394741973","1394741974","1394741976","1394741980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7272545a240646a2cafc30f0b5578459.jpg","text":"TemporaryFile(/tmp/multipartBody1725038900470019454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294763548,"filename":"image_16112025_10_39_03_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99df7041aba9be3be81e585b56fcdd9d.jpg","text":"TemporaryFile(/tmp/multipartBody3931587847033493626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294763548,"filename":"image_16112025_10_39_07_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0b5f61e5874904cb0b38a911ce575c3.jpg","text":"TemporaryFile(/tmp/multipartBody4924466990589786036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294763548,"filename":"image_16112025_10_39_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/11/16/3bf47a2e6e73ec93d2ce006eb820b737.jpg","text":"TemporaryFile(/tmp/multipartBody7238070059288562143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294763548,"filename":"image_16112025_10_39_05_1885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae4e1107ff5baf63408d62a8fa6e537e.jpg","text":"TemporaryFile(/tmp/multipartBody6739479277747131414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294763548,"filename":"image_16112025_10_39_16_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f24320cb3492b7b9411514c73e41362.jpg","text":"TemporaryFile(/tmp/multipartBody4255019543297970089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294763548,"filename":"image_16112025_10_39_10_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741973","file1":"1394741972","file0":"1394741971","file4":"1394741976","file5":"1394741980","file3":"1394741974"},"map_files_photo_id_array":[{"photo_id":"1394741980","filename":"file5"},{"photo_id":"1394741973","filename":"file2"},{"photo_id":"1394741976","filename":"file4"},{"photo_id":"1394741972","filename":"file1"},{"photo_id":"1394741971","filename":"file0"},{"photo_id":"1394741974","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741971":["hashtag1","hashtag2"]},{"1394741973":["hashtag1","hashtag2"]},{"1394741976":["hashtag1","hashtag2"]},{"1394741972":["hashtag1","hashtag2"]},{"1394741980":["hashtag1","hashtag2"]},{"1394741974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741971, 1394741973, 1394741976, 1394741972, 1394741980, 1394741974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.933308124542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:05:41.944396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_19_2564.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_22_2665.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_25_3660.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_28_2671.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_31_2764.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_34_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_19_2564.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_22_2665.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_25_3660.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_28_2671.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_31_2764.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_34_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394741991","1394741994","1394741988","1394741984","1394741993","1394741987"],"photo_ids_order":["1394741984","1394741987","1394741988","1394741991","1394741993","1394741994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42b01e3254861051b36073782d920b89.jpg","text":"TemporaryFile(/tmp/multipartBody6967466390934756482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294802579,"filename":"image_16112025_10_39_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/11/16/99ef607e119d9d35f6b8d9ba1a2d4c99.jpg","text":"TemporaryFile(/tmp/multipartBody205899778387105599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294802579,"filename":"image_16112025_10_39_34_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec7d6284c7601835ffe57b4070796acd.jpg","text":"TemporaryFile(/tmp/multipartBody765707709665858275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294802579,"filename":"image_16112025_10_39_25_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f624722b02038019fb6c7589c0571aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8586026737298597161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294802579,"filename":"image_16112025_10_39_19_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fff84db65754614b9163c936b315f15.jpg","text":"TemporaryFile(/tmp/multipartBody8066624221339585519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294802579,"filename":"image_16112025_10_39_31_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2354bb7b73746e3574e893327224eec9.jpg","text":"TemporaryFile(/tmp/multipartBody290973908149376757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294802579,"filename":"image_16112025_10_39_22_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394741988","file1":"1394741987","file0":"1394741984","file4":"1394741993","file5":"1394741994","file3":"1394741991"},"map_files_photo_id_array":[{"photo_id":"1394741994","filename":"file5"},{"photo_id":"1394741988","filename":"file2"},{"photo_id":"1394741993","filename":"file4"},{"photo_id":"1394741987","filename":"file1"},{"photo_id":"1394741984","filename":"file0"},{"photo_id":"1394741991","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394741991":["hashtag1","hashtag2"]},{"1394741994":["hashtag1","hashtag2"]},{"1394741988":["hashtag1","hashtag2"]},{"1394741984":["hashtag1","hashtag2"]},{"1394741993":["hashtag1","hashtag2"]},{"1394741987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394741991, 1394741994, 1394741988, 1394741984, 1394741993, 1394741987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02785634994507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:06:22.241832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_40_2565.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_43_3671.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_46_2620.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_49_3538.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_52_2597.jpg', '/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_55_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_40_2565.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_43_3671.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_46_2620.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_49_3538.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_52_2597.jpg
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_55_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742010","1394742007","1394742001","1394742004","1394742012","1394742014"],"photo_ids_order":["1394742001","1394742004","1394742007","1394742010","1394742012","1394742014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c0c5d4b360a4d924b26eb57c5da551c.jpg","text":"TemporaryFile(/tmp/multipartBody4102539580635579829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294842892,"filename":"image_16112025_10_39_49_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab88d4b522f98a5cd0b8c8c51e077c69.jpg","text":"TemporaryFile(/tmp/multipartBody6611320227527857564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294842892,"filename":"image_16112025_10_39_46_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e62cd6f42125e513fc6cb03cc2644e0.jpg","text":"TemporaryFile(/tmp/multipartBody1919226324372095957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294842892,"filename":"image_16112025_10_39_40_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45f96ee8677ef6d9ae3a05aca10987eb.jpg","text":"TemporaryFile(/tmp/multipartBody3956528600239797647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294842892,"filename":"image_16112025_10_39_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/11/16/8ae4b510162fc9676792ff7e776866bf.jpg","text":"TemporaryFile(/tmp/multipartBody1966835035300453643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294842892,"filename":"image_16112025_10_39_52_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e2d10ec3d000a35fb19e5d444c99aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5012592155894119256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294842892,"filename":"image_16112025_10_39_55_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742007","file1":"1394742004","file0":"1394742001","file4":"1394742012","file5":"1394742014","file3":"1394742010"},"map_files_photo_id_array":[{"photo_id":"1394742014","filename":"file5"},{"photo_id":"1394742007","filename":"file2"},{"photo_id":"1394742012","filename":"file4"},{"photo_id":"1394742004","filename":"file1"},{"photo_id":"1394742001","filename":"file0"},{"photo_id":"1394742010","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742010":["hashtag1","hashtag2"]},{"1394742007":["hashtag1","hashtag2"]},{"1394742001":["hashtag1","hashtag2"]},{"1394742004":["hashtag1","hashtag2"]},{"1394742012":["hashtag1","hashtag2"]},{"1394742014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742010, 1394742007, 1394742001, 1394742004, 1394742012, 1394742014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99937152862549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:07:03.217771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_58_3712.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_14_2622.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_16_2701.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_20_3671.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_23_2741.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_25_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/39/image_16112025_10_39_58_3712.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_14_2622.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_16_2701.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_20_3671.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_23_2741.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_25_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742019","1394742021","1394742024","1394742018","1394742026","1394742017"],"photo_ids_order":["1394742017","1394742018","1394742019","1394742021","1394742024","1394742026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54c958937589eb4bb04e3d79e508a722.jpg","text":"TemporaryFile(/tmp/multipartBody1359393596347864087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294883924,"filename":"image_16112025_10_40_16_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be8737e383b876a361a5a475e3b3b41e.jpg","text":"TemporaryFile(/tmp/multipartBody2395858372958154726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294883924,"filename":"image_16112025_10_40_20_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/045b0a1c08a92e4adf906c80002580b3.jpg","text":"TemporaryFile(/tmp/multipartBody3585628003709095605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294883924,"filename":"image_16112025_10_40_23_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca35934b34aceaca03874827ff2cc57c.jpg","text":"TemporaryFile(/tmp/multipartBody5871059173459613230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294883924,"filename":"image_16112025_10_40_14_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02318e1e4c2655a0db8bea60cea5eae9.jpg","text":"TemporaryFile(/tmp/multipartBody3200172026012605897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294883924,"filename":"image_16112025_10_40_25_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0b8a3d6433d0a4d9597fce972551a45.jpg","text":"TemporaryFile(/tmp/multipartBody4032341306434279688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294883924,"filename":"image_16112025_10_39_58_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742019","file1":"1394742018","file0":"1394742017","file4":"1394742024","file5":"1394742026","file3":"1394742021"},"map_files_photo_id_array":[{"photo_id":"1394742026","filename":"file5"},{"photo_id":"1394742019","filename":"file2"},{"photo_id":"1394742024","filename":"file4"},{"photo_id":"1394742018","filename":"file1"},{"photo_id":"1394742017","filename":"file0"},{"photo_id":"1394742021","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742019":["hashtag1","hashtag2"]},{"1394742021":["hashtag1","hashtag2"]},{"1394742024":["hashtag1","hashtag2"]},{"1394742018":["hashtag1","hashtag2"]},{"1394742026":["hashtag1","hashtag2"]},{"1394742017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742019, 1394742021, 1394742024, 1394742018, 1394742026, 1394742017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26473379135132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:07:42.427351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_29_3579.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_32_2799.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_35_2729.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_38_3725.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_41_2626.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_44_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_29_3579.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_32_2799.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_35_2729.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_38_3725.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_41_2626.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_44_2792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742034","1394742033","1394742036","1394742030","1394742035","1394742037"],"photo_ids_order":["1394742030","1394742033","1394742034","1394742035","1394742036","1394742037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0a808ed65be813909f44679b9ef39f5.jpg","text":"TemporaryFile(/tmp/multipartBody3779093795492244829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294923043,"filename":"image_16112025_10_40_35_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ae8f36f07bfc35b660fca3a0ebc6b76.jpg","text":"TemporaryFile(/tmp/multipartBody2943932576647802094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294923043,"filename":"image_16112025_10_40_32_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33675d155417dd5afbce50877003e449.jpg","text":"TemporaryFile(/tmp/multipartBody5855966342794038961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294923043,"filename":"image_16112025_10_40_41_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b580908ba49f6a3bcc61646c08a37b97.jpg","text":"TemporaryFile(/tmp/multipartBody5436088795823721741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294923043,"filename":"image_16112025_10_40_29_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b95eca955738ff5a0eba430c6e43df15.jpg","text":"TemporaryFile(/tmp/multipartBody3737906915943660542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294923043,"filename":"image_16112025_10_40_38_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72d6f352705c20e8318e29ba1ab9d82d.jpg","text":"TemporaryFile(/tmp/multipartBody888500124665538184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294923043,"filename":"image_16112025_10_40_44_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742034","file1":"1394742033","file0":"1394742030","file4":"1394742036","file5":"1394742037","file3":"1394742035"},"map_files_photo_id_array":[{"photo_id":"1394742037","filename":"file5"},{"photo_id":"1394742034","filename":"file2"},{"photo_id":"1394742036","filename":"file4"},{"photo_id":"1394742033","filename":"file1"},{"photo_id":"1394742030","filename":"file0"},{"photo_id":"1394742035","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742034":["hashtag1","hashtag2"]},{"1394742033":["hashtag1","hashtag2"]},{"1394742036":["hashtag1","hashtag2"]},{"1394742030":["hashtag1","hashtag2"]},{"1394742035":["hashtag1","hashtag2"]},{"1394742037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742034, 1394742033, 1394742036, 1394742030, 1394742035, 1394742037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14837098121643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:08:22.681485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_47_3549.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_50_2515.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_52_2611.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_11_3509.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_13_2534.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_17_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_47_3549.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_50_2515.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_52_2611.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_11_3509.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_13_2534.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_17_3618.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.5887634754180908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:08:42.749419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_47_3549.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_50_2515.jpg', '/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_52_2611.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_11_3509.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_13_2534.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_17_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_47_3549.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_50_2515.jpg
/home/pi/Desktop/images/16112025/10/40/image_16112025_10_40_52_2611.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_11_3509.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_13_2534.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_17_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742054","1394742057","1394742059","1394742056","1394742061","1394742055"],"photo_ids_order":["1394742054","1394742055","1394742056","1394742057","1394742059","1394742061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b85c094e101c6778b904310a6b101def.jpg","text":"TemporaryFile(/tmp/multipartBody5465982052114357197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294983369,"filename":"image_16112025_10_40_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/11/16/fcaa764da0115533ad566f48a7ff5d88.jpg","text":"TemporaryFile(/tmp/multipartBody5720160139040339569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294983369,"filename":"image_16112025_10_42_11_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3db49a84c42bb089cb779af1b3d65bb.jpg","text":"TemporaryFile(/tmp/multipartBody5134515708574640128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294983369,"filename":"image_16112025_10_42_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/11/16/b7dd1cb8e58e020449b80fd8b9f6d409.jpg","text":"TemporaryFile(/tmp/multipartBody8493736849324573772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294983369,"filename":"image_16112025_10_40_52_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b72cd08c4aabb93fdc9fb14ca5d66b4b.jpg","text":"TemporaryFile(/tmp/multipartBody9052055141033563926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294983369,"filename":"image_16112025_10_42_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/11/16/16485ca760de22646cf0fc636868ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody7481229047873213460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763294983369,"filename":"image_16112025_10_40_50_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742056","file1":"1394742055","file0":"1394742054","file4":"1394742059","file5":"1394742061","file3":"1394742057"},"map_files_photo_id_array":[{"photo_id":"1394742061","filename":"file5"},{"photo_id":"1394742056","filename":"file2"},{"photo_id":"1394742059","filename":"file4"},{"photo_id":"1394742055","filename":"file1"},{"photo_id":"1394742054","filename":"file0"},{"photo_id":"1394742057","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742054":["hashtag1","hashtag2"]},{"1394742057":["hashtag1","hashtag2"]},{"1394742059":["hashtag1","hashtag2"]},{"1394742056":["hashtag1","hashtag2"]},{"1394742061":["hashtag1","hashtag2"]},{"1394742055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742054, 1394742057, 1394742059, 1394742056, 1394742061, 1394742055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22026252746582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:09:22.030530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_20_2629.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_22_2670.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_26_3540.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_29_2804.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_31_2687.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_35_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_20_2629.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_22_2670.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_26_3540.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_29_2804.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_31_2687.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_35_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742072","1394742066","1394742075","1394742074","1394742076","1394742070"],"photo_ids_order":["1394742066","1394742070","1394742072","1394742074","1394742075","1394742076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c19228de55e882a8703521eaa7bdb137.jpg","text":"TemporaryFile(/tmp/multipartBody2144686273450937572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295022698,"filename":"image_16112025_10_42_26_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e3b35ada789b393e66ebd96c8ec281c.jpg","text":"TemporaryFile(/tmp/multipartBody4963600388883622390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295022698,"filename":"image_16112025_10_42_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/11/16/e74424c18c3614d6be27a3bd253b61f2.jpg","text":"TemporaryFile(/tmp/multipartBody1937038594722720136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295022698,"filename":"image_16112025_10_42_31_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c78eb7f5673223e239f27add4aa295ab.jpg","text":"TemporaryFile(/tmp/multipartBody8426920455481127344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295022698,"filename":"image_16112025_10_42_29_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8495314cf24d22cc916241bb870c6dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7711263983935788861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295022698,"filename":"image_16112025_10_42_35_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d369f6b8d0c90a083454c1c954815230.jpg","text":"TemporaryFile(/tmp/multipartBody4419840575038273470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295022698,"filename":"image_16112025_10_42_22_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742072","file1":"1394742070","file0":"1394742066","file4":"1394742075","file5":"1394742076","file3":"1394742074"},"map_files_photo_id_array":[{"photo_id":"1394742076","filename":"file5"},{"photo_id":"1394742072","filename":"file2"},{"photo_id":"1394742075","filename":"file4"},{"photo_id":"1394742070","filename":"file1"},{"photo_id":"1394742066","filename":"file0"},{"photo_id":"1394742074","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742072":["hashtag1","hashtag2"]},{"1394742066":["hashtag1","hashtag2"]},{"1394742075":["hashtag1","hashtag2"]},{"1394742074":["hashtag1","hashtag2"]},{"1394742076":["hashtag1","hashtag2"]},{"1394742070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742072, 1394742066, 1394742075, 1394742074, 1394742076, 1394742070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47359585762024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:10:02.772207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_38_2611.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_41_3653.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_44_2622.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_46_2570.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_49_2818.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_53_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_38_2611.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_41_3653.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_44_2622.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_46_2570.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_49_2818.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_53_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742080","1394742083","1394742077","1394742085","1394742088","1394742082"],"photo_ids_order":["1394742077","1394742080","1394742082","1394742083","1394742085","1394742088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ed02485a597fb8f425c50cd5e166170.jpg","text":"TemporaryFile(/tmp/multipartBody1997636074510237504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295063436,"filename":"image_16112025_10_42_41_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23ca331dcb221a146f5d8afefcff883b.jpg","text":"TemporaryFile(/tmp/multipartBody1826983850002459839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295063436,"filename":"image_16112025_10_42_46_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f49718196140faaa701138f8399e483.jpg","text":"TemporaryFile(/tmp/multipartBody7374039699325396019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295063436,"filename":"image_16112025_10_42_38_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/565e9ee94d940793088bafc2693419b5.jpg","text":"TemporaryFile(/tmp/multipartBody8439849322230424291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295063436,"filename":"image_16112025_10_42_49_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf69cf3f68ba5ab62b6f7a95a1c1eb82.jpg","text":"TemporaryFile(/tmp/multipartBody1791505870218425518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295063436,"filename":"image_16112025_10_42_53_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3b4c79ae0545b66486832d29ad275f8.jpg","text":"TemporaryFile(/tmp/multipartBody1741514216430539836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295063436,"filename":"image_16112025_10_42_44_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742082","file1":"1394742080","file0":"1394742077","file4":"1394742085","file5":"1394742088","file3":"1394742083"},"map_files_photo_id_array":[{"photo_id":"1394742088","filename":"file5"},{"photo_id":"1394742082","filename":"file2"},{"photo_id":"1394742085","filename":"file4"},{"photo_id":"1394742080","filename":"file1"},{"photo_id":"1394742077","filename":"file0"},{"photo_id":"1394742083","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742080":["hashtag1","hashtag2"]},{"1394742083":["hashtag1","hashtag2"]},{"1394742077":["hashtag1","hashtag2"]},{"1394742085":["hashtag1","hashtag2"]},{"1394742088":["hashtag1","hashtag2"]},{"1394742082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742080, 1394742083, 1394742077, 1394742085, 1394742088, 1394742082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48567199707031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:10:42.335322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_56_2602.jpg', '/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_59_3735.jpg', '/home/pi/Desktop/images/16112025/10/43/image_16112025_10_43_02_2615.jpg', '/home/pi/Desktop/images/16112025/10/43/image_16112025_10_43_05_2845.jpg', '/home/pi/Desktop/images/16112025/10/43/image_16112025_10_43_07_2754.jpg', '/home/pi/Desktop/images/16112025/10/43/image_16112025_10_43_11_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_56_2602.jpg
/home/pi/Desktop/images/16112025/10/42/image_16112025_10_42_59_3735.jpg
/home/pi/Desktop/images/16112025/10/43/image_16112025_10_43_02_2615.jpg
/home/pi/Desktop/images/16112025/10/43/image_16112025_10_43_05_2845.jpg
/home/pi/Desktop/images/16112025/10/43/image_16112025_10_43_07_2754.jpg
/home/pi/Desktop/images/16112025/10/43/image_16112025_10_43_11_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742090","1394742093","1394742095","1394742092","1394742091","1394742094"],"photo_ids_order":["1394742090","1394742091","1394742092","1394742093","1394742094","1394742095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54e9bb0ae559cd23bacef7f9b21f5d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6418787382339202357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295103067,"filename":"image_16112025_10_42_56_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/334eb7a41b7e3f1ff855d453b4ab6208.jpg","text":"TemporaryFile(/tmp/multipartBody3481412391049572561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295103067,"filename":"image_16112025_10_43_05_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91bcd346cfe5f28b6b60ae28f886600a.jpg","text":"TemporaryFile(/tmp/multipartBody3167244895470694748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295103067,"filename":"image_16112025_10_43_11_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a89261aae78aebb0452d15c4a91946f.jpg","text":"TemporaryFile(/tmp/multipartBody2662102838243314865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295103067,"filename":"image_16112025_10_43_02_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2e69aa7f6cc74879c361f1557715dbd.jpg","text":"TemporaryFile(/tmp/multipartBody3201520776874260230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295103067,"filename":"image_16112025_10_42_59_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb59da5ae3a5f95e10f9f9f59e9af328.jpg","text":"TemporaryFile(/tmp/multipartBody8504253118600420424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295103067,"filename":"image_16112025_10_43_07_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742092","file1":"1394742091","file0":"1394742090","file4":"1394742094","file5":"1394742095","file3":"1394742093"},"map_files_photo_id_array":[{"photo_id":"1394742095","filename":"file5"},{"photo_id":"1394742092","filename":"file2"},{"photo_id":"1394742094","filename":"file4"},{"photo_id":"1394742091","filename":"file1"},{"photo_id":"1394742090","filename":"file0"},{"photo_id":"1394742093","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742090":["hashtag1","hashtag2"]},{"1394742093":["hashtag1","hashtag2"]},{"1394742095":["hashtag1","hashtag2"]},{"1394742092":["hashtag1","hashtag2"]},{"1394742091":["hashtag1","hashtag2"]},{"1394742094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742090, 1394742093, 1394742095, 1394742092, 1394742091, 1394742094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.919753074645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:11:22.554941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_06_3016.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_10_3563.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_12_2756.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_16_3646.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_19_2904.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_22_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_06_3016.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_10_3563.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_12_2756.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_16_3646.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_19_2904.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_22_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742106","1394742099","1394742102","1394742105","1394742108","1394742104"],"photo_ids_order":["1394742099","1394742102","1394742104","1394742105","1394742106","1394742108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be4df3c2c424fd0b8bac57d8f5d26a53.jpg","text":"TemporaryFile(/tmp/multipartBody6846067546324326591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295143187,"filename":"image_16112025_10_44_19_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e370944851af200e474fef53564d028.jpg","text":"TemporaryFile(/tmp/multipartBody3032130129707245188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295143187,"filename":"image_16112025_10_44_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a51520c8a82de1bcd3c79c3f3bd8627a.jpg","text":"TemporaryFile(/tmp/multipartBody8118562277452443458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295143187,"filename":"image_16112025_10_44_10_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e467ceeaf7e22a6ee110000e5df699d9.jpg","text":"TemporaryFile(/tmp/multipartBody493774359908163394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295143187,"filename":"image_16112025_10_44_16_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a352afc08ab599fabba9e761b2aa5a3.jpg","text":"TemporaryFile(/tmp/multipartBody2729395970156493888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295143187,"filename":"image_16112025_10_44_22_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b5fb68a5a4484e5745d59e0b69c42c6.jpg","text":"TemporaryFile(/tmp/multipartBody6576500283221579256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295143187,"filename":"image_16112025_10_44_12_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742104","file1":"1394742102","file0":"1394742099","file4":"1394742106","file5":"1394742108","file3":"1394742105"},"map_files_photo_id_array":[{"photo_id":"1394742108","filename":"file5"},{"photo_id":"1394742104","filename":"file2"},{"photo_id":"1394742106","filename":"file4"},{"photo_id":"1394742102","filename":"file1"},{"photo_id":"1394742099","filename":"file0"},{"photo_id":"1394742105","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742106":["hashtag1","hashtag2"]},{"1394742099":["hashtag1","hashtag2"]},{"1394742102":["hashtag1","hashtag2"]},{"1394742105":["hashtag1","hashtag2"]},{"1394742108":["hashtag1","hashtag2"]},{"1394742104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742106, 1394742099, 1394742102, 1394742105, 1394742108, 1394742104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.534627199172974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:12:03.192494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_29_4695.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_32_2882.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_36_2654.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_40_3644.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_45_5209.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_46_1521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_29_4695.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_32_2882.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_36_2654.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_40_3644.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_45_5209.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_46_1521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742112","1394742114","1394742111","1394742113","1394742116","1394742110"],"photo_ids_order":["1394742110","1394742111","1394742112","1394742113","1394742114","1394742116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bee92ec2c6a3c87f486879a64a14ff2e.jpg","text":"TemporaryFile(/tmp/multipartBody5249180213568423516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295183865,"filename":"image_16112025_10_44_36_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d9039f923c619b0b036bde952141f61.jpg","text":"TemporaryFile(/tmp/multipartBody9121838976052167465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295183865,"filename":"image_16112025_10_44_45_5209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f86c12a0b0e01b831107cad205674f9.jpg","text":"TemporaryFile(/tmp/multipartBody7435155102217882197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295183865,"filename":"image_16112025_10_44_32_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee7c6b9408a1ba6d2a7cbd17f8e3e3bd.jpg","text":"TemporaryFile(/tmp/multipartBody5789064665363317384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295183865,"filename":"image_16112025_10_44_40_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bd06d900b517f3f533e52b343ca6c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5171652494640469771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295183865,"filename":"image_16112025_10_44_46_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da3032673afc3917372bccb6d1f73298.jpg","text":"TemporaryFile(/tmp/multipartBody6602370561032321045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295183865,"filename":"image_16112025_10_44_29_4695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742112","file1":"1394742111","file0":"1394742110","file4":"1394742114","file5":"1394742116","file3":"1394742113"},"map_files_photo_id_array":[{"photo_id":"1394742116","filename":"file5"},{"photo_id":"1394742112","filename":"file2"},{"photo_id":"1394742114","filename":"file4"},{"photo_id":"1394742111","filename":"file1"},{"photo_id":"1394742110","filename":"file0"},{"photo_id":"1394742113","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742112":["hashtag1","hashtag2"]},{"1394742114":["hashtag1","hashtag2"]},{"1394742111":["hashtag1","hashtag2"]},{"1394742113":["hashtag1","hashtag2"]},{"1394742116":["hashtag1","hashtag2"]},{"1394742110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742112, 1394742114, 1394742111, 1394742113, 1394742116, 1394742110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38856387138367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:12:42.752771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_48_1625.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_53_4607.jpg', '/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_54_1671.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_07_3011.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_17_3751.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_19_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_48_1625.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_53_4607.jpg
/home/pi/Desktop/images/16112025/10/44/image_16112025_10_44_54_1671.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_07_3011.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_17_3751.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_19_2510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742120","1394742123","1394742117","1394742119","1394742122","1394742121"],"photo_ids_order":["1394742117","1394742119","1394742120","1394742121","1394742122","1394742123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11ca88661c9ec6f1a370ae491406d5a4.jpg","text":"TemporaryFile(/tmp/multipartBody2525275876767799685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295223416,"filename":"image_16112025_10_44_54_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb1c9dd23311581c4ba8a7a7bafb114b.jpg","text":"TemporaryFile(/tmp/multipartBody794000255660171711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295223416,"filename":"image_16112025_10_46_19_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2661ac9072a1a8ecbdb9868007d8bd73.jpg","text":"TemporaryFile(/tmp/multipartBody6574067939565890560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295223416,"filename":"image_16112025_10_44_48_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67f0ab814e22636f7a70ef2eb0f06755.jpg","text":"TemporaryFile(/tmp/multipartBody8700306252192982983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295223416,"filename":"image_16112025_10_44_53_4607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ddbb9b40953665bfe5fc4ed9795a007.jpg","text":"TemporaryFile(/tmp/multipartBody7170406544204686509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295223416,"filename":"image_16112025_10_46_17_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/452fa5ab52d9d6534833a86b391e78f5.jpg","text":"TemporaryFile(/tmp/multipartBody4882648168752429944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295223416,"filename":"image_16112025_10_46_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742120","file1":"1394742119","file0":"1394742117","file4":"1394742122","file5":"1394742123","file3":"1394742121"},"map_files_photo_id_array":[{"photo_id":"1394742123","filename":"file5"},{"photo_id":"1394742120","filename":"file2"},{"photo_id":"1394742122","filename":"file4"},{"photo_id":"1394742119","filename":"file1"},{"photo_id":"1394742117","filename":"file0"},{"photo_id":"1394742121","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742120":["hashtag1","hashtag2"]},{"1394742123":["hashtag1","hashtag2"]},{"1394742117":["hashtag1","hashtag2"]},{"1394742119":["hashtag1","hashtag2"]},{"1394742122":["hashtag1","hashtag2"]},{"1394742121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742120, 1394742123, 1394742117, 1394742119, 1394742122, 1394742121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47219896316528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:13:21.925664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_25_2597.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_28_2602.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_34_2775.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_37_2562.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_41_3685.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_43_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_25_2597.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_28_2602.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_34_2775.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_37_2562.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_41_3685.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_43_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742130","1394742133","1394742132","1394742135","1394742126","1394742128"],"photo_ids_order":["1394742126","1394742128","1394742130","1394742132","1394742133","1394742135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a3866b31c42aeafd42b8fb83fedb883.jpg","text":"TemporaryFile(/tmp/multipartBody6137276849200390145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295262562,"filename":"image_16112025_10_46_34_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49b5050de4c6ba8f0d15ceb1b4d5edcf.jpg","text":"TemporaryFile(/tmp/multipartBody9041991349802325835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295262562,"filename":"image_16112025_10_46_41_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1fab130ed8d8ce89bec8b12d0da8db2e.jpg","text":"TemporaryFile(/tmp/multipartBody9077956738203113525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295262562,"filename":"image_16112025_10_46_37_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09fff3a9a000dce5ee0840502ec5c5bb.jpg","text":"TemporaryFile(/tmp/multipartBody6623156136546378152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295262562,"filename":"image_16112025_10_46_43_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab2b6e06fb717722ea5aa13831ed5974.jpg","text":"TemporaryFile(/tmp/multipartBody7077283843221017466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295262562,"filename":"image_16112025_10_46_25_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75f411356ec2e41eab6586b908a3b75a.jpg","text":"TemporaryFile(/tmp/multipartBody1679022977575989845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295262562,"filename":"image_16112025_10_46_28_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742130","file1":"1394742128","file0":"1394742126","file4":"1394742133","file5":"1394742135","file3":"1394742132"},"map_files_photo_id_array":[{"photo_id":"1394742135","filename":"file5"},{"photo_id":"1394742130","filename":"file2"},{"photo_id":"1394742133","filename":"file4"},{"photo_id":"1394742128","filename":"file1"},{"photo_id":"1394742126","filename":"file0"},{"photo_id":"1394742132","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742130":["hashtag1","hashtag2"]},{"1394742133":["hashtag1","hashtag2"]},{"1394742132":["hashtag1","hashtag2"]},{"1394742135":["hashtag1","hashtag2"]},{"1394742126":["hashtag1","hashtag2"]},{"1394742128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742130, 1394742133, 1394742132, 1394742135, 1394742126, 1394742128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30771255493164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:14:02.904421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_46_2694.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_50_3626.jpg', '/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_52_2592.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_07_3011.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_11_3533.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_13_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_46_2694.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_50_3626.jpg
/home/pi/Desktop/images/16112025/10/46/image_16112025_10_46_52_2592.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_07_3011.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_11_3533.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_13_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742139","1394742138","1394742143","1394742137","1394742140","1394742142"],"photo_ids_order":["1394742137","1394742138","1394742139","1394742140","1394742142","1394742143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a8747986c8f76935a07ba566df043a5.jpg","text":"TemporaryFile(/tmp/multipartBody1257516193293479512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295303609,"filename":"image_16112025_10_46_52_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c8c872cd15735ec9347f4baca2627fa.jpg","text":"TemporaryFile(/tmp/multipartBody8782577127071130651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295303609,"filename":"image_16112025_10_46_50_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e30ea1e6fe7610b0a613ad91910fa229.jpg","text":"TemporaryFile(/tmp/multipartBody6115528639743227715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295303609,"filename":"image_16112025_10_48_13_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f412dbc71ebafe30b673eb1619dc47ad.jpg","text":"TemporaryFile(/tmp/multipartBody747404238894847411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295303609,"filename":"image_16112025_10_46_46_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73f487e06336d0411b117f349f7a42ba.jpg","text":"TemporaryFile(/tmp/multipartBody3353802453100362780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295303609,"filename":"image_16112025_10_48_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/11/16/d3de70cd7a23007c4642892975e4a18a.jpg","text":"TemporaryFile(/tmp/multipartBody3459436851659315147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295303609,"filename":"image_16112025_10_48_11_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742139","file1":"1394742138","file0":"1394742137","file4":"1394742142","file5":"1394742143","file3":"1394742140"},"map_files_photo_id_array":[{"photo_id":"1394742143","filename":"file5"},{"photo_id":"1394742139","filename":"file2"},{"photo_id":"1394742142","filename":"file4"},{"photo_id":"1394742138","filename":"file1"},{"photo_id":"1394742137","filename":"file0"},{"photo_id":"1394742140","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742139":["hashtag1","hashtag2"]},{"1394742138":["hashtag1","hashtag2"]},{"1394742143":["hashtag1","hashtag2"]},{"1394742137":["hashtag1","hashtag2"]},{"1394742140":["hashtag1","hashtag2"]},{"1394742142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742139, 1394742138, 1394742143, 1394742137, 1394742140, 1394742142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83798122406006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:14:42.230505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_17_3712.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_20_2592.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_22_2548.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_26_3627.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_29_2602.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_31_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_17_3712.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_20_2592.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_22_2548.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_26_3627.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_29_2602.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_31_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742145","1394742150","1394742153","1394742155","1394742152","1394742148"],"photo_ids_order":["1394742145","1394742148","1394742150","1394742152","1394742153","1394742155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbb15a8fa9b93d219646263d897ea85d.jpg","text":"TemporaryFile(/tmp/multipartBody6722801459280968200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295342903,"filename":"image_16112025_10_48_17_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c478b3335681b5e348c29a206b88fad1.jpg","text":"TemporaryFile(/tmp/multipartBody4937766537818575279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295342903,"filename":"image_16112025_10_48_22_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/498111af1866c92be49858711e4aa1ab.jpg","text":"TemporaryFile(/tmp/multipartBody3710789340747307258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295342903,"filename":"image_16112025_10_48_29_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8c87220c7f5d10cefce1420fb01e83d.jpg","text":"TemporaryFile(/tmp/multipartBody5097201914363885822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295342903,"filename":"image_16112025_10_48_31_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2536a13ebe863dc4b916735ecbee9fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7412539875013187001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295342903,"filename":"image_16112025_10_48_26_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f069fcf19167b28e3ae4b2adac295d9.jpg","text":"TemporaryFile(/tmp/multipartBody6543478583840343810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295342903,"filename":"image_16112025_10_48_20_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742150","file1":"1394742148","file0":"1394742145","file4":"1394742153","file5":"1394742155","file3":"1394742152"},"map_files_photo_id_array":[{"photo_id":"1394742155","filename":"file5"},{"photo_id":"1394742150","filename":"file2"},{"photo_id":"1394742153","filename":"file4"},{"photo_id":"1394742148","filename":"file1"},{"photo_id":"1394742145","filename":"file0"},{"photo_id":"1394742152","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742145":["hashtag1","hashtag2"]},{"1394742150":["hashtag1","hashtag2"]},{"1394742153":["hashtag1","hashtag2"]},{"1394742155":["hashtag1","hashtag2"]},{"1394742152":["hashtag1","hashtag2"]},{"1394742148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742145, 1394742150, 1394742153, 1394742155, 1394742152, 1394742148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42137265205383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:15:22.514584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_35_3545.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_40_2562.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_44_3710.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_47_2601.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_50_3566.jpg', '/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_53_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_35_3545.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_40_2562.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_44_3710.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_47_2601.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_50_3566.jpg
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_53_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742171","1394742165","1394742168","1394742161","1394742167","1394742163"],"photo_ids_order":["1394742161","1394742163","1394742165","1394742167","1394742168","1394742171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/962a6a98b69aecb309e7999514df15af.jpg","text":"TemporaryFile(/tmp/multipartBody3368542991079427979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295383182,"filename":"image_16112025_10_48_53_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53a33633705af0fd683bba4c3cfa958b.jpg","text":"TemporaryFile(/tmp/multipartBody1148648008938318178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295383182,"filename":"image_16112025_10_48_44_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/885b1a645de2f7d2b63c2db7cffc4094.jpg","text":"TemporaryFile(/tmp/multipartBody8748860144041732136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295383182,"filename":"image_16112025_10_48_50_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9153d93e8681b5e3ef366a41fcfec3ea.jpg","text":"TemporaryFile(/tmp/multipartBody2690479338067944605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295383182,"filename":"image_16112025_10_48_35_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97ae23a78e5f798e057acb13b8f5b1a8.jpg","text":"TemporaryFile(/tmp/multipartBody5042215079005827918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295383182,"filename":"image_16112025_10_48_47_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fc479c7ea5b7c7d35b733c123ea9501.jpg","text":"TemporaryFile(/tmp/multipartBody671519410377258442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295383182,"filename":"image_16112025_10_48_40_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742165","file1":"1394742163","file0":"1394742161","file4":"1394742168","file5":"1394742171","file3":"1394742167"},"map_files_photo_id_array":[{"photo_id":"1394742171","filename":"file5"},{"photo_id":"1394742165","filename":"file2"},{"photo_id":"1394742168","filename":"file4"},{"photo_id":"1394742163","filename":"file1"},{"photo_id":"1394742161","filename":"file0"},{"photo_id":"1394742167","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742171":["hashtag1","hashtag2"]},{"1394742165":["hashtag1","hashtag2"]},{"1394742168":["hashtag1","hashtag2"]},{"1394742161":["hashtag1","hashtag2"]},{"1394742167":["hashtag1","hashtag2"]},{"1394742163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742171, 1394742165, 1394742168, 1394742161, 1394742167, 1394742163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84374666213989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:16:03.232850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_55_2631.jpg', '/home/pi/Desktop/images/16112025/10/49/image_16112025_10_49_02_2820.jpg', '/home/pi/Desktop/images/16112025/10/49/image_16112025_10_49_04_2661.jpg', '/home/pi/Desktop/images/16112025/10/49/image_16112025_10_49_08_3576.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_07_3011.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_10_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/48/image_16112025_10_48_55_2631.jpg
/home/pi/Desktop/images/16112025/10/49/image_16112025_10_49_02_2820.jpg
/home/pi/Desktop/images/16112025/10/49/image_16112025_10_49_04_2661.jpg
/home/pi/Desktop/images/16112025/10/49/image_16112025_10_49_08_3576.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_07_3011.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_10_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742183","1394742186","1394742189","1394742182","1394742179","1394742181"],"photo_ids_order":["1394742179","1394742181","1394742182","1394742183","1394742186","1394742189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d020fca95379e4aa65d97f88434c6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2329795114355082583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295423906,"filename":"image_16112025_10_49_08_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22638eb495903aa42361f2505ffe16ea.jpg","text":"TemporaryFile(/tmp/multipartBody2851077835079880793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295423906,"filename":"image_16112025_10_51_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/11/16/b04a17b6cec94bf7020388be9bd6cf03.jpg","text":"TemporaryFile(/tmp/multipartBody2579730774787988514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295423906,"filename":"image_16112025_10_51_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/11/16/3ae4016e73a7451613aedd1866c92a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4175599230979061955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295423906,"filename":"image_16112025_10_49_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/11/16/3ca12547d8de73e0f91ab8d1084f9ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4992218130445462527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295423906,"filename":"image_16112025_10_48_55_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fcdcd9f22897c49ad8ca35023c09035.jpg","text":"TemporaryFile(/tmp/multipartBody4619932616936828623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295423906,"filename":"image_16112025_10_49_02_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742182","file1":"1394742181","file0":"1394742179","file4":"1394742186","file5":"1394742189","file3":"1394742183"},"map_files_photo_id_array":[{"photo_id":"1394742189","filename":"file5"},{"photo_id":"1394742182","filename":"file2"},{"photo_id":"1394742186","filename":"file4"},{"photo_id":"1394742181","filename":"file1"},{"photo_id":"1394742179","filename":"file0"},{"photo_id":"1394742183","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742183":["hashtag1","hashtag2"]},{"1394742186":["hashtag1","hashtag2"]},{"1394742189":["hashtag1","hashtag2"]},{"1394742182":["hashtag1","hashtag2"]},{"1394742179":["hashtag1","hashtag2"]},{"1394742181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742183, 1394742186, 1394742189, 1394742182, 1394742179, 1394742181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.102678060531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:16:42.774485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_13_2679.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_16_3568.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_19_2612.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_22_2525.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_25_3721.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_28_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_13_2679.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_16_3568.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_19_2612.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_22_2525.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_25_3721.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_28_2669.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.6579294204711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:17:02.549975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_13_2679.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_16_3568.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_19_2612.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_22_2525.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_25_3721.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_28_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_13_2679.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_16_3568.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_19_2612.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_22_2525.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_25_3721.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_28_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742202","1394742205","1394742201","1394742200","1394742199","1394742203"],"photo_ids_order":["1394742199","1394742200","1394742201","1394742202","1394742203","1394742205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdb726a9fa25aba68f4057b8994cb36d.jpg","text":"TemporaryFile(/tmp/multipartBody1928901976291448464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295483269,"filename":"image_16112025_10_51_22_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bcdb70e36ad4f17fa2543770d1765f2.jpg","text":"TemporaryFile(/tmp/multipartBody2197701620721020711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295483269,"filename":"image_16112025_10_51_28_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea9d00c45cc9f3049b9aeafd725ec1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2695762170019541691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295483269,"filename":"image_16112025_10_51_19_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ed98f1df04fc3c5b7bfc459bc68c795.jpg","text":"TemporaryFile(/tmp/multipartBody8213467049841054566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295483269,"filename":"image_16112025_10_51_16_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ce2812e90ace683d05d948aa356c8df.jpg","text":"TemporaryFile(/tmp/multipartBody7417037280875324992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295483269,"filename":"image_16112025_10_51_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/11/16/7578fc56002ad830f8d8a6e4d62f4e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3041767931316451935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295483269,"filename":"image_16112025_10_51_25_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742201","file1":"1394742200","file0":"1394742199","file4":"1394742203","file5":"1394742205","file3":"1394742202"},"map_files_photo_id_array":[{"photo_id":"1394742205","filename":"file5"},{"photo_id":"1394742201","filename":"file2"},{"photo_id":"1394742203","filename":"file4"},{"photo_id":"1394742200","filename":"file1"},{"photo_id":"1394742199","filename":"file0"},{"photo_id":"1394742202","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742202":["hashtag1","hashtag2"]},{"1394742205":["hashtag1","hashtag2"]},{"1394742201":["hashtag1","hashtag2"]},{"1394742200":["hashtag1","hashtag2"]},{"1394742199":["hashtag1","hashtag2"]},{"1394742203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742202, 1394742205, 1394742201, 1394742200, 1394742199, 1394742203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45646286010742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:17:41.948688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_34_3558.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_37_2537.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_40_3712.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_49_3574.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_52_2651.jpg', '/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_54_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_34_3558.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_37_2537.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_40_3712.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_49_3574.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_52_2651.jpg
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_54_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742211","1394742213","1394742210","1394742207","1394742212","1394742209"],"photo_ids_order":["1394742207","1394742209","1394742210","1394742211","1394742212","1394742213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10e83b15bb4d9dc851846f3425aa87b8.jpg","text":"TemporaryFile(/tmp/multipartBody8466391346585657165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295522576,"filename":"image_16112025_10_51_49_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f8007f766509dfcc92193dfb61b2fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5046431076888309015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295522576,"filename":"image_16112025_10_51_54_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b1589d7fcee866f5248df9dc19aff0a.jpg","text":"TemporaryFile(/tmp/multipartBody607998719843059733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295522576,"filename":"image_16112025_10_51_40_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a93c8e9547a478487bc0cc7e8e5febae.jpg","text":"TemporaryFile(/tmp/multipartBody4783809491299204782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295522576,"filename":"image_16112025_10_51_34_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f06f9031071924d903b003b5f641330f.jpg","text":"TemporaryFile(/tmp/multipartBody4060425207823566953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295522576,"filename":"image_16112025_10_51_52_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59074ca06ccf3b5f8de1166a49ab2dbf.jpg","text":"TemporaryFile(/tmp/multipartBody5008694646958950188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295522576,"filename":"image_16112025_10_51_37_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742210","file1":"1394742209","file0":"1394742207","file4":"1394742212","file5":"1394742213","file3":"1394742211"},"map_files_photo_id_array":[{"photo_id":"1394742213","filename":"file5"},{"photo_id":"1394742210","filename":"file2"},{"photo_id":"1394742212","filename":"file4"},{"photo_id":"1394742209","filename":"file1"},{"photo_id":"1394742207","filename":"file0"},{"photo_id":"1394742211","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742211":["hashtag1","hashtag2"]},{"1394742213":["hashtag1","hashtag2"]},{"1394742210":["hashtag1","hashtag2"]},{"1394742207":["hashtag1","hashtag2"]},{"1394742212":["hashtag1","hashtag2"]},{"1394742209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742211, 1394742213, 1394742210, 1394742207, 1394742212, 1394742209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51230835914612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:18:22.139355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_58_3675.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_01_2671.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_03_2619.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_07_3616.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_10_2604.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_13_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/51/image_16112025_10_51_58_3675.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_01_2671.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_03_2619.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_07_3616.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_10_2604.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_13_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742223","1394742222","1394742224","1394742218","1394742221","1394742220"],"photo_ids_order":["1394742218","1394742220","1394742221","1394742222","1394742223","1394742224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e869b053b002f69c2d7f89fe5314bafd.jpg","text":"TemporaryFile(/tmp/multipartBody5735441951375444463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295562758,"filename":"image_16112025_10_52_10_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23a7c5445a13ec78910329cc316230ab.jpg","text":"TemporaryFile(/tmp/multipartBody742805213578372581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295562758,"filename":"image_16112025_10_52_07_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21fd93fc993bc33f3157aaab1829c844.jpg","text":"TemporaryFile(/tmp/multipartBody511680427800666717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295562758,"filename":"image_16112025_10_52_13_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19344240092a8fedc843a75b1c840213.jpg","text":"TemporaryFile(/tmp/multipartBody7410716594143947130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295562758,"filename":"image_16112025_10_51_58_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3aa10a10420796964ae443e7185dcec1.jpg","text":"TemporaryFile(/tmp/multipartBody4051388295467509994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295562758,"filename":"image_16112025_10_52_03_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6259b50e27480c5ecffb77069369fc46.jpg","text":"TemporaryFile(/tmp/multipartBody8434380212936027778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295562758,"filename":"image_16112025_10_52_01_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742221","file1":"1394742220","file0":"1394742218","file4":"1394742223","file5":"1394742224","file3":"1394742222"},"map_files_photo_id_array":[{"photo_id":"1394742224","filename":"file5"},{"photo_id":"1394742221","filename":"file2"},{"photo_id":"1394742223","filename":"file4"},{"photo_id":"1394742220","filename":"file1"},{"photo_id":"1394742218","filename":"file0"},{"photo_id":"1394742222","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742223":["hashtag1","hashtag2"]},{"1394742222":["hashtag1","hashtag2"]},{"1394742224":["hashtag1","hashtag2"]},{"1394742218":["hashtag1","hashtag2"]},{"1394742221":["hashtag1","hashtag2"]},{"1394742220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742223, 1394742222, 1394742224, 1394742218, 1394742221, 1394742220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.583003282547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:19:03.169809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_16_2821.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_19_2761.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_22_2674.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_25_3659.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_28_2520.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_30_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_16_2821.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_19_2761.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_22_2674.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_25_3659.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_28_2520.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_30_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742226","1394742231","1394742234","1394742228","1394742227","1394742229"],"photo_ids_order":["1394742226","1394742227","1394742228","1394742229","1394742231","1394742234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4555d586da41353dee239d739c39bd7f.jpg","text":"TemporaryFile(/tmp/multipartBody2330788296894783160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295604115,"filename":"image_16112025_10_52_16_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9399b26dcff138f306c9b96c1b2f3895.jpg","text":"TemporaryFile(/tmp/multipartBody9040275686356755542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295604115,"filename":"image_16112025_10_52_28_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8346598280f2724bfc81c74e6d313a08.jpg","text":"TemporaryFile(/tmp/multipartBody5026223355157276261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295604115,"filename":"image_16112025_10_52_30_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/737104d2b33111787f6bea12d2c9cc64.jpg","text":"TemporaryFile(/tmp/multipartBody6721589079602975330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295604115,"filename":"image_16112025_10_52_22_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcd7f0751286dda3f761ce259a959c57.jpg","text":"TemporaryFile(/tmp/multipartBody1900900264629169743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295604115,"filename":"image_16112025_10_52_19_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd7a1c9f21213492ae63b6bd1078a869.jpg","text":"TemporaryFile(/tmp/multipartBody7843186510684962257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295604115,"filename":"image_16112025_10_52_25_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742228","file1":"1394742227","file0":"1394742226","file4":"1394742231","file5":"1394742234","file3":"1394742229"},"map_files_photo_id_array":[{"photo_id":"1394742234","filename":"file5"},{"photo_id":"1394742228","filename":"file2"},{"photo_id":"1394742231","filename":"file4"},{"photo_id":"1394742227","filename":"file1"},{"photo_id":"1394742226","filename":"file0"},{"photo_id":"1394742229","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742226":["hashtag1","hashtag2"]},{"1394742231":["hashtag1","hashtag2"]},{"1394742234":["hashtag1","hashtag2"]},{"1394742228":["hashtag1","hashtag2"]},{"1394742227":["hashtag1","hashtag2"]},{"1394742229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742226, 1394742231, 1394742234, 1394742228, 1394742227, 1394742229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00734496116638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:19:42.419412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_34_3801.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_37_2640.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_39_2599.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_43_3735.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_46_2643.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_48_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_34_3801.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_37_2640.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_39_2599.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_43_3735.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_46_2643.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_48_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742250","1394742249","1394742242","1394742245","1394742248","1394742247"],"photo_ids_order":["1394742242","1394742245","1394742247","1394742248","1394742249","1394742250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6246c146efcf515dcfc8254e65fc7287.jpg","text":"TemporaryFile(/tmp/multipartBody257816807173545706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295643091,"filename":"image_16112025_10_52_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/11/16/644862098d0c35ac65f2207e9c64140a.jpg","text":"TemporaryFile(/tmp/multipartBody6956537214505881035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295643091,"filename":"image_16112025_10_52_46_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/828890f02effa590c9be34c06d84cb66.jpg","text":"TemporaryFile(/tmp/multipartBody2692871930482556314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295643091,"filename":"image_16112025_10_52_34_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3ef494770a090644f5dc699c380bfbd.jpg","text":"TemporaryFile(/tmp/multipartBody4219406117535494057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295643091,"filename":"image_16112025_10_52_37_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/130aed85e9d14765cf5e15fc585f1986.jpg","text":"TemporaryFile(/tmp/multipartBody7844014407779704539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295643091,"filename":"image_16112025_10_52_43_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44a9a84fe7ead0b97b8b1f6446d0b400.jpg","text":"TemporaryFile(/tmp/multipartBody8649813566765393154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295643091,"filename":"image_16112025_10_52_39_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742247","file1":"1394742245","file0":"1394742242","file4":"1394742249","file5":"1394742250","file3":"1394742248"},"map_files_photo_id_array":[{"photo_id":"1394742250","filename":"file5"},{"photo_id":"1394742247","filename":"file2"},{"photo_id":"1394742249","filename":"file4"},{"photo_id":"1394742245","filename":"file1"},{"photo_id":"1394742242","filename":"file0"},{"photo_id":"1394742248","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742250":["hashtag1","hashtag2"]},{"1394742249":["hashtag1","hashtag2"]},{"1394742242":["hashtag1","hashtag2"]},{"1394742245":["hashtag1","hashtag2"]},{"1394742248":["hashtag1","hashtag2"]},{"1394742247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742250, 1394742249, 1394742242, 1394742245, 1394742248, 1394742247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37717866897583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:20:22.695098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_55_2646.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_57_2613.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_53_01_3724.jpg', '/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_04_2621.jpg', '/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_06_2660.jpg', '/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_10_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_55_2646.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_57_2613.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_53_01_3724.jpg
/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_04_2621.jpg
/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_06_2660.jpg
/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_10_3632.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.5871391296386719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:20:42.652037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_55_2646.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_57_2613.jpg', '/home/pi/Desktop/images/16112025/10/52/image_16112025_10_53_01_3724.jpg', '/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_04_2621.jpg', '/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_06_2660.jpg', '/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_10_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_55_2646.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_52_57_2613.jpg
/home/pi/Desktop/images/16112025/10/52/image_16112025_10_53_01_3724.jpg
/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_04_2621.jpg
/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_06_2660.jpg
/home/pi/Desktop/images/16112025/10/53/image_16112025_10_53_10_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742270","1394742269","1394742263","1394742266","1394742271","1394742268"],"photo_ids_order":["1394742263","1394742266","1394742268","1394742269","1394742270","1394742271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/370c92fc90092cd43dd03358ae957adc.jpg","text":"TemporaryFile(/tmp/multipartBody7635798822864185668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295703296,"filename":"image_16112025_10_53_06_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8363409dceb432886a06e69f4799083.jpg","text":"TemporaryFile(/tmp/multipartBody7519952091640347868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295703296,"filename":"image_16112025_10_53_04_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8268c5207418096673e517db160a66bb.jpg","text":"TemporaryFile(/tmp/multipartBody4032120855835262066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295703296,"filename":"image_16112025_10_52_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/11/16/a53d20ba329f7ffa0df756f247174f73.jpg","text":"TemporaryFile(/tmp/multipartBody4933651519253865590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295703296,"filename":"image_16112025_10_52_57_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a419871ebecdb7927866d7d2181db6c9.jpg","text":"TemporaryFile(/tmp/multipartBody2702183339292789634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295703296,"filename":"image_16112025_10_53_10_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fee622549ce0bc9b468f50cf2c5e18c.jpg","text":"TemporaryFile(/tmp/multipartBody3196148023714832271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295703296,"filename":"image_16112025_10_53_01_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742268","file1":"1394742266","file0":"1394742263","file4":"1394742270","file5":"1394742271","file3":"1394742269"},"map_files_photo_id_array":[{"photo_id":"1394742271","filename":"file5"},{"photo_id":"1394742268","filename":"file2"},{"photo_id":"1394742270","filename":"file4"},{"photo_id":"1394742266","filename":"file1"},{"photo_id":"1394742263","filename":"file0"},{"photo_id":"1394742269","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742270":["hashtag1","hashtag2"]},{"1394742269":["hashtag1","hashtag2"]},{"1394742263":["hashtag1","hashtag2"]},{"1394742266":["hashtag1","hashtag2"]},{"1394742271":["hashtag1","hashtag2"]},{"1394742268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742270, 1394742269, 1394742263, 1394742266, 1394742271, 1394742268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44989061355591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:21:21.829059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_07_3016.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_10_3832.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_13_2612.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_16_2578.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_19_3524.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_22_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_07_3016.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_10_3832.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_13_2612.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_16_2578.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_19_3524.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_22_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742276","1394742279","1394742272","1394742281","1394742280","1394742274"],"photo_ids_order":["1394742272","1394742274","1394742276","1394742279","1394742280","1394742281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ef1c5c2eeeac54365724e9a9c1c71c8.jpg","text":"TemporaryFile(/tmp/multipartBody7552295265569221990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295742447,"filename":"image_16112025_10_54_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/11/16/8a789d8c9adf6472ec6769b91dc7a1a6.jpg","text":"TemporaryFile(/tmp/multipartBody4127029611645024861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295742447,"filename":"image_16112025_10_54_16_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f731b75475b739da91918a96bbe560e.jpg","text":"TemporaryFile(/tmp/multipartBody4389677084835776519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295742447,"filename":"image_16112025_10_54_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6ac189ad08052aa6dea59e158293ba4.jpg","text":"TemporaryFile(/tmp/multipartBody7184885738271601125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295742447,"filename":"image_16112025_10_54_22_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d3316c7cec4d7a1afa353d354d515be.jpg","text":"TemporaryFile(/tmp/multipartBody1880733786933446057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295742447,"filename":"image_16112025_10_54_19_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd6a6b1cc0264447316c16e860ce4c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3227207147191317272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295742447,"filename":"image_16112025_10_54_10_3832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742276","file1":"1394742274","file0":"1394742272","file4":"1394742280","file5":"1394742281","file3":"1394742279"},"map_files_photo_id_array":[{"photo_id":"1394742281","filename":"file5"},{"photo_id":"1394742276","filename":"file2"},{"photo_id":"1394742280","filename":"file4"},{"photo_id":"1394742274","filename":"file1"},{"photo_id":"1394742272","filename":"file0"},{"photo_id":"1394742279","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742276":["hashtag1","hashtag2"]},{"1394742279":["hashtag1","hashtag2"]},{"1394742272":["hashtag1","hashtag2"]},{"1394742281":["hashtag1","hashtag2"]},{"1394742280":["hashtag1","hashtag2"]},{"1394742274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742276, 1394742279, 1394742272, 1394742281, 1394742280, 1394742274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68857002258301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:22:02.554514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_25_3565.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_28_2680.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_31_2619.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_34_3562.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_40_2876.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_43_2873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_25_3565.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_28_2680.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_31_2619.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_34_3562.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_40_2876.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_43_2873.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742294","1394742288","1394742291","1394742283","1394742286","1394742289"],"photo_ids_order":["1394742283","1394742286","1394742288","1394742289","1394742291","1394742294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd9810666d5e96b414dbb9a69db3b94b.jpg","text":"TemporaryFile(/tmp/multipartBody6391013511491676693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295783250,"filename":"image_16112025_10_54_43_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efd2c0cd143139b1c282c0cc6b8b0c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5023556885395750292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295783250,"filename":"image_16112025_10_54_31_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6def73ecab6fa9750960959c8ef3e89a.jpg","text":"TemporaryFile(/tmp/multipartBody4803774161106084803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295783250,"filename":"image_16112025_10_54_40_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1350118a6802d4ad945d5eaf6764009f.jpg","text":"TemporaryFile(/tmp/multipartBody1177838480189063648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295783250,"filename":"image_16112025_10_54_25_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/475262495a8d56848b54c5ea98ebb2b7.jpg","text":"TemporaryFile(/tmp/multipartBody5459316423552311477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295783250,"filename":"image_16112025_10_54_28_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3a65d4d435fc3efd62863724531e762.jpg","text":"TemporaryFile(/tmp/multipartBody4422701825776964393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295783250,"filename":"image_16112025_10_54_34_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742288","file1":"1394742286","file0":"1394742283","file4":"1394742291","file5":"1394742294","file3":"1394742289"},"map_files_photo_id_array":[{"photo_id":"1394742294","filename":"file5"},{"photo_id":"1394742288","filename":"file2"},{"photo_id":"1394742291","filename":"file4"},{"photo_id":"1394742286","filename":"file1"},{"photo_id":"1394742283","filename":"file0"},{"photo_id":"1394742289","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742294":["hashtag1","hashtag2"]},{"1394742288":["hashtag1","hashtag2"]},{"1394742291":["hashtag1","hashtag2"]},{"1394742283":["hashtag1","hashtag2"]},{"1394742286":["hashtag1","hashtag2"]},{"1394742289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742294, 1394742288, 1394742291, 1394742283, 1394742286, 1394742289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16771936416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:22:42.006053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_46_3006.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_52_2986.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_55_2631.jpg', '/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_58_3579.jpg', '/home/pi/Desktop/images/16112025/10/55/image_16112025_10_55_07_3013.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_46_3006.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_52_2986.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_55_2631.jpg
/home/pi/Desktop/images/16112025/10/54/image_16112025_10_54_58_3579.jpg
/home/pi/Desktop/images/16112025/10/55/image_16112025_10_55_07_3013.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_07_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742304","1394742299","1394742303","1394742306","1394742308","1394742302"],"photo_ids_order":["1394742299","1394742302","1394742303","1394742304","1394742306","1394742308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a218b30d58ff5000e8e47d8fc57c5732.jpg","text":"TemporaryFile(/tmp/multipartBody5958151723251279838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295822688,"filename":"image_16112025_10_54_58_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a60bad1c5d009f306a0e0f70f33162f2.jpg","text":"TemporaryFile(/tmp/multipartBody6754174859866437753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295822688,"filename":"image_16112025_10_54_46_3006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90ede30ee5d6e84713aacdf26c56138e.jpg","text":"TemporaryFile(/tmp/multipartBody682502429131976124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295822688,"filename":"image_16112025_10_54_55_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80f059003745332188436df01c9b2268.jpg","text":"TemporaryFile(/tmp/multipartBody8965683387445503742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295822688,"filename":"image_16112025_10_55_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/11/16/24ec5abf0eeb8747336dca6669823d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7725839274429986192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295822688,"filename":"image_16112025_10_56_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/11/16/b0908e38aebb93ef60b343157a138a30.jpg","text":"TemporaryFile(/tmp/multipartBody3165474436517100721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295822688,"filename":"image_16112025_10_54_52_2986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742303","file1":"1394742302","file0":"1394742299","file4":"1394742306","file5":"1394742308","file3":"1394742304"},"map_files_photo_id_array":[{"photo_id":"1394742308","filename":"file5"},{"photo_id":"1394742303","filename":"file2"},{"photo_id":"1394742306","filename":"file4"},{"photo_id":"1394742302","filename":"file1"},{"photo_id":"1394742299","filename":"file0"},{"photo_id":"1394742304","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742304":["hashtag1","hashtag2"]},{"1394742299":["hashtag1","hashtag2"]},{"1394742303":["hashtag1","hashtag2"]},{"1394742306":["hashtag1","hashtag2"]},{"1394742308":["hashtag1","hashtag2"]},{"1394742302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742304, 1394742299, 1394742303, 1394742306, 1394742308, 1394742302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.960283279418945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:23:22.242599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_11_3628.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_13_2571.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_17_3645.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_20_2617.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_22_2639.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_26_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_11_3628.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_13_2571.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_17_3645.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_20_2617.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_22_2639.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_26_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742316","1394742313","1394742315","1394742318","1394742317","1394742320"],"photo_ids_order":["1394742313","1394742315","1394742316","1394742317","1394742318","1394742320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fb53af752c0044a323ee54757bdc306.jpg","text":"TemporaryFile(/tmp/multipartBody8710726080116203322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295862888,"filename":"image_16112025_10_56_17_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/daeadc18de91163bda08c26256ea655f.jpg","text":"TemporaryFile(/tmp/multipartBody1632662318666316092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295862888,"filename":"image_16112025_10_56_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/11/16/bd47d70332b8eeb778fde87bdb3f25ce.jpg","text":"TemporaryFile(/tmp/multipartBody9002703761313051461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295862888,"filename":"image_16112025_10_56_13_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f07af8a9ca0f02f6e4cccfb2cb97f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2968687121906487588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295862888,"filename":"image_16112025_10_56_22_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/592764edda9e91424d9afacc29caf99c.jpg","text":"TemporaryFile(/tmp/multipartBody7669834598017525784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295862888,"filename":"image_16112025_10_56_20_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/752cfc677016ddb11fba3318181ff459.jpg","text":"TemporaryFile(/tmp/multipartBody5254156066467922580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295862888,"filename":"image_16112025_10_56_26_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742316","file1":"1394742315","file0":"1394742313","file4":"1394742318","file5":"1394742320","file3":"1394742317"},"map_files_photo_id_array":[{"photo_id":"1394742320","filename":"file5"},{"photo_id":"1394742316","filename":"file2"},{"photo_id":"1394742318","filename":"file4"},{"photo_id":"1394742315","filename":"file1"},{"photo_id":"1394742313","filename":"file0"},{"photo_id":"1394742317","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742316":["hashtag1","hashtag2"]},{"1394742313":["hashtag1","hashtag2"]},{"1394742315":["hashtag1","hashtag2"]},{"1394742318":["hashtag1","hashtag2"]},{"1394742317":["hashtag1","hashtag2"]},{"1394742320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742316, 1394742313, 1394742315, 1394742318, 1394742317, 1394742320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02028846740723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:24:05.933265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_29_2784.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_31_2615.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_35_3656.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_38_2643.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_40_2644.jpg', '/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_47_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_29_2784.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_31_2615.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_35_3656.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_38_2643.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_40_2644.jpg
/home/pi/Desktop/images/16112025/10/56/image_16112025_10_56_47_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742322","1394742331","1394742324","1394742323","1394742326","1394742329"],"photo_ids_order":["1394742322","1394742323","1394742324","1394742326","1394742329","1394742331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/951c95e923c2c77b27692167e17bd065.jpg","text":"TemporaryFile(/tmp/multipartBody2230133937792754442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295908374,"filename":"image_16112025_10_56_29_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8792f09be7132001250709ca0c85e222.jpg","text":"TemporaryFile(/tmp/multipartBody8372963740575525843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295908374,"filename":"image_16112025_10_56_47_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d21bdeda3e2bd7a7b6559f5e1d0937d9.jpg","text":"TemporaryFile(/tmp/multipartBody1102955980212285358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295908374,"filename":"image_16112025_10_56_35_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e283b0b481b512df0b04f3a7baa3e6f.jpg","text":"TemporaryFile(/tmp/multipartBody1388762712243812925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295908374,"filename":"image_16112025_10_56_31_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23321cf13b95bccde865e026d67a797f.jpg","text":"TemporaryFile(/tmp/multipartBody7987512417144515032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295908374,"filename":"image_16112025_10_56_38_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5116f47bd839f077354a8694f1d4187.jpg","text":"TemporaryFile(/tmp/multipartBody1313068632974301076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295908374,"filename":"image_16112025_10_56_40_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742324","file1":"1394742323","file0":"1394742322","file4":"1394742329","file5":"1394742331","file3":"1394742326"},"map_files_photo_id_array":[{"photo_id":"1394742331","filename":"file5"},{"photo_id":"1394742324","filename":"file2"},{"photo_id":"1394742329","filename":"file4"},{"photo_id":"1394742323","filename":"file1"},{"photo_id":"1394742322","filename":"file0"},{"photo_id":"1394742326","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742322":["hashtag1","hashtag2"]},{"1394742331":["hashtag1","hashtag2"]},{"1394742324":["hashtag1","hashtag2"]},{"1394742323":["hashtag1","hashtag2"]},{"1394742326":["hashtag1","hashtag2"]},{"1394742329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742322, 1394742331, 1394742324, 1394742323, 1394742326, 1394742329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.309410095214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:24:45.358155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_07_3011.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_11_3706.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_13_2777.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_16_2864.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_20_3605.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_22_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_07_3011.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_11_3706.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_13_2777.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_16_2864.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_20_3605.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_22_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742337","1394742339","1394742336","1394742335","1394742338","1394742334"],"photo_ids_order":["1394742334","1394742335","1394742336","1394742337","1394742338","1394742339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1eaee7a2634b951364b418d4a8eddcda.jpg","text":"TemporaryFile(/tmp/multipartBody8107798874589251679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295945991,"filename":"image_16112025_10_58_16_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43a148fee4b0596f7cf438a1cc120233.jpg","text":"TemporaryFile(/tmp/multipartBody5108163789937000101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295945991,"filename":"image_16112025_10_58_22_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6b605e26d7914a6f1300fab51c4f2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1322110324534632023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295945991,"filename":"image_16112025_10_58_13_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/877a0bc0c67ead3c9be1f035247ad231.jpg","text":"TemporaryFile(/tmp/multipartBody7163226293865923767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295945991,"filename":"image_16112025_10_58_11_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d87bae493e3b4d10d186e5f84af9d76.jpg","text":"TemporaryFile(/tmp/multipartBody5118674572098486355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295945991,"filename":"image_16112025_10_58_20_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ee78f9056c7d366fda719394e5151ac.jpg","text":"TemporaryFile(/tmp/multipartBody1668538663986482399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295945991,"filename":"image_16112025_10_58_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742336","file1":"1394742335","file0":"1394742334","file4":"1394742338","file5":"1394742339","file3":"1394742337"},"map_files_photo_id_array":[{"photo_id":"1394742339","filename":"file5"},{"photo_id":"1394742336","filename":"file2"},{"photo_id":"1394742338","filename":"file4"},{"photo_id":"1394742335","filename":"file1"},{"photo_id":"1394742334","filename":"file0"},{"photo_id":"1394742337","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742337":["hashtag1","hashtag2"]},{"1394742339":["hashtag1","hashtag2"]},{"1394742336":["hashtag1","hashtag2"]},{"1394742335":["hashtag1","hashtag2"]},{"1394742338":["hashtag1","hashtag2"]},{"1394742334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742337, 1394742339, 1394742336, 1394742335, 1394742338, 1394742334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.380120038986206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:25:22.667967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_25_2682.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_29_3582.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_31_2614.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_34_2583.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_38_3706.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_40_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_25_2682.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_29_3582.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_31_2614.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_34_2583.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_38_3706.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_40_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742343","1394742345","1394742348","1394742342","1394742344","1394742346"],"photo_ids_order":["1394742342","1394742343","1394742344","1394742345","1394742346","1394742348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/959f92a151992e1fb2c35720fb0dbdfc.jpg","text":"TemporaryFile(/tmp/multipartBody461580378543104769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295983296,"filename":"image_16112025_10_58_29_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/226441bfef5977c35354f740bbd4ca71.jpg","text":"TemporaryFile(/tmp/multipartBody3821665379299416366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295983296,"filename":"image_16112025_10_58_34_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ede40a3316890ff23f3eda1ad05bfc59.jpg","text":"TemporaryFile(/tmp/multipartBody9207960320642641897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295983296,"filename":"image_16112025_10_58_40_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/725f5c9604de00d2376a0c37ba8fb25f.jpg","text":"TemporaryFile(/tmp/multipartBody7922820071151175766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295983296,"filename":"image_16112025_10_58_25_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/174da636ce5cf51884fbdda6e1259f4a.jpg","text":"TemporaryFile(/tmp/multipartBody3848321364360568490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295983296,"filename":"image_16112025_10_58_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/11/16/9d0b9f36afa0cd2c8a57075a41464b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2597220978699386960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763295983296,"filename":"image_16112025_10_58_38_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742344","file1":"1394742343","file0":"1394742342","file4":"1394742346","file5":"1394742348","file3":"1394742345"},"map_files_photo_id_array":[{"photo_id":"1394742348","filename":"file5"},{"photo_id":"1394742344","filename":"file2"},{"photo_id":"1394742346","filename":"file4"},{"photo_id":"1394742343","filename":"file1"},{"photo_id":"1394742342","filename":"file0"},{"photo_id":"1394742345","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742343":["hashtag1","hashtag2"]},{"1394742345":["hashtag1","hashtag2"]},{"1394742348":["hashtag1","hashtag2"]},{"1394742342":["hashtag1","hashtag2"]},{"1394742344":["hashtag1","hashtag2"]},{"1394742346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742343, 1394742345, 1394742348, 1394742342, 1394742344, 1394742346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77597117424011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:26:02.258511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_43_2554.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_47_3784.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_49_2673.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_52_2616.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_56_3621.jpg', '/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_58_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_43_2554.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_47_3784.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_49_2673.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_52_2616.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_56_3621.jpg
/home/pi/Desktop/images/16112025/10/58/image_16112025_10_58_58_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742351","1394742354","1394742362","1394742356","1394742359","1394742350"],"photo_ids_order":["1394742350","1394742351","1394742354","1394742356","1394742359","1394742362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/275f147e36cc204ad12f48fa3510c89a.jpg","text":"TemporaryFile(/tmp/multipartBody8530963734651336805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296022954,"filename":"image_16112025_10_58_47_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/288cc6ec51de14122a9aa9d708297ae4.jpg","text":"TemporaryFile(/tmp/multipartBody4416104140997674335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296022954,"filename":"image_16112025_10_58_49_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e0e27e8ae4d68576c6ffb9d488cd574.jpg","text":"TemporaryFile(/tmp/multipartBody4366746959508500093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296022954,"filename":"image_16112025_10_58_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/11/16/8e03fefc54a3fe83cb5754024e1605e9.jpg","text":"TemporaryFile(/tmp/multipartBody2901509214024571152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296022954,"filename":"image_16112025_10_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/11/16/afc7767b01a8bd5071daa3aaef839167.jpg","text":"TemporaryFile(/tmp/multipartBody3081753336726559169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296022954,"filename":"image_16112025_10_58_56_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aafe0655c6d3ee70476f105b6f9205a6.jpg","text":"TemporaryFile(/tmp/multipartBody2777630013833183154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296022954,"filename":"image_16112025_10_58_43_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742354","file1":"1394742351","file0":"1394742350","file4":"1394742359","file5":"1394742362","file3":"1394742356"},"map_files_photo_id_array":[{"photo_id":"1394742362","filename":"file5"},{"photo_id":"1394742354","filename":"file2"},{"photo_id":"1394742359","filename":"file4"},{"photo_id":"1394742351","filename":"file1"},{"photo_id":"1394742350","filename":"file0"},{"photo_id":"1394742356","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742351":["hashtag1","hashtag2"]},{"1394742354":["hashtag1","hashtag2"]},{"1394742362":["hashtag1","hashtag2"]},{"1394742356":["hashtag1","hashtag2"]},{"1394742359":["hashtag1","hashtag2"]},{"1394742350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742351, 1394742354, 1394742362, 1394742356, 1394742359, 1394742350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.386391162872314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:26:41.881715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/10/59/image_16112025_10_59_01_2751.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_10_3578.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_13_2677.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_17_3653.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_19_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/10/59/image_16112025_10_59_01_2751.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_07_3011.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_10_3578.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_13_2677.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_17_3653.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_19_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742372","1394742374","1394742368","1394742377","1394742370","1394742367"],"photo_ids_order":["1394742367","1394742368","1394742370","1394742372","1394742374","1394742377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ebc54aeccd69e0bca918f3d9db95f74.jpg","text":"TemporaryFile(/tmp/multipartBody8663676481913303133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296062567,"filename":"image_16112025_11_01_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/11/16/4b17bfe75472b1dd6069d43a761a33d2.jpg","text":"TemporaryFile(/tmp/multipartBody6147122956809642110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296062567,"filename":"image_16112025_11_01_17_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3d40d9da3a76166306712f5ef3a3769.jpg","text":"TemporaryFile(/tmp/multipartBody3510419860668555942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296062567,"filename":"image_16112025_11_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/11/16/c125dc33c203ba1ac50ca30836bb5245.jpg","text":"TemporaryFile(/tmp/multipartBody6352848428682294428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296062567,"filename":"image_16112025_11_01_19_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7abe14bf1f7929f24f6ef7d1af5e36ba.jpg","text":"TemporaryFile(/tmp/multipartBody5507665060165331066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296062567,"filename":"image_16112025_11_01_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/11/16/b0018833d87a53e1dd8e2c5d1f6efdf9.jpg","text":"TemporaryFile(/tmp/multipartBody3015281123694013564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296062567,"filename":"image_16112025_10_59_01_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742370","file1":"1394742368","file0":"1394742367","file4":"1394742374","file5":"1394742377","file3":"1394742372"},"map_files_photo_id_array":[{"photo_id":"1394742377","filename":"file5"},{"photo_id":"1394742370","filename":"file2"},{"photo_id":"1394742374","filename":"file4"},{"photo_id":"1394742368","filename":"file1"},{"photo_id":"1394742367","filename":"file0"},{"photo_id":"1394742372","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742372":["hashtag1","hashtag2"]},{"1394742374":["hashtag1","hashtag2"]},{"1394742368":["hashtag1","hashtag2"]},{"1394742377":["hashtag1","hashtag2"]},{"1394742370":["hashtag1","hashtag2"]},{"1394742367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742372, 1394742374, 1394742368, 1394742377, 1394742370, 1394742367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35169339179993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:27:22.090579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_22_2576.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_26_3892.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_28_2564.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_31_2752.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_34_2796.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_38_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_22_2576.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_26_3892.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_28_2564.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_31_2752.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_34_2796.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_38_3630.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.5460953712463379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:27:42.076871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_22_2576.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_26_3892.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_28_2564.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_31_2752.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_34_2796.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_38_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_22_2576.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_26_3892.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_28_2564.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_31_2752.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_34_2796.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_38_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742403","1394742399","1394742405","1394742402","1394742404","1394742401"],"photo_ids_order":["1394742399","1394742401","1394742402","1394742403","1394742404","1394742405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75b4f86e2b83a240f042f526929b1b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2752478314880336991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296122710,"filename":"image_16112025_11_01_31_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a4760921ba8063a329b5740531b3ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7132863755263108317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296122710,"filename":"image_16112025_11_01_22_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/361a1aa363d6a0c83ce66a815a4b37b1.jpg","text":"TemporaryFile(/tmp/multipartBody5502226182152916790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296122710,"filename":"image_16112025_11_01_38_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91815dccd19c6f8306fcb2ce221e2206.jpg","text":"TemporaryFile(/tmp/multipartBody8850273540383376351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296122710,"filename":"image_16112025_11_01_28_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5625d9c2b6536439e35ccc904911574e.jpg","text":"TemporaryFile(/tmp/multipartBody1170989217615909795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296122710,"filename":"image_16112025_11_01_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/11/16/a4061eeebec3bbb089b7a5d9daab1d53.jpg","text":"TemporaryFile(/tmp/multipartBody4280401248258400942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296122710,"filename":"image_16112025_11_01_26_3892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742402","file1":"1394742401","file0":"1394742399","file4":"1394742404","file5":"1394742405","file3":"1394742403"},"map_files_photo_id_array":[{"photo_id":"1394742405","filename":"file5"},{"photo_id":"1394742402","filename":"file2"},{"photo_id":"1394742404","filename":"file4"},{"photo_id":"1394742401","filename":"file1"},{"photo_id":"1394742399","filename":"file0"},{"photo_id":"1394742403","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742403":["hashtag1","hashtag2"]},{"1394742399":["hashtag1","hashtag2"]},{"1394742405":["hashtag1","hashtag2"]},{"1394742402":["hashtag1","hashtag2"]},{"1394742404":["hashtag1","hashtag2"]},{"1394742401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742403, 1394742399, 1394742405, 1394742402, 1394742404, 1394742401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65433144569397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:28:22.418976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_40_2555.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_44_3708.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_47_2753.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_49_2552.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_53_3624.jpg', '/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_55_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_40_2555.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_44_3708.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_47_2753.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_49_2552.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_53_3624.jpg
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_55_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742409","1394742412","1394742411","1394742408","1394742410","1394742413"],"photo_ids_order":["1394742408","1394742409","1394742410","1394742411","1394742412","1394742413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af8d4cc86cb3c12949f32e40f4d2d6a5.jpg","text":"TemporaryFile(/tmp/multipartBody6156862801574385596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296163098,"filename":"image_16112025_11_01_44_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4b376f810cd642973606cbefa107ae4.jpg","text":"TemporaryFile(/tmp/multipartBody5194388902447422610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296163098,"filename":"image_16112025_11_01_53_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcf0e1c776ce973018466caf062942ff.jpg","text":"TemporaryFile(/tmp/multipartBody8273945190689789520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296163098,"filename":"image_16112025_11_01_49_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/734f521272ec4c60a2d3849a9498d8ad.jpg","text":"TemporaryFile(/tmp/multipartBody3822939904393238841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296163098,"filename":"image_16112025_11_01_40_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd35c97dbed47a5c184992594bc582d6.jpg","text":"TemporaryFile(/tmp/multipartBody5798917263678556290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296163098,"filename":"image_16112025_11_01_47_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db48842c8bb86cc8d5e31cc491c413d4.jpg","text":"TemporaryFile(/tmp/multipartBody7574141557227353420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296163098,"filename":"image_16112025_11_01_55_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742410","file1":"1394742409","file0":"1394742408","file4":"1394742412","file5":"1394742413","file3":"1394742411"},"map_files_photo_id_array":[{"photo_id":"1394742413","filename":"file5"},{"photo_id":"1394742410","filename":"file2"},{"photo_id":"1394742412","filename":"file4"},{"photo_id":"1394742409","filename":"file1"},{"photo_id":"1394742408","filename":"file0"},{"photo_id":"1394742411","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742409":["hashtag1","hashtag2"]},{"1394742412":["hashtag1","hashtag2"]},{"1394742411":["hashtag1","hashtag2"]},{"1394742408":["hashtag1","hashtag2"]},{"1394742410":["hashtag1","hashtag2"]},{"1394742413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742409, 1394742412, 1394742411, 1394742408, 1394742410, 1394742413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2189998626709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:29:03.724674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_58_2694.jpg', '/home/pi/Desktop/images/16112025/11/02/image_16112025_11_02_01_2788.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_06_3011.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_10_3590.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_13_2791.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_16_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/01/image_16112025_11_01_58_2694.jpg
/home/pi/Desktop/images/16112025/11/02/image_16112025_11_02_01_2788.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_06_3011.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_10_3590.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_13_2791.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_16_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742421","1394742415","1394742423","1394742417","1394742419","1394742428"],"photo_ids_order":["1394742415","1394742417","1394742419","1394742421","1394742423","1394742428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd5d11348a4b3df3c61e2126cfac3874.jpg","text":"TemporaryFile(/tmp/multipartBody4421985996670202142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296204490,"filename":"image_16112025_11_03_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/11/16/81cf8cf083cd325e3fbd06eff553898f.jpg","text":"TemporaryFile(/tmp/multipartBody2879603848950075936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296204490,"filename":"image_16112025_11_01_58_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b76b7d16a229656bb612a53449e55c7.jpg","text":"TemporaryFile(/tmp/multipartBody9098525860179608585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296204490,"filename":"image_16112025_11_03_13_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a160b43ac777cabb587fbf2778b9350.jpg","text":"TemporaryFile(/tmp/multipartBody4655076501703173537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296204490,"filename":"image_16112025_11_02_01_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fe86330d28afbd9cda4cc95ca945093.jpg","text":"TemporaryFile(/tmp/multipartBody6749362955672171072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296204490,"filename":"image_16112025_11_03_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/11/16/0d57b8af989511909695e1a5d952f7c0.jpg","text":"TemporaryFile(/tmp/multipartBody3489311904776886297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296204490,"filename":"image_16112025_11_03_16_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742419","file1":"1394742417","file0":"1394742415","file4":"1394742423","file5":"1394742428","file3":"1394742421"},"map_files_photo_id_array":[{"photo_id":"1394742428","filename":"file5"},{"photo_id":"1394742419","filename":"file2"},{"photo_id":"1394742423","filename":"file4"},{"photo_id":"1394742417","filename":"file1"},{"photo_id":"1394742415","filename":"file0"},{"photo_id":"1394742421","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742421":["hashtag1","hashtag2"]},{"1394742415":["hashtag1","hashtag2"]},{"1394742423":["hashtag1","hashtag2"]},{"1394742417":["hashtag1","hashtag2"]},{"1394742419":["hashtag1","hashtag2"]},{"1394742428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742421, 1394742415, 1394742423, 1394742417, 1394742419, 1394742428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.478028774261475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:29:42.494527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_19_3516.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_22_2623.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_25_3561.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_28_2550.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_31_2719.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_34_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_19_3516.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_22_2623.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_25_3561.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_28_2550.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_31_2719.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_34_3684.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":["1394742436","1394742432","1394742449","1394742446","1394742451","1394742433"],"photo_ids_order":["1394742432","1394742433","1394742436","1394742446","1394742449","1394742451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e282e670493c1f1e2d2bf2a6c885093.jpg","text":"TemporaryFile(/tmp/multipartBody6356203543647947407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296243127,"filename":"image_16112025_11_03_25_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d43591c9833426c76bfe3d5ad2829d4.jpg","text":"TemporaryFile(/tmp/multipartBody8370611400967898446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296243127,"filename":"image_16112025_11_03_19_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/783c6596911fe514691851706e802918.jpg","text":"TemporaryFile(/tmp/multipartBody4009911131249381813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296243127,"filename":"image_16112025_11_03_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/11/16/21232ad7f18060306cf25ad87cb2d521.jpg","text":"TemporaryFile(/tmp/multipartBody9144709337835798417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296243127,"filename":"image_16112025_11_03_28_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f08cf110f4b6c3271671fca8a5d72097.jpg","text":"TemporaryFile(/tmp/multipartBody2780605724762332280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296243127,"filename":"image_16112025_11_03_34_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e99a857eafaf2881128cbbdeeb6a1400.jpg","text":"TemporaryFile(/tmp/multipartBody6707412590769403179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296243127,"filename":"image_16112025_11_03_22_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742436","file1":"1394742433","file0":"1394742432","file4":"1394742449","file5":"1394742451","file3":"1394742446"},"map_files_photo_id_array":[{"photo_id":"1394742451","filename":"file5"},{"photo_id":"1394742436","filename":"file2"},{"photo_id":"1394742449","filename":"file4"},{"photo_id":"1394742433","filename":"file1"},{"photo_id":"1394742432","filename":"file0"},{"photo_id":"1394742446","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742436":["hashtag1","hashtag2"]},{"1394742432":["hashtag1","hashtag2"]},{"1394742449":["hashtag1","hashtag2"]},{"1394742446":["hashtag1","hashtag2"]},{"1394742451":["hashtag1","hashtag2"]},{"1394742433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742436, 1394742432, 1394742449, 1394742446, 1394742451, 1394742433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.37583017349243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:31:02.613192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_37_2718.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_39_2527.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_43_3627.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_46_2638.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_49_3599.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_52_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_37_2718.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_39_2527.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_43_3627.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_46_2638.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_49_3599.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_52_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742457","1394742456","1394742459","1394742461","1394742464","1394742458"],"photo_ids_order":["1394742456","1394742457","1394742458","1394742459","1394742461","1394742464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b0f6e685776a8b099dc3eb1787a31d5.jpg","text":"TemporaryFile(/tmp/multipartBody3825149120225746881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296323388,"filename":"image_16112025_11_03_39_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32fd2e53a6a8279fef697a02c6100350.jpg","text":"TemporaryFile(/tmp/multipartBody3456971130411496420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296323388,"filename":"image_16112025_11_03_37_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a3bfd46ad35d942b992eaac0b599fbc.jpg","text":"TemporaryFile(/tmp/multipartBody6488960988438440514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296323388,"filename":"image_16112025_11_03_46_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c4491a629ec23a51895886f94898d64.jpg","text":"TemporaryFile(/tmp/multipartBody678383613025048477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296323388,"filename":"image_16112025_11_03_49_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96121f419cda395934b7d0f22133625a.jpg","text":"TemporaryFile(/tmp/multipartBody8149043921985115978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296323388,"filename":"image_16112025_11_03_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/11/16/27754a834ab202382ec655e77a882c92.jpg","text":"TemporaryFile(/tmp/multipartBody2902955663355182913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296323388,"filename":"image_16112025_11_03_43_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742458","file1":"1394742457","file0":"1394742456","file4":"1394742461","file5":"1394742464","file3":"1394742459"},"map_files_photo_id_array":[{"photo_id":"1394742464","filename":"file5"},{"photo_id":"1394742458","filename":"file2"},{"photo_id":"1394742461","filename":"file4"},{"photo_id":"1394742457","filename":"file1"},{"photo_id":"1394742456","filename":"file0"},{"photo_id":"1394742459","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742457":["hashtag1","hashtag2"]},{"1394742456":["hashtag1","hashtag2"]},{"1394742459":["hashtag1","hashtag2"]},{"1394742461":["hashtag1","hashtag2"]},{"1394742464":["hashtag1","hashtag2"]},{"1394742458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742457, 1394742456, 1394742459, 1394742461, 1394742464, 1394742458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.110580921173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:31:41.962064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_55_2993.jpg', '/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_58_2707.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_11_3824.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_13_2482.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_16_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_55_2993.jpg
/home/pi/Desktop/images/16112025/11/03/image_16112025_11_03_58_2707.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_07_3011.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_11_3824.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_13_2482.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_16_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742474","1394742468","1394742471","1394742470","1394742473","1394742472"],"photo_ids_order":["1394742468","1394742470","1394742471","1394742472","1394742473","1394742474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bd2893059545a8b75492ce2eaf57df8.jpg","text":"TemporaryFile(/tmp/multipartBody6043931345097978195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296362596,"filename":"image_16112025_11_06_16_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bef9bbfae4e2a8112a128d8bf0303b82.jpg","text":"TemporaryFile(/tmp/multipartBody8596367223674551258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296362596,"filename":"image_16112025_11_03_55_2993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5db0f25c63f4fc80fd679c5f867cb0f8.jpg","text":"TemporaryFile(/tmp/multipartBody1833778684809562078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296362596,"filename":"image_16112025_11_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/11/16/8b907aafe47761b212c50e1bfee76f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5652935616282381663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296362596,"filename":"image_16112025_11_03_58_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f6abb58d5f15abd8c7f6bc0ba0683ff.jpg","text":"TemporaryFile(/tmp/multipartBody6460982999606364592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296362596,"filename":"image_16112025_11_06_13_2482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d28b3a63f4e567c36d69afc74b5569a.jpg","text":"TemporaryFile(/tmp/multipartBody1131135723039223739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296362596,"filename":"image_16112025_11_06_11_3824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742471","file1":"1394742470","file0":"1394742468","file4":"1394742473","file5":"1394742474","file3":"1394742472"},"map_files_photo_id_array":[{"photo_id":"1394742474","filename":"file5"},{"photo_id":"1394742471","filename":"file2"},{"photo_id":"1394742473","filename":"file4"},{"photo_id":"1394742470","filename":"file1"},{"photo_id":"1394742468","filename":"file0"},{"photo_id":"1394742472","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742474":["hashtag1","hashtag2"]},{"1394742468":["hashtag1","hashtag2"]},{"1394742471":["hashtag1","hashtag2"]},{"1394742470":["hashtag1","hashtag2"]},{"1394742473":["hashtag1","hashtag2"]},{"1394742472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742474, 1394742468, 1394742471, 1394742470, 1394742473, 1394742472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47818994522095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:32:22.074598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_19_3548.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_22_2625.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_26_3692.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_28_2585.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_31_2581.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_34_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_19_3548.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_22_2625.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_26_3692.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_28_2585.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_31_2581.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_34_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742483","1394742477","1394742485","1394742481","1394742484","1394742487"],"photo_ids_order":["1394742477","1394742481","1394742483","1394742484","1394742485","1394742487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c938b34e2ae4bcc82cfce874fbbb7522.jpg","text":"TemporaryFile(/tmp/multipartBody850230231415667620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296402734,"filename":"image_16112025_11_06_26_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfee19789ac47b0a3c2d9b5382c838cc.jpg","text":"TemporaryFile(/tmp/multipartBody4594959763502128631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296402734,"filename":"image_16112025_11_06_19_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5337723d7ee24b3def66cb9e75687c44.jpg","text":"TemporaryFile(/tmp/multipartBody2347657823097617117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296402734,"filename":"image_16112025_11_06_31_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a6e094477b2bd291b761c7f63751e88.jpg","text":"TemporaryFile(/tmp/multipartBody5556452733456837550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296402734,"filename":"image_16112025_11_06_22_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/feb17fe4fa586462917b242df6cb1a85.jpg","text":"TemporaryFile(/tmp/multipartBody5569282913319115790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296402734,"filename":"image_16112025_11_06_28_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bdb14c24989c2198af68e5b4de1cec80.jpg","text":"TemporaryFile(/tmp/multipartBody7851661021425708383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296402734,"filename":"image_16112025_11_06_34_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742483","file1":"1394742481","file0":"1394742477","file4":"1394742485","file5":"1394742487","file3":"1394742484"},"map_files_photo_id_array":[{"photo_id":"1394742487","filename":"file5"},{"photo_id":"1394742483","filename":"file2"},{"photo_id":"1394742485","filename":"file4"},{"photo_id":"1394742481","filename":"file1"},{"photo_id":"1394742477","filename":"file0"},{"photo_id":"1394742484","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742483":["hashtag1","hashtag2"]},{"1394742477":["hashtag1","hashtag2"]},{"1394742485":["hashtag1","hashtag2"]},{"1394742481":["hashtag1","hashtag2"]},{"1394742484":["hashtag1","hashtag2"]},{"1394742487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742483, 1394742477, 1394742485, 1394742481, 1394742484, 1394742487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05427646636963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:33:03.087169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_37_2780.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_40_2683.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_43_2866.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_46_3570.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_49_2519.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_52_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_37_2780.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_40_2683.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_43_2866.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_46_3570.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_49_2519.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_52_3549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742495","1394742489","1394742498","1394742501","1394742491","1394742493"],"photo_ids_order":["1394742489","1394742491","1394742493","1394742495","1394742498","1394742501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e94343ec851ead44a3c3b10f5c4b5443.jpg","text":"TemporaryFile(/tmp/multipartBody2132406877169268979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296443790,"filename":"image_16112025_11_06_46_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4ac7c789ba67b01e47384869932e2a6.jpg","text":"TemporaryFile(/tmp/multipartBody6519888714305276620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296443790,"filename":"image_16112025_11_06_37_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7be603afdbbbdbf852454e668882b3d.jpg","text":"TemporaryFile(/tmp/multipartBody7045970009918985780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296443790,"filename":"image_16112025_11_06_49_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eff240cc887a107748e9bb98cf73dbeb.jpg","text":"TemporaryFile(/tmp/multipartBody203000428964179231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296443790,"filename":"image_16112025_11_06_52_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0da93e7aff35bf58c12f6119c2b2db2f.jpg","text":"TemporaryFile(/tmp/multipartBody2804079997846769287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296443790,"filename":"image_16112025_11_06_40_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b94428aed6f5cc410e52cb1632d8795d.jpg","text":"TemporaryFile(/tmp/multipartBody5314594529813251354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296443790,"filename":"image_16112025_11_06_43_2866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742493","file1":"1394742491","file0":"1394742489","file4":"1394742498","file5":"1394742501","file3":"1394742495"},"map_files_photo_id_array":[{"photo_id":"1394742501","filename":"file5"},{"photo_id":"1394742493","filename":"file2"},{"photo_id":"1394742498","filename":"file4"},{"photo_id":"1394742491","filename":"file1"},{"photo_id":"1394742489","filename":"file0"},{"photo_id":"1394742495","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742495":["hashtag1","hashtag2"]},{"1394742489":["hashtag1","hashtag2"]},{"1394742498":["hashtag1","hashtag2"]},{"1394742501":["hashtag1","hashtag2"]},{"1394742491":["hashtag1","hashtag2"]},{"1394742493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742495, 1394742489, 1394742498, 1394742501, 1394742491, 1394742493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63988208770752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:33:42.442034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_55_2629.jpg', '/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_58_3577.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_01_2635.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_04_2704.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_07_3666.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_10_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_55_2629.jpg
/home/pi/Desktop/images/16112025/11/06/image_16112025_11_06_58_3577.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_01_2635.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_04_2704.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_07_3666.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_10_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742514","1394742508","1394742511","1394742510","1394742515","1394742512"],"photo_ids_order":["1394742508","1394742510","1394742511","1394742512","1394742514","1394742515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99b5ce74780e742b012bdfa24b66bda4.jpg","text":"TemporaryFile(/tmp/multipartBody1538111958764647259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296483100,"filename":"image_16112025_11_07_07_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd635961151d6b84fcb64731c2472cde.jpg","text":"TemporaryFile(/tmp/multipartBody8705188778945585702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296483100,"filename":"image_16112025_11_06_55_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cddb5cc1e4fe94c8ec5f6702ea7e9715.jpg","text":"TemporaryFile(/tmp/multipartBody7921775489647718252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296483100,"filename":"image_16112025_11_07_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/11/16/9272d23ae27c5f280ba2a4c0f51f6f5e.jpg","text":"TemporaryFile(/tmp/multipartBody5082779125432487253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296483100,"filename":"image_16112025_11_06_58_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e91e77fc6af519adf2d1bdcb9f60823.jpg","text":"TemporaryFile(/tmp/multipartBody3716268134891350604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296483100,"filename":"image_16112025_11_07_10_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41df3960c9d743a1953705c5f8fa580f.jpg","text":"TemporaryFile(/tmp/multipartBody4560418594125737161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296483100,"filename":"image_16112025_11_07_04_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742511","file1":"1394742510","file0":"1394742508","file4":"1394742514","file5":"1394742515","file3":"1394742512"},"map_files_photo_id_array":[{"photo_id":"1394742515","filename":"file5"},{"photo_id":"1394742511","filename":"file2"},{"photo_id":"1394742514","filename":"file4"},{"photo_id":"1394742510","filename":"file1"},{"photo_id":"1394742508","filename":"file0"},{"photo_id":"1394742512","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742514":["hashtag1","hashtag2"]},{"1394742508":["hashtag1","hashtag2"]},{"1394742511":["hashtag1","hashtag2"]},{"1394742510":["hashtag1","hashtag2"]},{"1394742515":["hashtag1","hashtag2"]},{"1394742512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742514, 1394742508, 1394742511, 1394742510, 1394742515, 1394742512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.193692684173584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:34:22.673340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_13_2726.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_16_3617.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_19_2745.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_22_2784.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_25_2642.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_28_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_13_2726.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_16_3617.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_19_2745.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_22_2784.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_25_2642.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_28_3726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742529","1394742523","1394742525","1394742519","1394742521","1394742527"],"photo_ids_order":["1394742519","1394742521","1394742523","1394742525","1394742527","1394742529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40ed8d531b2bae81692cd5e82278a124.jpg","text":"TemporaryFile(/tmp/multipartBody4671795574477850029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296523325,"filename":"image_16112025_11_07_28_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b86ed0b0fa1f0734ac5685adec45ef58.jpg","text":"TemporaryFile(/tmp/multipartBody6198774266452702947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296523325,"filename":"image_16112025_11_07_19_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/054244a39a35339aa4c3ab9662025253.jpg","text":"TemporaryFile(/tmp/multipartBody4574455001876785098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296523325,"filename":"image_16112025_11_07_22_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7285c86928c242853a6e09bc02e7704.jpg","text":"TemporaryFile(/tmp/multipartBody5204885492575111919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296523325,"filename":"image_16112025_11_07_13_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c61987a9ca6a72c038fc0dda3d47005.jpg","text":"TemporaryFile(/tmp/multipartBody8844699981587922746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296523325,"filename":"image_16112025_11_07_16_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db45aafd2e69cdbc31854ce299321205.jpg","text":"TemporaryFile(/tmp/multipartBody433644061661546257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296523325,"filename":"image_16112025_11_07_25_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742523","file1":"1394742521","file0":"1394742519","file4":"1394742527","file5":"1394742529","file3":"1394742525"},"map_files_photo_id_array":[{"photo_id":"1394742529","filename":"file5"},{"photo_id":"1394742523","filename":"file2"},{"photo_id":"1394742527","filename":"file4"},{"photo_id":"1394742521","filename":"file1"},{"photo_id":"1394742519","filename":"file0"},{"photo_id":"1394742525","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742529":["hashtag1","hashtag2"]},{"1394742523":["hashtag1","hashtag2"]},{"1394742525":["hashtag1","hashtag2"]},{"1394742519":["hashtag1","hashtag2"]},{"1394742521":["hashtag1","hashtag2"]},{"1394742527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742529, 1394742523, 1394742525, 1394742519, 1394742521, 1394742527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37725019454956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:35:02.568152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_31_2562.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_34_3573.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_37_2814.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_40_2677.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_43_2790.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_46_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_31_2562.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_34_3573.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_37_2814.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_40_2677.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_43_2790.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_46_2817.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742531","1394742534","1394742533","1394742536","1394742538","1394742532"],"photo_ids_order":["1394742531","1394742532","1394742533","1394742534","1394742536","1394742538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc966ba80f1a3a8cdfd260a5ca5c948b.jpg","text":"TemporaryFile(/tmp/multipartBody1368568967607231626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296563365,"filename":"image_16112025_11_07_31_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c82f427b4a1f37954a81165fde0bc63f.jpg","text":"TemporaryFile(/tmp/multipartBody9059079073459660907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296563365,"filename":"image_16112025_11_07_40_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e375808382a635975afb88d617fd3230.jpg","text":"TemporaryFile(/tmp/multipartBody833902540800131346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296563365,"filename":"image_16112025_11_07_37_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea5288e38a3c2d1ec05459be6d335e27.jpg","text":"TemporaryFile(/tmp/multipartBody8667704839902670410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296563365,"filename":"image_16112025_11_07_43_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72369895f5634c9cf0fa24d1ee538ede.jpg","text":"TemporaryFile(/tmp/multipartBody6786276159042419314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296563365,"filename":"image_16112025_11_07_46_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d733f938ff1a6007494f9e88ec7e404.jpg","text":"TemporaryFile(/tmp/multipartBody7956473657653401121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296563365,"filename":"image_16112025_11_07_34_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742533","file1":"1394742532","file0":"1394742531","file4":"1394742536","file5":"1394742538","file3":"1394742534"},"map_files_photo_id_array":[{"photo_id":"1394742538","filename":"file5"},{"photo_id":"1394742533","filename":"file2"},{"photo_id":"1394742536","filename":"file4"},{"photo_id":"1394742532","filename":"file1"},{"photo_id":"1394742531","filename":"file0"},{"photo_id":"1394742534","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742531":["hashtag1","hashtag2"]},{"1394742534":["hashtag1","hashtag2"]},{"1394742533":["hashtag1","hashtag2"]},{"1394742536":["hashtag1","hashtag2"]},{"1394742538":["hashtag1","hashtag2"]},{"1394742532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742531, 1394742534, 1394742533, 1394742536, 1394742538, 1394742532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77233004570007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:35:41.997288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_49_3613.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_55_3555.jpg', '/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_58_2704.jpg', '/home/pi/Desktop/images/16112025/11/08/image_16112025_11_08_01_2840.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_07_3017.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_10_3763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_49_3613.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_55_3555.jpg
/home/pi/Desktop/images/16112025/11/07/image_16112025_11_07_58_2704.jpg
/home/pi/Desktop/images/16112025/11/08/image_16112025_11_08_01_2840.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_07_3017.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_10_3763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742541","1394742543","1394742542","1394742545","1394742539","1394742544"],"photo_ids_order":["1394742539","1394742541","1394742542","1394742543","1394742544","1394742545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b446959f61ea6fc09a043e0c2de50e20.jpg","text":"TemporaryFile(/tmp/multipartBody3613449564846511522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296602684,"filename":"image_16112025_11_07_55_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2aa5fa61cabd214ac598b0f33bc6bd4d.jpg","text":"TemporaryFile(/tmp/multipartBody8712438786545196860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296602684,"filename":"image_16112025_11_08_01_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a4e67389d3f180b46837ced3881c540.jpg","text":"TemporaryFile(/tmp/multipartBody7849761960449547873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296602684,"filename":"image_16112025_11_07_58_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d49a0bb917fd4d5a818b4869981119f.jpg","text":"TemporaryFile(/tmp/multipartBody25849718296060780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296602684,"filename":"image_16112025_11_09_10_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a94aff491f75d065a7b7db65ea120f8.jpg","text":"TemporaryFile(/tmp/multipartBody1057323666534847604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296602684,"filename":"image_16112025_11_07_49_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be9112a92922a517cec6c77aecfb0235.jpg","text":"TemporaryFile(/tmp/multipartBody1949188381844297827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296602684,"filename":"image_16112025_11_09_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742542","file1":"1394742541","file0":"1394742539","file4":"1394742544","file5":"1394742545","file3":"1394742543"},"map_files_photo_id_array":[{"photo_id":"1394742545","filename":"file5"},{"photo_id":"1394742542","filename":"file2"},{"photo_id":"1394742544","filename":"file4"},{"photo_id":"1394742541","filename":"file1"},{"photo_id":"1394742539","filename":"file0"},{"photo_id":"1394742543","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742541":["hashtag1","hashtag2"]},{"1394742543":["hashtag1","hashtag2"]},{"1394742542":["hashtag1","hashtag2"]},{"1394742545":["hashtag1","hashtag2"]},{"1394742539":["hashtag1","hashtag2"]},{"1394742544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742541, 1394742543, 1394742542, 1394742545, 1394742539, 1394742544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86027812957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:36:22.211025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_13_2671.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_16_2556.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_19_3628.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_22_2651.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_25_3547.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_28_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_13_2671.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_16_2556.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_19_3628.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_22_2651.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_25_3547.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_28_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742549","1394742558","1394742552","1394742560","1394742554","1394742556"],"photo_ids_order":["1394742549","1394742552","1394742554","1394742556","1394742558","1394742560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f779d9357f1b17a764d568439e7f9c7b.jpg","text":"TemporaryFile(/tmp/multipartBody7437892931806131731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296642928,"filename":"image_16112025_11_09_13_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3efe64157b41c376f5d8a8e599ce338d.jpg","text":"TemporaryFile(/tmp/multipartBody691260504807404516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296642928,"filename":"image_16112025_11_09_25_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6eac22515981d2578a4502b80bd02d06.jpg","text":"TemporaryFile(/tmp/multipartBody2121554988657747741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296642928,"filename":"image_16112025_11_09_16_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9601f4eb023a974ec6af1c29517ece59.jpg","text":"TemporaryFile(/tmp/multipartBody2693419413575551223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296642928,"filename":"image_16112025_11_09_28_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f786341d0e3a5f31795d2ff7123dd40.jpg","text":"TemporaryFile(/tmp/multipartBody5065584598826731892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296642928,"filename":"image_16112025_11_09_19_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b263ffaa28fc59b59d52ae800cdf47d4.jpg","text":"TemporaryFile(/tmp/multipartBody870977896514341024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296642928,"filename":"image_16112025_11_09_22_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742554","file1":"1394742552","file0":"1394742549","file4":"1394742558","file5":"1394742560","file3":"1394742556"},"map_files_photo_id_array":[{"photo_id":"1394742560","filename":"file5"},{"photo_id":"1394742554","filename":"file2"},{"photo_id":"1394742558","filename":"file4"},{"photo_id":"1394742552","filename":"file1"},{"photo_id":"1394742549","filename":"file0"},{"photo_id":"1394742556","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742549":["hashtag1","hashtag2"]},{"1394742558":["hashtag1","hashtag2"]},{"1394742552":["hashtag1","hashtag2"]},{"1394742560":["hashtag1","hashtag2"]},{"1394742554":["hashtag1","hashtag2"]},{"1394742556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742549, 1394742558, 1394742552, 1394742560, 1394742554, 1394742556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98837614059448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:37:03.212436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_34_3642.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_37_2627.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_40_3707.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_43_2675.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_46_2694.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_49_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_34_3642.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_37_2627.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_40_3707.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_43_2675.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_46_2694.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_49_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742573","1394742567","1394742576","1394742569","1394742571","1394742565"],"photo_ids_order":["1394742565","1394742567","1394742569","1394742571","1394742573","1394742576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/692b07fc1052eb83efc7f0a2ad58eb9b.jpg","text":"TemporaryFile(/tmp/multipartBody4147857109318886729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296683930,"filename":"image_16112025_11_09_46_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/987da24caddb9f78ef9bceb894ca5f61.jpg","text":"TemporaryFile(/tmp/multipartBody8604575053803853957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296683930,"filename":"image_16112025_11_09_37_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a26ba4ac01db93b4d5e8134d7a85f51.jpg","text":"TemporaryFile(/tmp/multipartBody6810040568429841180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296683930,"filename":"image_16112025_11_09_49_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9fd92eb847c294c9df2e579e0e1aeb4.jpg","text":"TemporaryFile(/tmp/multipartBody6699509029503238352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296683930,"filename":"image_16112025_11_09_40_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3cc73c05c7e2103da83222e1298a4308.jpg","text":"TemporaryFile(/tmp/multipartBody2449374826792606349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296683930,"filename":"image_16112025_11_09_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/11/16/167d4ee9e4908cb35605b839f3cfd164.jpg","text":"TemporaryFile(/tmp/multipartBody3104034103839457460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296683930,"filename":"image_16112025_11_09_34_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742569","file1":"1394742567","file0":"1394742565","file4":"1394742573","file5":"1394742576","file3":"1394742571"},"map_files_photo_id_array":[{"photo_id":"1394742576","filename":"file5"},{"photo_id":"1394742569","filename":"file2"},{"photo_id":"1394742573","filename":"file4"},{"photo_id":"1394742567","filename":"file1"},{"photo_id":"1394742565","filename":"file0"},{"photo_id":"1394742571","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742573":["hashtag1","hashtag2"]},{"1394742567":["hashtag1","hashtag2"]},{"1394742576":["hashtag1","hashtag2"]},{"1394742569":["hashtag1","hashtag2"]},{"1394742571":["hashtag1","hashtag2"]},{"1394742565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742573, 1394742567, 1394742576, 1394742569, 1394742571, 1394742565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49256181716919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:37:42.451300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_52_3557.jpg', '/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_55_2623.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_11_3708.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_13_2562.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_17_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_52_3557.jpg
/home/pi/Desktop/images/16112025/11/09/image_16112025_11_09_55_2623.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_07_3011.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_11_3708.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_13_2562.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_17_3588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742585","1394742588","1394742582","1394742584","1394742587","1394742586"],"photo_ids_order":["1394742582","1394742584","1394742585","1394742586","1394742587","1394742588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbee6191e26082a9c247294e7446cff9.jpg","text":"TemporaryFile(/tmp/multipartBody1389868126757882029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296723105,"filename":"image_16112025_11_11_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/11/16/8228545b1d2c1752fbc39e03c7e62908.jpg","text":"TemporaryFile(/tmp/multipartBody502475290867330212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296723105,"filename":"image_16112025_11_11_17_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35161a2f28a7446c3c87edde30a50c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4836547841613652812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296723105,"filename":"image_16112025_11_09_52_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5e5b5759e951152bd36f584694408f7.jpg","text":"TemporaryFile(/tmp/multipartBody851457778868879974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296723105,"filename":"image_16112025_11_09_55_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcad087f7c46b241e2be3c2f144b3fa5.jpg","text":"TemporaryFile(/tmp/multipartBody4990739416349776144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296723105,"filename":"image_16112025_11_11_13_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c172056e8119d48c8e38ffdc807b577.jpg","text":"TemporaryFile(/tmp/multipartBody248374394626964306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296723105,"filename":"image_16112025_11_11_11_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742585","file1":"1394742584","file0":"1394742582","file4":"1394742587","file5":"1394742588","file3":"1394742586"},"map_files_photo_id_array":[{"photo_id":"1394742588","filename":"file5"},{"photo_id":"1394742585","filename":"file2"},{"photo_id":"1394742587","filename":"file4"},{"photo_id":"1394742584","filename":"file1"},{"photo_id":"1394742582","filename":"file0"},{"photo_id":"1394742586","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742585":["hashtag1","hashtag2"]},{"1394742588":["hashtag1","hashtag2"]},{"1394742582":["hashtag1","hashtag2"]},{"1394742584":["hashtag1","hashtag2"]},{"1394742587":["hashtag1","hashtag2"]},{"1394742586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742585, 1394742588, 1394742582, 1394742584, 1394742587, 1394742586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98510956764221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:38:22.633409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_20_2663.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_22_2620.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_26_3648.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_28_2540.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_31_2731.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_35_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_20_2663.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_22_2620.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_26_3648.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_28_2540.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_31_2731.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_35_3728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742591","1394742594","1394742596","1394742590","1394742593","1394742592"],"photo_ids_order":["1394742590","1394742591","1394742592","1394742593","1394742594","1394742596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5678e7f7fa1cffe455d7b18a5b2b6153.jpg","text":"TemporaryFile(/tmp/multipartBody6489166339508817269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296763286,"filename":"image_16112025_11_11_22_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2414db53a12d80f8a76ef69a2bbf750d.jpg","text":"TemporaryFile(/tmp/multipartBody9217046899050186261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296763286,"filename":"image_16112025_11_11_31_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd18020fbe161ed826998dbedc0a1811.jpg","text":"TemporaryFile(/tmp/multipartBody214640225440183034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296763286,"filename":"image_16112025_11_11_35_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8118a2ed3b18816804aba79eaa326dea.jpg","text":"TemporaryFile(/tmp/multipartBody249070998185016427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296763286,"filename":"image_16112025_11_11_20_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34118169c7045a680a7ddb95c5142ab5.jpg","text":"TemporaryFile(/tmp/multipartBody4972332769297055913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296763286,"filename":"image_16112025_11_11_28_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4692426d88ac2ea59f50695772d378c6.jpg","text":"TemporaryFile(/tmp/multipartBody4391925972967057854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296763286,"filename":"image_16112025_11_11_26_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742592","file1":"1394742591","file0":"1394742590","file4":"1394742594","file5":"1394742596","file3":"1394742593"},"map_files_photo_id_array":[{"photo_id":"1394742596","filename":"file5"},{"photo_id":"1394742592","filename":"file2"},{"photo_id":"1394742594","filename":"file4"},{"photo_id":"1394742591","filename":"file1"},{"photo_id":"1394742590","filename":"file0"},{"photo_id":"1394742593","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742591":["hashtag1","hashtag2"]},{"1394742594":["hashtag1","hashtag2"]},{"1394742596":["hashtag1","hashtag2"]},{"1394742590":["hashtag1","hashtag2"]},{"1394742593":["hashtag1","hashtag2"]},{"1394742592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742591, 1394742594, 1394742596, 1394742590, 1394742593, 1394742592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86172914505005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:39:02.729051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_37_2643.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_40_2708.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_44_3639.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_46_2692.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_49_2573.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_53_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_37_2643.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_40_2708.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_44_3639.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_46_2692.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_49_2573.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_53_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742601","1394742604","1394742603","1394742606","1394742602","1394742608"],"photo_ids_order":["1394742601","1394742602","1394742603","1394742604","1394742606","1394742608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/754839f054130522936d28971823bf35.jpg","text":"TemporaryFile(/tmp/multipartBody372726767788854473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296803706,"filename":"image_16112025_11_11_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/11/16/dbd647a64326d7d0860d7399ccd25ead.jpg","text":"TemporaryFile(/tmp/multipartBody7131339146068659041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296803706,"filename":"image_16112025_11_11_46_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5223f4ee41ddaf7216c1a81713311137.jpg","text":"TemporaryFile(/tmp/multipartBody3570074299921101284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296803706,"filename":"image_16112025_11_11_44_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a07c67990ccaa3b284621fea19b52471.jpg","text":"TemporaryFile(/tmp/multipartBody170195895440503105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296803706,"filename":"image_16112025_11_11_49_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/592b106d6f560c9c82cde0250020d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody7555655704447263272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296803706,"filename":"image_16112025_11_11_40_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/996af9acb335514745eca75c637fa14c.jpg","text":"TemporaryFile(/tmp/multipartBody3545416918301324164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296803706,"filename":"image_16112025_11_11_53_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742603","file1":"1394742602","file0":"1394742601","file4":"1394742606","file5":"1394742608","file3":"1394742604"},"map_files_photo_id_array":[{"photo_id":"1394742608","filename":"file5"},{"photo_id":"1394742603","filename":"file2"},{"photo_id":"1394742606","filename":"file4"},{"photo_id":"1394742602","filename":"file1"},{"photo_id":"1394742601","filename":"file0"},{"photo_id":"1394742604","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742601":["hashtag1","hashtag2"]},{"1394742604":["hashtag1","hashtag2"]},{"1394742603":["hashtag1","hashtag2"]},{"1394742606":["hashtag1","hashtag2"]},{"1394742602":["hashtag1","hashtag2"]},{"1394742608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742601, 1394742604, 1394742603, 1394742606, 1394742602, 1394742608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57547569274902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:39:41.927405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_55_2644.jpg', '/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_59_3595.jpg', '/home/pi/Desktop/images/16112025/11/12/image_16112025_11_12_01_2596.jpg', '/home/pi/Desktop/images/16112025/11/12/image_16112025_11_12_04_2576.jpg', '/home/pi/Desktop/images/16112025/11/12/image_16112025_11_12_08_3776.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_06_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_55_2644.jpg
/home/pi/Desktop/images/16112025/11/11/image_16112025_11_11_59_3595.jpg
/home/pi/Desktop/images/16112025/11/12/image_16112025_11_12_01_2596.jpg
/home/pi/Desktop/images/16112025/11/12/image_16112025_11_12_04_2576.jpg
/home/pi/Desktop/images/16112025/11/12/image_16112025_11_12_08_3776.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_06_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742613","1394742616","1394742618","1394742615","1394742609","1394742617"],"photo_ids_order":["1394742609","1394742613","1394742615","1394742616","1394742617","1394742618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e4f382a54f20952e5375c2734325677.jpg","text":"TemporaryFile(/tmp/multipartBody6858380579731827337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296842562,"filename":"image_16112025_11_11_59_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e03b00611436fa815297ee586b3203fd.jpg","text":"TemporaryFile(/tmp/multipartBody1133595624671181443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296842562,"filename":"image_16112025_11_12_04_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50e4840a1ffb8beb375590d976cae8e6.jpg","text":"TemporaryFile(/tmp/multipartBody2706699087397036251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296842562,"filename":"image_16112025_11_13_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b40e5cb832a5939db11e6206a867e15c.jpg","text":"TemporaryFile(/tmp/multipartBody2356796426203915514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296842562,"filename":"image_16112025_11_12_01_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8aec3ed8e8f48b4853dbe2946be16e3.jpg","text":"TemporaryFile(/tmp/multipartBody3005401079391263063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296842562,"filename":"image_16112025_11_11_55_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4dfcc0ec34202f50ebf72cdd3ede2131.jpg","text":"TemporaryFile(/tmp/multipartBody5133941636043888396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296842562,"filename":"image_16112025_11_12_08_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742615","file1":"1394742613","file0":"1394742609","file4":"1394742617","file5":"1394742618","file3":"1394742616"},"map_files_photo_id_array":[{"photo_id":"1394742618","filename":"file5"},{"photo_id":"1394742615","filename":"file2"},{"photo_id":"1394742617","filename":"file4"},{"photo_id":"1394742613","filename":"file1"},{"photo_id":"1394742609","filename":"file0"},{"photo_id":"1394742616","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742613":["hashtag1","hashtag2"]},{"1394742616":["hashtag1","hashtag2"]},{"1394742618":["hashtag1","hashtag2"]},{"1394742615":["hashtag1","hashtag2"]},{"1394742609":["hashtag1","hashtag2"]},{"1394742617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742613, 1394742616, 1394742618, 1394742615, 1394742609, 1394742617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91035842895508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:40:22.195365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_10_3858.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_13_2662.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_16_2751.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_19_3617.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_22_2675.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_25_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_10_3858.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_13_2662.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_16_2751.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_19_3617.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_22_2675.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_25_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742628","1394742622","1394742624","1394742623","1394742626","1394742631"],"photo_ids_order":["1394742622","1394742623","1394742624","1394742626","1394742628","1394742631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02b0b46234418847a4d30fe191082280.jpg","text":"TemporaryFile(/tmp/multipartBody4054068881286674903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296882893,"filename":"image_16112025_11_13_22_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a3c01a56d509fa34e2903cec5c01ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5791794937685006912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296882893,"filename":"image_16112025_11_13_10_3858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e13cba3478383d49fc86411d6faefb8b.jpg","text":"TemporaryFile(/tmp/multipartBody778526466876770388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296882893,"filename":"image_16112025_11_13_16_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19724ddc51a5bedfc788a8f15b0ddea6.jpg","text":"TemporaryFile(/tmp/multipartBody3458706305305075092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296882893,"filename":"image_16112025_11_13_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/11/16/e9d2e811b3f4a0a98c6bf729aa3cd0d0.jpg","text":"TemporaryFile(/tmp/multipartBody7995392250821917446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296882893,"filename":"image_16112025_11_13_19_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be78ec6fe4239c18910a2f14bcaba638.jpg","text":"TemporaryFile(/tmp/multipartBody1039392153554443331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296882893,"filename":"image_16112025_11_13_25_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742624","file1":"1394742623","file0":"1394742622","file4":"1394742628","file5":"1394742631","file3":"1394742626"},"map_files_photo_id_array":[{"photo_id":"1394742631","filename":"file5"},{"photo_id":"1394742624","filename":"file2"},{"photo_id":"1394742628","filename":"file4"},{"photo_id":"1394742623","filename":"file1"},{"photo_id":"1394742622","filename":"file0"},{"photo_id":"1394742626","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742628":["hashtag1","hashtag2"]},{"1394742622":["hashtag1","hashtag2"]},{"1394742624":["hashtag1","hashtag2"]},{"1394742623":["hashtag1","hashtag2"]},{"1394742626":["hashtag1","hashtag2"]},{"1394742631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742628, 1394742622, 1394742624, 1394742623, 1394742626, 1394742631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.633565187454224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:41:03.147312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_28_3744.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_31_2660.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_34_2670.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_37_3701.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_40_2662.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_43_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_28_3744.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_31_2660.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_34_2670.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_37_3701.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_40_2662.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_43_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742634","1394742636","1394742633","1394742641","1394742635","1394742638"],"photo_ids_order":["1394742633","1394742634","1394742635","1394742636","1394742638","1394742641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f491a5278f4236af2b3cb60034347bb.jpg","text":"TemporaryFile(/tmp/multipartBody28613376956028989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296923871,"filename":"image_16112025_11_13_31_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89adf9ef087630370f862a167386a1af.jpg","text":"TemporaryFile(/tmp/multipartBody2732731005593715154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296923871,"filename":"image_16112025_11_13_37_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a806298b13aae1fea3c71427fcd6b6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7437377129784301561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296923871,"filename":"image_16112025_11_13_28_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42da64a817cde8df16a3e4c9f8994283.jpg","text":"TemporaryFile(/tmp/multipartBody1482583884696208463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296923871,"filename":"image_16112025_11_13_43_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/025c72de8f682fbf4106047b9f8dd743.jpg","text":"TemporaryFile(/tmp/multipartBody917043875496107503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296923871,"filename":"image_16112025_11_13_34_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ec0098fd7df18d78cf5338fea045f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5539892402638155048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296923871,"filename":"image_16112025_11_13_40_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742635","file1":"1394742634","file0":"1394742633","file4":"1394742638","file5":"1394742641","file3":"1394742636"},"map_files_photo_id_array":[{"photo_id":"1394742641","filename":"file5"},{"photo_id":"1394742635","filename":"file2"},{"photo_id":"1394742638","filename":"file4"},{"photo_id":"1394742634","filename":"file1"},{"photo_id":"1394742633","filename":"file0"},{"photo_id":"1394742636","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742634":["hashtag1","hashtag2"]},{"1394742636":["hashtag1","hashtag2"]},{"1394742633":["hashtag1","hashtag2"]},{"1394742641":["hashtag1","hashtag2"]},{"1394742635":["hashtag1","hashtag2"]},{"1394742638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742634, 1394742636, 1394742633, 1394742641, 1394742635, 1394742638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39036178588867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:41:42.377912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_46_2701.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_49_3706.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_52_2575.jpg', '/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_58_3749.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_07_3013.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_13_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_46_2701.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_49_3706.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_52_2575.jpg
/home/pi/Desktop/images/16112025/11/13/image_16112025_11_13_58_3749.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_07_3013.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_13_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742649","1394742648","1394742651","1394742645","1394742650","1394742647"],"photo_ids_order":["1394742645","1394742647","1394742648","1394742649","1394742650","1394742651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75f9a22329ce87f198896a41771cfe82.jpg","text":"TemporaryFile(/tmp/multipartBody7962279834730822096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296963056,"filename":"image_16112025_11_13_58_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd63e159829cef318183220ffc747ea2.jpg","text":"TemporaryFile(/tmp/multipartBody1245557592324096906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296963056,"filename":"image_16112025_11_13_52_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/932cc3cee0bd2f83a72741b7ce9d9a08.jpg","text":"TemporaryFile(/tmp/multipartBody8361731958013245224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296963056,"filename":"image_16112025_11_15_13_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05ff355cd1275f1524d744a71e4028e5.jpg","text":"TemporaryFile(/tmp/multipartBody1062681882972773263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296963056,"filename":"image_16112025_11_13_46_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d905247014f41bdb2ced405615feae69.jpg","text":"TemporaryFile(/tmp/multipartBody8014022612039162367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296963056,"filename":"image_16112025_11_15_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/11/16/b051fa0254073c1058430a9011e2474c.jpg","text":"TemporaryFile(/tmp/multipartBody7451444886268268019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763296963056,"filename":"image_16112025_11_13_49_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742648","file1":"1394742647","file0":"1394742645","file4":"1394742650","file5":"1394742651","file3":"1394742649"},"map_files_photo_id_array":[{"photo_id":"1394742651","filename":"file5"},{"photo_id":"1394742648","filename":"file2"},{"photo_id":"1394742650","filename":"file4"},{"photo_id":"1394742647","filename":"file1"},{"photo_id":"1394742645","filename":"file0"},{"photo_id":"1394742649","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742649":["hashtag1","hashtag2"]},{"1394742648":["hashtag1","hashtag2"]},{"1394742651":["hashtag1","hashtag2"]},{"1394742645":["hashtag1","hashtag2"]},{"1394742650":["hashtag1","hashtag2"]},{"1394742647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742649, 1394742648, 1394742651, 1394742645, 1394742650, 1394742647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.087838649749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:42:22.595059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_17_3641.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_20_2624.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_22_2692.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_26_3537.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_28_2557.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_32_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_17_3641.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_20_2624.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_22_2692.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_26_3537.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_28_2557.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_32_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742654","1394742657","1394742659","1394742662","1394742655","1394742658"],"photo_ids_order":["1394742654","1394742655","1394742657","1394742658","1394742659","1394742662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78059b4e106447864c2e664c44a555e7.jpg","text":"TemporaryFile(/tmp/multipartBody2683881505372828509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297003236,"filename":"image_16112025_11_15_17_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d91ca44b92c23f7d0a288b6d454f164.jpg","text":"TemporaryFile(/tmp/multipartBody6099786563307244833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297003236,"filename":"image_16112025_11_15_22_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7ad7562f8a3001d9c75361665749d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2014259802998264773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297003236,"filename":"image_16112025_11_15_28_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df8f0c868ae2e2e59701c4c1d5534ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8954786679479693996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297003236,"filename":"image_16112025_11_15_32_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7d490caa0b4c6b3b6a91e933024cec0.jpg","text":"TemporaryFile(/tmp/multipartBody1527910470835679978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297003236,"filename":"image_16112025_11_15_20_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3540eb73bf986cfa9eb53f72024cb0e.jpg","text":"TemporaryFile(/tmp/multipartBody5026384750652893368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297003236,"filename":"image_16112025_11_15_26_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742657","file1":"1394742655","file0":"1394742654","file4":"1394742659","file5":"1394742662","file3":"1394742658"},"map_files_photo_id_array":[{"photo_id":"1394742662","filename":"file5"},{"photo_id":"1394742657","filename":"file2"},{"photo_id":"1394742659","filename":"file4"},{"photo_id":"1394742655","filename":"file1"},{"photo_id":"1394742654","filename":"file0"},{"photo_id":"1394742658","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742654":["hashtag1","hashtag2"]},{"1394742657":["hashtag1","hashtag2"]},{"1394742659":["hashtag1","hashtag2"]},{"1394742662":["hashtag1","hashtag2"]},{"1394742655":["hashtag1","hashtag2"]},{"1394742658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742654, 1394742657, 1394742659, 1394742662, 1394742655, 1394742658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08364772796631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:43:02.635912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_35_3086.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_38_2549.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_40_2754.jpg', '/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_44_3623.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_06_3011.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_10_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_35_3086.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_38_2549.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_40_2754.jpg
/home/pi/Desktop/images/16112025/11/15/image_16112025_11_15_44_3623.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_06_3011.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_10_3672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742672","1394742666","1394742669","1394742665","1394742664","1394742667"],"photo_ids_order":["1394742664","1394742665","1394742666","1394742667","1394742669","1394742672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63d508e5b2daf1fc78717c445e34e0e4.jpg","text":"TemporaryFile(/tmp/multipartBody8814423732322163585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297043387,"filename":"image_16112025_11_17_10_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60e1aaa8cd4a9a94fcbf91e1d416ab73.jpg","text":"TemporaryFile(/tmp/multipartBody7404839698340138105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297043387,"filename":"image_16112025_11_15_40_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4df4c06f8bd84a86071f8cc1602cbda9.jpg","text":"TemporaryFile(/tmp/multipartBody8002984694184798390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297043387,"filename":"image_16112025_11_17_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/11/16/f28ae887dadd8beb9b2914c5aaae6aef.jpg","text":"TemporaryFile(/tmp/multipartBody4353424197534911082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297043387,"filename":"image_16112025_11_15_38_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ba23f38c3983b4bdfbbb2138934f14d.jpg","text":"TemporaryFile(/tmp/multipartBody2926887362144953080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297043387,"filename":"image_16112025_11_15_35_3086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92b30244d5639cd5a78098ab13a1ac02.jpg","text":"TemporaryFile(/tmp/multipartBody2683138285629960334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297043387,"filename":"image_16112025_11_15_44_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742666","file1":"1394742665","file0":"1394742664","file4":"1394742669","file5":"1394742672","file3":"1394742667"},"map_files_photo_id_array":[{"photo_id":"1394742672","filename":"file5"},{"photo_id":"1394742666","filename":"file2"},{"photo_id":"1394742669","filename":"file4"},{"photo_id":"1394742665","filename":"file1"},{"photo_id":"1394742664","filename":"file0"},{"photo_id":"1394742667","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742672":["hashtag1","hashtag2"]},{"1394742666":["hashtag1","hashtag2"]},{"1394742669":["hashtag1","hashtag2"]},{"1394742665":["hashtag1","hashtag2"]},{"1394742664":["hashtag1","hashtag2"]},{"1394742667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742672, 1394742666, 1394742669, 1394742665, 1394742664, 1394742667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26451396942139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:43:41.945855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_13_2696.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_16_3546.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_19_2490.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_21_2631.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_25_3626.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_28_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_13_2696.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_16_3546.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_19_2490.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_21_2631.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_25_3626.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_28_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: 0.54850172996521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:44:03.057075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_13_2696.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_16_3546.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_19_2490.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_21_2631.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_25_3626.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_28_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_13_2696.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_16_3546.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_19_2490.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_21_2631.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_25_3626.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_28_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742693","1394742696","1394742689","1394742698","1394742701","1394742691"],"photo_ids_order":["1394742689","1394742691","1394742693","1394742696","1394742698","1394742701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62b692f20b0a5818c48606d048b30814.jpg","text":"TemporaryFile(/tmp/multipartBody7130175105338544948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297103760,"filename":"image_16112025_11_17_19_2490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35dea30564680bdd0ba4f55c1ba354f8.jpg","text":"TemporaryFile(/tmp/multipartBody4025927047886207610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297103760,"filename":"image_16112025_11_17_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/11/16/3731b44f2c0605f981213df23105906b.jpg","text":"TemporaryFile(/tmp/multipartBody3849468165229486804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297103760,"filename":"image_16112025_11_17_13_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28b84ad7cfd16ac2d53bff099b090c40.jpg","text":"TemporaryFile(/tmp/multipartBody5301283436021169067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297103760,"filename":"image_16112025_11_17_25_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc04561f52303fb1cd90ce9c5015373c.jpg","text":"TemporaryFile(/tmp/multipartBody3977254653041033086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297103760,"filename":"image_16112025_11_17_28_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29773ee2ccff6d399a8d1c616d2e19b9.jpg","text":"TemporaryFile(/tmp/multipartBody6301009349103507978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297103760,"filename":"image_16112025_11_17_16_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742693","file1":"1394742691","file0":"1394742689","file4":"1394742698","file5":"1394742701","file3":"1394742696"},"map_files_photo_id_array":[{"photo_id":"1394742701","filename":"file5"},{"photo_id":"1394742693","filename":"file2"},{"photo_id":"1394742698","filename":"file4"},{"photo_id":"1394742691","filename":"file1"},{"photo_id":"1394742689","filename":"file0"},{"photo_id":"1394742696","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742693":["hashtag1","hashtag2"]},{"1394742696":["hashtag1","hashtag2"]},{"1394742689":["hashtag1","hashtag2"]},{"1394742698":["hashtag1","hashtag2"]},{"1394742701":["hashtag1","hashtag2"]},{"1394742691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742693, 1394742696, 1394742689, 1394742698, 1394742701, 1394742691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.134610176086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:44:42.176113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_31_3582.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_43_2647.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_49_2545.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_51_2655.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_55_3516.jpg', '/home/pi/Desktop/images/16112025/11/17/image_16112025_11_18_01_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_31_3582.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_43_2647.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_49_2545.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_51_2655.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_17_55_3516.jpg
/home/pi/Desktop/images/16112025/11/17/image_16112025_11_18_01_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742712","1394742706","1394742709","1394742705","1394742716","1394742707"],"photo_ids_order":["1394742705","1394742706","1394742707","1394742709","1394742712","1394742716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91ea214bb152ec00a7b0643faa6f6a32.jpg","text":"TemporaryFile(/tmp/multipartBody1887708875708065693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297142861,"filename":"image_16112025_11_17_55_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acfa7a94409b98b80f37e0b2fb77c5c3.jpg","text":"TemporaryFile(/tmp/multipartBody864716353846580768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297142861,"filename":"image_16112025_11_17_43_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0506c90237936c37cc9327be83216db.jpg","text":"TemporaryFile(/tmp/multipartBody5976587385040588965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297142861,"filename":"image_16112025_11_17_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/11/16/7670daf9b54a3e41f5f5526dbba39572.jpg","text":"TemporaryFile(/tmp/multipartBody3902006867228175724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297142861,"filename":"image_16112025_11_17_31_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cfc92c261a32d43b35073e6c7f9398f.jpg","text":"TemporaryFile(/tmp/multipartBody6023352641630006292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297142861,"filename":"image_16112025_11_18_01_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66470fb0e210c8a2fd89165d25851c46.jpg","text":"TemporaryFile(/tmp/multipartBody8173451016496626434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297142861,"filename":"image_16112025_11_17_49_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742707","file1":"1394742706","file0":"1394742705","file4":"1394742712","file5":"1394742716","file3":"1394742709"},"map_files_photo_id_array":[{"photo_id":"1394742716","filename":"file5"},{"photo_id":"1394742707","filename":"file2"},{"photo_id":"1394742712","filename":"file4"},{"photo_id":"1394742706","filename":"file1"},{"photo_id":"1394742705","filename":"file0"},{"photo_id":"1394742709","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742712":["hashtag1","hashtag2"]},{"1394742706":["hashtag1","hashtag2"]},{"1394742709":["hashtag1","hashtag2"]},{"1394742705":["hashtag1","hashtag2"]},{"1394742716":["hashtag1","hashtag2"]},{"1394742707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742712, 1394742706, 1394742709, 1394742705, 1394742716, 1394742707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20301675796509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:45:22.336918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/18/image_16112025_11_18_04_2634.jpg', '/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_07_3018.jpg', '/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_28_2627.jpg', '/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_40_2534.jpg', '/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_44_3638.jpg', '/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_46_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/18/image_16112025_11_18_04_2634.jpg
/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_07_3018.jpg
/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_28_2627.jpg
/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_40_2534.jpg
/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_44_3638.jpg
/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_46_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742733","1394742727","1394742732","1394742734","1394742736","1394742730"],"photo_ids_order":["1394742727","1394742730","1394742732","1394742733","1394742734","1394742736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94a4b240b61c9b42d801d7fec3b78b84.jpg","text":"TemporaryFile(/tmp/multipartBody6275671731739254265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297183043,"filename":"image_16112025_11_19_40_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd3e0f617d64a418de60a056e9d5a21f.jpg","text":"TemporaryFile(/tmp/multipartBody893356480948971494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297183043,"filename":"image_16112025_11_18_04_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b74452761098be8d5351af590c285693.jpg","text":"TemporaryFile(/tmp/multipartBody6619974986246285541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297183043,"filename":"image_16112025_11_19_28_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2548313a9c07b8de4c6420244b6f81d5.jpg","text":"TemporaryFile(/tmp/multipartBody6803303329023706759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297183043,"filename":"image_16112025_11_19_44_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1778cee5ff4d5b2bf22779567d7b9a7.jpg","text":"TemporaryFile(/tmp/multipartBody317716012411605267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297183043,"filename":"image_16112025_11_19_46_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9ec0cfb7d767b7ca7d67a925ad14e10.jpg","text":"TemporaryFile(/tmp/multipartBody993885469061168135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297183043,"filename":"image_16112025_11_19_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742732","file1":"1394742730","file0":"1394742727","file4":"1394742734","file5":"1394742736","file3":"1394742733"},"map_files_photo_id_array":[{"photo_id":"1394742736","filename":"file5"},{"photo_id":"1394742732","filename":"file2"},{"photo_id":"1394742734","filename":"file4"},{"photo_id":"1394742730","filename":"file1"},{"photo_id":"1394742727","filename":"file0"},{"photo_id":"1394742733","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742733":["hashtag1","hashtag2"]},{"1394742727":["hashtag1","hashtag2"]},{"1394742732":["hashtag1","hashtag2"]},{"1394742734":["hashtag1","hashtag2"]},{"1394742736":["hashtag1","hashtag2"]},{"1394742730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742733, 1394742727, 1394742732, 1394742734, 1394742736, 1394742730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29381823539734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:46:03.024157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_55_2710.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_11_3644.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_17_3633.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_26_3696.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_29_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/19/image_16112025_11_19_55_2710.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_07_3011.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_11_3644.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_17_3633.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_26_3696.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_29_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742747","1394742741","1394742738","1394742740","1394742743","1394742739"],"photo_ids_order":["1394742738","1394742739","1394742740","1394742741","1394742743","1394742747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9d76ee36008353a11a688da06ee3e4b.jpg","text":"TemporaryFile(/tmp/multipartBody441233348027443820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297223684,"filename":"image_16112025_11_20_29_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ff2a9d8248d0d8b16d6f2b650104c4c.jpg","text":"TemporaryFile(/tmp/multipartBody3627742719600761508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297223684,"filename":"image_16112025_11_20_17_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a90bebcd053868cee06804bc33daec1.jpg","text":"TemporaryFile(/tmp/multipartBody7854259208716453395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297223684,"filename":"image_16112025_11_19_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/11/16/f7437027a5779866bc27c2d273ac3e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4897514856403610122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297223684,"filename":"image_16112025_11_20_11_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e666cdadab88dbfc56443f13c317873.jpg","text":"TemporaryFile(/tmp/multipartBody9005946097535019595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297223684,"filename":"image_16112025_11_20_26_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c41541cfd4fde6dd62bff06e68775ce.jpg","text":"TemporaryFile(/tmp/multipartBody2730707833766891801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297223684,"filename":"image_16112025_11_20_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742740","file1":"1394742739","file0":"1394742738","file4":"1394742743","file5":"1394742747","file3":"1394742741"},"map_files_photo_id_array":[{"photo_id":"1394742747","filename":"file5"},{"photo_id":"1394742740","filename":"file2"},{"photo_id":"1394742743","filename":"file4"},{"photo_id":"1394742739","filename":"file1"},{"photo_id":"1394742738","filename":"file0"},{"photo_id":"1394742741","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742747":["hashtag1","hashtag2"]},{"1394742741":["hashtag1","hashtag2"]},{"1394742738":["hashtag1","hashtag2"]},{"1394742740":["hashtag1","hashtag2"]},{"1394742743":["hashtag1","hashtag2"]},{"1394742739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742747, 1394742741, 1394742738, 1394742740, 1394742743, 1394742739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.658255100250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:46:42.586893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_31_2525.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_35_3481.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_37_2601.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_46_2884.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_50_3676.jpg', '/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_53_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_31_2525.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_35_3481.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_37_2601.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_46_2884.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_50_3676.jpg
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_53_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742756","1394742758","1394742755","1394742760","1394742754","1394742757"],"photo_ids_order":["1394742754","1394742755","1394742756","1394742757","1394742758","1394742760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/947fde3addaaac20971256583715719d.jpg","text":"TemporaryFile(/tmp/multipartBody5858147824893708585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297263201,"filename":"image_16112025_11_20_37_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/299565fefab70d027f398b5b0b3a67ce.jpg","text":"TemporaryFile(/tmp/multipartBody3060987187267874198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297263201,"filename":"image_16112025_11_20_50_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fec154ae410137a206497bb93d67a958.jpg","text":"TemporaryFile(/tmp/multipartBody846041751508783912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297263201,"filename":"image_16112025_11_20_35_3481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83e1c3b712341d28a3daf2ad5eb8edb8.jpg","text":"TemporaryFile(/tmp/multipartBody2357350552723331978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297263201,"filename":"image_16112025_11_20_53_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa679767b85c454ea7b934b0e05b456e.jpg","text":"TemporaryFile(/tmp/multipartBody1782999056279014103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297263201,"filename":"image_16112025_11_20_31_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/757dde30b2f775bd1fa5367e09a6baa3.jpg","text":"TemporaryFile(/tmp/multipartBody6357299770605694163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297263201,"filename":"image_16112025_11_20_46_2884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742756","file1":"1394742755","file0":"1394742754","file4":"1394742758","file5":"1394742760","file3":"1394742757"},"map_files_photo_id_array":[{"photo_id":"1394742760","filename":"file5"},{"photo_id":"1394742756","filename":"file2"},{"photo_id":"1394742758","filename":"file4"},{"photo_id":"1394742755","filename":"file1"},{"photo_id":"1394742754","filename":"file0"},{"photo_id":"1394742757","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742756":["hashtag1","hashtag2"]},{"1394742758":["hashtag1","hashtag2"]},{"1394742755":["hashtag1","hashtag2"]},{"1394742760":["hashtag1","hashtag2"]},{"1394742754":["hashtag1","hashtag2"]},{"1394742757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742756, 1394742758, 1394742755, 1394742760, 1394742754, 1394742757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61921668052673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:47:22.824724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_55_2633.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_01_1551.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_05_3652.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_07_2718.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_10_2929.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_13_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/20/image_16112025_11_20_55_2633.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_01_1551.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_05_3652.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_07_2718.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_10_2929.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_13_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742771","1394742780","1394742768","1394742776","1394742773","1394742778"],"photo_ids_order":["1394742768","1394742771","1394742773","1394742776","1394742778","1394742780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9347d562aaf91a399f5cd9bb535cef6d.jpg","text":"TemporaryFile(/tmp/multipartBody3049697800618870983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297303470,"filename":"image_16112025_11_21_01_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5b537d62258fa61b312078f77f5d13f.jpg","text":"TemporaryFile(/tmp/multipartBody3817678830713462503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297303470,"filename":"image_16112025_11_21_13_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25a64c1706a1c5fcbee3d0c8c6da4d72.jpg","text":"TemporaryFile(/tmp/multipartBody718432969652051882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297303470,"filename":"image_16112025_11_20_55_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70ca94852cc8de3d4fadd0151f2b9b67.jpg","text":"TemporaryFile(/tmp/multipartBody1987481326714794818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297303470,"filename":"image_16112025_11_21_07_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33232eab3dc258585bc7719f695dcb41.jpg","text":"TemporaryFile(/tmp/multipartBody1288172962300706025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297303470,"filename":"image_16112025_11_21_05_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e30760629e7daf52c181f45e991d518.jpg","text":"TemporaryFile(/tmp/multipartBody2811567278511567647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297303470,"filename":"image_16112025_11_21_10_2929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742773","file1":"1394742771","file0":"1394742768","file4":"1394742778","file5":"1394742780","file3":"1394742776"},"map_files_photo_id_array":[{"photo_id":"1394742780","filename":"file5"},{"photo_id":"1394742773","filename":"file2"},{"photo_id":"1394742778","filename":"file4"},{"photo_id":"1394742771","filename":"file1"},{"photo_id":"1394742768","filename":"file0"},{"photo_id":"1394742776","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742771":["hashtag1","hashtag2"]},{"1394742780":["hashtag1","hashtag2"]},{"1394742768":["hashtag1","hashtag2"]},{"1394742776":["hashtag1","hashtag2"]},{"1394742773":["hashtag1","hashtag2"]},{"1394742778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742771, 1394742780, 1394742768, 1394742776, 1394742773, 1394742778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04284715652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:48:02.432214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_17_3590.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_19_2618.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_23_3601.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_25_2628.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_34_2686.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_37_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_17_3590.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_19_2618.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_23_3601.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_25_2628.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_34_2686.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_37_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742783","1394742788","1394742782","1394742785","1394742787","1394742784"],"photo_ids_order":["1394742782","1394742783","1394742784","1394742785","1394742787","1394742788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/684011ad5f54224ab8f9ddbb780f716b.jpg","text":"TemporaryFile(/tmp/multipartBody2985030229985814977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297343158,"filename":"image_16112025_11_21_19_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd157463e594516d803d474aa517c453.jpg","text":"TemporaryFile(/tmp/multipartBody1773164246873699249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297343158,"filename":"image_16112025_11_21_37_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a10287eed421287fb8ef738eaea9f72.jpg","text":"TemporaryFile(/tmp/multipartBody347737476579436988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297343158,"filename":"image_16112025_11_21_17_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ff4f8507e71e60f2a8d6c5a997bd9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1592743128309930900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297343158,"filename":"image_16112025_11_21_25_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e888fb393592e440b64624a91d936ba.jpg","text":"TemporaryFile(/tmp/multipartBody1246336476776069579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297343158,"filename":"image_16112025_11_21_34_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94ab9798eb3297fa2c8530beba8a8906.jpg","text":"TemporaryFile(/tmp/multipartBody4989775362760497394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297343158,"filename":"image_16112025_11_21_23_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742784","file1":"1394742783","file0":"1394742782","file4":"1394742787","file5":"1394742788","file3":"1394742785"},"map_files_photo_id_array":[{"photo_id":"1394742788","filename":"file5"},{"photo_id":"1394742784","filename":"file2"},{"photo_id":"1394742787","filename":"file4"},{"photo_id":"1394742783","filename":"file1"},{"photo_id":"1394742782","filename":"file0"},{"photo_id":"1394742785","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742783":["hashtag1","hashtag2"]},{"1394742788":["hashtag1","hashtag2"]},{"1394742782":["hashtag1","hashtag2"]},{"1394742785":["hashtag1","hashtag2"]},{"1394742787":["hashtag1","hashtag2"]},{"1394742784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742783, 1394742788, 1394742782, 1394742785, 1394742787, 1394742784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.810951232910156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:48:42.142296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_41_3540.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_43_2650.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_46_2762.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_52_2713.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_55_2524.jpg', '/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_59_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_41_3540.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_43_2650.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_46_2762.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_52_2713.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_55_2524.jpg
/home/pi/Desktop/images/16112025/11/21/image_16112025_11_21_59_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742795","1394742794","1394742797","1394742791","1394742793","1394742796"],"photo_ids_order":["1394742791","1394742793","1394742794","1394742795","1394742796","1394742797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04eab29037f35ffa47d1459b9a45e9d5.jpg","text":"TemporaryFile(/tmp/multipartBody6834779325048802794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297382820,"filename":"image_16112025_11_21_52_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a06a73ed3f0d91ed83dcdfaf6fdaa94.jpg","text":"TemporaryFile(/tmp/multipartBody1979935890857486000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297382820,"filename":"image_16112025_11_21_46_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04c2db520232923c0bb359a371ec2246.jpg","text":"TemporaryFile(/tmp/multipartBody3486082053723973389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297382820,"filename":"image_16112025_11_21_59_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9ca3dc9a3f6f7bbf27bbc690bed7da6.jpg","text":"TemporaryFile(/tmp/multipartBody4440133044233767471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297382820,"filename":"image_16112025_11_21_41_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d69e7457902fc96764546f770fdb2b93.jpg","text":"TemporaryFile(/tmp/multipartBody6416267679007412329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297382820,"filename":"image_16112025_11_21_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/11/16/2c8eb2b5246eb78cdd4d288413d24be1.jpg","text":"TemporaryFile(/tmp/multipartBody1529095044590536416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297382820,"filename":"image_16112025_11_21_55_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742794","file1":"1394742793","file0":"1394742791","file4":"1394742796","file5":"1394742797","file3":"1394742795"},"map_files_photo_id_array":[{"photo_id":"1394742797","filename":"file5"},{"photo_id":"1394742794","filename":"file2"},{"photo_id":"1394742796","filename":"file4"},{"photo_id":"1394742793","filename":"file1"},{"photo_id":"1394742791","filename":"file0"},{"photo_id":"1394742795","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742795":["hashtag1","hashtag2"]},{"1394742794":["hashtag1","hashtag2"]},{"1394742797":["hashtag1","hashtag2"]},{"1394742791":["hashtag1","hashtag2"]},{"1394742793":["hashtag1","hashtag2"]},{"1394742796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742795, 1394742794, 1394742797, 1394742791, 1394742793, 1394742796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31740593910217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:49:22.418356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_01_2607.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_04_2668.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_08_3746.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_10_2769.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_13_2513.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_17_3783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_01_2607.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_04_2668.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_08_3746.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_10_2769.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_13_2513.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_17_3783.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.5539202690124512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:49:42.337814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_01_2607.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_04_2668.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_08_3746.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_10_2769.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_13_2513.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_17_3783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_01_2607.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_04_2668.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_08_3746.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_10_2769.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_13_2513.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_17_3783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742811","1394742814","1394742816","1394742813","1394742815","1394742817"],"photo_ids_order":["1394742811","1394742813","1394742814","1394742815","1394742816","1394742817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63ad0cafadceb2e053b7ee2b6d680458.jpg","text":"TemporaryFile(/tmp/multipartBody6411008842543848080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297442955,"filename":"image_16112025_11_22_01_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9de8d1ad8471fe8559b261fcdab5ed70.jpg","text":"TemporaryFile(/tmp/multipartBody8914201470003279807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297442955,"filename":"image_16112025_11_22_08_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52fbb42c56bb3f96a25782ff393b06f4.jpg","text":"TemporaryFile(/tmp/multipartBody5420070262322090246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297442955,"filename":"image_16112025_11_22_13_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7d7065d3a01a03400893ae84b4944fc.jpg","text":"TemporaryFile(/tmp/multipartBody7353617674114462063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297442955,"filename":"image_16112025_11_22_04_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd8c635b83b27f437df90fb0b4ae19fd.jpg","text":"TemporaryFile(/tmp/multipartBody3380017592541696541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297442955,"filename":"image_16112025_11_22_10_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e51021031272de9006e447792c576e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6303143314552761627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297442955,"filename":"image_16112025_11_22_17_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742814","file1":"1394742813","file0":"1394742811","file4":"1394742816","file5":"1394742817","file3":"1394742815"},"map_files_photo_id_array":[{"photo_id":"1394742817","filename":"file5"},{"photo_id":"1394742814","filename":"file2"},{"photo_id":"1394742816","filename":"file4"},{"photo_id":"1394742813","filename":"file1"},{"photo_id":"1394742811","filename":"file0"},{"photo_id":"1394742815","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742811":["hashtag1","hashtag2"]},{"1394742814":["hashtag1","hashtag2"]},{"1394742816":["hashtag1","hashtag2"]},{"1394742813":["hashtag1","hashtag2"]},{"1394742815":["hashtag1","hashtag2"]},{"1394742817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742811, 1394742814, 1394742816, 1394742813, 1394742815, 1394742817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.702122926712036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:50:22.579806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_19_2699.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_22_2655.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_26_3554.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_28_2528.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_32_3615.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_34_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_19_2699.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_22_2655.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_26_3554.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_28_2528.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_32_3615.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_34_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742820","1394742822","1394742819","1394742824","1394742821","1394742823"],"photo_ids_order":["1394742819","1394742820","1394742821","1394742822","1394742823","1394742824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc9bddd144eabf54ac6a39bc350ff7bd.jpg","text":"TemporaryFile(/tmp/multipartBody1665363258560709923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297483257,"filename":"image_16112025_11_22_22_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5513ec8262e4e60baa9b48fbb1ce0201.jpg","text":"TemporaryFile(/tmp/multipartBody4020053380845572026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297483257,"filename":"image_16112025_11_22_28_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2bb872da4035292e7d98ee086f6e394.jpg","text":"TemporaryFile(/tmp/multipartBody7360124084162368171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297483257,"filename":"image_16112025_11_22_19_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f1defa90efabbedf8df724381297be3.jpg","text":"TemporaryFile(/tmp/multipartBody3903901508695066003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297483257,"filename":"image_16112025_11_22_34_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d2422e4fad458ea280f5ce5ddda454d.jpg","text":"TemporaryFile(/tmp/multipartBody156123122633787750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297483257,"filename":"image_16112025_11_22_26_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e3ca068a17143473050a88a9e79e9dc.jpg","text":"TemporaryFile(/tmp/multipartBody9198751334111131594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297483257,"filename":"image_16112025_11_22_32_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742821","file1":"1394742820","file0":"1394742819","file4":"1394742823","file5":"1394742824","file3":"1394742822"},"map_files_photo_id_array":[{"photo_id":"1394742824","filename":"file5"},{"photo_id":"1394742821","filename":"file2"},{"photo_id":"1394742823","filename":"file4"},{"photo_id":"1394742820","filename":"file1"},{"photo_id":"1394742819","filename":"file0"},{"photo_id":"1394742822","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742820":["hashtag1","hashtag2"]},{"1394742822":["hashtag1","hashtag2"]},{"1394742819":["hashtag1","hashtag2"]},{"1394742824":["hashtag1","hashtag2"]},{"1394742821":["hashtag1","hashtag2"]},{"1394742823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742820, 1394742822, 1394742819, 1394742824, 1394742821, 1394742823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61100435256958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:51:02.535168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_38_3118.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_46_3672.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_49_2564.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_52_2909.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_56_3630.jpg', '/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_58_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_38_3118.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_46_3672.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_49_2564.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_52_2909.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_56_3630.jpg
/home/pi/Desktop/images/16112025/11/22/image_16112025_11_22_58_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742832","1394742834","1394742828","1394742837","1394742831","1394742830"],"photo_ids_order":["1394742828","1394742830","1394742831","1394742832","1394742834","1394742837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf702ca93a181b6b288cf71743e99055.jpg","text":"TemporaryFile(/tmp/multipartBody665064642872457864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297523307,"filename":"image_16112025_11_22_52_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68025559d8154ba917b79e990da3597a.jpg","text":"TemporaryFile(/tmp/multipartBody1981958880686310023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297523307,"filename":"image_16112025_11_22_56_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f2106350fcadab4e222c6f85690ae43.jpg","text":"TemporaryFile(/tmp/multipartBody6651635601627861241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297523307,"filename":"image_16112025_11_22_38_3118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d87ba15fe78f186c4570bc3075abd6d2.jpg","text":"TemporaryFile(/tmp/multipartBody3417126202719225993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297523307,"filename":"image_16112025_11_22_58_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d970cbc6b34f88d1b02324dedbac43a1.jpg","text":"TemporaryFile(/tmp/multipartBody4943507817998806863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297523307,"filename":"image_16112025_11_22_49_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be0cea953abcd0cf4646dabb9c1c0151.jpg","text":"TemporaryFile(/tmp/multipartBody3672551289749695455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297523307,"filename":"image_16112025_11_22_46_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742831","file1":"1394742830","file0":"1394742828","file4":"1394742834","file5":"1394742837","file3":"1394742832"},"map_files_photo_id_array":[{"photo_id":"1394742837","filename":"file5"},{"photo_id":"1394742831","filename":"file2"},{"photo_id":"1394742834","filename":"file4"},{"photo_id":"1394742830","filename":"file1"},{"photo_id":"1394742828","filename":"file0"},{"photo_id":"1394742832","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742832":["hashtag1","hashtag2"]},{"1394742834":["hashtag1","hashtag2"]},{"1394742828":["hashtag1","hashtag2"]},{"1394742837":["hashtag1","hashtag2"]},{"1394742831":["hashtag1","hashtag2"]},{"1394742830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742832, 1394742834, 1394742828, 1394742837, 1394742831, 1394742830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.744086027145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:51:41.882515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/23/image_16112025_11_23_01_2680.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_07_3018.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_11_3583.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_13_2501.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_17_3754.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_19_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/23/image_16112025_11_23_01_2680.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_07_3018.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_11_3583.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_13_2501.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_17_3754.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_19_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742847","1394742849","1394742843","1394742851","1394742853","1394742856"],"photo_ids_order":["1394742843","1394742847","1394742849","1394742851","1394742853","1394742856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6d439bff25835c3e8bd2b8d68ad680f.jpg","text":"TemporaryFile(/tmp/multipartBody8777010399078109669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297562515,"filename":"image_16112025_11_24_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/11/16/3b68e8177434a505cde322583c5b1c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6628515325130776198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297562515,"filename":"image_16112025_11_24_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/11/16/29aae89b2e012afaeb51a769ee421067.jpg","text":"TemporaryFile(/tmp/multipartBody7046626452318512891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297562515,"filename":"image_16112025_11_23_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/11/16/992fe48cdeae4f37523637379dc1dcd8.jpg","text":"TemporaryFile(/tmp/multipartBody557840003001143948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297562515,"filename":"image_16112025_11_24_13_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74f43aebfb1a3100b858e884b49ad413.jpg","text":"TemporaryFile(/tmp/multipartBody4348590857788914564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297562515,"filename":"image_16112025_11_24_17_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eb7fbd713912622850838c493d7ead6.jpg","text":"TemporaryFile(/tmp/multipartBody8597214533649956297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297562515,"filename":"image_16112025_11_24_19_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742849","file1":"1394742847","file0":"1394742843","file4":"1394742853","file5":"1394742856","file3":"1394742851"},"map_files_photo_id_array":[{"photo_id":"1394742856","filename":"file5"},{"photo_id":"1394742849","filename":"file2"},{"photo_id":"1394742853","filename":"file4"},{"photo_id":"1394742847","filename":"file1"},{"photo_id":"1394742843","filename":"file0"},{"photo_id":"1394742851","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742847":["hashtag1","hashtag2"]},{"1394742849":["hashtag1","hashtag2"]},{"1394742843":["hashtag1","hashtag2"]},{"1394742851":["hashtag1","hashtag2"]},{"1394742853":["hashtag1","hashtag2"]},{"1394742856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742847, 1394742849, 1394742843, 1394742851, 1394742853, 1394742856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13294005393982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:52:22.154741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_22_2629.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_26_3697.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_29_2801.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_31_2683.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_35_3582.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_38_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_22_2629.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_26_3697.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_29_2801.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_31_2683.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_35_3582.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_38_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742864","1394742867","1394742861","1394742866","1394742868","1394742865"],"photo_ids_order":["1394742861","1394742864","1394742865","1394742866","1394742867","1394742868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19f8a47c16ab19e3de4dd03e99ac59b0.jpg","text":"TemporaryFile(/tmp/multipartBody8954725336439304914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297602798,"filename":"image_16112025_11_24_26_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/821f1ca63e28e5197182638be1b267c4.jpg","text":"TemporaryFile(/tmp/multipartBody5489036595588297217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297602798,"filename":"image_16112025_11_24_35_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81a2349033acdcc3592df5ff2d5284a9.jpg","text":"TemporaryFile(/tmp/multipartBody1994064577008190568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297602798,"filename":"image_16112025_11_24_22_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23085f702ecff501a28f8e4729eb1a33.jpg","text":"TemporaryFile(/tmp/multipartBody3843465073950076276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297602798,"filename":"image_16112025_11_24_31_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f30544a32d8b611aee82f9d3efe688af.jpg","text":"TemporaryFile(/tmp/multipartBody7600085031397463495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297602798,"filename":"image_16112025_11_24_38_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b412264fd851e1813e84a3689c981118.jpg","text":"TemporaryFile(/tmp/multipartBody2858314202878227139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297602798,"filename":"image_16112025_11_24_29_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742865","file1":"1394742864","file0":"1394742861","file4":"1394742867","file5":"1394742868","file3":"1394742866"},"map_files_photo_id_array":[{"photo_id":"1394742868","filename":"file5"},{"photo_id":"1394742865","filename":"file2"},{"photo_id":"1394742867","filename":"file4"},{"photo_id":"1394742864","filename":"file1"},{"photo_id":"1394742861","filename":"file0"},{"photo_id":"1394742866","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742864":["hashtag1","hashtag2"]},{"1394742867":["hashtag1","hashtag2"]},{"1394742861":["hashtag1","hashtag2"]},{"1394742866":["hashtag1","hashtag2"]},{"1394742868":["hashtag1","hashtag2"]},{"1394742865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742864, 1394742867, 1394742861, 1394742866, 1394742868, 1394742865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47471880912781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:53:02.945330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_40_2718.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_43_2814.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_47_3659.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_50_2721.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_52_2640.jpg', '/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_55_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_40_2718.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_43_2814.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_47_3659.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_50_2721.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_52_2640.jpg
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_55_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742870","1394742873","1394742872","1394742871","1394742874","1394742877"],"photo_ids_order":["1394742870","1394742871","1394742872","1394742873","1394742874","1394742877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2820c6c0d9d7cc7d538038c232b6d13.jpg","text":"TemporaryFile(/tmp/multipartBody861621152334554358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297643666,"filename":"image_16112025_11_24_40_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df6867b553299aacf537986e8622ad09.jpg","text":"TemporaryFile(/tmp/multipartBody1000542738975681090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297643666,"filename":"image_16112025_11_24_50_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84c4b884b1274013dc630467df5620b9.jpg","text":"TemporaryFile(/tmp/multipartBody7571041393287050100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297643666,"filename":"image_16112025_11_24_47_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8bc335c035ebde1446ebb37274f174ed.jpg","text":"TemporaryFile(/tmp/multipartBody1521096332959855419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297643666,"filename":"image_16112025_11_24_43_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22810d000b96cba5aa79dc1d53a5aa7c.jpg","text":"TemporaryFile(/tmp/multipartBody5291918253884228264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297643666,"filename":"image_16112025_11_24_52_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4902e7ca9b443cf93f916a13948678de.jpg","text":"TemporaryFile(/tmp/multipartBody2633033811593962092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297643666,"filename":"image_16112025_11_24_55_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742872","file1":"1394742871","file0":"1394742870","file4":"1394742874","file5":"1394742877","file3":"1394742873"},"map_files_photo_id_array":[{"photo_id":"1394742877","filename":"file5"},{"photo_id":"1394742872","filename":"file2"},{"photo_id":"1394742874","filename":"file4"},{"photo_id":"1394742871","filename":"file1"},{"photo_id":"1394742870","filename":"file0"},{"photo_id":"1394742873","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742870":["hashtag1","hashtag2"]},{"1394742873":["hashtag1","hashtag2"]},{"1394742872":["hashtag1","hashtag2"]},{"1394742871":["hashtag1","hashtag2"]},{"1394742874":["hashtag1","hashtag2"]},{"1394742877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742870, 1394742873, 1394742872, 1394742871, 1394742874, 1394742877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.930630922317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:53:42.503362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_59_3660.jpg', '/home/pi/Desktop/images/16112025/11/25/image_16112025_11_25_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_07_3017.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_10_3590.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_13_2733.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_16_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/24/image_16112025_11_24_59_3660.jpg
/home/pi/Desktop/images/16112025/11/25/image_16112025_11_25_07_3011.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_07_3017.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_10_3590.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_13_2733.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_16_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742891","1394742888","1394742887","1394742890","1394742884","1394742889"],"photo_ids_order":["1394742884","1394742887","1394742888","1394742889","1394742890","1394742891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60a4e863168ed8ba584ac4b7947848ad.jpg","text":"TemporaryFile(/tmp/multipartBody5936705470656556907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297683142,"filename":"image_16112025_11_26_16_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/160d281546aa8754ae75b6c203c58b88.jpg","text":"TemporaryFile(/tmp/multipartBody4142581904385220024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297683142,"filename":"image_16112025_11_26_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad5cea687afed095499f614767d40968.jpg","text":"TemporaryFile(/tmp/multipartBody6682509146416215130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297683142,"filename":"image_16112025_11_25_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/11/16/ee474cbb54f0d6d1fdeba83ab0b39705.jpg","text":"TemporaryFile(/tmp/multipartBody107581688036604610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297683142,"filename":"image_16112025_11_26_13_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a21abf886706089fe3316ee9fa1169dd.jpg","text":"TemporaryFile(/tmp/multipartBody8851328093327293982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297683142,"filename":"image_16112025_11_24_59_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91a749b4de783f5736c88ebd505f328a.jpg","text":"TemporaryFile(/tmp/multipartBody4055572392348432439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297683142,"filename":"image_16112025_11_26_10_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742888","file1":"1394742887","file0":"1394742884","file4":"1394742890","file5":"1394742891","file3":"1394742889"},"map_files_photo_id_array":[{"photo_id":"1394742891","filename":"file5"},{"photo_id":"1394742888","filename":"file2"},{"photo_id":"1394742890","filename":"file4"},{"photo_id":"1394742887","filename":"file1"},{"photo_id":"1394742884","filename":"file0"},{"photo_id":"1394742889","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742891":["hashtag1","hashtag2"]},{"1394742888":["hashtag1","hashtag2"]},{"1394742887":["hashtag1","hashtag2"]},{"1394742890":["hashtag1","hashtag2"]},{"1394742884":["hashtag1","hashtag2"]},{"1394742889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742891, 1394742888, 1394742887, 1394742890, 1394742884, 1394742889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84453582763672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:54:22.721771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_19_3752.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_22_2589.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_25_2679.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_28_3582.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_31_2669.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_34_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_19_3752.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_22_2589.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_25_2679.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_28_3582.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_31_2669.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_34_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742904","1394742894","1394742897","1394742900","1394742908","1394742902"],"photo_ids_order":["1394742894","1394742897","1394742900","1394742902","1394742904","1394742908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98c824b14901a03fb21b2a13c54685c7.jpg","text":"TemporaryFile(/tmp/multipartBody3511749791594679329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297723366,"filename":"image_16112025_11_26_31_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d926469169850e5f777cacca66485df9.jpg","text":"TemporaryFile(/tmp/multipartBody6228779273167154783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297723366,"filename":"image_16112025_11_26_19_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58d3aaef0f055eaf76c7628e5a9e5130.jpg","text":"TemporaryFile(/tmp/multipartBody6269975213125875024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297723366,"filename":"image_16112025_11_26_22_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74cea26e166d5cc72295a973395990bd.jpg","text":"TemporaryFile(/tmp/multipartBody2108217719901207300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297723366,"filename":"image_16112025_11_26_25_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4f9a748a254dcf2f7c43b732b10cd0f.jpg","text":"TemporaryFile(/tmp/multipartBody5975158976314328045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297723366,"filename":"image_16112025_11_26_34_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8e2dcbd8d2cc2d46a7ff53b683a0f64.jpg","text":"TemporaryFile(/tmp/multipartBody4899188694245831891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297723366,"filename":"image_16112025_11_26_28_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742900","file1":"1394742897","file0":"1394742894","file4":"1394742904","file5":"1394742908","file3":"1394742902"},"map_files_photo_id_array":[{"photo_id":"1394742908","filename":"file5"},{"photo_id":"1394742900","filename":"file2"},{"photo_id":"1394742904","filename":"file4"},{"photo_id":"1394742897","filename":"file1"},{"photo_id":"1394742894","filename":"file0"},{"photo_id":"1394742902","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742904":["hashtag1","hashtag2"]},{"1394742894":["hashtag1","hashtag2"]},{"1394742897":["hashtag1","hashtag2"]},{"1394742900":["hashtag1","hashtag2"]},{"1394742908":["hashtag1","hashtag2"]},{"1394742902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742904, 1394742894, 1394742897, 1394742900, 1394742908, 1394742902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01922655105591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:55:02.673370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_37_2800.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_40_2697.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_43_2675.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_46_3692.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_49_2714.jpg', '/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_52_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_37_2800.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_40_2697.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_43_2675.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_46_3692.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_49_2714.jpg
/home/pi/Desktop/images/16112025/11/26/image_16112025_11_26_52_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742924","1394742918","1394742912","1394742929","1394742920","1394742914"],"photo_ids_order":["1394742912","1394742914","1394742918","1394742920","1394742924","1394742929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e272c5b26c3a966d8e7a6a1016943d20.jpg","text":"TemporaryFile(/tmp/multipartBody3091878369755113866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297763395,"filename":"image_16112025_11_26_49_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb6958a434453e6f971c04e1e430d253.jpg","text":"TemporaryFile(/tmp/multipartBody838420606916528375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297763395,"filename":"image_16112025_11_26_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/11/16/a9306b4d1ef90742515d57ee37b27bda.jpg","text":"TemporaryFile(/tmp/multipartBody839403533452663110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297763395,"filename":"image_16112025_11_26_37_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0378868321834726d56d4544e707f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody6113892271140923255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297763395,"filename":"image_16112025_11_26_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/11/16/d6699517b7f83b8ce85c79e4ecbed80b.jpg","text":"TemporaryFile(/tmp/multipartBody206937795871603651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297763395,"filename":"image_16112025_11_26_46_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b3343ecabdcb218bc18b02f0b24c5b8.jpg","text":"TemporaryFile(/tmp/multipartBody5335737447052873027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297763395,"filename":"image_16112025_11_26_40_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742918","file1":"1394742914","file0":"1394742912","file4":"1394742924","file5":"1394742929","file3":"1394742920"},"map_files_photo_id_array":[{"photo_id":"1394742929","filename":"file5"},{"photo_id":"1394742918","filename":"file2"},{"photo_id":"1394742924","filename":"file4"},{"photo_id":"1394742914","filename":"file1"},{"photo_id":"1394742912","filename":"file0"},{"photo_id":"1394742920","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742924":["hashtag1","hashtag2"]},{"1394742918":["hashtag1","hashtag2"]},{"1394742912":["hashtag1","hashtag2"]},{"1394742929":["hashtag1","hashtag2"]},{"1394742920":["hashtag1","hashtag2"]},{"1394742914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742924, 1394742918, 1394742912, 1394742929, 1394742920, 1394742914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38458728790283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:55:41.942855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_10_3576.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_13_2865.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_17_3509.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_19_2625.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_22_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_07_3011.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_10_3576.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_13_2865.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_17_3509.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_19_2625.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_22_2824.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.5620555877685547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:56:02.646508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_10_3576.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_13_2865.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_17_3509.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_19_2625.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_22_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_07_3011.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_10_3576.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_13_2865.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_17_3509.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_19_2625.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_22_2824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394742993","1394742946","1394742951","1394742956","1394742953","1394742949"],"photo_ids_order":["1394742946","1394742949","1394742951","1394742953","1394742956","1394742993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/431073219f8002129f658c9f0dcd432e.jpg","text":"TemporaryFile(/tmp/multipartBody765207084329085894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297823356,"filename":"image_16112025_11_28_22_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8e582098f88b22935f088308fa3521d.jpg","text":"TemporaryFile(/tmp/multipartBody8296143952143480420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297823356,"filename":"image_16112025_11_28_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/11/16/f1b1c0cf1a3e1922c8336c11a9d7a8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4341961083887222852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297823356,"filename":"image_16112025_11_28_13_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b19b71c03928612266fb10cc1bda4044.jpg","text":"TemporaryFile(/tmp/multipartBody5699189211063813785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297823356,"filename":"image_16112025_11_28_19_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/052ecf1847fa57fb327d984fa695c149.jpg","text":"TemporaryFile(/tmp/multipartBody4266855165901111911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297823356,"filename":"image_16112025_11_28_17_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1810502a6f7fb3ef4fb24100487318a8.jpg","text":"TemporaryFile(/tmp/multipartBody4214044972819227359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297823356,"filename":"image_16112025_11_28_10_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394742951","file1":"1394742949","file0":"1394742946","file4":"1394742956","file5":"1394742993","file3":"1394742953"},"map_files_photo_id_array":[{"photo_id":"1394742993","filename":"file5"},{"photo_id":"1394742951","filename":"file2"},{"photo_id":"1394742956","filename":"file4"},{"photo_id":"1394742949","filename":"file1"},{"photo_id":"1394742946","filename":"file0"},{"photo_id":"1394742953","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394742993":["hashtag1","hashtag2"]},{"1394742946":["hashtag1","hashtag2"]},{"1394742951":["hashtag1","hashtag2"]},{"1394742956":["hashtag1","hashtag2"]},{"1394742953":["hashtag1","hashtag2"]},{"1394742949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394742993, 1394742946, 1394742951, 1394742956, 1394742953, 1394742949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84629940986633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:56:42.263024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_26_3551.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_28_2644.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_31_2550.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_35_3626.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_37_2614.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_40_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_26_3551.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_28_2644.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_31_2550.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_35_3626.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_37_2614.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_40_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394743152","1394743140","1394743187","1394743139","1394743138","1394743204"],"photo_ids_order":["1394743138","1394743139","1394743140","1394743152","1394743187","1394743204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c9d4b1dddf57af10f69d92b2d7f4f26.jpg","text":"TemporaryFile(/tmp/multipartBody2615930724818428646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297862972,"filename":"image_16112025_11_28_35_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fedd075eaa17b94ec3f72bf6bc211bf.jpg","text":"TemporaryFile(/tmp/multipartBody2096438209756879131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297862972,"filename":"image_16112025_11_28_31_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6ef7ec48b4f3fd72b3a20278a2bc01f.jpg","text":"TemporaryFile(/tmp/multipartBody5532918194827418558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297862972,"filename":"image_16112025_11_28_37_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03655946d034af4cf4631d790b2cee64.jpg","text":"TemporaryFile(/tmp/multipartBody8767130984802059274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297862972,"filename":"image_16112025_11_28_28_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94378068a282eaead264da5f97acb9c3.jpg","text":"TemporaryFile(/tmp/multipartBody7881113215982602652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297862972,"filename":"image_16112025_11_28_26_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd0293e364ffb3e0adcaade665fca9d7.jpg","text":"TemporaryFile(/tmp/multipartBody1539114438987454621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297862972,"filename":"image_16112025_11_28_40_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394743140","file1":"1394743139","file0":"1394743138","file4":"1394743187","file5":"1394743204","file3":"1394743152"},"map_files_photo_id_array":[{"photo_id":"1394743204","filename":"file5"},{"photo_id":"1394743140","filename":"file2"},{"photo_id":"1394743187","filename":"file4"},{"photo_id":"1394743139","filename":"file1"},{"photo_id":"1394743138","filename":"file0"},{"photo_id":"1394743152","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394743152":["hashtag1","hashtag2"]},{"1394743140":["hashtag1","hashtag2"]},{"1394743187":["hashtag1","hashtag2"]},{"1394743139":["hashtag1","hashtag2"]},{"1394743138":["hashtag1","hashtag2"]},{"1394743204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394743152, 1394743140, 1394743187, 1394743139, 1394743138, 1394743204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41022515296936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 13:57:22.502751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_44_3696.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_46_2602.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_49_2686.jpg', '/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_52_3557.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_11_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_44_3696.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_46_2602.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_49_2686.jpg
/home/pi/Desktop/images/16112025/11/28/image_16112025_11_28_52_3557.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_07_3011.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_11_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394743230","1394743233","1394743241","1394743235","1394743238","1394743240"],"photo_ids_order":["1394743230","1394743233","1394743235","1394743238","1394743240","1394743241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b05aa4e4afa64037f622d6c23d54056.jpg","text":"TemporaryFile(/tmp/multipartBody5069440546501784644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297903185,"filename":"image_16112025_11_28_44_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf549c2de645ff0b94f109ce18a4feff.jpg","text":"TemporaryFile(/tmp/multipartBody7586898456102353432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297903185,"filename":"image_16112025_11_28_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/11/16/b5543b0134131ed7b80abd1c7580a0d3.jpg","text":"TemporaryFile(/tmp/multipartBody3600949462973444111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297903185,"filename":"image_16112025_11_30_11_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96c322f16ee1ec1cfea5dbf8c3480a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6968744815026605326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297903185,"filename":"image_16112025_11_28_49_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c48e4a86dfa7da4462f3e4c661578df.jpg","text":"TemporaryFile(/tmp/multipartBody516976914145024216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297903185,"filename":"image_16112025_11_28_52_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c531ad66168cf913e39f803b3432826e.jpg","text":"TemporaryFile(/tmp/multipartBody7749643268947926838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763297903185,"filename":"image_16112025_11_30_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394743235","file1":"1394743233","file0":"1394743230","file4":"1394743240","file5":"1394743241","file3":"1394743238"},"map_files_photo_id_array":[{"photo_id":"1394743241","filename":"file5"},{"photo_id":"1394743235","filename":"file2"},{"photo_id":"1394743240","filename":"file4"},{"photo_id":"1394743233","filename":"file1"},{"photo_id":"1394743230","filename":"file0"},{"photo_id":"1394743238","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394743230":["hashtag1","hashtag2"]},{"1394743233":["hashtag1","hashtag2"]},{"1394743241":["hashtag1","hashtag2"]},{"1394743235":["hashtag1","hashtag2"]},{"1394743238":["hashtag1","hashtag2"]},{"1394743240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394743230, 1394743233, 1394743241, 1394743235, 1394743238, 1394743240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0415940284729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 13:59:02.974052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_14_2746.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_17_3600.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_20_2739.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_23_2723.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_25_2755.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_29_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_14_2746.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_17_3600.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_20_2739.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_23_2723.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_25_2755.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_29_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394743365","1394743404","1394743512","1394743445","1394743480","1394743528"],"photo_ids_order":["1394743365","1394743404","1394743445","1394743480","1394743512","1394743528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6723064fbb8b04c4ca55f13f78ddeb54.jpg","text":"TemporaryFile(/tmp/multipartBody637103764150418064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298003897,"filename":"image_16112025_11_30_14_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ef54ee8898199887dbeb3ba13b9c0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4477452310556050753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298003897,"filename":"image_16112025_11_30_17_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83e7587a8c9654d7bed4829e76c0f7a3.jpg","text":"TemporaryFile(/tmp/multipartBody6266101555245143871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298003897,"filename":"image_16112025_11_30_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/11/16/1d9db9ae2ee8b9f2a3577da6927558df.jpg","text":"TemporaryFile(/tmp/multipartBody7084147122799591685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298003897,"filename":"image_16112025_11_30_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/11/16/0092d33efb75b4e6be21d6bb7b7205d0.jpg","text":"TemporaryFile(/tmp/multipartBody8335769554229334163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298003897,"filename":"image_16112025_11_30_23_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/721cca8e05ad238bfaeb9b8b18913a54.jpg","text":"TemporaryFile(/tmp/multipartBody7097378109543367459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298003897,"filename":"image_16112025_11_30_29_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394743445","file1":"1394743404","file0":"1394743365","file4":"1394743512","file5":"1394743528","file3":"1394743480"},"map_files_photo_id_array":[{"photo_id":"1394743528","filename":"file5"},{"photo_id":"1394743445","filename":"file2"},{"photo_id":"1394743512","filename":"file4"},{"photo_id":"1394743404","filename":"file1"},{"photo_id":"1394743365","filename":"file0"},{"photo_id":"1394743480","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394743365":["hashtag1","hashtag2"]},{"1394743404":["hashtag1","hashtag2"]},{"1394743512":["hashtag1","hashtag2"]},{"1394743445":["hashtag1","hashtag2"]},{"1394743480":["hashtag1","hashtag2"]},{"1394743528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394743365, 1394743404, 1394743512, 1394743445, 1394743480, 1394743528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0461061000824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 13:59:41.975741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_32_2573.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_35_3550.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_38_2666.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_40_2692.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_44_3638.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_47_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_32_2573.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_35_3550.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_38_2666.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_40_2692.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_44_3638.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_47_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394743620","1394743602","1394743704","1394743658","1394743565","1394743639"],"photo_ids_order":["1394743565","1394743602","1394743620","1394743639","1394743658","1394743704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9210eb91e3d8b2451e3425fb2282db16.jpg","text":"TemporaryFile(/tmp/multipartBody8292215571149627291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298042632,"filename":"image_16112025_11_30_38_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e032a357c04f569c5df28fb4d9b3fb26.jpg","text":"TemporaryFile(/tmp/multipartBody2003121651961780617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298042632,"filename":"image_16112025_11_30_35_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c05daea94e55049e77658843f490cf43.jpg","text":"TemporaryFile(/tmp/multipartBody178832101576733586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298042632,"filename":"image_16112025_11_30_47_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9d66065402519e238df37d28fe882fc.jpg","text":"TemporaryFile(/tmp/multipartBody2233797646420426052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298042632,"filename":"image_16112025_11_30_44_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74420827d3162af7ed3fa2d41e5a6d53.jpg","text":"TemporaryFile(/tmp/multipartBody6140316283026826998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298042632,"filename":"image_16112025_11_30_32_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30c9bf84c38c40931a0a82d930480ec8.jpg","text":"TemporaryFile(/tmp/multipartBody7016921643759493610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298042632,"filename":"image_16112025_11_30_40_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394743620","file1":"1394743602","file0":"1394743565","file4":"1394743658","file5":"1394743704","file3":"1394743639"},"map_files_photo_id_array":[{"photo_id":"1394743704","filename":"file5"},{"photo_id":"1394743620","filename":"file2"},{"photo_id":"1394743658","filename":"file4"},{"photo_id":"1394743602","filename":"file1"},{"photo_id":"1394743565","filename":"file0"},{"photo_id":"1394743639","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394743620":["hashtag1","hashtag2"]},{"1394743602":["hashtag1","hashtag2"]},{"1394743704":["hashtag1","hashtag2"]},{"1394743658":["hashtag1","hashtag2"]},{"1394743565":["hashtag1","hashtag2"]},{"1394743639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394743620, 1394743602, 1394743704, 1394743658, 1394743565, 1394743639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14209318161011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:00:22.307319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_49_2534.jpg', '/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_52_2780.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_11_3651.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_13_2575.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_17_3503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_49_2534.jpg
/home/pi/Desktop/images/16112025/11/30/image_16112025_11_30_52_2780.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_07_3011.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_11_3651.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_13_2575.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_17_3503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394744195","1394744090","1394744399","1394744293","1394743981","1394743887"],"photo_ids_order":["1394743887","1394743981","1394744090","1394744195","1394744293","1394744399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/788f40f19810050eb2c2a082af4258d0.jpg","text":"TemporaryFile(/tmp/multipartBody155964635680476756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298083038,"filename":"image_16112025_11_32_11_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0f6eede1183396dea5fea366505d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody7783852478168378343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298083038,"filename":"image_16112025_11_32_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/11/16/b332d1b96c9957db06d12252066fe863.jpg","text":"TemporaryFile(/tmp/multipartBody2897845026898337262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298083038,"filename":"image_16112025_11_32_17_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f4c5e1cf4bc4eed3c2eb5ac97bd0f39.jpg","text":"TemporaryFile(/tmp/multipartBody5500389262455126298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298083038,"filename":"image_16112025_11_32_13_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/790a8fd16b5e32afb75dee398890ac80.jpg","text":"TemporaryFile(/tmp/multipartBody3727259151686523670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298083038,"filename":"image_16112025_11_30_52_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0a3f8bdc4bef915f9dd582a91b643c6.jpg","text":"TemporaryFile(/tmp/multipartBody8212714345013071400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298083038,"filename":"image_16112025_11_30_49_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394744090","file1":"1394743981","file0":"1394743887","file4":"1394744293","file5":"1394744399","file3":"1394744195"},"map_files_photo_id_array":[{"photo_id":"1394744399","filename":"file5"},{"photo_id":"1394744090","filename":"file2"},{"photo_id":"1394744293","filename":"file4"},{"photo_id":"1394743981","filename":"file1"},{"photo_id":"1394743887","filename":"file0"},{"photo_id":"1394744195","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394744195":["hashtag1","hashtag2"]},{"1394744090":["hashtag1","hashtag2"]},{"1394744399":["hashtag1","hashtag2"]},{"1394744293":["hashtag1","hashtag2"]},{"1394743981":["hashtag1","hashtag2"]},{"1394743887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394744195, 1394744090, 1394744399, 1394744293, 1394743981, 1394743887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.478333473205566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:01:03.286779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_19_2679.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_22_2785.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_26_3580.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_28_2644.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_31_2576.jpg', '/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_35_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_19_2679.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_22_2785.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_26_3580.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_28_2644.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_31_2576.jpg
/home/pi/Desktop/images/16112025/11/32/image_16112025_11_32_35_3767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394745131","1394745364","1394745265","1394745462","1394744994","1394744868"],"photo_ids_order":["1394744868","1394744994","1394745131","1394745265","1394745364","1394745462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d286452cc092d1ced6c92342763f6b55.jpg","text":"TemporaryFile(/tmp/multipartBody8259325925668484413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298124027,"filename":"image_16112025_11_32_26_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f95e6acdbe0ff4bce48ff8d94db52dc.jpg","text":"TemporaryFile(/tmp/multipartBody686285980181724315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298124027,"filename":"image_16112025_11_32_31_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e770226d7d6304e60ccda7bdf4500e22.jpg","text":"TemporaryFile(/tmp/multipartBody6929123215655742247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298124027,"filename":"image_16112025_11_32_28_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/877c57ea5722c7a5ffc707c8209ae2ff.jpg","text":"TemporaryFile(/tmp/multipartBody4047127444338892110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298124027,"filename":"image_16112025_11_32_35_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7135f100933c8677426328d63bbd3313.jpg","text":"TemporaryFile(/tmp/multipartBody7766950712000868165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298124027,"filename":"image_16112025_11_32_22_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a886a7cb4059aab0e9095546d6d30be.jpg","text":"TemporaryFile(/tmp/multipartBody9133197105393873372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298124027,"filename":"image_16112025_11_32_19_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394745131","file1":"1394744994","file0":"1394744868","file4":"1394745364","file5":"1394745462","file3":"1394745265"},"map_files_photo_id_array":[{"photo_id":"1394745462","filename":"file5"},{"photo_id":"1394745131","filename":"file2"},{"photo_id":"1394745364","filename":"file4"},{"photo_id":"1394744994","filename":"file1"},{"photo_id":"1394744868","filename":"file0"},{"photo_id":"1394745265","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394745131":["hashtag1","hashtag2"]},{"1394745364":["hashtag1","hashtag2"]},{"1394745265":["hashtag1","hashtag2"]},{"1394745462":["hashtag1","hashtag2"]},{"1394744994":["hashtag1","hashtag2"]},{"1394744868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394745131, 1394745364, 1394745265, 1394745462, 1394744994, 1394744868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15303301811218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:01:42.470098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_06_3011.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_10_3766.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_13_2707.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_16_2751.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_19_3708.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_22_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_06_3011.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_10_3766.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_13_2707.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_16_2751.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_19_3708.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_22_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394745938","1394746135","1394746036","1394746098","1394746076","1394746058"],"photo_ids_order":["1394745938","1394746036","1394746058","1394746076","1394746098","1394746135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf4df14bccc8d31394629f7f7aabd7f0.jpg","text":"TemporaryFile(/tmp/multipartBody18324173272976010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298163142,"filename":"image_16112025_11_34_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/11/16/720ef42567d3c54384f44d8985735b39.jpg","text":"TemporaryFile(/tmp/multipartBody6870451600817883190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298163142,"filename":"image_16112025_11_34_22_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1c451fa5123879d0944c7e571617db9.jpg","text":"TemporaryFile(/tmp/multipartBody2693472726039513394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298163142,"filename":"image_16112025_11_34_10_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa5575e583717629758f4f29ed6f7258.jpg","text":"TemporaryFile(/tmp/multipartBody2397914760599883048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298163142,"filename":"image_16112025_11_34_19_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42aa2ac6649f5ce486a7e6922b06a72d.jpg","text":"TemporaryFile(/tmp/multipartBody3942913659023014361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298163142,"filename":"image_16112025_11_34_16_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1989d9995bb1b538395909ea0df780e.jpg","text":"TemporaryFile(/tmp/multipartBody3546336301147915835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298163142,"filename":"image_16112025_11_34_13_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746058","file1":"1394746036","file0":"1394745938","file4":"1394746098","file5":"1394746135","file3":"1394746076"},"map_files_photo_id_array":[{"photo_id":"1394746135","filename":"file5"},{"photo_id":"1394746058","filename":"file2"},{"photo_id":"1394746098","filename":"file4"},{"photo_id":"1394746036","filename":"file1"},{"photo_id":"1394745938","filename":"file0"},{"photo_id":"1394746076","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394745938":["hashtag1","hashtag2"]},{"1394746135":["hashtag1","hashtag2"]},{"1394746036":["hashtag1","hashtag2"]},{"1394746098":["hashtag1","hashtag2"]},{"1394746076":["hashtag1","hashtag2"]},{"1394746058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394745938, 1394746135, 1394746036, 1394746098, 1394746076, 1394746058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40278911590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:02:22.721873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_24_2382.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_28_3650.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_31_2838.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_33_2568.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_37_3645.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_40_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_24_2382.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_28_3650.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_31_2838.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_33_2568.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_37_3645.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_40_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746522","1394746267","1394746402","1394746467","1394746557","1394746332"],"photo_ids_order":["1394746267","1394746332","1394746402","1394746467","1394746522","1394746557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/320a764709a8668b0848c26a8c6921a0.jpg","text":"TemporaryFile(/tmp/multipartBody4580260816416148178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298203390,"filename":"image_16112025_11_34_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/11/16/fc2832f9b84fbd163849c0665c056a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3980633035908058620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298203390,"filename":"image_16112025_11_34_24_2382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/529b5e8e4c6354bedfd3ded61e55f444.jpg","text":"TemporaryFile(/tmp/multipartBody6795891585248404882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298203390,"filename":"image_16112025_11_34_31_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b569759345a9fa46a557f98d6d535b51.jpg","text":"TemporaryFile(/tmp/multipartBody9170267789111088679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298203390,"filename":"image_16112025_11_34_33_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/916b446d30c8c06c7d893820094a1049.jpg","text":"TemporaryFile(/tmp/multipartBody2912056943803577646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298203390,"filename":"image_16112025_11_34_40_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cdf681b35568dcb44a2f62e2d3c2dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5905489090436024375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298203390,"filename":"image_16112025_11_34_28_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746402","file1":"1394746332","file0":"1394746267","file4":"1394746522","file5":"1394746557","file3":"1394746467"},"map_files_photo_id_array":[{"photo_id":"1394746557","filename":"file5"},{"photo_id":"1394746402","filename":"file2"},{"photo_id":"1394746522","filename":"file4"},{"photo_id":"1394746332","filename":"file1"},{"photo_id":"1394746267","filename":"file0"},{"photo_id":"1394746467","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746522":["hashtag1","hashtag2"]},{"1394746267":["hashtag1","hashtag2"]},{"1394746402":["hashtag1","hashtag2"]},{"1394746467":["hashtag1","hashtag2"]},{"1394746557":["hashtag1","hashtag2"]},{"1394746332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746522, 1394746267, 1394746402, 1394746467, 1394746557, 1394746332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.794705390930176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:03:02.593055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_42_2544.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_46_3661.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_49_2519.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_51_2765.jpg', '/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_55_3725.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_42_2544.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_46_3661.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_49_2519.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_51_2765.jpg
/home/pi/Desktop/images/16112025/11/34/image_16112025_11_34_55_3725.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746706","1394746711","1394746680","1394746708","1394746671","1394746703"],"photo_ids_order":["1394746671","1394746680","1394746703","1394746706","1394746708","1394746711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6ce83db740d65cd4319993a8286d741.jpg","text":"TemporaryFile(/tmp/multipartBody2314694374201244712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298243335,"filename":"image_16112025_11_34_51_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d621a45afe5e04e5a901a7c194abd5c.jpg","text":"TemporaryFile(/tmp/multipartBody3499897669601030122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298243335,"filename":"image_16112025_11_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/11/16/022ca62ac7024c746658c589ab74396b.jpg","text":"TemporaryFile(/tmp/multipartBody4091931772812376523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298243335,"filename":"image_16112025_11_34_46_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d42b7c7ec7ab82f25e3014ec1aa1a2cb.jpg","text":"TemporaryFile(/tmp/multipartBody6906146934975475437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298243335,"filename":"image_16112025_11_34_55_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/254598fb3327cb3ce2b089ba85eaec90.jpg","text":"TemporaryFile(/tmp/multipartBody277542478684782328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298243335,"filename":"image_16112025_11_34_42_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50fed60fba662592aa9907de20cfad3b.jpg","text":"TemporaryFile(/tmp/multipartBody4092838796153182205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298243335,"filename":"image_16112025_11_34_49_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746703","file1":"1394746680","file0":"1394746671","file4":"1394746708","file5":"1394746711","file3":"1394746706"},"map_files_photo_id_array":[{"photo_id":"1394746711","filename":"file5"},{"photo_id":"1394746703","filename":"file2"},{"photo_id":"1394746708","filename":"file4"},{"photo_id":"1394746680","filename":"file1"},{"photo_id":"1394746671","filename":"file0"},{"photo_id":"1394746706","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746706":["hashtag1","hashtag2"]},{"1394746711":["hashtag1","hashtag2"]},{"1394746680":["hashtag1","hashtag2"]},{"1394746708":["hashtag1","hashtag2"]},{"1394746671":["hashtag1","hashtag2"]},{"1394746703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746706, 1394746711, 1394746680, 1394746708, 1394746671, 1394746703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29001760482788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:03:41.987962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_11_3611.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_14_2731.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_16_2695.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_20_3589.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_23_2566.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_26_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_11_3611.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_14_2731.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_16_2695.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_20_3589.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_23_2566.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_26_3744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746715","1394746714","1394746717","1394746713","1394746716","1394746718"],"photo_ids_order":["1394746713","1394746714","1394746715","1394746716","1394746717","1394746718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d78c33b257940d65f6108f7393c780c.jpg","text":"TemporaryFile(/tmp/multipartBody4047756165608742335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298282630,"filename":"image_16112025_11_36_16_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09c4d6bae348c5b35c34b3beb3b9b838.jpg","text":"TemporaryFile(/tmp/multipartBody6437694704108182884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298282630,"filename":"image_16112025_11_36_14_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9374e7432391e51d1aa77ebd84f288c.jpg","text":"TemporaryFile(/tmp/multipartBody7215595727057507662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298282630,"filename":"image_16112025_11_36_23_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9e64c36c75f45d1ad90ca3dfa0985d6.jpg","text":"TemporaryFile(/tmp/multipartBody6013620363281594818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298282630,"filename":"image_16112025_11_36_11_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fea0397deea03300fa6d814d75689e63.jpg","text":"TemporaryFile(/tmp/multipartBody8610895335468932536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298282630,"filename":"image_16112025_11_36_20_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae434a844c071abd8438dc13472e96bc.jpg","text":"TemporaryFile(/tmp/multipartBody3176154566110384226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298282630,"filename":"image_16112025_11_36_26_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746715","file1":"1394746714","file0":"1394746713","file4":"1394746717","file5":"1394746718","file3":"1394746716"},"map_files_photo_id_array":[{"photo_id":"1394746718","filename":"file5"},{"photo_id":"1394746715","filename":"file2"},{"photo_id":"1394746717","filename":"file4"},{"photo_id":"1394746714","filename":"file1"},{"photo_id":"1394746713","filename":"file0"},{"photo_id":"1394746716","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746715":["hashtag1","hashtag2"]},{"1394746714":["hashtag1","hashtag2"]},{"1394746717":["hashtag1","hashtag2"]},{"1394746713":["hashtag1","hashtag2"]},{"1394746716":["hashtag1","hashtag2"]},{"1394746718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746715, 1394746714, 1394746717, 1394746713, 1394746716, 1394746718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62361192703247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:04:22.311133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_29_2736.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_32_2681.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_34_2600.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_38_3709.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_41_2603.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_44_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_29_2736.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_32_2681.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_34_2600.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_38_3709.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_41_2603.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_44_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746727","1394746732","1394746729","1394746725","1394746722","1394746730"],"photo_ids_order":["1394746722","1394746725","1394746727","1394746729","1394746730","1394746732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac2c08ff5619022745de035b1cfb4489.jpg","text":"TemporaryFile(/tmp/multipartBody7572440866072424752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298322951,"filename":"image_16112025_11_36_34_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c657735d1c5a2d0cdf502478434c905.jpg","text":"TemporaryFile(/tmp/multipartBody4318573174557972872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298322951,"filename":"image_16112025_11_36_44_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ee39c41d48958a432fa80dbcfb1cb54.jpg","text":"TemporaryFile(/tmp/multipartBody2699518846189522403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298322951,"filename":"image_16112025_11_36_38_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d6599458ca326fdaf76d1a324ae7d52.jpg","text":"TemporaryFile(/tmp/multipartBody5714397372325957852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298322951,"filename":"image_16112025_11_36_32_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6698dea07a42839d33667415daf5027e.jpg","text":"TemporaryFile(/tmp/multipartBody506709352688943776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298322951,"filename":"image_16112025_11_36_29_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4c40ac65daf2612d95d1fe794757033.jpg","text":"TemporaryFile(/tmp/multipartBody54763185974030130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298322951,"filename":"image_16112025_11_36_41_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746727","file1":"1394746725","file0":"1394746722","file4":"1394746730","file5":"1394746732","file3":"1394746729"},"map_files_photo_id_array":[{"photo_id":"1394746732","filename":"file5"},{"photo_id":"1394746727","filename":"file2"},{"photo_id":"1394746730","filename":"file4"},{"photo_id":"1394746725","filename":"file1"},{"photo_id":"1394746722","filename":"file0"},{"photo_id":"1394746729","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746727":["hashtag1","hashtag2"]},{"1394746732":["hashtag1","hashtag2"]},{"1394746729":["hashtag1","hashtag2"]},{"1394746725":["hashtag1","hashtag2"]},{"1394746722":["hashtag1","hashtag2"]},{"1394746730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746727, 1394746732, 1394746729, 1394746725, 1394746722, 1394746730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4131121635437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:05:03.243948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_47_2638.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_50_2768.jpg', '/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_52_2840.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_10_3594.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_13_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_47_2638.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_50_2768.jpg
/home/pi/Desktop/images/16112025/11/36/image_16112025_11_36_52_2840.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_07_3011.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_10_3594.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_13_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746733","1394746741","1394746735","1394746738","1394746734","1394746736"],"photo_ids_order":["1394746733","1394746734","1394746735","1394746736","1394746738","1394746741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c67286c2abe2f4fce5924bab7207203.jpg","text":"TemporaryFile(/tmp/multipartBody5827144308438636415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298364004,"filename":"image_16112025_11_36_47_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06b2a712d2c2d21155445cc36ae173b5.jpg","text":"TemporaryFile(/tmp/multipartBody9103308245205235345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298364004,"filename":"image_16112025_11_38_13_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c476adad78c1ff293279eed81e76ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2695932070113670690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298364004,"filename":"image_16112025_11_36_52_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/703bf45e944b1e8b153e6203149c0284.jpg","text":"TemporaryFile(/tmp/multipartBody804976393095909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298364004,"filename":"image_16112025_11_38_10_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f97ac61ab76edf3401b1e20cdc889228.jpg","text":"TemporaryFile(/tmp/multipartBody643073237807106736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298364004,"filename":"image_16112025_11_36_50_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/139c6a458018580be1b225e478d23f70.jpg","text":"TemporaryFile(/tmp/multipartBody467441031996157760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298364004,"filename":"image_16112025_11_38_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746735","file1":"1394746734","file0":"1394746733","file4":"1394746738","file5":"1394746741","file3":"1394746736"},"map_files_photo_id_array":[{"photo_id":"1394746741","filename":"file5"},{"photo_id":"1394746735","filename":"file2"},{"photo_id":"1394746738","filename":"file4"},{"photo_id":"1394746734","filename":"file1"},{"photo_id":"1394746733","filename":"file0"},{"photo_id":"1394746736","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746733":["hashtag1","hashtag2"]},{"1394746741":["hashtag1","hashtag2"]},{"1394746735":["hashtag1","hashtag2"]},{"1394746738":["hashtag1","hashtag2"]},{"1394746734":["hashtag1","hashtag2"]},{"1394746736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746733, 1394746741, 1394746735, 1394746738, 1394746734, 1394746736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34102177619934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:05:42.604442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_17_3604.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_19_2770.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_22_2734.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_25_2760.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_29_3686.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_31_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_17_3604.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_19_2770.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_22_2734.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_25_2760.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_29_3686.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_31_2849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746750","1394746753","1394746747","1394746755","1394746757","1394746745"],"photo_ids_order":["1394746745","1394746747","1394746750","1394746753","1394746755","1394746757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/298c9a05d22979a78f752dd7b96109be.jpg","text":"TemporaryFile(/tmp/multipartBody8474335141954301950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298403285,"filename":"image_16112025_11_38_22_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9dec8e2cb3ab7ca3dc3bc40ae553240.jpg","text":"TemporaryFile(/tmp/multipartBody1516103130577075357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298403285,"filename":"image_16112025_11_38_25_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2d91ee6cb2ca4559cafae74c625037b.jpg","text":"TemporaryFile(/tmp/multipartBody1008480344369374722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298403285,"filename":"image_16112025_11_38_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/11/16/4510c7257009fd7b519b482446f08177.jpg","text":"TemporaryFile(/tmp/multipartBody4839546372128386966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298403285,"filename":"image_16112025_11_38_29_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1c832545572805a7f09822a3971905b.jpg","text":"TemporaryFile(/tmp/multipartBody8532807702609968439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298403285,"filename":"image_16112025_11_38_31_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85619609cb51e112ba7c6ef30e98b138.jpg","text":"TemporaryFile(/tmp/multipartBody3511891109403611101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298403285,"filename":"image_16112025_11_38_17_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746750","file1":"1394746747","file0":"1394746745","file4":"1394746755","file5":"1394746757","file3":"1394746753"},"map_files_photo_id_array":[{"photo_id":"1394746757","filename":"file5"},{"photo_id":"1394746750","filename":"file2"},{"photo_id":"1394746755","filename":"file4"},{"photo_id":"1394746747","filename":"file1"},{"photo_id":"1394746745","filename":"file0"},{"photo_id":"1394746753","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746750":["hashtag1","hashtag2"]},{"1394746753":["hashtag1","hashtag2"]},{"1394746747":["hashtag1","hashtag2"]},{"1394746755":["hashtag1","hashtag2"]},{"1394746757":["hashtag1","hashtag2"]},{"1394746745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746750, 1394746753, 1394746747, 1394746755, 1394746757, 1394746745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14854884147644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:06:21.898720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_34_2663.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_37_2688.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_40_3570.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_43_2648.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_46_2646.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_49_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_34_2663.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_37_2688.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_40_3570.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_43_2648.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_46_2646.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_49_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746768","1394746762","1394746764","1394746767","1394746766","1394746769"],"photo_ids_order":["1394746762","1394746764","1394746766","1394746767","1394746768","1394746769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c35fbe171c9e263521cbcd624ffcfa78.jpg","text":"TemporaryFile(/tmp/multipartBody8369464068759429832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298442578,"filename":"image_16112025_11_38_46_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/300c533c463393e939b96ad3fcf55b57.jpg","text":"TemporaryFile(/tmp/multipartBody3018664845670033581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298442578,"filename":"image_16112025_11_38_34_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/482148a087d313580ffb5eafc646c7ef.jpg","text":"TemporaryFile(/tmp/multipartBody55421741336330479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298442578,"filename":"image_16112025_11_38_37_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5ea3b681cd31d46945902f0f294e0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3917136751240368176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298442578,"filename":"image_16112025_11_38_43_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d834c0509a83c0a2d3417a998aec8b9.jpg","text":"TemporaryFile(/tmp/multipartBody3365435885211779895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298442578,"filename":"image_16112025_11_38_40_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb8bbc5e5fad2bb18537bf41c87f9234.jpg","text":"TemporaryFile(/tmp/multipartBody7086330994148970297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298442578,"filename":"image_16112025_11_38_49_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746766","file1":"1394746764","file0":"1394746762","file4":"1394746768","file5":"1394746769","file3":"1394746767"},"map_files_photo_id_array":[{"photo_id":"1394746769","filename":"file5"},{"photo_id":"1394746766","filename":"file2"},{"photo_id":"1394746768","filename":"file4"},{"photo_id":"1394746764","filename":"file1"},{"photo_id":"1394746762","filename":"file0"},{"photo_id":"1394746767","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746768":["hashtag1","hashtag2"]},{"1394746762":["hashtag1","hashtag2"]},{"1394746764":["hashtag1","hashtag2"]},{"1394746767":["hashtag1","hashtag2"]},{"1394746766":["hashtag1","hashtag2"]},{"1394746769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746768, 1394746762, 1394746764, 1394746767, 1394746766, 1394746769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00261116027832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:07:02.861456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_52_2719.jpg', '/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_55_2756.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_11_3909.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_14_2731.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_16_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_52_2719.jpg
/home/pi/Desktop/images/16112025/11/38/image_16112025_11_38_55_2756.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_07_3011.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_11_3909.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_14_2731.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_16_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746771","1394746774","1394746782","1394746770","1394746772","1394746778"],"photo_ids_order":["1394746770","1394746771","1394746772","1394746774","1394746778","1394746782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab480fda7eee81c89161fae0f13a22d4.jpg","text":"TemporaryFile(/tmp/multipartBody3472690680246484546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298483599,"filename":"image_16112025_11_38_55_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e9c81623efa77c1724758446289e311.jpg","text":"TemporaryFile(/tmp/multipartBody5082515535549429633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298483599,"filename":"image_16112025_11_41_11_3909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36dda28a8c960ab4caef3312af472a84.jpg","text":"TemporaryFile(/tmp/multipartBody4391797375511853490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298483599,"filename":"image_16112025_11_41_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/11/16/e0cf0143f16c3299e26e6b94a22d52d4.jpg","text":"TemporaryFile(/tmp/multipartBody8400992913275655458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298483599,"filename":"image_16112025_11_38_52_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22c81d2a667d185918806aa661eacc4f.jpg","text":"TemporaryFile(/tmp/multipartBody6073250604841521264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298483599,"filename":"image_16112025_11_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/11/16/eae067fae6b775283b9fca53f0c3f7f1.jpg","text":"TemporaryFile(/tmp/multipartBody4333322173375295682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298483599,"filename":"image_16112025_11_41_14_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746772","file1":"1394746771","file0":"1394746770","file4":"1394746778","file5":"1394746782","file3":"1394746774"},"map_files_photo_id_array":[{"photo_id":"1394746782","filename":"file5"},{"photo_id":"1394746772","filename":"file2"},{"photo_id":"1394746778","filename":"file4"},{"photo_id":"1394746771","filename":"file1"},{"photo_id":"1394746770","filename":"file0"},{"photo_id":"1394746774","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746771":["hashtag1","hashtag2"]},{"1394746774":["hashtag1","hashtag2"]},{"1394746782":["hashtag1","hashtag2"]},{"1394746770":["hashtag1","hashtag2"]},{"1394746772":["hashtag1","hashtag2"]},{"1394746778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746771, 1394746774, 1394746782, 1394746770, 1394746772, 1394746778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.228777170181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:07:42.164186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_20_3543.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_22_2746.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_25_2600.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_29_3608.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_31_2634.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_34_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_20_3543.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_22_2746.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_25_2600.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_29_3608.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_31_2634.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_34_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746805","1394746807","1394746799","1394746793","1394746796","1394746802"],"photo_ids_order":["1394746793","1394746796","1394746799","1394746802","1394746805","1394746807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc7edbb22879432088ecb5159b03b560.jpg","text":"TemporaryFile(/tmp/multipartBody4360299987238539218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298522799,"filename":"image_16112025_11_41_31_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec3d57fcc492bc05e4b5f17a65e423f8.jpg","text":"TemporaryFile(/tmp/multipartBody3690191389456652957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298522799,"filename":"image_16112025_11_41_34_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e832d586913a226ae06b78d10eb2cbc6.jpg","text":"TemporaryFile(/tmp/multipartBody389749559082761476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298522799,"filename":"image_16112025_11_41_25_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8680530623402fda57736de74cd9210.jpg","text":"TemporaryFile(/tmp/multipartBody5597010334733491815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298522799,"filename":"image_16112025_11_41_20_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd90e6d77a63d287a52c4dbdf03e1269.jpg","text":"TemporaryFile(/tmp/multipartBody4048765363119248721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298522799,"filename":"image_16112025_11_41_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/11/16/4a6756e2d1131bf1949c3ae7296c141c.jpg","text":"TemporaryFile(/tmp/multipartBody2026003423108690216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298522799,"filename":"image_16112025_11_41_29_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746799","file1":"1394746796","file0":"1394746793","file4":"1394746805","file5":"1394746807","file3":"1394746802"},"map_files_photo_id_array":[{"photo_id":"1394746807","filename":"file5"},{"photo_id":"1394746799","filename":"file2"},{"photo_id":"1394746805","filename":"file4"},{"photo_id":"1394746796","filename":"file1"},{"photo_id":"1394746793","filename":"file0"},{"photo_id":"1394746802","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746805":["hashtag1","hashtag2"]},{"1394746807":["hashtag1","hashtag2"]},{"1394746799":["hashtag1","hashtag2"]},{"1394746793":["hashtag1","hashtag2"]},{"1394746796":["hashtag1","hashtag2"]},{"1394746802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746805, 1394746807, 1394746799, 1394746793, 1394746796, 1394746802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21602153778076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:08:22.541429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_38_3757.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_40_2643.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_43_2627.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_47_3608.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_49_2551.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_53_3513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_38_3757.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_40_2643.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_43_2627.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_47_3608.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_49_2551.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_53_3513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746811","1394746813","1394746818","1394746821","1394746815","1394746823"],"photo_ids_order":["1394746811","1394746813","1394746815","1394746818","1394746821","1394746823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98ce13c3563a94b3e4fe9fdcd5fe599c.jpg","text":"TemporaryFile(/tmp/multipartBody3975738199053229658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298563221,"filename":"image_16112025_11_41_38_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/023425056c1ee753d9a436098f3f5bea.jpg","text":"TemporaryFile(/tmp/multipartBody1353338303056052706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298563221,"filename":"image_16112025_11_41_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/11/16/c7e23193a6cdf4008024812c06e1b8f7.jpg","text":"TemporaryFile(/tmp/multipartBody9153980577071487481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298563221,"filename":"image_16112025_11_41_47_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8bd2bb841e4aec032102f4dae2b7165.jpg","text":"TemporaryFile(/tmp/multipartBody2888704799402337643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298563221,"filename":"image_16112025_11_41_49_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04b47255d49896af2d0ac1a164389437.jpg","text":"TemporaryFile(/tmp/multipartBody1512656910120414489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298563221,"filename":"image_16112025_11_41_43_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b9a3ba0daf38d3ebb6ccee0ba01e918.jpg","text":"TemporaryFile(/tmp/multipartBody4636403237995759452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298563221,"filename":"image_16112025_11_41_53_3513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746815","file1":"1394746813","file0":"1394746811","file4":"1394746821","file5":"1394746823","file3":"1394746818"},"map_files_photo_id_array":[{"photo_id":"1394746823","filename":"file5"},{"photo_id":"1394746815","filename":"file2"},{"photo_id":"1394746821","filename":"file4"},{"photo_id":"1394746813","filename":"file1"},{"photo_id":"1394746811","filename":"file0"},{"photo_id":"1394746818","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746811":["hashtag1","hashtag2"]},{"1394746813":["hashtag1","hashtag2"]},{"1394746818":["hashtag1","hashtag2"]},{"1394746821":["hashtag1","hashtag2"]},{"1394746815":["hashtag1","hashtag2"]},{"1394746823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746811, 1394746813, 1394746818, 1394746821, 1394746815, 1394746823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52260494232178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:09:03.744512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_55_2680.jpg', '/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_58_2680.jpg', '/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_02_3577.jpg', '/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_04_2607.jpg', '/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_07_2685.jpg', '/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_10_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_55_2680.jpg
/home/pi/Desktop/images/16112025/11/41/image_16112025_11_41_58_2680.jpg
/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_02_3577.jpg
/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_04_2607.jpg
/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_07_2685.jpg
/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_10_3532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746826","1394746831","1394746828","1394746825","1394746827","1394746829"],"photo_ids_order":["1394746825","1394746826","1394746827","1394746828","1394746829","1394746831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c7fedf18e61d5c6e40e7f7bf5276844.jpg","text":"TemporaryFile(/tmp/multipartBody2850620988370918775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298604592,"filename":"image_16112025_11_41_58_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3de438c556b450300e9f9833a9194701.jpg","text":"TemporaryFile(/tmp/multipartBody6641217999884568864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298604592,"filename":"image_16112025_11_42_10_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff5ced4a5a642b102744a5c4814ca6d9.jpg","text":"TemporaryFile(/tmp/multipartBody195650738965751673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298604592,"filename":"image_16112025_11_42_04_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cb9e8dff361e4762f4b69e0d84ad65a.jpg","text":"TemporaryFile(/tmp/multipartBody1808768705334340079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298604592,"filename":"image_16112025_11_41_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/11/16/3fd9e78bad4260ee6060a0ec671d1584.jpg","text":"TemporaryFile(/tmp/multipartBody5411821688801565656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298604592,"filename":"image_16112025_11_42_02_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50c0cfb9dde15d27bda07dec37799c39.jpg","text":"TemporaryFile(/tmp/multipartBody6813579903630707846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298604592,"filename":"image_16112025_11_42_07_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746827","file1":"1394746826","file0":"1394746825","file4":"1394746829","file5":"1394746831","file3":"1394746828"},"map_files_photo_id_array":[{"photo_id":"1394746831","filename":"file5"},{"photo_id":"1394746827","filename":"file2"},{"photo_id":"1394746829","filename":"file4"},{"photo_id":"1394746826","filename":"file1"},{"photo_id":"1394746825","filename":"file0"},{"photo_id":"1394746828","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746826":["hashtag1","hashtag2"]},{"1394746831":["hashtag1","hashtag2"]},{"1394746828":["hashtag1","hashtag2"]},{"1394746825":["hashtag1","hashtag2"]},{"1394746827":["hashtag1","hashtag2"]},{"1394746829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746826, 1394746831, 1394746828, 1394746825, 1394746827, 1394746829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96860456466675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:09:42.706051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_13_2674.jpg', '/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_16_2727.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_06_3014.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_10_3699.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_13_2682.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_15_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_13_2674.jpg
/home/pi/Desktop/images/16112025/11/42/image_16112025_11_42_16_2727.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_06_3014.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_10_3699.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_13_2682.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_15_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746840","1394746837","1394746836","1394746841","1394746835","1394746838"],"photo_ids_order":["1394746835","1394746836","1394746837","1394746838","1394746840","1394746841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a45b89edd0c9059925f8ade80f64711.jpg","text":"TemporaryFile(/tmp/multipartBody1289096926550389132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298643339,"filename":"image_16112025_11_43_13_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2de46e13c697fa25115a331198143210.jpg","text":"TemporaryFile(/tmp/multipartBody6064212781525367461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298643339,"filename":"image_16112025_11_43_06_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/215ba89e5783b0afc8a561e708146f69.jpg","text":"TemporaryFile(/tmp/multipartBody5832207300212428411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298643339,"filename":"image_16112025_11_42_16_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ff21a4ef8ab82bff0ebe9b098aa37c3.jpg","text":"TemporaryFile(/tmp/multipartBody527118125672234517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298643339,"filename":"image_16112025_11_43_15_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f694b4046f5d2de2ccc4e0da365e38f.jpg","text":"TemporaryFile(/tmp/multipartBody6592564917609872722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298643339,"filename":"image_16112025_11_42_13_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f40a89fd215f5285d88e6a49f9d6c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody9150055593448020533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298643339,"filename":"image_16112025_11_43_10_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746837","file1":"1394746836","file0":"1394746835","file4":"1394746840","file5":"1394746841","file3":"1394746838"},"map_files_photo_id_array":[{"photo_id":"1394746841","filename":"file5"},{"photo_id":"1394746837","filename":"file2"},{"photo_id":"1394746840","filename":"file4"},{"photo_id":"1394746836","filename":"file1"},{"photo_id":"1394746835","filename":"file0"},{"photo_id":"1394746838","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746840":["hashtag1","hashtag2"]},{"1394746837":["hashtag1","hashtag2"]},{"1394746836":["hashtag1","hashtag2"]},{"1394746841":["hashtag1","hashtag2"]},{"1394746835":["hashtag1","hashtag2"]},{"1394746838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746840, 1394746837, 1394746836, 1394746841, 1394746835, 1394746838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98939919471741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:10:21.949192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_19_3666.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_22_2592.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_24_2678.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_28_3533.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_31_2694.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_34_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_19_3666.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_22_2592.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_24_2678.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_28_3533.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_31_2694.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_34_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746846","1394746849","1394746851","1394746848","1394746850","1394746844"],"photo_ids_order":["1394746844","1394746846","1394746848","1394746849","1394746850","1394746851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6c46a8dbfc72b1336a75ff8933600cb.jpg","text":"TemporaryFile(/tmp/multipartBody1019988873832738893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298682601,"filename":"image_16112025_11_43_22_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73603e01e6755e67366fc2a0818ac30b.jpg","text":"TemporaryFile(/tmp/multipartBody8761436037599731243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298682601,"filename":"image_16112025_11_43_28_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/360579b9e53756cea76812988c12cd67.jpg","text":"TemporaryFile(/tmp/multipartBody816241458612684712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298682601,"filename":"image_16112025_11_43_34_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b06fcfaf950b68bebdad14b4c23c6d90.jpg","text":"TemporaryFile(/tmp/multipartBody3702362198685271313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298682601,"filename":"image_16112025_11_43_24_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a603322d2c87dc6711e94581a882490.jpg","text":"TemporaryFile(/tmp/multipartBody5654461965670656860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298682601,"filename":"image_16112025_11_43_31_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46c25048bf938ffbabd6977ad12888ba.jpg","text":"TemporaryFile(/tmp/multipartBody1842293820657984914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298682601,"filename":"image_16112025_11_43_19_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746848","file1":"1394746846","file0":"1394746844","file4":"1394746850","file5":"1394746851","file3":"1394746849"},"map_files_photo_id_array":[{"photo_id":"1394746851","filename":"file5"},{"photo_id":"1394746848","filename":"file2"},{"photo_id":"1394746850","filename":"file4"},{"photo_id":"1394746846","filename":"file1"},{"photo_id":"1394746844","filename":"file0"},{"photo_id":"1394746849","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746846":["hashtag1","hashtag2"]},{"1394746849":["hashtag1","hashtag2"]},{"1394746851":["hashtag1","hashtag2"]},{"1394746848":["hashtag1","hashtag2"]},{"1394746850":["hashtag1","hashtag2"]},{"1394746844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746846, 1394746849, 1394746851, 1394746848, 1394746850, 1394746844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93439817428589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:11:02.876211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_37_2517.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_39_2624.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_43_3867.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_46_2708.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_49_2759.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_51_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_37_2517.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_39_2624.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_43_3867.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_46_2708.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_49_2759.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_51_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746852","1394746855","1394746854","1394746857","1394746853","1394746859"],"photo_ids_order":["1394746852","1394746853","1394746854","1394746855","1394746857","1394746859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a02c7a0349425f9bf367f3dfb3716f50.jpg","text":"TemporaryFile(/tmp/multipartBody7291775647941847793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298723594,"filename":"image_16112025_11_43_37_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54485f1d8e56a27866f2709581a43a08.jpg","text":"TemporaryFile(/tmp/multipartBody747931059575624047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298723594,"filename":"image_16112025_11_43_46_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39bd1e434680b3f161ece2aee07ce10a.jpg","text":"TemporaryFile(/tmp/multipartBody5214163380669228194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298723594,"filename":"image_16112025_11_43_43_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23f8860135afc421078b9b0535ec1cb1.jpg","text":"TemporaryFile(/tmp/multipartBody6638400642774937029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298723594,"filename":"image_16112025_11_43_49_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e28f9987d9ab32c2f7809045f1e05745.jpg","text":"TemporaryFile(/tmp/multipartBody242015737819330384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298723594,"filename":"image_16112025_11_43_39_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59644b501af6e749a1a827ca627f2233.jpg","text":"TemporaryFile(/tmp/multipartBody1671531296269454036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298723594,"filename":"image_16112025_11_43_51_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746854","file1":"1394746853","file0":"1394746852","file4":"1394746857","file5":"1394746859","file3":"1394746855"},"map_files_photo_id_array":[{"photo_id":"1394746859","filename":"file5"},{"photo_id":"1394746854","filename":"file2"},{"photo_id":"1394746857","filename":"file4"},{"photo_id":"1394746853","filename":"file1"},{"photo_id":"1394746852","filename":"file0"},{"photo_id":"1394746855","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746852":["hashtag1","hashtag2"]},{"1394746855":["hashtag1","hashtag2"]},{"1394746854":["hashtag1","hashtag2"]},{"1394746857":["hashtag1","hashtag2"]},{"1394746853":["hashtag1","hashtag2"]},{"1394746859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746852, 1394746855, 1394746854, 1394746857, 1394746853, 1394746859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09089994430542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:11:42.095133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_55_3830.jpg', '/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_58_2738.jpg', '/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_01_2707.jpg', '/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_03_2675.jpg', '/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_07_3817.jpg', '/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_10_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_55_3830.jpg
/home/pi/Desktop/images/16112025/11/43/image_16112025_11_43_58_2738.jpg
/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_01_2707.jpg
/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_03_2675.jpg
/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_07_3817.jpg
/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_10_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746870","1394746864","1394746866","1394746865","1394746868","1394746862"],"photo_ids_order":["1394746862","1394746864","1394746865","1394746866","1394746868","1394746870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df592e4fbf54569439d7251b00c59aba.jpg","text":"TemporaryFile(/tmp/multipartBody2662735337184592363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298762756,"filename":"image_16112025_11_44_10_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88b6e0150e62d8dbe1205430a00daa33.jpg","text":"TemporaryFile(/tmp/multipartBody5741128695514786044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298762756,"filename":"image_16112025_11_43_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/11/16/d9943a1722710f5b07e97cc848648f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4149289138664144213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298762756,"filename":"image_16112025_11_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/11/16/4a9a0ed83f70f9c55e3317a0f4dd4ee3.jpg","text":"TemporaryFile(/tmp/multipartBody149508605941656431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298762756,"filename":"image_16112025_11_44_01_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de21d584188c760decd44f0ae492b76d.jpg","text":"TemporaryFile(/tmp/multipartBody1231073726922097676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298762756,"filename":"image_16112025_11_44_07_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87d42358c1d4994b4d238a8667bac20e.jpg","text":"TemporaryFile(/tmp/multipartBody5125822809348401527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298762756,"filename":"image_16112025_11_43_55_3830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746865","file1":"1394746864","file0":"1394746862","file4":"1394746868","file5":"1394746870","file3":"1394746866"},"map_files_photo_id_array":[{"photo_id":"1394746870","filename":"file5"},{"photo_id":"1394746865","filename":"file2"},{"photo_id":"1394746868","filename":"file4"},{"photo_id":"1394746864","filename":"file1"},{"photo_id":"1394746862","filename":"file0"},{"photo_id":"1394746866","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746870":["hashtag1","hashtag2"]},{"1394746864":["hashtag1","hashtag2"]},{"1394746866":["hashtag1","hashtag2"]},{"1394746865":["hashtag1","hashtag2"]},{"1394746868":["hashtag1","hashtag2"]},{"1394746862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746870, 1394746864, 1394746866, 1394746865, 1394746868, 1394746862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.815773248672485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:12:22.420556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_12_2763.jpg', '/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_15_2792.jpg', '/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_19_3577.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_07_3014.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_11_3570.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_13_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_12_2763.jpg
/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_15_2792.jpg
/home/pi/Desktop/images/16112025/11/44/image_16112025_11_44_19_3577.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_07_3014.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_11_3570.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_13_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746876","1394746879","1394746881","1394746884","1394746880","1394746877"],"photo_ids_order":["1394746876","1394746877","1394746879","1394746880","1394746881","1394746884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2bd64631fa54cba203f9f23b59cae853.jpg","text":"TemporaryFile(/tmp/multipartBody8746209234722581462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298803063,"filename":"image_16112025_11_44_12_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7e3a841697cfa3e8563ba00089b0218.jpg","text":"TemporaryFile(/tmp/multipartBody4167419002385240233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298803063,"filename":"image_16112025_11_44_19_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61713f45377ad307b87f3fe26b1d921c.jpg","text":"TemporaryFile(/tmp/multipartBody4785350723773432498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298803063,"filename":"image_16112025_11_45_11_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bf38066bba6b056caa85b2e6cc45a07.jpg","text":"TemporaryFile(/tmp/multipartBody541308637342599530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298803063,"filename":"image_16112025_11_45_13_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c34ea14937ff92518bf95f9e03f41fac.jpg","text":"TemporaryFile(/tmp/multipartBody2573083857923701256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298803063,"filename":"image_16112025_11_45_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/11/16/9ff512f421e4c11f81c033c86dd71fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8638667912653231695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298803063,"filename":"image_16112025_11_44_15_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746879","file1":"1394746877","file0":"1394746876","file4":"1394746881","file5":"1394746884","file3":"1394746880"},"map_files_photo_id_array":[{"photo_id":"1394746884","filename":"file5"},{"photo_id":"1394746879","filename":"file2"},{"photo_id":"1394746881","filename":"file4"},{"photo_id":"1394746877","filename":"file1"},{"photo_id":"1394746876","filename":"file0"},{"photo_id":"1394746880","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746876":["hashtag1","hashtag2"]},{"1394746879":["hashtag1","hashtag2"]},{"1394746881":["hashtag1","hashtag2"]},{"1394746884":["hashtag1","hashtag2"]},{"1394746880":["hashtag1","hashtag2"]},{"1394746877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746876, 1394746879, 1394746881, 1394746884, 1394746880, 1394746877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.541531562805176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:13:03.161923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_17_3637.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_20_2800.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_22_2624.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_25_2737.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_29_3580.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_31_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_17_3637.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_20_2800.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_22_2624.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_25_2737.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_29_3580.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_31_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746888","1394746890","1394746887","1394746896","1394746892","1394746889"],"photo_ids_order":["1394746887","1394746888","1394746889","1394746890","1394746892","1394746896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8c4a8f6f975086992e8c0a95b21a5ca.jpg","text":"TemporaryFile(/tmp/multipartBody6461110247472120582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298843909,"filename":"image_16112025_11_45_20_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a75a1d82248d1f7761c58bcbed25d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6744246328642426717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298843909,"filename":"image_16112025_11_45_25_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3327bbdda04009a0fcc14f868e4e384.jpg","text":"TemporaryFile(/tmp/multipartBody4211716834327658740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298843909,"filename":"image_16112025_11_45_17_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/309cddd0f1f806e73f39695b3e9a122a.jpg","text":"TemporaryFile(/tmp/multipartBody7839410635039983486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298843909,"filename":"image_16112025_11_45_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/11/16/c2cc7f16f543ca7116d1191cd478686b.jpg","text":"TemporaryFile(/tmp/multipartBody8347490752787971930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298843909,"filename":"image_16112025_11_45_29_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f1c293c741ef9b339ed313aaf8f6fed.jpg","text":"TemporaryFile(/tmp/multipartBody7517376710920232472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298843909,"filename":"image_16112025_11_45_22_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746889","file1":"1394746888","file0":"1394746887","file4":"1394746892","file5":"1394746896","file3":"1394746890"},"map_files_photo_id_array":[{"photo_id":"1394746896","filename":"file5"},{"photo_id":"1394746889","filename":"file2"},{"photo_id":"1394746892","filename":"file4"},{"photo_id":"1394746888","filename":"file1"},{"photo_id":"1394746887","filename":"file0"},{"photo_id":"1394746890","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746888":["hashtag1","hashtag2"]},{"1394746890":["hashtag1","hashtag2"]},{"1394746887":["hashtag1","hashtag2"]},{"1394746896":["hashtag1","hashtag2"]},{"1394746892":["hashtag1","hashtag2"]},{"1394746889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746888, 1394746890, 1394746887, 1394746896, 1394746892, 1394746889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17018461227417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:13:42.396275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_35_3504.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_37_2500.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_40_2699.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_44_3703.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_46_2628.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_49_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_35_3504.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_37_2500.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_40_2699.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_44_3703.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_46_2628.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_49_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746900","1394746899","1394746903","1394746898","1394746902","1394746901"],"photo_ids_order":["1394746898","1394746899","1394746900","1394746901","1394746902","1394746903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0ba21a985910472a7fde48d765f5c57.jpg","text":"TemporaryFile(/tmp/multipartBody7261764539308355196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298883054,"filename":"image_16112025_11_45_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d47da93ef1b0d63474372712d7399f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6493463069159384624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298883054,"filename":"image_16112025_11_45_37_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28fe66b96bf2d92ddbf9a8e294447729.jpg","text":"TemporaryFile(/tmp/multipartBody4123675343595302816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298883054,"filename":"image_16112025_11_45_49_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d430446f51f6c47d2be26dc6701071eb.jpg","text":"TemporaryFile(/tmp/multipartBody1169746663642224186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298883054,"filename":"image_16112025_11_45_35_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/977c15e2957cb8ff962de9b706a1012e.jpg","text":"TemporaryFile(/tmp/multipartBody2123170575608101838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298883054,"filename":"image_16112025_11_45_46_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b3dcce6c90a8627f1879cb5ead3fe29.jpg","text":"TemporaryFile(/tmp/multipartBody7505765997972595609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298883054,"filename":"image_16112025_11_45_44_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746900","file1":"1394746899","file0":"1394746898","file4":"1394746902","file5":"1394746903","file3":"1394746901"},"map_files_photo_id_array":[{"photo_id":"1394746903","filename":"file5"},{"photo_id":"1394746900","filename":"file2"},{"photo_id":"1394746902","filename":"file4"},{"photo_id":"1394746899","filename":"file1"},{"photo_id":"1394746898","filename":"file0"},{"photo_id":"1394746901","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746900":["hashtag1","hashtag2"]},{"1394746899":["hashtag1","hashtag2"]},{"1394746903":["hashtag1","hashtag2"]},{"1394746898":["hashtag1","hashtag2"]},{"1394746902":["hashtag1","hashtag2"]},{"1394746901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746900, 1394746899, 1394746903, 1394746898, 1394746902, 1394746901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.226476430892944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:14:22.591513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_53_3754.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_55_2584.jpg', '/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_59_3550.jpg', '/home/pi/Desktop/images/16112025/11/46/image_16112025_11_46_02_2718.jpg', '/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_07_3018.jpg', '/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_19_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_53_3754.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_55_2584.jpg
/home/pi/Desktop/images/16112025/11/45/image_16112025_11_45_59_3550.jpg
/home/pi/Desktop/images/16112025/11/46/image_16112025_11_46_02_2718.jpg
/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_07_3018.jpg
/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_19_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746913","1394746921","1394746918","1394746920","1394746922","1394746916"],"photo_ids_order":["1394746913","1394746916","1394746918","1394746920","1394746921","1394746922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6beb1b57f49a999c205366c21237dcd7.jpg","text":"TemporaryFile(/tmp/multipartBody7825549613521761052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298923312,"filename":"image_16112025_11_45_53_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e47162a0dce6d8f1dc86c53ee7a31de7.jpg","text":"TemporaryFile(/tmp/multipartBody6253312530372633761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298923312,"filename":"image_16112025_11_47_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/11/16/6237e02d00d7acd4dd2eac2caaa6ba7d.jpg","text":"TemporaryFile(/tmp/multipartBody4859118389583068193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298923312,"filename":"image_16112025_11_45_59_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a3f80a4a0b3b31e2db2182851eb9ba0.jpg","text":"TemporaryFile(/tmp/multipartBody5883300843540851344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298923312,"filename":"image_16112025_11_46_02_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72c9ac9d1d13b64f9cd0ed5870c28e25.jpg","text":"TemporaryFile(/tmp/multipartBody6181231057720287214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298923312,"filename":"image_16112025_11_47_19_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2a85035e6bed55d1e69f3ddad135a92.jpg","text":"TemporaryFile(/tmp/multipartBody8497046324128177760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298923312,"filename":"image_16112025_11_45_55_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746918","file1":"1394746916","file0":"1394746913","file4":"1394746921","file5":"1394746922","file3":"1394746920"},"map_files_photo_id_array":[{"photo_id":"1394746922","filename":"file5"},{"photo_id":"1394746918","filename":"file2"},{"photo_id":"1394746921","filename":"file4"},{"photo_id":"1394746916","filename":"file1"},{"photo_id":"1394746913","filename":"file0"},{"photo_id":"1394746920","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746913":["hashtag1","hashtag2"]},{"1394746921":["hashtag1","hashtag2"]},{"1394746918":["hashtag1","hashtag2"]},{"1394746920":["hashtag1","hashtag2"]},{"1394746922":["hashtag1","hashtag2"]},{"1394746916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746913, 1394746921, 1394746918, 1394746920, 1394746922, 1394746916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24537992477417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:15:02.701056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_22_2487.jpg', '/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_28_2616.jpg', '/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_31_2618.jpg', '/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_34_3776.jpg', '/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_37_2620.jpg', '/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_40_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_22_2487.jpg
/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_28_2616.jpg
/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_31_2618.jpg
/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_34_3776.jpg
/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_37_2620.jpg
/home/pi/Desktop/images/16112025/11/47/image_16112025_11_47_40_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746931","1394746925","1394746933","1394746927","1394746929","1394746937"],"photo_ids_order":["1394746925","1394746927","1394746929","1394746931","1394746933","1394746937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59790b566192b003dc3cd53ce3d0cc1a.jpg","text":"TemporaryFile(/tmp/multipartBody777985425908141931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298963412,"filename":"image_16112025_11_47_34_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6335ad1a84e523fd8bb422fa6043945d.jpg","text":"TemporaryFile(/tmp/multipartBody157154209946295988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298963412,"filename":"image_16112025_11_47_22_2487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b20d791b1b39b8f2ba9c4a2277c7bc81.jpg","text":"TemporaryFile(/tmp/multipartBody5992485469002657110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298963412,"filename":"image_16112025_11_47_37_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6d3f37654b421f29edbf166531d330a.jpg","text":"TemporaryFile(/tmp/multipartBody6438236939471507018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298963412,"filename":"image_16112025_11_47_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/11/16/6bb941d3c955cff179831840b05c14b0.jpg","text":"TemporaryFile(/tmp/multipartBody1675545151923345875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298963412,"filename":"image_16112025_11_47_31_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/420e838fc4a52c562f36943089eb179a.jpg","text":"TemporaryFile(/tmp/multipartBody6030944556098246197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763298963412,"filename":"image_16112025_11_47_40_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746929","file1":"1394746927","file0":"1394746925","file4":"1394746933","file5":"1394746937","file3":"1394746931"},"map_files_photo_id_array":[{"photo_id":"1394746937","filename":"file5"},{"photo_id":"1394746929","filename":"file2"},{"photo_id":"1394746933","filename":"file4"},{"photo_id":"1394746927","filename":"file1"},{"photo_id":"1394746925","filename":"file0"},{"photo_id":"1394746931","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746931":["hashtag1","hashtag2"]},{"1394746925":["hashtag1","hashtag2"]},{"1394746933":["hashtag1","hashtag2"]},{"1394746927":["hashtag1","hashtag2"]},{"1394746929":["hashtag1","hashtag2"]},{"1394746937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746931, 1394746925, 1394746933, 1394746927, 1394746929, 1394746937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.156195878982544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:15:41.959303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_06_3011.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_19_2592.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_21_2634.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_25_3708.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_28_2602.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_31_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_06_3011.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_19_2592.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_21_2634.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_25_3708.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_28_2602.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_31_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746948","1394746950","1394746944","1394746947","1394746946","1394746949"],"photo_ids_order":["1394746944","1394746946","1394746947","1394746948","1394746949","1394746950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/390fe6f14b05b50a62e762f40e2cd33e.jpg","text":"TemporaryFile(/tmp/multipartBody3225831793350897868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299002586,"filename":"image_16112025_11_49_25_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fb52ed97fc9cd4f30ad8d245f3c15b6.jpg","text":"TemporaryFile(/tmp/multipartBody5210766824759848995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299002586,"filename":"image_16112025_11_49_31_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/964788acf050dcbc0d8e267fcb4ce4f9.jpg","text":"TemporaryFile(/tmp/multipartBody7563917648457686991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299002586,"filename":"image_16112025_11_49_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/11/16/01bef30d82098d55303820fb03503804.jpg","text":"TemporaryFile(/tmp/multipartBody8392563362058243255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299002586,"filename":"image_16112025_11_49_21_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e98647e9b1aa692f371f0cfdfc08351f.jpg","text":"TemporaryFile(/tmp/multipartBody4072126180047707839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299002586,"filename":"image_16112025_11_49_19_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f7ac0f045224300ca7e4b3a46127004.jpg","text":"TemporaryFile(/tmp/multipartBody3991655289182514811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299002586,"filename":"image_16112025_11_49_28_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746947","file1":"1394746946","file0":"1394746944","file4":"1394746949","file5":"1394746950","file3":"1394746948"},"map_files_photo_id_array":[{"photo_id":"1394746950","filename":"file5"},{"photo_id":"1394746947","filename":"file2"},{"photo_id":"1394746949","filename":"file4"},{"photo_id":"1394746946","filename":"file1"},{"photo_id":"1394746944","filename":"file0"},{"photo_id":"1394746948","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746948":["hashtag1","hashtag2"]},{"1394746950":["hashtag1","hashtag2"]},{"1394746944":["hashtag1","hashtag2"]},{"1394746947":["hashtag1","hashtag2"]},{"1394746946":["hashtag1","hashtag2"]},{"1394746949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746948, 1394746950, 1394746944, 1394746947, 1394746946, 1394746949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1404070854187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:16:22.166406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_34_3665.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_37_2550.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_40_3602.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_43_2675.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_46_2685.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_49_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_34_3665.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_37_2550.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_40_3602.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_43_2675.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_46_2685.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_49_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746963","1394746960","1394746962","1394746956","1394746955","1394746958"],"photo_ids_order":["1394746955","1394746956","1394746958","1394746960","1394746962","1394746963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/217219709ad1e1c366b3443ffa6de77c.jpg","text":"TemporaryFile(/tmp/multipartBody3965841866220605081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299042809,"filename":"image_16112025_11_49_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/11/16/5f543fd5197fdb7407a4f16a2fd466ee.jpg","text":"TemporaryFile(/tmp/multipartBody6295283350615112106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299042809,"filename":"image_16112025_11_49_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/11/16/bfa8cdae0e3823e1cea5aada885e3ffc.jpg","text":"TemporaryFile(/tmp/multipartBody1164403055152711836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299042809,"filename":"image_16112025_11_49_46_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b66d8cbd9d8dea31263093e6de3f4cd5.jpg","text":"TemporaryFile(/tmp/multipartBody617409885359499873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299042809,"filename":"image_16112025_11_49_37_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e86b66afff8a846a8b9263fa97320dd9.jpg","text":"TemporaryFile(/tmp/multipartBody6455957014749557359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299042809,"filename":"image_16112025_11_49_34_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e481bc0ce3695be194c10b0b1f2662f9.jpg","text":"TemporaryFile(/tmp/multipartBody2164083149457181664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299042809,"filename":"image_16112025_11_49_40_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746958","file1":"1394746956","file0":"1394746955","file4":"1394746962","file5":"1394746963","file3":"1394746960"},"map_files_photo_id_array":[{"photo_id":"1394746963","filename":"file5"},{"photo_id":"1394746958","filename":"file2"},{"photo_id":"1394746962","filename":"file4"},{"photo_id":"1394746956","filename":"file1"},{"photo_id":"1394746955","filename":"file0"},{"photo_id":"1394746960","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746963":["hashtag1","hashtag2"]},{"1394746960":["hashtag1","hashtag2"]},{"1394746962":["hashtag1","hashtag2"]},{"1394746956":["hashtag1","hashtag2"]},{"1394746955":["hashtag1","hashtag2"]},{"1394746958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746963, 1394746960, 1394746962, 1394746956, 1394746955, 1394746958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09999132156372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:17:03.212714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_52_2614.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_55_2848.jpg', '/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_57_2588.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_07_3010.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_11_3630.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_13_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_52_2614.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_55_2848.jpg
/home/pi/Desktop/images/16112025/11/49/image_16112025_11_49_57_2588.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_07_3010.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_11_3630.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_13_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746969","1394746972","1394746966","1394746965","1394746964","1394746967"],"photo_ids_order":["1394746964","1394746965","1394746966","1394746967","1394746969","1394746972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79a24a2c3dfe6b9776e8dbf02f8b44b5.jpg","text":"TemporaryFile(/tmp/multipartBody2631491204603139081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299083920,"filename":"image_16112025_11_50_11_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73e2f488f302443b2d890521fa38e405.jpg","text":"TemporaryFile(/tmp/multipartBody6042840837971569045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299083920,"filename":"image_16112025_11_50_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/11/16/e8623c6375195159e9270e38492fe7ad.jpg","text":"TemporaryFile(/tmp/multipartBody8764818249218685752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299083920,"filename":"image_16112025_11_49_57_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/454e2afc2ca8ae9b1837503014d364c1.jpg","text":"TemporaryFile(/tmp/multipartBody7460132190606006795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299083920,"filename":"image_16112025_11_49_55_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6d17a6dd8e4841937344b5321ede5cb.jpg","text":"TemporaryFile(/tmp/multipartBody1119160817083473682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299083920,"filename":"image_16112025_11_49_52_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a777f55a0a06a90f65f77a7509b7c397.jpg","text":"TemporaryFile(/tmp/multipartBody50683860182680612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299083920,"filename":"image_16112025_11_50_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746966","file1":"1394746965","file0":"1394746964","file4":"1394746969","file5":"1394746972","file3":"1394746967"},"map_files_photo_id_array":[{"photo_id":"1394746972","filename":"file5"},{"photo_id":"1394746966","filename":"file2"},{"photo_id":"1394746969","filename":"file4"},{"photo_id":"1394746965","filename":"file1"},{"photo_id":"1394746964","filename":"file0"},{"photo_id":"1394746967","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746969":["hashtag1","hashtag2"]},{"1394746972":["hashtag1","hashtag2"]},{"1394746966":["hashtag1","hashtag2"]},{"1394746965":["hashtag1","hashtag2"]},{"1394746964":["hashtag1","hashtag2"]},{"1394746967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746969, 1394746972, 1394746966, 1394746965, 1394746964, 1394746967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63315939903259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:17:42.541845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_17_3579.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_20_2732.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_22_2581.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_26_3631.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_31_2594.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_35_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_17_3579.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_20_2732.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_22_2581.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_26_3631.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_31_2594.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_35_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746984","1394746986","1394746980","1394746983","1394746982","1394746985"],"photo_ids_order":["1394746980","1394746982","1394746983","1394746984","1394746985","1394746986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/291b56a373b0b3c4ac44bfc59bf64d61.jpg","text":"TemporaryFile(/tmp/multipartBody4723033066018992658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299123165,"filename":"image_16112025_11_50_26_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a99af3da14f517041640d21da9a3f45e.jpg","text":"TemporaryFile(/tmp/multipartBody6356365446107332543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299123165,"filename":"image_16112025_11_50_35_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4aceb6483e61af5c67286a34b07eee61.jpg","text":"TemporaryFile(/tmp/multipartBody969730141439262352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299123165,"filename":"image_16112025_11_50_17_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6306e3eb71aaa462bae75e69dee83a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4117398132917959148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299123165,"filename":"image_16112025_11_50_22_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1cbb674cc19b497415c615a758f5e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7510847899587134457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299123165,"filename":"image_16112025_11_50_20_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0cddf9b6e68e535aea2b429eb37140a.jpg","text":"TemporaryFile(/tmp/multipartBody7558569286485107356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299123165,"filename":"image_16112025_11_50_31_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394746983","file1":"1394746982","file0":"1394746980","file4":"1394746985","file5":"1394746986","file3":"1394746984"},"map_files_photo_id_array":[{"photo_id":"1394746986","filename":"file5"},{"photo_id":"1394746983","filename":"file2"},{"photo_id":"1394746985","filename":"file4"},{"photo_id":"1394746982","filename":"file1"},{"photo_id":"1394746980","filename":"file0"},{"photo_id":"1394746984","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746984":["hashtag1","hashtag2"]},{"1394746986":["hashtag1","hashtag2"]},{"1394746980":["hashtag1","hashtag2"]},{"1394746983":["hashtag1","hashtag2"]},{"1394746982":["hashtag1","hashtag2"]},{"1394746985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746984, 1394746986, 1394746980, 1394746983, 1394746982, 1394746985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.905616998672485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:18:22.832672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_37_2679.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_40_2745.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_44_3680.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_47_2813.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_49_2653.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_53_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_37_2679.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_40_2745.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_44_3680.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_47_2813.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_49_2653.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_53_3700.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.5843381881713867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:18:42.771719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_37_2679.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_40_2745.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_44_3680.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_47_2813.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_49_2653.jpg', '/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_53_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_37_2679.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_40_2745.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_44_3680.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_47_2813.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_49_2653.jpg
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_53_3700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394746999","1394747002","1394747004","1394747001","1394747000","1394747003"],"photo_ids_order":["1394746999","1394747000","1394747001","1394747002","1394747003","1394747004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bff6ddc3bc034f1d3e6e8ffe6b8ec7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1470151241269607332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299183461,"filename":"image_16112025_11_50_37_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c7e96d60a1b8d4b0e9ca7d75e052fec.jpg","text":"TemporaryFile(/tmp/multipartBody181973563063714631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299183461,"filename":"image_16112025_11_50_47_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce200e923792ad4d2bf628300ccde3ad.jpg","text":"TemporaryFile(/tmp/multipartBody4830595052135364953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299183461,"filename":"image_16112025_11_50_53_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b130e31b405d5318cd469cab3435ebbc.jpg","text":"TemporaryFile(/tmp/multipartBody6943070443430294471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299183461,"filename":"image_16112025_11_50_44_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e75b607d9c36d5fe2af2b8e8acdf9b51.jpg","text":"TemporaryFile(/tmp/multipartBody4698823817513578688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299183461,"filename":"image_16112025_11_50_40_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/651281af6968a78eebfd691213e9cfeb.jpg","text":"TemporaryFile(/tmp/multipartBody198081777699329713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299183461,"filename":"image_16112025_11_50_49_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747001","file1":"1394747000","file0":"1394746999","file4":"1394747003","file5":"1394747004","file3":"1394747002"},"map_files_photo_id_array":[{"photo_id":"1394747004","filename":"file5"},{"photo_id":"1394747001","filename":"file2"},{"photo_id":"1394747003","filename":"file4"},{"photo_id":"1394747000","filename":"file1"},{"photo_id":"1394746999","filename":"file0"},{"photo_id":"1394747002","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394746999":["hashtag1","hashtag2"]},{"1394747002":["hashtag1","hashtag2"]},{"1394747004":["hashtag1","hashtag2"]},{"1394747001":["hashtag1","hashtag2"]},{"1394747000":["hashtag1","hashtag2"]},{"1394747003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394746999, 1394747002, 1394747004, 1394747001, 1394747000, 1394747003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.114020586013794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:19:22.022358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_56_2623.jpg', '/home/pi/Desktop/images/16112025/11/51/image_16112025_11_51_01_2758.jpg', '/home/pi/Desktop/images/16112025/11/51/image_16112025_11_51_05_3588.jpg', '/home/pi/Desktop/images/16112025/11/51/image_16112025_11_51_07_2591.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_07_3018.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_11_3810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/50/image_16112025_11_50_56_2623.jpg
/home/pi/Desktop/images/16112025/11/51/image_16112025_11_51_01_2758.jpg
/home/pi/Desktop/images/16112025/11/51/image_16112025_11_51_05_3588.jpg
/home/pi/Desktop/images/16112025/11/51/image_16112025_11_51_07_2591.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_07_3018.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_11_3810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747011","1394747014","1394747017","1394747013","1394747007","1394747012"],"photo_ids_order":["1394747007","1394747011","1394747012","1394747013","1394747014","1394747017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ac8c5c3867ec212e7c022cac01a56a1.jpg","text":"TemporaryFile(/tmp/multipartBody8293027036994026574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299222657,"filename":"image_16112025_11_51_01_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9a7d715da0061f1222f6f23ef43dac0.jpg","text":"TemporaryFile(/tmp/multipartBody1081315132597197060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299222657,"filename":"image_16112025_11_52_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/11/16/cc5554916bee3ae87e13545ad71874bb.jpg","text":"TemporaryFile(/tmp/multipartBody1150231149910595624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299222657,"filename":"image_16112025_11_52_11_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbdaa6b3861f658806d9e4506953e090.jpg","text":"TemporaryFile(/tmp/multipartBody2199823539238510574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299222657,"filename":"image_16112025_11_51_07_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbcac67a32dd547e670ac83f3199a006.jpg","text":"TemporaryFile(/tmp/multipartBody9012254379748733648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299222657,"filename":"image_16112025_11_50_56_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c6d662a55e2000fe71c3b04fe7a9317.jpg","text":"TemporaryFile(/tmp/multipartBody953720753819690169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299222657,"filename":"image_16112025_11_51_05_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747012","file1":"1394747011","file0":"1394747007","file4":"1394747014","file5":"1394747017","file3":"1394747013"},"map_files_photo_id_array":[{"photo_id":"1394747017","filename":"file5"},{"photo_id":"1394747012","filename":"file2"},{"photo_id":"1394747014","filename":"file4"},{"photo_id":"1394747011","filename":"file1"},{"photo_id":"1394747007","filename":"file0"},{"photo_id":"1394747013","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747011":["hashtag1","hashtag2"]},{"1394747014":["hashtag1","hashtag2"]},{"1394747017":["hashtag1","hashtag2"]},{"1394747013":["hashtag1","hashtag2"]},{"1394747007":["hashtag1","hashtag2"]},{"1394747012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747011, 1394747014, 1394747017, 1394747013, 1394747007, 1394747012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9444682598114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:20:02.695490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_14_2695.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_16_2679.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_20_3541.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_22_2505.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_26_3674.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_29_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_14_2695.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_16_2679.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_20_3541.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_22_2505.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_26_3674.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_29_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: 0.6561501026153564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:20:22.292501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_14_2695.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_16_2679.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_20_3541.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_22_2505.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_26_3674.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_29_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_14_2695.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_16_2679.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_20_3541.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_22_2505.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_26_3674.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_29_2556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747034","1394747037","1394747031","1394747028","1394747036","1394747039"],"photo_ids_order":["1394747028","1394747031","1394747034","1394747036","1394747037","1394747039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2eb8d3180b0487b2e67ba50a003c4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5943747753337758283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299282918,"filename":"image_16112025_11_52_20_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bcdc3a60c88b927fb930908dcece6243.jpg","text":"TemporaryFile(/tmp/multipartBody4995759197572714210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299282918,"filename":"image_16112025_11_52_26_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9920f2ae230924fcb005194c1ab22aa.jpg","text":"TemporaryFile(/tmp/multipartBody6433852571997773119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299282918,"filename":"image_16112025_11_52_16_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99d4404558942b538565e6ca8354d8b8.jpg","text":"TemporaryFile(/tmp/multipartBody9141967817863342991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299282918,"filename":"image_16112025_11_52_14_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f32e8c331d937d1f97016b295cc3825.jpg","text":"TemporaryFile(/tmp/multipartBody644305419782566765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299282918,"filename":"image_16112025_11_52_22_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9632b4381b33d2a676e953c041bed8fb.jpg","text":"TemporaryFile(/tmp/multipartBody5359072003518672283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299282918,"filename":"image_16112025_11_52_29_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747034","file1":"1394747031","file0":"1394747028","file4":"1394747037","file5":"1394747039","file3":"1394747036"},"map_files_photo_id_array":[{"photo_id":"1394747039","filename":"file5"},{"photo_id":"1394747034","filename":"file2"},{"photo_id":"1394747037","filename":"file4"},{"photo_id":"1394747031","filename":"file1"},{"photo_id":"1394747028","filename":"file0"},{"photo_id":"1394747036","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747034":["hashtag1","hashtag2"]},{"1394747037":["hashtag1","hashtag2"]},{"1394747031":["hashtag1","hashtag2"]},{"1394747028":["hashtag1","hashtag2"]},{"1394747036":["hashtag1","hashtag2"]},{"1394747039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747034, 1394747037, 1394747031, 1394747028, 1394747036, 1394747039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01803231239319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:21:03.233059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_31_2781.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_35_3650.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_38_2578.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_40_2749.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_44_3511.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_47_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_31_2781.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_35_3650.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_38_2578.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_40_2749.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_44_3511.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_47_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747050","1394747041","1394747040","1394747043","1394747046","1394747042"],"photo_ids_order":["1394747040","1394747041","1394747042","1394747043","1394747046","1394747050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58439a1b4da96aaf5bc60a46ea42fd3f.jpg","text":"TemporaryFile(/tmp/multipartBody6461742471946401811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299323947,"filename":"image_16112025_11_52_47_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/254a8e791db1d9ca35f9ca4bd01f503c.jpg","text":"TemporaryFile(/tmp/multipartBody6408820757758638358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299323947,"filename":"image_16112025_11_52_35_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5fb7bd1d0f49ada7acb77892ffa88d5.jpg","text":"TemporaryFile(/tmp/multipartBody472634482209748673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299323947,"filename":"image_16112025_11_52_31_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d49177b7358bea49995c42e0db73b952.jpg","text":"TemporaryFile(/tmp/multipartBody4234409510063918211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299323947,"filename":"image_16112025_11_52_40_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63f31a92dae87d518b3c6e0223304e51.jpg","text":"TemporaryFile(/tmp/multipartBody8225722730683952071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299323947,"filename":"image_16112025_11_52_44_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/883a88e9eb34b40d4801ffa440956952.jpg","text":"TemporaryFile(/tmp/multipartBody1020114190782529209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299323947,"filename":"image_16112025_11_52_38_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747042","file1":"1394747041","file0":"1394747040","file4":"1394747046","file5":"1394747050","file3":"1394747043"},"map_files_photo_id_array":[{"photo_id":"1394747050","filename":"file5"},{"photo_id":"1394747042","filename":"file2"},{"photo_id":"1394747046","filename":"file4"},{"photo_id":"1394747041","filename":"file1"},{"photo_id":"1394747040","filename":"file0"},{"photo_id":"1394747043","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747050":["hashtag1","hashtag2"]},{"1394747041":["hashtag1","hashtag2"]},{"1394747040":["hashtag1","hashtag2"]},{"1394747043":["hashtag1","hashtag2"]},{"1394747046":["hashtag1","hashtag2"]},{"1394747042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747050, 1394747041, 1394747040, 1394747043, 1394747046, 1394747042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06543326377869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:21:42.432513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_49_2577.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_53_3702.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_56_2744.jpg', '/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_58_2703.jpg', '/home/pi/Desktop/images/16112025/11/53/image_16112025_11_53_01_2631.jpg', '/home/pi/Desktop/images/16112025/11/53/image_16112025_11_53_05_3879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_49_2577.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_53_3702.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_56_2744.jpg
/home/pi/Desktop/images/16112025/11/52/image_16112025_11_52_58_2703.jpg
/home/pi/Desktop/images/16112025/11/53/image_16112025_11_53_01_2631.jpg
/home/pi/Desktop/images/16112025/11/53/image_16112025_11_53_05_3879.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747056","1394747059","1394747055","1394747058","1394747060","1394747057"],"photo_ids_order":["1394747055","1394747056","1394747057","1394747058","1394747059","1394747060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7c96a88829b007c617f05a7563dff65.jpg","text":"TemporaryFile(/tmp/multipartBody799700328577642291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299363064,"filename":"image_16112025_11_52_53_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33911a90b84848b28dd8d3207a5e6191.jpg","text":"TemporaryFile(/tmp/multipartBody8015348868384644461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299363064,"filename":"image_16112025_11_53_01_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/033a020d2ff24f06c535ab4fe31711dc.jpg","text":"TemporaryFile(/tmp/multipartBody3413481111170683574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299363064,"filename":"image_16112025_11_52_49_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b6f56245213d3de29b23ff93e18c908.jpg","text":"TemporaryFile(/tmp/multipartBody8064674404675400406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299363064,"filename":"image_16112025_11_52_58_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21edbac94e53511e888e29fcdb4eec49.jpg","text":"TemporaryFile(/tmp/multipartBody1293079975449326031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299363064,"filename":"image_16112025_11_53_05_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46132c210354e1bc00036479b4345e58.jpg","text":"TemporaryFile(/tmp/multipartBody7275242056187518552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299363064,"filename":"image_16112025_11_52_56_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747057","file1":"1394747056","file0":"1394747055","file4":"1394747059","file5":"1394747060","file3":"1394747058"},"map_files_photo_id_array":[{"photo_id":"1394747060","filename":"file5"},{"photo_id":"1394747057","filename":"file2"},{"photo_id":"1394747059","filename":"file4"},{"photo_id":"1394747056","filename":"file1"},{"photo_id":"1394747055","filename":"file0"},{"photo_id":"1394747058","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747056":["hashtag1","hashtag2"]},{"1394747059":["hashtag1","hashtag2"]},{"1394747055":["hashtag1","hashtag2"]},{"1394747058":["hashtag1","hashtag2"]},{"1394747060":["hashtag1","hashtag2"]},{"1394747057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747056, 1394747059, 1394747055, 1394747058, 1394747060, 1394747057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38536834716797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:22:22.769080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_07_3017.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_11_3626.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_13_2673.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_16_2674.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_20_3622.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_22_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_07_3017.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_11_3626.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_13_2673.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_16_2674.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_20_3622.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_22_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747071","1394747065","1394747067","1394747064","1394747063","1394747069"],"photo_ids_order":["1394747063","1394747064","1394747065","1394747067","1394747069","1394747071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90f75cf1bfca1bd3ef5b8ae7c0b795eb.jpg","text":"TemporaryFile(/tmp/multipartBody689208979370303857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299403412,"filename":"image_16112025_11_54_22_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf672e09a21e39329b0356585dfe729f.jpg","text":"TemporaryFile(/tmp/multipartBody836516964919527159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299403412,"filename":"image_16112025_11_54_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b31c254d9e6f39d4ab236a70eec4c77.jpg","text":"TemporaryFile(/tmp/multipartBody5434491023450956288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299403412,"filename":"image_16112025_11_54_16_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3416285cf66fb59390de7bc8cae0370d.jpg","text":"TemporaryFile(/tmp/multipartBody3787981745191431152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299403412,"filename":"image_16112025_11_54_11_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aad358dd0cd2ba02ffc46d01a623e3aa.jpg","text":"TemporaryFile(/tmp/multipartBody8107433414644141368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299403412,"filename":"image_16112025_11_54_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b2e3bd6ef0840c1bcd2346932975b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4581190333771826072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299403412,"filename":"image_16112025_11_54_20_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747065","file1":"1394747064","file0":"1394747063","file4":"1394747069","file5":"1394747071","file3":"1394747067"},"map_files_photo_id_array":[{"photo_id":"1394747071","filename":"file5"},{"photo_id":"1394747065","filename":"file2"},{"photo_id":"1394747069","filename":"file4"},{"photo_id":"1394747064","filename":"file1"},{"photo_id":"1394747063","filename":"file0"},{"photo_id":"1394747067","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747071":["hashtag1","hashtag2"]},{"1394747065":["hashtag1","hashtag2"]},{"1394747067":["hashtag1","hashtag2"]},{"1394747064":["hashtag1","hashtag2"]},{"1394747063":["hashtag1","hashtag2"]},{"1394747069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747071, 1394747065, 1394747067, 1394747064, 1394747063, 1394747069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93054986000061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:23:04.621973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_26_3592.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_28_2702.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_31_2675.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_34_2908.jpg', '/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_38_3584.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_26_3592.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_28_2702.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_31_2675.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_34_2908.jpg
/home/pi/Desktop/images/16112025/11/54/image_16112025_11_54_38_3584.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747073","1394747076","1394747078","1394747072","1394747080","1394747074"],"photo_ids_order":["1394747072","1394747073","1394747074","1394747076","1394747078","1394747080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a60ad8fb82cf7db617291e33df0bf9d.jpg","text":"TemporaryFile(/tmp/multipartBody7428391630582696907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299445477,"filename":"image_16112025_11_54_28_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a409b66b65397e6a6600082ba38d5a1.jpg","text":"TemporaryFile(/tmp/multipartBody6868510908899305309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299445477,"filename":"image_16112025_11_54_34_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/887b19520b8347a506daaa1f4381bc9d.jpg","text":"TemporaryFile(/tmp/multipartBody4142673136764660991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299445477,"filename":"image_16112025_11_54_38_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ef3d9d413c17060869d794e2c12f2f4.jpg","text":"TemporaryFile(/tmp/multipartBody7927963421980923213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299445477,"filename":"image_16112025_11_54_26_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/193eff99db91b7290be6b84a952ae246.jpg","text":"TemporaryFile(/tmp/multipartBody4586957581709981006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299445477,"filename":"image_16112025_11_56_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/11/16/1be10f64924a88ade9ad2ce52f3360e9.jpg","text":"TemporaryFile(/tmp/multipartBody8840522818019687786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299445477,"filename":"image_16112025_11_54_31_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747074","file1":"1394747073","file0":"1394747072","file4":"1394747078","file5":"1394747080","file3":"1394747076"},"map_files_photo_id_array":[{"photo_id":"1394747080","filename":"file5"},{"photo_id":"1394747074","filename":"file2"},{"photo_id":"1394747078","filename":"file4"},{"photo_id":"1394747073","filename":"file1"},{"photo_id":"1394747072","filename":"file0"},{"photo_id":"1394747076","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747073":["hashtag1","hashtag2"]},{"1394747076":["hashtag1","hashtag2"]},{"1394747078":["hashtag1","hashtag2"]},{"1394747072":["hashtag1","hashtag2"]},{"1394747080":["hashtag1","hashtag2"]},{"1394747074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747073, 1394747076, 1394747078, 1394747072, 1394747080, 1394747074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93072295188904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:23:41.915630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_10_3716.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_13_2597.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_16_3642.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_19_2597.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_22_2741.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_25_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_10_3716.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_13_2597.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_16_3642.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_19_2597.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_22_2741.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_25_3550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747083","1394747085","1394747088","1394747087","1394747086","1394747089"],"photo_ids_order":["1394747083","1394747085","1394747086","1394747087","1394747088","1394747089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e67ba8637e718c4ff85c56e3b100eb9.jpg","text":"TemporaryFile(/tmp/multipartBody4068768740648750310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299482563,"filename":"image_16112025_11_56_10_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73067e23a9b72b8ade2d04ba30b857b2.jpg","text":"TemporaryFile(/tmp/multipartBody3889393698961675638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299482563,"filename":"image_16112025_11_56_13_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d46d1a329e1ace84c02de27bba28776f.jpg","text":"TemporaryFile(/tmp/multipartBody3360534192393425218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299482563,"filename":"image_16112025_11_56_22_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55ae7cb873cd0ed4c957e8a342756342.jpg","text":"TemporaryFile(/tmp/multipartBody1764218941589394920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299482563,"filename":"image_16112025_11_56_19_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fad063c3bf054199df2dc555903d4fb5.jpg","text":"TemporaryFile(/tmp/multipartBody180956270232039200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299482563,"filename":"image_16112025_11_56_16_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e5367e8fb5d987f9c920fb748d2923e.jpg","text":"TemporaryFile(/tmp/multipartBody8808737954364361224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299482563,"filename":"image_16112025_11_56_25_3550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747086","file1":"1394747085","file0":"1394747083","file4":"1394747088","file5":"1394747089","file3":"1394747087"},"map_files_photo_id_array":[{"photo_id":"1394747089","filename":"file5"},{"photo_id":"1394747086","filename":"file2"},{"photo_id":"1394747088","filename":"file4"},{"photo_id":"1394747085","filename":"file1"},{"photo_id":"1394747083","filename":"file0"},{"photo_id":"1394747087","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747083":["hashtag1","hashtag2"]},{"1394747085":["hashtag1","hashtag2"]},{"1394747088":["hashtag1","hashtag2"]},{"1394747087":["hashtag1","hashtag2"]},{"1394747086":["hashtag1","hashtag2"]},{"1394747089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747083, 1394747085, 1394747088, 1394747087, 1394747086, 1394747089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79569959640503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:24:22.157265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_28_2656.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_31_2701.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_34_2868.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_37_3648.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_40_2612.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_43_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_28_2656.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_31_2701.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_34_2868.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_37_3648.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_40_2612.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_43_3569.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.5766956806182861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:24:42.128262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_28_2656.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_31_2701.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_34_2868.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_37_3648.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_40_2612.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_43_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_28_2656.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_31_2701.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_34_2868.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_37_3648.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_40_2612.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_43_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747104","1394747107","1394747103","1394747106","1394747108","1394747105"],"photo_ids_order":["1394747103","1394747104","1394747105","1394747106","1394747107","1394747108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c161abd8d610e4f61a294b9df062faa3.jpg","text":"TemporaryFile(/tmp/multipartBody5742081218361202130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299542765,"filename":"image_16112025_11_56_31_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d508733bdc2dbff04220e4203058553.jpg","text":"TemporaryFile(/tmp/multipartBody4776679518243667972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299542765,"filename":"image_16112025_11_56_40_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/538d793ce22abaebe5d141af47082046.jpg","text":"TemporaryFile(/tmp/multipartBody8752253981923445820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299542765,"filename":"image_16112025_11_56_28_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98c5702b551a773068e80ca1c509e3f1.jpg","text":"TemporaryFile(/tmp/multipartBody8698991914738874676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299542765,"filename":"image_16112025_11_56_37_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da36f4716aa90fbaf030efb2a971051f.jpg","text":"TemporaryFile(/tmp/multipartBody4468248636293317640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299542765,"filename":"image_16112025_11_56_43_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6045afcf950267bf3298d4d30268304f.jpg","text":"TemporaryFile(/tmp/multipartBody3026353486372329449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299542765,"filename":"image_16112025_11_56_34_2868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747105","file1":"1394747104","file0":"1394747103","file4":"1394747107","file5":"1394747108","file3":"1394747106"},"map_files_photo_id_array":[{"photo_id":"1394747108","filename":"file5"},{"photo_id":"1394747105","filename":"file2"},{"photo_id":"1394747107","filename":"file4"},{"photo_id":"1394747104","filename":"file1"},{"photo_id":"1394747103","filename":"file0"},{"photo_id":"1394747106","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747104":["hashtag1","hashtag2"]},{"1394747107":["hashtag1","hashtag2"]},{"1394747103":["hashtag1","hashtag2"]},{"1394747106":["hashtag1","hashtag2"]},{"1394747108":["hashtag1","hashtag2"]},{"1394747105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747104, 1394747107, 1394747103, 1394747106, 1394747108, 1394747105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03828477859497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:25:22.382325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_46_2733.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_49_2751.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_51_2565.jpg', '/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_55_3742.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_07_3011.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_11_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_46_2733.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_49_2751.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_51_2565.jpg
/home/pi/Desktop/images/16112025/11/56/image_16112025_11_56_55_3742.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_07_3011.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_11_3684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747119","1394747113","1394747116","1394747121","1394747118","1394747120"],"photo_ids_order":["1394747113","1394747116","1394747118","1394747119","1394747120","1394747121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/674e652de1166c37ad5d464084e56283.jpg","text":"TemporaryFile(/tmp/multipartBody2327674620236420913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299583047,"filename":"image_16112025_11_56_55_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f09aa7c9ba0031bfa2b5229ee19d72ba.jpg","text":"TemporaryFile(/tmp/multipartBody3885969045106545424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299583047,"filename":"image_16112025_11_56_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/11/16/f7087a4a5c4ee2b244fa21c571ba47d3.jpg","text":"TemporaryFile(/tmp/multipartBody4512663899734762907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299583047,"filename":"image_16112025_11_56_49_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d41f088f7bc279a840f28d85d6cec37.jpg","text":"TemporaryFile(/tmp/multipartBody8853053871753559041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299583047,"filename":"image_16112025_11_58_11_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a4f034cc2acb413b352d8c0e3c70840.jpg","text":"TemporaryFile(/tmp/multipartBody7903164800928514686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299583047,"filename":"image_16112025_11_56_51_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d3e97229ae4c66607279e310d7a2819.jpg","text":"TemporaryFile(/tmp/multipartBody7618729733807385983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299583047,"filename":"image_16112025_11_58_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747118","file1":"1394747116","file0":"1394747113","file4":"1394747120","file5":"1394747121","file3":"1394747119"},"map_files_photo_id_array":[{"photo_id":"1394747121","filename":"file5"},{"photo_id":"1394747118","filename":"file2"},{"photo_id":"1394747120","filename":"file4"},{"photo_id":"1394747116","filename":"file1"},{"photo_id":"1394747113","filename":"file0"},{"photo_id":"1394747119","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747119":["hashtag1","hashtag2"]},{"1394747113":["hashtag1","hashtag2"]},{"1394747116":["hashtag1","hashtag2"]},{"1394747121":["hashtag1","hashtag2"]},{"1394747118":["hashtag1","hashtag2"]},{"1394747120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747119, 1394747113, 1394747116, 1394747121, 1394747118, 1394747120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81224608421326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:26:03.084667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_14_2793.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_16_2555.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_20_3553.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_22_2698.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_26_3585.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_29_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_14_2793.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_16_2555.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_20_3553.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_22_2698.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_26_3585.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_29_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747131","1394747125","1394747124","1394747127","1394747129","1394747123"],"photo_ids_order":["1394747123","1394747124","1394747125","1394747127","1394747129","1394747131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8042782179a4d957b104c906a956d7f.jpg","text":"TemporaryFile(/tmp/multipartBody314881214556574579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299623801,"filename":"image_16112025_11_58_29_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a92f3a46c47b89759ee0c0e1f2c8457.jpg","text":"TemporaryFile(/tmp/multipartBody6410391734099936507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299623801,"filename":"image_16112025_11_58_20_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e30536eb0be500328838966c8ab30ac.jpg","text":"TemporaryFile(/tmp/multipartBody1328479991923258341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299623801,"filename":"image_16112025_11_58_16_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8efcf1833ef8633470cce8ec29b98e78.jpg","text":"TemporaryFile(/tmp/multipartBody5260578146679917176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299623801,"filename":"image_16112025_11_58_22_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fa846a3234b5bb965453c7088aa2961.jpg","text":"TemporaryFile(/tmp/multipartBody2481988804694939196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299623801,"filename":"image_16112025_11_58_26_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ec89d2ec719156191a8737865e6b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody6955940487391404206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299623801,"filename":"image_16112025_11_58_14_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747125","file1":"1394747124","file0":"1394747123","file4":"1394747129","file5":"1394747131","file3":"1394747127"},"map_files_photo_id_array":[{"photo_id":"1394747131","filename":"file5"},{"photo_id":"1394747125","filename":"file2"},{"photo_id":"1394747129","filename":"file4"},{"photo_id":"1394747124","filename":"file1"},{"photo_id":"1394747123","filename":"file0"},{"photo_id":"1394747127","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747131":["hashtag1","hashtag2"]},{"1394747125":["hashtag1","hashtag2"]},{"1394747124":["hashtag1","hashtag2"]},{"1394747127":["hashtag1","hashtag2"]},{"1394747129":["hashtag1","hashtag2"]},{"1394747123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747131, 1394747125, 1394747124, 1394747127, 1394747129, 1394747123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20120811462402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:26:42.597936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_31_2502.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_35_3686.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_38_2628.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_40_2694.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_43_2782.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_47_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_31_2502.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_35_3686.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_38_2628.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_40_2694.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_43_2782.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_47_3727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747137","1394747134","1394747133","1394747136","1394747132","1394747135"],"photo_ids_order":["1394747132","1394747133","1394747134","1394747135","1394747136","1394747137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67f90c371cf47abd61c601eabef7f6d1.jpg","text":"TemporaryFile(/tmp/multipartBody6271097621885439954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299663248,"filename":"image_16112025_11_58_47_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/480415c08d839800d5aacd0b493d525c.jpg","text":"TemporaryFile(/tmp/multipartBody4878560129786350545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299663248,"filename":"image_16112025_11_58_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/11/16/3b886d3de476b84a68ceed22f8478559.jpg","text":"TemporaryFile(/tmp/multipartBody5249234283267589117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299663248,"filename":"image_16112025_11_58_35_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2181576b4605fedc6c2abab04a63c6be.jpg","text":"TemporaryFile(/tmp/multipartBody2525583922356727697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299663248,"filename":"image_16112025_11_58_43_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bae98ca3f856cbfb7b1cdafd67b2c0ae.jpg","text":"TemporaryFile(/tmp/multipartBody7015645908784417175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299663248,"filename":"image_16112025_11_58_31_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f7536bfcc6e088dbff646c5af07acd8.jpg","text":"TemporaryFile(/tmp/multipartBody4213894064780111491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299663248,"filename":"image_16112025_11_58_40_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747134","file1":"1394747133","file0":"1394747132","file4":"1394747136","file5":"1394747137","file3":"1394747135"},"map_files_photo_id_array":[{"photo_id":"1394747137","filename":"file5"},{"photo_id":"1394747134","filename":"file2"},{"photo_id":"1394747136","filename":"file4"},{"photo_id":"1394747133","filename":"file1"},{"photo_id":"1394747132","filename":"file0"},{"photo_id":"1394747135","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747137":["hashtag1","hashtag2"]},{"1394747134":["hashtag1","hashtag2"]},{"1394747133":["hashtag1","hashtag2"]},{"1394747136":["hashtag1","hashtag2"]},{"1394747132":["hashtag1","hashtag2"]},{"1394747135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747137, 1394747134, 1394747133, 1394747136, 1394747132, 1394747135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.160741090774536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:27:21.858555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_50_2762.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_52_2593.jpg', '/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_59_6325.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_06_3011.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_10_3668.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_12_2503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_50_2762.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_52_2593.jpg
/home/pi/Desktop/images/16112025/11/58/image_16112025_11_58_59_6325.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_06_3011.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_10_3668.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_12_2503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747140","1394747146","1394747148","1394747142","1394747145","1394747144"],"photo_ids_order":["1394747140","1394747142","1394747144","1394747145","1394747146","1394747148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c3e61156fe24be96896fcc0a955214d.jpg","text":"TemporaryFile(/tmp/multipartBody3067894585117080280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299702525,"filename":"image_16112025_11_58_50_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2b550c8f066483c3a1d7ab0953ca99a.jpg","text":"TemporaryFile(/tmp/multipartBody7562568104061319709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299702525,"filename":"image_16112025_12_01_10_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b6a89fd42e53aa2ace4dba1c35b9da6.jpg","text":"TemporaryFile(/tmp/multipartBody4832983794156707192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299702525,"filename":"image_16112025_12_01_12_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a65dbbe9d0f305498b6b08b87df0ec7.jpg","text":"TemporaryFile(/tmp/multipartBody8812834715603217693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299702525,"filename":"image_16112025_11_58_52_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cf981b6cf5ae6b588a3c5f60beb7fc1.jpg","text":"TemporaryFile(/tmp/multipartBody8869510502326346116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299702525,"filename":"image_16112025_12_01_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/11/16/b2813446829e135e30e8234ca343e052.jpg","text":"TemporaryFile(/tmp/multipartBody589523597640851723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299702525,"filename":"image_16112025_11_58_59_6325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747144","file1":"1394747142","file0":"1394747140","file4":"1394747146","file5":"1394747148","file3":"1394747145"},"map_files_photo_id_array":[{"photo_id":"1394747148","filename":"file5"},{"photo_id":"1394747144","filename":"file2"},{"photo_id":"1394747146","filename":"file4"},{"photo_id":"1394747142","filename":"file1"},{"photo_id":"1394747140","filename":"file0"},{"photo_id":"1394747145","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747140":["hashtag1","hashtag2"]},{"1394747146":["hashtag1","hashtag2"]},{"1394747148":["hashtag1","hashtag2"]},{"1394747142":["hashtag1","hashtag2"]},{"1394747145":["hashtag1","hashtag2"]},{"1394747144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747140, 1394747146, 1394747148, 1394747142, 1394747145, 1394747144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55116605758667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:28:02.518406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_16_3705.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_19_2594.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_21_2661.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_25_3547.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_28_2678.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_30_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_16_3705.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_19_2594.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_21_2661.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_25_3547.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_28_2678.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_30_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747155","1394747152","1394747151","1394747157","1394747150","1394747153"],"photo_ids_order":["1394747150","1394747151","1394747152","1394747153","1394747155","1394747157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97986c1ffa7d9139646ef28e116ee8f8.jpg","text":"TemporaryFile(/tmp/multipartBody534644571345905734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299743225,"filename":"image_16112025_12_01_28_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9aa537ea734e82ccfa14a84b4ef6718.jpg","text":"TemporaryFile(/tmp/multipartBody2476523456596143618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299743225,"filename":"image_16112025_12_01_21_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54596c4d9f0e7e2fa1897c32aaa41a07.jpg","text":"TemporaryFile(/tmp/multipartBody6151682800300064611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299743225,"filename":"image_16112025_12_01_19_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e542045b4b30d687b48b9ceef0fa0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1912878917982401815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299743225,"filename":"image_16112025_12_01_30_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d944b7811729d21686c6b48f8343855b.jpg","text":"TemporaryFile(/tmp/multipartBody7826148602144201258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299743225,"filename":"image_16112025_12_01_16_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3c8e1d1e15e9e0fad961edb489b4cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4773938193252889749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299743225,"filename":"image_16112025_12_01_25_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747152","file1":"1394747151","file0":"1394747150","file4":"1394747155","file5":"1394747157","file3":"1394747153"},"map_files_photo_id_array":[{"photo_id":"1394747157","filename":"file5"},{"photo_id":"1394747152","filename":"file2"},{"photo_id":"1394747155","filename":"file4"},{"photo_id":"1394747151","filename":"file1"},{"photo_id":"1394747150","filename":"file0"},{"photo_id":"1394747153","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747155":["hashtag1","hashtag2"]},{"1394747152":["hashtag1","hashtag2"]},{"1394747151":["hashtag1","hashtag2"]},{"1394747157":["hashtag1","hashtag2"]},{"1394747150":["hashtag1","hashtag2"]},{"1394747153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747155, 1394747152, 1394747151, 1394747157, 1394747150, 1394747153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6009259223938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:28:42.085992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_34_3669.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_37_2705.jpg', '/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_39_2668.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_06_3011.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_10_3583.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_12_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_34_3669.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_37_2705.jpg
/home/pi/Desktop/images/16112025/12/01/image_16112025_12_01_39_2668.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_06_3011.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_10_3583.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_12_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747161","1394747164","1394747166","1394747165","1394747168","1394747167"],"photo_ids_order":["1394747161","1394747164","1394747165","1394747166","1394747167","1394747168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a524f53996218e84710b44b33fa44af.jpg","text":"TemporaryFile(/tmp/multipartBody1912889882756178652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299782726,"filename":"image_16112025_12_01_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/11/16/4ebf5017c00fdae5cbf9e9aeb97f782f.jpg","text":"TemporaryFile(/tmp/multipartBody5132689833939920766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299782726,"filename":"image_16112025_12_01_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/11/16/44af118e8ee0426331714dab0aec8a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5006593992497647881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299782726,"filename":"image_16112025_12_03_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/11/16/3a5c75cd6b87e5b87acbc09401c61d12.jpg","text":"TemporaryFile(/tmp/multipartBody5104333328496573181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299782726,"filename":"image_16112025_12_01_39_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08d9db70c483b06c4432cdb96e8ef172.jpg","text":"TemporaryFile(/tmp/multipartBody1713097963544583019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299782726,"filename":"image_16112025_12_03_12_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a6a5b7255fd4ee61e094ae641181b7bb.jpg","text":"TemporaryFile(/tmp/multipartBody4806696025726809226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299782726,"filename":"image_16112025_12_03_10_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747165","file1":"1394747164","file0":"1394747161","file4":"1394747167","file5":"1394747168","file3":"1394747166"},"map_files_photo_id_array":[{"photo_id":"1394747168","filename":"file5"},{"photo_id":"1394747165","filename":"file2"},{"photo_id":"1394747167","filename":"file4"},{"photo_id":"1394747164","filename":"file1"},{"photo_id":"1394747161","filename":"file0"},{"photo_id":"1394747166","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747161":["hashtag1","hashtag2"]},{"1394747164":["hashtag1","hashtag2"]},{"1394747166":["hashtag1","hashtag2"]},{"1394747165":["hashtag1","hashtag2"]},{"1394747168":["hashtag1","hashtag2"]},{"1394747167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747161, 1394747164, 1394747166, 1394747165, 1394747168, 1394747167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.290329933166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:29:22.416456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_16_3597.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_19_2600.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_21_2525.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_25_3695.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_28_2719.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_30_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_16_3597.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_19_2600.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_21_2525.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_25_3695.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_28_2719.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_30_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747176","1394747178","1394747175","1394747180","1394747174","1394747173"],"photo_ids_order":["1394747173","1394747174","1394747175","1394747176","1394747178","1394747180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57faf702ce5c602f77228bf405615cd8.jpg","text":"TemporaryFile(/tmp/multipartBody4798126962188129325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299823077,"filename":"image_16112025_12_03_25_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4394c22b7673fb8c4a32c33f661efa9.jpg","text":"TemporaryFile(/tmp/multipartBody5633201932102404277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299823077,"filename":"image_16112025_12_03_28_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc7b9b33d70f819f6e53cbb3e3503d3e.jpg","text":"TemporaryFile(/tmp/multipartBody8492219991099799492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299823077,"filename":"image_16112025_12_03_21_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13e49b68bfc57b9a5b3a776da1feb87f.jpg","text":"TemporaryFile(/tmp/multipartBody6392311257514060396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299823077,"filename":"image_16112025_12_03_30_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/967069a18cfebc33578d73691bbdb84c.jpg","text":"TemporaryFile(/tmp/multipartBody8474143757529690847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299823077,"filename":"image_16112025_12_03_19_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62aed00fce447940331454ed5ff9b8c1.jpg","text":"TemporaryFile(/tmp/multipartBody1613098416979301477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299823077,"filename":"image_16112025_12_03_16_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747175","file1":"1394747174","file0":"1394747173","file4":"1394747178","file5":"1394747180","file3":"1394747176"},"map_files_photo_id_array":[{"photo_id":"1394747180","filename":"file5"},{"photo_id":"1394747175","filename":"file2"},{"photo_id":"1394747178","filename":"file4"},{"photo_id":"1394747174","filename":"file1"},{"photo_id":"1394747173","filename":"file0"},{"photo_id":"1394747176","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747176":["hashtag1","hashtag2"]},{"1394747178":["hashtag1","hashtag2"]},{"1394747175":["hashtag1","hashtag2"]},{"1394747180":["hashtag1","hashtag2"]},{"1394747174":["hashtag1","hashtag2"]},{"1394747173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747176, 1394747178, 1394747175, 1394747180, 1394747174, 1394747173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54038143157959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:30:02.965346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_34_3734.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_37_2591.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_39_2744.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_43_3551.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_46_2818.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_52_2965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_34_3734.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_37_2591.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_39_2744.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_43_3551.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_46_2818.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_52_2965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747182","1394747184","1394747187","1394747189","1394747183","1394747185"],"photo_ids_order":["1394747182","1394747183","1394747184","1394747185","1394747187","1394747189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eae6569a3a088802628c709079527eef.jpg","text":"TemporaryFile(/tmp/multipartBody4526531209023917026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299863705,"filename":"image_16112025_12_03_34_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c332796020b5d91503fdc338d8272bd8.jpg","text":"TemporaryFile(/tmp/multipartBody2148715429621811889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299863705,"filename":"image_16112025_12_03_39_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec2123468a2341963ed395e335d614d8.jpg","text":"TemporaryFile(/tmp/multipartBody7656480118835436032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299863705,"filename":"image_16112025_12_03_46_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b488afd0178e1f845aa2f41c70766897.jpg","text":"TemporaryFile(/tmp/multipartBody654829475844704442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299863705,"filename":"image_16112025_12_03_52_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2a9f4e392362049ce3f17636ca2167a.jpg","text":"TemporaryFile(/tmp/multipartBody544944990880607558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299863705,"filename":"image_16112025_12_03_37_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5060fd629bd9c83907d91549e359c17.jpg","text":"TemporaryFile(/tmp/multipartBody2613542129443699576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299863705,"filename":"image_16112025_12_03_43_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747184","file1":"1394747183","file0":"1394747182","file4":"1394747187","file5":"1394747189","file3":"1394747185"},"map_files_photo_id_array":[{"photo_id":"1394747189","filename":"file5"},{"photo_id":"1394747184","filename":"file2"},{"photo_id":"1394747187","filename":"file4"},{"photo_id":"1394747183","filename":"file1"},{"photo_id":"1394747182","filename":"file0"},{"photo_id":"1394747185","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747182":["hashtag1","hashtag2"]},{"1394747184":["hashtag1","hashtag2"]},{"1394747187":["hashtag1","hashtag2"]},{"1394747189":["hashtag1","hashtag2"]},{"1394747183":["hashtag1","hashtag2"]},{"1394747185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747182, 1394747184, 1394747187, 1394747189, 1394747183, 1394747185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11854791641235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:30:42.509231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_55_3546.jpg', '/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_58_2568.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_10_3515.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_13_2771.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_17_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_55_3546.jpg
/home/pi/Desktop/images/16112025/12/03/image_16112025_12_03_58_2568.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_07_3011.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_10_3515.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_13_2771.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_17_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747190","1394747193","1394747195","1394747192","1394747191","1394747194"],"photo_ids_order":["1394747190","1394747191","1394747192","1394747193","1394747194","1394747195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d990656ac13322ad5d714a54b50d4f56.jpg","text":"TemporaryFile(/tmp/multipartBody5933798646991927039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299903158,"filename":"image_16112025_12_03_55_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dedd67e0779f2992469238bb119eee84.jpg","text":"TemporaryFile(/tmp/multipartBody3577951262492536765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299903158,"filename":"image_16112025_12_05_10_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e27442ca7fb8ae1ac1ca3d5f617f441d.jpg","text":"TemporaryFile(/tmp/multipartBody2290133397243506042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299903158,"filename":"image_16112025_12_05_17_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f302a149aab910e6a7926323ecf1d69c.jpg","text":"TemporaryFile(/tmp/multipartBody5451609816330468952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299903158,"filename":"image_16112025_12_05_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/11/16/471f7c66fe5827c1a3a00a097d9174c7.jpg","text":"TemporaryFile(/tmp/multipartBody3475457734501761447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299903158,"filename":"image_16112025_12_03_58_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77bbbf9c7c4d21ac5a633b02fa8af00b.jpg","text":"TemporaryFile(/tmp/multipartBody6722585580879782594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299903158,"filename":"image_16112025_12_05_13_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747192","file1":"1394747191","file0":"1394747190","file4":"1394747194","file5":"1394747195","file3":"1394747193"},"map_files_photo_id_array":[{"photo_id":"1394747195","filename":"file5"},{"photo_id":"1394747192","filename":"file2"},{"photo_id":"1394747194","filename":"file4"},{"photo_id":"1394747191","filename":"file1"},{"photo_id":"1394747190","filename":"file0"},{"photo_id":"1394747193","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747190":["hashtag1","hashtag2"]},{"1394747193":["hashtag1","hashtag2"]},{"1394747195":["hashtag1","hashtag2"]},{"1394747192":["hashtag1","hashtag2"]},{"1394747191":["hashtag1","hashtag2"]},{"1394747194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747190, 1394747193, 1394747195, 1394747192, 1394747191, 1394747194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.654613733291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:31:22.845153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_19_2618.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_22_2596.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_26_3523.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_28_2497.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_32_3657.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_34_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_19_2618.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_22_2596.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_26_3523.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_28_2497.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_32_3657.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_34_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747206","1394747199","1394747202","1394747205","1394747208","1394747204"],"photo_ids_order":["1394747199","1394747202","1394747204","1394747205","1394747206","1394747208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33df8161e066d20ffc47f163825fd66a.jpg","text":"TemporaryFile(/tmp/multipartBody3527184328192520021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299943506,"filename":"image_16112025_12_05_32_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/679bf9f3a1ad61b34cba73dcf63b9900.jpg","text":"TemporaryFile(/tmp/multipartBody3723543031666136607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299943506,"filename":"image_16112025_12_05_19_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f483b12bdf6e0f81e42cafdcb6ccb68.jpg","text":"TemporaryFile(/tmp/multipartBody5107929402667609508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299943506,"filename":"image_16112025_12_05_22_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58a62781d599a1bf42dc8a7b155dfad3.jpg","text":"TemporaryFile(/tmp/multipartBody6314606027339096999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299943506,"filename":"image_16112025_12_05_28_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27f2124d398b6dab8fbfbac75137abf6.jpg","text":"TemporaryFile(/tmp/multipartBody7824523263607671525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299943506,"filename":"image_16112025_12_05_34_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b82d3f1b240e634bb62121801f14cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2844649859767790538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299943506,"filename":"image_16112025_12_05_26_3523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747204","file1":"1394747202","file0":"1394747199","file4":"1394747206","file5":"1394747208","file3":"1394747205"},"map_files_photo_id_array":[{"photo_id":"1394747208","filename":"file5"},{"photo_id":"1394747204","filename":"file2"},{"photo_id":"1394747206","filename":"file4"},{"photo_id":"1394747202","filename":"file1"},{"photo_id":"1394747199","filename":"file0"},{"photo_id":"1394747205","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747206":["hashtag1","hashtag2"]},{"1394747199":["hashtag1","hashtag2"]},{"1394747202":["hashtag1","hashtag2"]},{"1394747205":["hashtag1","hashtag2"]},{"1394747208":["hashtag1","hashtag2"]},{"1394747204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747206, 1394747199, 1394747202, 1394747205, 1394747208, 1394747204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30733108520508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:32:02.419700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_37_2868.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_40_2594.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_44_3664.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_46_2646.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_49_2588.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_52_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_37_2868.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_40_2594.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_44_3664.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_46_2646.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_49_2588.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_52_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747212","1394747209","1394747214","1394747217","1394747211","1394747210"],"photo_ids_order":["1394747209","1394747210","1394747211","1394747212","1394747214","1394747217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40bebe7039b9d168b322d574a39f5ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5043817372664151043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299983112,"filename":"image_16112025_12_05_46_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2dc201e6e3164c43d9d793676bcf309.jpg","text":"TemporaryFile(/tmp/multipartBody2719905417739468816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299983112,"filename":"image_16112025_12_05_37_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c9627bc00c9aafba29e2188ce21e06c.jpg","text":"TemporaryFile(/tmp/multipartBody5302667101997229790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299983112,"filename":"image_16112025_12_05_49_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/344e5fc61caf715a54a38f161d6a6f08.jpg","text":"TemporaryFile(/tmp/multipartBody2185654663083009416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299983112,"filename":"image_16112025_12_05_52_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77c882d3b09d48d53816ba9ea8fd518b.jpg","text":"TemporaryFile(/tmp/multipartBody8468105918076053250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299983112,"filename":"image_16112025_12_05_44_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fa25b3ecbcf0be5dede8a3f626664b1.jpg","text":"TemporaryFile(/tmp/multipartBody1041124780824385726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763299983112,"filename":"image_16112025_12_05_40_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747211","file1":"1394747210","file0":"1394747209","file4":"1394747214","file5":"1394747217","file3":"1394747212"},"map_files_photo_id_array":[{"photo_id":"1394747217","filename":"file5"},{"photo_id":"1394747211","filename":"file2"},{"photo_id":"1394747214","filename":"file4"},{"photo_id":"1394747210","filename":"file1"},{"photo_id":"1394747209","filename":"file0"},{"photo_id":"1394747212","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747212":["hashtag1","hashtag2"]},{"1394747209":["hashtag1","hashtag2"]},{"1394747214":["hashtag1","hashtag2"]},{"1394747217":["hashtag1","hashtag2"]},{"1394747211":["hashtag1","hashtag2"]},{"1394747210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747212, 1394747209, 1394747214, 1394747217, 1394747211, 1394747210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80238485336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:32:42.031130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_55_2569.jpg', '/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_59_3602.jpg', '/home/pi/Desktop/images/16112025/12/06/image_16112025_12_06_01_2719.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_07_3016.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_11_3634.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_13_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_55_2569.jpg
/home/pi/Desktop/images/16112025/12/05/image_16112025_12_05_59_3602.jpg
/home/pi/Desktop/images/16112025/12/06/image_16112025_12_06_01_2719.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_07_3016.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_11_3634.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_13_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747221","1394747230","1394747224","1394747223","1394747226","1394747228"],"photo_ids_order":["1394747221","1394747223","1394747224","1394747226","1394747228","1394747230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ac3bb991c92db46fd16b9d601eafac2.jpg","text":"TemporaryFile(/tmp/multipartBody7504266862781338628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300022681,"filename":"image_16112025_12_05_55_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0be6d4097f82cfbab8f3f9b3fb1a462.jpg","text":"TemporaryFile(/tmp/multipartBody903156037913087999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300022681,"filename":"image_16112025_12_07_13_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2072d22847e8d8bf65df35fad99f854e.jpg","text":"TemporaryFile(/tmp/multipartBody5397273773260081039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300022681,"filename":"image_16112025_12_06_01_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc1b1a0f2c698537d3293542d98e2ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4131425531031823026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300022681,"filename":"image_16112025_12_05_59_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45c89f499c1801bdd491603a9377a109.jpg","text":"TemporaryFile(/tmp/multipartBody5099519498111365102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300022681,"filename":"image_16112025_12_07_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/199db3ed12a3d8aa772a979255483420.jpg","text":"TemporaryFile(/tmp/multipartBody7370037380766629034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300022681,"filename":"image_16112025_12_07_11_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747224","file1":"1394747223","file0":"1394747221","file4":"1394747228","file5":"1394747230","file3":"1394747226"},"map_files_photo_id_array":[{"photo_id":"1394747230","filename":"file5"},{"photo_id":"1394747224","filename":"file2"},{"photo_id":"1394747228","filename":"file4"},{"photo_id":"1394747223","filename":"file1"},{"photo_id":"1394747221","filename":"file0"},{"photo_id":"1394747226","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747221":["hashtag1","hashtag2"]},{"1394747230":["hashtag1","hashtag2"]},{"1394747224":["hashtag1","hashtag2"]},{"1394747223":["hashtag1","hashtag2"]},{"1394747226":["hashtag1","hashtag2"]},{"1394747228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747221, 1394747230, 1394747224, 1394747223, 1394747226, 1394747228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05346918106079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:33:22.387199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_17_3647.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_19_2580.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_22_2680.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_26_3694.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_29_2781.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_31_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_17_3647.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_19_2580.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_22_2680.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_26_3694.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_29_2781.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_31_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747242","1394747239","1394747235","1394747244","1394747237","1394747246"],"photo_ids_order":["1394747235","1394747237","1394747239","1394747242","1394747244","1394747246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5201d6677a85417669ce67c1d4fa8191.jpg","text":"TemporaryFile(/tmp/multipartBody6733566752790500074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300063038,"filename":"image_16112025_12_07_26_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b0a11cf9288e88992f6869d1af549a8.jpg","text":"TemporaryFile(/tmp/multipartBody6197423062800950180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300063038,"filename":"image_16112025_12_07_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/11/16/f4c68de01a05dcb78d3ef388a7e50644.jpg","text":"TemporaryFile(/tmp/multipartBody5982813503056225660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300063038,"filename":"image_16112025_12_07_17_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/720ff8c3e135b145f284e28be46a4a42.jpg","text":"TemporaryFile(/tmp/multipartBody8054362028602741203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300063038,"filename":"image_16112025_12_07_29_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/426ec278701d119b2488b80606ba28ce.jpg","text":"TemporaryFile(/tmp/multipartBody6647943288601175728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300063038,"filename":"image_16112025_12_07_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/11/16/e66c585644fb52ea88390a3b1c409f33.jpg","text":"TemporaryFile(/tmp/multipartBody1597321861873081801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300063038,"filename":"image_16112025_12_07_31_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747239","file1":"1394747237","file0":"1394747235","file4":"1394747244","file5":"1394747246","file3":"1394747242"},"map_files_photo_id_array":[{"photo_id":"1394747246","filename":"file5"},{"photo_id":"1394747239","filename":"file2"},{"photo_id":"1394747244","filename":"file4"},{"photo_id":"1394747237","filename":"file1"},{"photo_id":"1394747235","filename":"file0"},{"photo_id":"1394747242","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747242":["hashtag1","hashtag2"]},{"1394747239":["hashtag1","hashtag2"]},{"1394747235":["hashtag1","hashtag2"]},{"1394747244":["hashtag1","hashtag2"]},{"1394747237":["hashtag1","hashtag2"]},{"1394747246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747242, 1394747239, 1394747235, 1394747244, 1394747237, 1394747246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85834074020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:34:03.173347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_34_2685.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_38_3691.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_40_2693.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_43_2604.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_46_3565.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_49_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_34_2685.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_38_3691.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_40_2693.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_43_2604.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_46_3565.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_49_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747254","1394747248","1394747251","1394747250","1394747253","1394747249"],"photo_ids_order":["1394747248","1394747249","1394747250","1394747251","1394747253","1394747254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1db6d527fb4b9f6a9883bed5be80580f.jpg","text":"TemporaryFile(/tmp/multipartBody4732097400328809333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300103900,"filename":"image_16112025_12_07_49_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48dc9c1365ed949e02a4938a61aef687.jpg","text":"TemporaryFile(/tmp/multipartBody3853392883856928495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300103900,"filename":"image_16112025_12_07_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/11/16/173db1a3d9805c62aefc640a894d9361.jpg","text":"TemporaryFile(/tmp/multipartBody8326092182594786013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300103900,"filename":"image_16112025_12_07_43_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/382258d476eeebcf19277f547dcb6d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4437065762385283676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300103900,"filename":"image_16112025_12_07_40_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eaa70dc848cf3597af9c0462c5c5e49f.jpg","text":"TemporaryFile(/tmp/multipartBody1577414377638503985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300103900,"filename":"image_16112025_12_07_46_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a16d71a4826cec7a9f9d21dcaad9064.jpg","text":"TemporaryFile(/tmp/multipartBody7889774418592084277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300103900,"filename":"image_16112025_12_07_38_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747250","file1":"1394747249","file0":"1394747248","file4":"1394747253","file5":"1394747254","file3":"1394747251"},"map_files_photo_id_array":[{"photo_id":"1394747254","filename":"file5"},{"photo_id":"1394747250","filename":"file2"},{"photo_id":"1394747253","filename":"file4"},{"photo_id":"1394747249","filename":"file1"},{"photo_id":"1394747248","filename":"file0"},{"photo_id":"1394747251","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747254":["hashtag1","hashtag2"]},{"1394747248":["hashtag1","hashtag2"]},{"1394747251":["hashtag1","hashtag2"]},{"1394747250":["hashtag1","hashtag2"]},{"1394747253":["hashtag1","hashtag2"]},{"1394747249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747254, 1394747248, 1394747251, 1394747250, 1394747253, 1394747249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18174695968628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:34:42.651937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_53_3649.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_55_2542.jpg', '/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_58_2749.jpg', '/home/pi/Desktop/images/16112025/12/08/image_16112025_12_08_02_3873.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_07_3018.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_10_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_53_3649.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_55_2542.jpg
/home/pi/Desktop/images/16112025/12/07/image_16112025_12_07_58_2749.jpg
/home/pi/Desktop/images/16112025/12/08/image_16112025_12_08_02_3873.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_07_3018.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_10_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747260","1394747257","1394747259","1394747256","1394747255","1394747258"],"photo_ids_order":["1394747255","1394747256","1394747257","1394747258","1394747259","1394747260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27b7fe4b8f026a67adfe4a3b68041843.jpg","text":"TemporaryFile(/tmp/multipartBody1974155530564711391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300143321,"filename":"image_16112025_12_09_10_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0344950e46adba45d38174feecf13480.jpg","text":"TemporaryFile(/tmp/multipartBody397716044188158047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300143321,"filename":"image_16112025_12_07_58_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ae4cc566348910565fe2a191761359b.jpg","text":"TemporaryFile(/tmp/multipartBody6625450755246614103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300143321,"filename":"image_16112025_12_09_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/11/16/2b62ea128369402841031b2c2bbc1843.jpg","text":"TemporaryFile(/tmp/multipartBody4420077179323746286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300143321,"filename":"image_16112025_12_07_55_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ae32d3cb0a5d5ca5d14351b3856eb7e.jpg","text":"TemporaryFile(/tmp/multipartBody5546311738615255331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300143321,"filename":"image_16112025_12_07_53_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3062054d2d61c8b3af036468bd32fb04.jpg","text":"TemporaryFile(/tmp/multipartBody263267594725000972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300143321,"filename":"image_16112025_12_08_02_3873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747257","file1":"1394747256","file0":"1394747255","file4":"1394747259","file5":"1394747260","file3":"1394747258"},"map_files_photo_id_array":[{"photo_id":"1394747260","filename":"file5"},{"photo_id":"1394747257","filename":"file2"},{"photo_id":"1394747259","filename":"file4"},{"photo_id":"1394747256","filename":"file1"},{"photo_id":"1394747255","filename":"file0"},{"photo_id":"1394747258","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747260":["hashtag1","hashtag2"]},{"1394747257":["hashtag1","hashtag2"]},{"1394747259":["hashtag1","hashtag2"]},{"1394747256":["hashtag1","hashtag2"]},{"1394747255":["hashtag1","hashtag2"]},{"1394747258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747260, 1394747257, 1394747259, 1394747256, 1394747255, 1394747258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73380255699158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:35:21.787573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_13_2647.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_16_2730.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_19_3667.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_22_2662.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_26_3558.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_28_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_13_2647.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_16_2730.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_19_3667.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_22_2662.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_26_3558.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_28_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747271","1394747268","1394747273","1394747270","1394747264","1394747266"],"photo_ids_order":["1394747264","1394747266","1394747268","1394747270","1394747271","1394747273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef0e61176657d062b24bc69f4473b329.jpg","text":"TemporaryFile(/tmp/multipartBody1632544978875543585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300182440,"filename":"image_16112025_12_09_26_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7dadb5a97df1699dc1cd8688bad2e349.jpg","text":"TemporaryFile(/tmp/multipartBody5647403649400125608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300182440,"filename":"image_16112025_12_09_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/11/16/f85f8c31bd3674b976814e646db5ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody7720143252265090436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300182440,"filename":"image_16112025_12_09_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/11/16/157306f929a72003742495c2c069cb7b.jpg","text":"TemporaryFile(/tmp/multipartBody4573105506828776430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300182440,"filename":"image_16112025_12_09_22_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cc45724bf6df887826033ff94c3a4e9.jpg","text":"TemporaryFile(/tmp/multipartBody6811826620369526680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300182440,"filename":"image_16112025_12_09_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/11/16/6b4e0deeccbe5c027bbabc9504fa2fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3388349424868916374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300182440,"filename":"image_16112025_12_09_16_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747268","file1":"1394747266","file0":"1394747264","file4":"1394747271","file5":"1394747273","file3":"1394747270"},"map_files_photo_id_array":[{"photo_id":"1394747273","filename":"file5"},{"photo_id":"1394747268","filename":"file2"},{"photo_id":"1394747271","filename":"file4"},{"photo_id":"1394747266","filename":"file1"},{"photo_id":"1394747264","filename":"file0"},{"photo_id":"1394747270","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747271":["hashtag1","hashtag2"]},{"1394747268":["hashtag1","hashtag2"]},{"1394747273":["hashtag1","hashtag2"]},{"1394747270":["hashtag1","hashtag2"]},{"1394747264":["hashtag1","hashtag2"]},{"1394747266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747271, 1394747268, 1394747273, 1394747270, 1394747264, 1394747266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27136516571045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:36:02.456552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_31_2748.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_35_3674.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_37_2643.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_40_2623.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_43_2890.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_47_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_31_2748.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_35_3674.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_37_2643.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_40_2623.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_43_2890.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_47_3672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747275","1394747278","1394747277","1394747280","1394747276","1394747279"],"photo_ids_order":["1394747275","1394747276","1394747277","1394747278","1394747279","1394747280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7576823cd646844e1b15a59ee8f29550.jpg","text":"TemporaryFile(/tmp/multipartBody7521847027482781256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300223159,"filename":"image_16112025_12_09_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/11/16/da8d88d5d4ef401f372dc20d0d62e893.jpg","text":"TemporaryFile(/tmp/multipartBody6371226073200768581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300223159,"filename":"image_16112025_12_09_40_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c70058d3967cce720806bc3eada23254.jpg","text":"TemporaryFile(/tmp/multipartBody8396087578972511751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300223159,"filename":"image_16112025_12_09_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/11/16/8bef123ff548183baf0b495c1dd08f29.jpg","text":"TemporaryFile(/tmp/multipartBody4510628206642382241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300223159,"filename":"image_16112025_12_09_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/11/16/f882745eee1d274144c8a0e31ca49dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4020764921340525909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300223159,"filename":"image_16112025_12_09_35_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69a5230ea4b04b885a5f5f8488640605.jpg","text":"TemporaryFile(/tmp/multipartBody2047145758709761803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300223159,"filename":"image_16112025_12_09_43_2890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747277","file1":"1394747276","file0":"1394747275","file4":"1394747279","file5":"1394747280","file3":"1394747278"},"map_files_photo_id_array":[{"photo_id":"1394747280","filename":"file5"},{"photo_id":"1394747277","filename":"file2"},{"photo_id":"1394747279","filename":"file4"},{"photo_id":"1394747276","filename":"file1"},{"photo_id":"1394747275","filename":"file0"},{"photo_id":"1394747278","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747275":["hashtag1","hashtag2"]},{"1394747278":["hashtag1","hashtag2"]},{"1394747277":["hashtag1","hashtag2"]},{"1394747280":["hashtag1","hashtag2"]},{"1394747276":["hashtag1","hashtag2"]},{"1394747279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747275, 1394747278, 1394747277, 1394747280, 1394747276, 1394747279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63681411743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:36:41.958730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_49_2636.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_52_2741.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_56_3731.jpg', '/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_58_2634.jpg', '/home/pi/Desktop/images/16112025/12/10/image_16112025_12_10_01_2883.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_49_2636.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_52_2741.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_56_3731.jpg
/home/pi/Desktop/images/16112025/12/09/image_16112025_12_09_58_2634.jpg
/home/pi/Desktop/images/16112025/12/10/image_16112025_12_10_01_2883.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747289","1394747288","1394747282","1394747285","1394747290","1394747287"],"photo_ids_order":["1394747282","1394747285","1394747287","1394747288","1394747289","1394747290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9abb7a4512651f7abea3bab1128054e0.jpg","text":"TemporaryFile(/tmp/multipartBody3279484217615299176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300262592,"filename":"image_16112025_12_10_01_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/531c63254ed0451271cd9a1d8b154b39.jpg","text":"TemporaryFile(/tmp/multipartBody1528854937693831570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300262592,"filename":"image_16112025_12_09_58_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f800cc5c39644fb7caf338059f27462.jpg","text":"TemporaryFile(/tmp/multipartBody6176935098895639225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300262592,"filename":"image_16112025_12_09_49_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8b02b3f25d46672c23b316e5f424e06.jpg","text":"TemporaryFile(/tmp/multipartBody8679439796718351534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300262592,"filename":"image_16112025_12_09_52_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e8c03025e662304f58280cd4fa50862.jpg","text":"TemporaryFile(/tmp/multipartBody9182243432027875486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300262592,"filename":"image_16112025_12_11_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/11/16/60f26d3fc8d673cac4bc2f1ef17919cd.jpg","text":"TemporaryFile(/tmp/multipartBody2919176131660244459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300262592,"filename":"image_16112025_12_09_56_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747287","file1":"1394747285","file0":"1394747282","file4":"1394747289","file5":"1394747290","file3":"1394747288"},"map_files_photo_id_array":[{"photo_id":"1394747290","filename":"file5"},{"photo_id":"1394747287","filename":"file2"},{"photo_id":"1394747289","filename":"file4"},{"photo_id":"1394747285","filename":"file1"},{"photo_id":"1394747282","filename":"file0"},{"photo_id":"1394747288","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747289":["hashtag1","hashtag2"]},{"1394747288":["hashtag1","hashtag2"]},{"1394747282":["hashtag1","hashtag2"]},{"1394747285":["hashtag1","hashtag2"]},{"1394747290":["hashtag1","hashtag2"]},{"1394747287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747289, 1394747288, 1394747282, 1394747285, 1394747290, 1394747287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6852331161499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:37:22.227713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_11_3594.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_13_2585.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_17_3615.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_20_2707.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_22_2497.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_26_3784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_11_3594.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_13_2585.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_17_3615.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_20_2707.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_22_2497.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_26_3784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747296","1394747295","1394747298","1394747291","1394747294","1394747293"],"photo_ids_order":["1394747291","1394747293","1394747294","1394747295","1394747296","1394747298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dadaf0a572c670927e85170922f8a1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1967811286961339359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300302861,"filename":"image_16112025_12_11_22_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b383719eed211082dfb224ef6fbd885.jpg","text":"TemporaryFile(/tmp/multipartBody393937422862228850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300302861,"filename":"image_16112025_12_11_20_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e4f19cee2ef05dd1ce7f416cf7c7876.jpg","text":"TemporaryFile(/tmp/multipartBody4941021889420592123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300302861,"filename":"image_16112025_12_11_26_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/191bdc23960ac96b21cd27dfcdf8560a.jpg","text":"TemporaryFile(/tmp/multipartBody7719940579011666663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300302861,"filename":"image_16112025_12_11_11_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8165514e8bfffe9f1be06ef4b9275b3.jpg","text":"TemporaryFile(/tmp/multipartBody6834408263097233283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300302861,"filename":"image_16112025_12_11_17_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8e909fd21eb646e3c742d49c67d4cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1529936834448412712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300302861,"filename":"image_16112025_12_11_13_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747294","file1":"1394747293","file0":"1394747291","file4":"1394747296","file5":"1394747298","file3":"1394747295"},"map_files_photo_id_array":[{"photo_id":"1394747298","filename":"file5"},{"photo_id":"1394747294","filename":"file2"},{"photo_id":"1394747296","filename":"file4"},{"photo_id":"1394747293","filename":"file1"},{"photo_id":"1394747291","filename":"file0"},{"photo_id":"1394747295","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747296":["hashtag1","hashtag2"]},{"1394747295":["hashtag1","hashtag2"]},{"1394747298":["hashtag1","hashtag2"]},{"1394747291":["hashtag1","hashtag2"]},{"1394747294":["hashtag1","hashtag2"]},{"1394747293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747296, 1394747295, 1394747298, 1394747291, 1394747294, 1394747293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14565300941467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:38:02.949923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_29_2575.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_31_2604.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_35_3659.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_37_2612.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_41_3643.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_44_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_29_2575.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_31_2604.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_35_3659.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_37_2612.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_41_3643.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_44_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747301","1394747310","1394747306","1394747300","1394747299","1394747303"],"photo_ids_order":["1394747299","1394747300","1394747301","1394747303","1394747306","1394747310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/beb0f1f43699f1074d02935b57b4f47b.jpg","text":"TemporaryFile(/tmp/multipartBody2462420185190526535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300343660,"filename":"image_16112025_12_11_35_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f884906d9b74b5b3cdc12daec6d9a6b2.jpg","text":"TemporaryFile(/tmp/multipartBody8323675744387559592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300343660,"filename":"image_16112025_12_11_44_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/552b91992f73904ee8b120040e54c0af.jpg","text":"TemporaryFile(/tmp/multipartBody8303451148378773992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300343660,"filename":"image_16112025_12_11_41_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/888a041f3eae6a96ee20c0c37b2c6a33.jpg","text":"TemporaryFile(/tmp/multipartBody3632848410562590617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300343660,"filename":"image_16112025_12_11_31_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ea49ef0f433e3692c0d5d3b9de87544.jpg","text":"TemporaryFile(/tmp/multipartBody301200603440002159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300343660,"filename":"image_16112025_12_11_29_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5139011f40fac0ca78c715214281351.jpg","text":"TemporaryFile(/tmp/multipartBody1544913191803016793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300343660,"filename":"image_16112025_12_11_37_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747301","file1":"1394747300","file0":"1394747299","file4":"1394747306","file5":"1394747310","file3":"1394747303"},"map_files_photo_id_array":[{"photo_id":"1394747310","filename":"file5"},{"photo_id":"1394747301","filename":"file2"},{"photo_id":"1394747306","filename":"file4"},{"photo_id":"1394747300","filename":"file1"},{"photo_id":"1394747299","filename":"file0"},{"photo_id":"1394747303","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747301":["hashtag1","hashtag2"]},{"1394747310":["hashtag1","hashtag2"]},{"1394747306":["hashtag1","hashtag2"]},{"1394747300":["hashtag1","hashtag2"]},{"1394747299":["hashtag1","hashtag2"]},{"1394747303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747301, 1394747310, 1394747306, 1394747300, 1394747299, 1394747303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.335490226745605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:38:42.443015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_46_2562.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_53_3655.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_56_2758.jpg', '/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_58_2819.jpg', '/home/pi/Desktop/images/16112025/12/12/image_16112025_12_12_02_3645.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_46_2562.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_53_3655.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_56_2758.jpg
/home/pi/Desktop/images/16112025/12/11/image_16112025_12_11_58_2819.jpg
/home/pi/Desktop/images/16112025/12/12/image_16112025_12_12_02_3645.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_07_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747320","1394747323","1394747322","1394747319","1394747324","1394747321"],"photo_ids_order":["1394747319","1394747320","1394747321","1394747322","1394747323","1394747324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27557127ab5dc695207fc976b8118841.jpg","text":"TemporaryFile(/tmp/multipartBody6792191007462222776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300383098,"filename":"image_16112025_12_11_53_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e824c6c8c28d5890ce9d3878cd0fad95.jpg","text":"TemporaryFile(/tmp/multipartBody2000294421890970957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300383098,"filename":"image_16112025_12_12_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/11/16/91d76edb9caf6a09a108fff96cfa7726.jpg","text":"TemporaryFile(/tmp/multipartBody606062934889591430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300383098,"filename":"image_16112025_12_11_58_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6558f729babb2a51132870dfa01843fa.jpg","text":"TemporaryFile(/tmp/multipartBody3897392286049404987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300383098,"filename":"image_16112025_12_11_46_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a7b8606d5a0d14ef5c36b3bbe8e80c6.jpg","text":"TemporaryFile(/tmp/multipartBody9072267104070411608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300383098,"filename":"image_16112025_12_13_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/11/16/3332bd3dac3709d59b5677b082fac576.jpg","text":"TemporaryFile(/tmp/multipartBody4837319248605471377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300383098,"filename":"image_16112025_12_11_56_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747321","file1":"1394747320","file0":"1394747319","file4":"1394747323","file5":"1394747324","file3":"1394747322"},"map_files_photo_id_array":[{"photo_id":"1394747324","filename":"file5"},{"photo_id":"1394747321","filename":"file2"},{"photo_id":"1394747323","filename":"file4"},{"photo_id":"1394747320","filename":"file1"},{"photo_id":"1394747319","filename":"file0"},{"photo_id":"1394747322","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747320":["hashtag1","hashtag2"]},{"1394747323":["hashtag1","hashtag2"]},{"1394747322":["hashtag1","hashtag2"]},{"1394747319":["hashtag1","hashtag2"]},{"1394747324":["hashtag1","hashtag2"]},{"1394747321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747320, 1394747323, 1394747322, 1394747319, 1394747324, 1394747321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2010817527771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:39:22.694156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_10_3816.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_16_2633.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_19_3611.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_25_2706.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_29_3859.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_34_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_10_3816.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_16_2633.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_19_3611.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_25_2706.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_29_3859.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_34_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747335","1394747338","1394747331","1394747334","1394747328","1394747336"],"photo_ids_order":["1394747328","1394747331","1394747334","1394747335","1394747336","1394747338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f5cc2229056f4ff542dcd33a9102f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6793297359799770389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300423339,"filename":"image_16112025_12_13_25_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5972f3ba65fa661aa0cf6defde9a966.jpg","text":"TemporaryFile(/tmp/multipartBody6131542420109015621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300423339,"filename":"image_16112025_12_13_34_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb70fdba4b3a9b78264a01a6520758b2.jpg","text":"TemporaryFile(/tmp/multipartBody7724007796155017256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300423339,"filename":"image_16112025_12_13_16_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0271791a109c983cbe32aeecbcbea39.jpg","text":"TemporaryFile(/tmp/multipartBody2672914380451496621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300423339,"filename":"image_16112025_12_13_19_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aeaa25d0569b9bc043e89a45117ae89a.jpg","text":"TemporaryFile(/tmp/multipartBody3928482016115654959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300423339,"filename":"image_16112025_12_13_10_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eaa5deac18fafbe3a313cbb9d63566a4.jpg","text":"TemporaryFile(/tmp/multipartBody5929160420218301884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300423339,"filename":"image_16112025_12_13_29_3859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747334","file1":"1394747331","file0":"1394747328","file4":"1394747336","file5":"1394747338","file3":"1394747335"},"map_files_photo_id_array":[{"photo_id":"1394747338","filename":"file5"},{"photo_id":"1394747334","filename":"file2"},{"photo_id":"1394747336","filename":"file4"},{"photo_id":"1394747331","filename":"file1"},{"photo_id":"1394747328","filename":"file0"},{"photo_id":"1394747335","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747335":["hashtag1","hashtag2"]},{"1394747338":["hashtag1","hashtag2"]},{"1394747331":["hashtag1","hashtag2"]},{"1394747334":["hashtag1","hashtag2"]},{"1394747328":["hashtag1","hashtag2"]},{"1394747336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747335, 1394747338, 1394747331, 1394747334, 1394747328, 1394747336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.141563415527344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:40:02.341846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_37_3565.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_40_2561.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_46_2747.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_49_2807.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_52_2601.jpg', '/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_55_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_37_3565.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_40_2561.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_46_2747.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_49_2807.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_52_2601.jpg
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_55_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747347","1394747341","1394747350","1394747344","1394747343","1394747342"],"photo_ids_order":["1394747341","1394747342","1394747343","1394747344","1394747347","1394747350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8c52de554030a793b52fe2db964c0ca.jpg","text":"TemporaryFile(/tmp/multipartBody9097676651567238844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300463033,"filename":"image_16112025_12_13_52_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58410e406aa9997343bc1f9468217b34.jpg","text":"TemporaryFile(/tmp/multipartBody8852540136462504517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300463033,"filename":"image_16112025_12_13_37_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fd5b3c725b9e1a33ea053fe51fc57a6.jpg","text":"TemporaryFile(/tmp/multipartBody5094851034263524113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300463033,"filename":"image_16112025_12_13_55_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0c545a7582bdde2c104b8b2067e3cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7998638359134507123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300463033,"filename":"image_16112025_12_13_49_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5abcb045d912925a004b80019102cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody7060540344408210726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300463033,"filename":"image_16112025_12_13_46_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96f2b6d3a9264819f5443abf320e78ac.jpg","text":"TemporaryFile(/tmp/multipartBody6473461977621874403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300463033,"filename":"image_16112025_12_13_40_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747343","file1":"1394747342","file0":"1394747341","file4":"1394747347","file5":"1394747350","file3":"1394747344"},"map_files_photo_id_array":[{"photo_id":"1394747350","filename":"file5"},{"photo_id":"1394747343","filename":"file2"},{"photo_id":"1394747347","filename":"file4"},{"photo_id":"1394747342","filename":"file1"},{"photo_id":"1394747341","filename":"file0"},{"photo_id":"1394747344","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747347":["hashtag1","hashtag2"]},{"1394747341":["hashtag1","hashtag2"]},{"1394747350":["hashtag1","hashtag2"]},{"1394747344":["hashtag1","hashtag2"]},{"1394747343":["hashtag1","hashtag2"]},{"1394747342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747347, 1394747341, 1394747350, 1394747344, 1394747343, 1394747342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.242581605911255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:40:41.852637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_58_2661.jpg', '/home/pi/Desktop/images/16112025/12/14/image_16112025_12_14_04_2625.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_07_3015.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_11_3647.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_14_2720.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_17_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/13/image_16112025_12_13_58_2661.jpg
/home/pi/Desktop/images/16112025/12/14/image_16112025_12_14_04_2625.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_07_3015.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_11_3647.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_14_2720.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_17_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747362","1394747356","1394747359","1394747358","1394747361","1394747360"],"photo_ids_order":["1394747356","1394747358","1394747359","1394747360","1394747361","1394747362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e885c4d7de17c50c29b24e77b3a547a3.jpg","text":"TemporaryFile(/tmp/multipartBody1705851978910093467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300502482,"filename":"image_16112025_12_15_17_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/383d8744f78c083db1689b128812111f.jpg","text":"TemporaryFile(/tmp/multipartBody6507615008832432816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300502482,"filename":"image_16112025_12_13_58_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f613e31f1ac8f7504f57ef941ab5b11.jpg","text":"TemporaryFile(/tmp/multipartBody2825100338422106098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300502482,"filename":"image_16112025_12_15_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/11/16/ed335cd9d0e22626eae92a68b14b5c6b.jpg","text":"TemporaryFile(/tmp/multipartBody2615838804234526627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300502482,"filename":"image_16112025_12_14_04_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e061955c56bc422368fa8fbcd94c597.jpg","text":"TemporaryFile(/tmp/multipartBody7114223684026556505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300502482,"filename":"image_16112025_12_15_14_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9accf9791817ab8bd0b1ff7e87fc749.jpg","text":"TemporaryFile(/tmp/multipartBody2984242837590556943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300502482,"filename":"image_16112025_12_15_11_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747359","file1":"1394747358","file0":"1394747356","file4":"1394747361","file5":"1394747362","file3":"1394747360"},"map_files_photo_id_array":[{"photo_id":"1394747362","filename":"file5"},{"photo_id":"1394747359","filename":"file2"},{"photo_id":"1394747361","filename":"file4"},{"photo_id":"1394747358","filename":"file1"},{"photo_id":"1394747356","filename":"file0"},{"photo_id":"1394747360","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747362":["hashtag1","hashtag2"]},{"1394747356":["hashtag1","hashtag2"]},{"1394747359":["hashtag1","hashtag2"]},{"1394747358":["hashtag1","hashtag2"]},{"1394747361":["hashtag1","hashtag2"]},{"1394747360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747362, 1394747356, 1394747359, 1394747358, 1394747361, 1394747360)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.86873126029968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:41:42.160947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_20_2671.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_22_2517.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_26_3614.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_29_2830.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_31_2606.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_35_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_20_2671.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_22_2517.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_26_3614.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_29_2830.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_31_2606.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_35_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747370","1394747373","1394747372","1394747369","1394747366","1394747371"],"photo_ids_order":["1394747366","1394747369","1394747370","1394747371","1394747372","1394747373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d095f74eb5c13ed4e8968bd5e644e7b.jpg","text":"TemporaryFile(/tmp/multipartBody681566404379977826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300562814,"filename":"image_16112025_12_15_26_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eaaa3e4871de2a5f5296d7793a4d615c.jpg","text":"TemporaryFile(/tmp/multipartBody8354930127742817690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300562814,"filename":"image_16112025_12_15_35_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6f62abfc3fb307de0d306361efc9252.jpg","text":"TemporaryFile(/tmp/multipartBody7919670175363127439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300562814,"filename":"image_16112025_12_15_31_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3de1494b2618e81e32b35d682b553cf4.jpg","text":"TemporaryFile(/tmp/multipartBody7014452337707462205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300562814,"filename":"image_16112025_12_15_22_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f216bddc9026397ca18c12b102b45cb.jpg","text":"TemporaryFile(/tmp/multipartBody373563270463743818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300562814,"filename":"image_16112025_12_15_20_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07578b8fd171f0d5f04b83988713dc12.jpg","text":"TemporaryFile(/tmp/multipartBody5034047211184076765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300562814,"filename":"image_16112025_12_15_29_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747370","file1":"1394747369","file0":"1394747366","file4":"1394747372","file5":"1394747373","file3":"1394747371"},"map_files_photo_id_array":[{"photo_id":"1394747373","filename":"file5"},{"photo_id":"1394747370","filename":"file2"},{"photo_id":"1394747372","filename":"file4"},{"photo_id":"1394747369","filename":"file1"},{"photo_id":"1394747366","filename":"file0"},{"photo_id":"1394747371","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747370":["hashtag1","hashtag2"]},{"1394747373":["hashtag1","hashtag2"]},{"1394747372":["hashtag1","hashtag2"]},{"1394747369":["hashtag1","hashtag2"]},{"1394747366":["hashtag1","hashtag2"]},{"1394747371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747370, 1394747373, 1394747372, 1394747369, 1394747366, 1394747371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.017993211746216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:42:22.291792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_38_2574.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_40_2786.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_43_2885.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_47_3750.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_50_2729.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_53_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_38_2574.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_40_2786.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_43_2885.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_47_3750.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_50_2729.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_53_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747377","1394747382","1394747379","1394747384","1394747383","1394747386"],"photo_ids_order":["1394747377","1394747379","1394747382","1394747383","1394747384","1394747386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/098caa1ce5ceea5c60a3aa94f80c38e0.jpg","text":"TemporaryFile(/tmp/multipartBody2834678775617669039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300602927,"filename":"image_16112025_12_15_38_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3ffac3a762ddcedd6e649b5c5433763.jpg","text":"TemporaryFile(/tmp/multipartBody2831652187281844350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300602927,"filename":"image_16112025_12_15_43_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cc030a8b7b56d9b4960196c05aa0622.jpg","text":"TemporaryFile(/tmp/multipartBody1624980792607423058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300602927,"filename":"image_16112025_12_15_40_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d34ec87eab60093a2678b009993899a.jpg","text":"TemporaryFile(/tmp/multipartBody8661051058777169617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300602927,"filename":"image_16112025_12_15_50_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cb945b1e30461c992c8ba8235410ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3625288164785224684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300602927,"filename":"image_16112025_12_15_47_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f9ce00003daeb730fd0aed4fea3c3ae.jpg","text":"TemporaryFile(/tmp/multipartBody9020996554845858277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300602927,"filename":"image_16112025_12_15_53_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747382","file1":"1394747379","file0":"1394747377","file4":"1394747384","file5":"1394747386","file3":"1394747383"},"map_files_photo_id_array":[{"photo_id":"1394747386","filename":"file5"},{"photo_id":"1394747382","filename":"file2"},{"photo_id":"1394747384","filename":"file4"},{"photo_id":"1394747379","filename":"file1"},{"photo_id":"1394747377","filename":"file0"},{"photo_id":"1394747383","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747377":["hashtag1","hashtag2"]},{"1394747382":["hashtag1","hashtag2"]},{"1394747379":["hashtag1","hashtag2"]},{"1394747384":["hashtag1","hashtag2"]},{"1394747383":["hashtag1","hashtag2"]},{"1394747386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747377, 1394747382, 1394747379, 1394747384, 1394747383, 1394747386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01470351219177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:43:03.227083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_55_2833.jpg', '/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_59_3600.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_02_2648.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_04_2610.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_08_3662.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_11_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_55_2833.jpg
/home/pi/Desktop/images/16112025/12/15/image_16112025_12_15_59_3600.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_02_2648.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_04_2610.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_08_3662.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_11_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747389","1394747394","1394747391","1394747390","1394747396","1394747392"],"photo_ids_order":["1394747389","1394747390","1394747391","1394747392","1394747394","1394747396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03da2bdd47e3120daf7dfe8cd27129d8.jpg","text":"TemporaryFile(/tmp/multipartBody9209511432898030055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300643948,"filename":"image_16112025_12_15_55_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2201fbb4ae705eda08647103981ac671.jpg","text":"TemporaryFile(/tmp/multipartBody6683441308571203249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300643948,"filename":"image_16112025_12_16_08_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca27764a749b66f1bf989576b9582332.jpg","text":"TemporaryFile(/tmp/multipartBody4977884904473127785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300643948,"filename":"image_16112025_12_16_02_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/035e3db1f4eece845c326d9c7090d05b.jpg","text":"TemporaryFile(/tmp/multipartBody7744149765070230803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300643948,"filename":"image_16112025_12_15_59_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2adfd69c34ab955f276260a65e9e9fff.jpg","text":"TemporaryFile(/tmp/multipartBody3532787940165383823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300643948,"filename":"image_16112025_12_16_11_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a57642bb2eb3d15c894b222d0c0ddd4f.jpg","text":"TemporaryFile(/tmp/multipartBody1736272875734060788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300643948,"filename":"image_16112025_12_16_04_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747391","file1":"1394747390","file0":"1394747389","file4":"1394747394","file5":"1394747396","file3":"1394747392"},"map_files_photo_id_array":[{"photo_id":"1394747396","filename":"file5"},{"photo_id":"1394747391","filename":"file2"},{"photo_id":"1394747394","filename":"file4"},{"photo_id":"1394747390","filename":"file1"},{"photo_id":"1394747389","filename":"file0"},{"photo_id":"1394747392","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747389":["hashtag1","hashtag2"]},{"1394747394":["hashtag1","hashtag2"]},{"1394747391":["hashtag1","hashtag2"]},{"1394747390":["hashtag1","hashtag2"]},{"1394747396":["hashtag1","hashtag2"]},{"1394747392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747389, 1394747394, 1394747391, 1394747390, 1394747396, 1394747392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5647246837616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:43:42.430785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_13_2505.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_17_3736.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_20_2855.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_28_2789.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_32_3652.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_35_3122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_13_2505.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_17_3736.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_20_2855.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_28_2789.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_32_3652.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_35_3122.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747410","1394747407","1394747403","1394747406","1394747411","1394747408"],"photo_ids_order":["1394747403","1394747406","1394747407","1394747408","1394747410","1394747411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e27362e829c349b1a2e448e4456107b9.jpg","text":"TemporaryFile(/tmp/multipartBody2009607854854817376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300683067,"filename":"image_16112025_12_16_32_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f8e45f2660168364c4cb68f2213d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody9146677050215525823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300683067,"filename":"image_16112025_12_16_20_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8205a9edc0c965e10a9965e5f671f035.jpg","text":"TemporaryFile(/tmp/multipartBody1189982706411951925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300683067,"filename":"image_16112025_12_16_13_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16f73658bb2ebec3d3afe79f4754e106.jpg","text":"TemporaryFile(/tmp/multipartBody2015887816453189296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300683067,"filename":"image_16112025_12_16_17_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4c364ddb2e3a2a0f0b680fe90479734.jpg","text":"TemporaryFile(/tmp/multipartBody4803454284088207361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300683067,"filename":"image_16112025_12_16_35_3122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21c603d70e4c9a60afc47c3b1e16381d.jpg","text":"TemporaryFile(/tmp/multipartBody865427967687767908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300683067,"filename":"image_16112025_12_16_28_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747407","file1":"1394747406","file0":"1394747403","file4":"1394747410","file5":"1394747411","file3":"1394747408"},"map_files_photo_id_array":[{"photo_id":"1394747411","filename":"file5"},{"photo_id":"1394747407","filename":"file2"},{"photo_id":"1394747410","filename":"file4"},{"photo_id":"1394747406","filename":"file1"},{"photo_id":"1394747403","filename":"file0"},{"photo_id":"1394747408","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747410":["hashtag1","hashtag2"]},{"1394747407":["hashtag1","hashtag2"]},{"1394747403":["hashtag1","hashtag2"]},{"1394747406":["hashtag1","hashtag2"]},{"1394747411":["hashtag1","hashtag2"]},{"1394747408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747410, 1394747407, 1394747403, 1394747406, 1394747411, 1394747408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38438320159912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:44:22.826275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_38_2666.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_40_2611.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_44_3647.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_47_2782.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_49_2635.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_53_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_38_2666.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_40_2611.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_44_3647.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_47_2782.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_49_2635.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_53_3651.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.5591742992401123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:44:42.687004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_38_2666.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_40_2611.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_44_3647.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_47_2782.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_49_2635.jpg', '/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_53_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_38_2666.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_40_2611.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_44_3647.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_47_2782.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_49_2635.jpg
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_53_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747428","1394747431","1394747430","1394747427","1394747426","1394747429"],"photo_ids_order":["1394747426","1394747427","1394747428","1394747429","1394747430","1394747431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11efe8106c4210b5cc1db0c3e991ff7a.jpg","text":"TemporaryFile(/tmp/multipartBody5595445582657336199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300743317,"filename":"image_16112025_12_16_44_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d86d78fa5a53f829a2d7e3bfcf389960.jpg","text":"TemporaryFile(/tmp/multipartBody4094045257801295179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300743317,"filename":"image_16112025_12_16_53_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39afc0eb6e0e05753f2ceb73a7337bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3625103361622320499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300743317,"filename":"image_16112025_12_16_49_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db3ac568b280aa1652fca1c69475470e.jpg","text":"TemporaryFile(/tmp/multipartBody4308083816125607339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300743317,"filename":"image_16112025_12_16_40_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00f3297f14eb1c701e6b363983274e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4970970857009201566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300743317,"filename":"image_16112025_12_16_38_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c3e157c8be7fe01d5b79beb3233c059.jpg","text":"TemporaryFile(/tmp/multipartBody2863256104367028569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300743317,"filename":"image_16112025_12_16_47_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747428","file1":"1394747427","file0":"1394747426","file4":"1394747430","file5":"1394747431","file3":"1394747429"},"map_files_photo_id_array":[{"photo_id":"1394747431","filename":"file5"},{"photo_id":"1394747428","filename":"file2"},{"photo_id":"1394747430","filename":"file4"},{"photo_id":"1394747427","filename":"file1"},{"photo_id":"1394747426","filename":"file0"},{"photo_id":"1394747429","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747428":["hashtag1","hashtag2"]},{"1394747431":["hashtag1","hashtag2"]},{"1394747430":["hashtag1","hashtag2"]},{"1394747427":["hashtag1","hashtag2"]},{"1394747426":["hashtag1","hashtag2"]},{"1394747429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747428, 1394747431, 1394747430, 1394747427, 1394747426, 1394747429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70730543136597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:45:21.936095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_58_2713.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_10_3517.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_22_2762.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_25_2796.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_31_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/16/image_16112025_12_16_58_2713.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_07_3011.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_10_3517.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_22_2762.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_25_2796.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_31_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747443","1394747445","1394747442","1394747441","1394747435","1394747438"],"photo_ids_order":["1394747435","1394747438","1394747441","1394747442","1394747443","1394747445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6eb31f5076b338c2665c5e603ffeea0.jpg","text":"TemporaryFile(/tmp/multipartBody4661105709962914859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300782588,"filename":"image_16112025_12_18_25_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0996ba0a48f40df0b759c1ba804328a3.jpg","text":"TemporaryFile(/tmp/multipartBody230593471885911503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300782588,"filename":"image_16112025_12_18_31_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc4710e6fe809242070ac76ef177526a.jpg","text":"TemporaryFile(/tmp/multipartBody1817596872649156906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300782588,"filename":"image_16112025_12_18_22_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d632ef8701d473736001a7c7f6db6f1a.jpg","text":"TemporaryFile(/tmp/multipartBody4932470990009094904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300782588,"filename":"image_16112025_12_18_10_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef0b9f63c00a82df89810ca1e034f9d2.jpg","text":"TemporaryFile(/tmp/multipartBody5109252721025141984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300782588,"filename":"image_16112025_12_16_58_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7475455bb381878b51085b49e5667ac1.jpg","text":"TemporaryFile(/tmp/multipartBody4184412425302755579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763300782588,"filename":"image_16112025_12_18_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747441","file1":"1394747438","file0":"1394747435","file4":"1394747443","file5":"1394747445","file3":"1394747442"},"map_files_photo_id_array":[{"photo_id":"1394747445","filename":"file5"},{"photo_id":"1394747441","filename":"file2"},{"photo_id":"1394747443","filename":"file4"},{"photo_id":"1394747438","filename":"file1"},{"photo_id":"1394747435","filename":"file0"},{"photo_id":"1394747442","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747443":["hashtag1","hashtag2"]},{"1394747445":["hashtag1","hashtag2"]},{"1394747442":["hashtag1","hashtag2"]},{"1394747441":["hashtag1","hashtag2"]},{"1394747435":["hashtag1","hashtag2"]},{"1394747438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747443, 1394747445, 1394747442, 1394747441, 1394747435, 1394747438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38716220855713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:46:02.848648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 14:46:29.541671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 14:46:47.813862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 14:47:03.085940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 --last_days 3
2025-11-16 14:47:42.418178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 14:48:02.759587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 14:48:22.564449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 14:48:42.558194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 14:49:08.358932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 14:49:27.594947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 14:49:47.611557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_34_2693.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_38_3661.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_40_2551.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_43_2773.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_47_3733.jpg', '/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_53_3439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_34_2693.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_38_3661.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_40_2551.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_43_2773.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_47_3733.jpg
/home/pi/Desktop/images/16112025/12/18/image_16112025_12_18_53_3439.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":["1394747527","1394747524","1394747526","1394747529","1394747525","1394747528"],"photo_ids_order":["1394747524","1394747525","1394747526","1394747527","1394747528","1394747529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22e030026a555507ad12a24757e266c8.jpg","text":"TemporaryFile(/tmp/multipartBody2131091908078443726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301048260,"filename":"image_16112025_12_18_43_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06486e8f67e21d8fe0ce188b8f6ed1a4.jpg","text":"TemporaryFile(/tmp/multipartBody2208924664052983913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301048260,"filename":"image_16112025_12_18_34_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f13da361e7c6224cf5712ca12d54e6a2.jpg","text":"TemporaryFile(/tmp/multipartBody7275302095294170825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301048260,"filename":"image_16112025_12_18_40_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc10841502223f653d690088c69ac957.jpg","text":"TemporaryFile(/tmp/multipartBody3424517926497415236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301048260,"filename":"image_16112025_12_18_53_3439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/add50a7ecde97b7aa170c6d9ede3f529.jpg","text":"TemporaryFile(/tmp/multipartBody3963513338187154227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301048260,"filename":"image_16112025_12_18_38_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c920ed798650197edbd68a83aeb40754.jpg","text":"TemporaryFile(/tmp/multipartBody6637625748635539910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301048260,"filename":"image_16112025_12_18_47_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747526","file1":"1394747525","file0":"1394747524","file4":"1394747528","file5":"1394747529","file3":"1394747527"},"map_files_photo_id_array":[{"photo_id":"1394747529","filename":"file5"},{"photo_id":"1394747526","filename":"file2"},{"photo_id":"1394747528","filename":"file4"},{"photo_id":"1394747525","filename":"file1"},{"photo_id":"1394747524","filename":"file0"},{"photo_id":"1394747527","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747527":["hashtag1","hashtag2"]},{"1394747524":["hashtag1","hashtag2"]},{"1394747526":["hashtag1","hashtag2"]},{"1394747529":["hashtag1","hashtag2"]},{"1394747525":["hashtag1","hashtag2"]},{"1394747528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747527, 1394747524, 1394747526, 1394747529, 1394747525, 1394747528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04679298400879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:50:41.833242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_07_3012.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_10_3542.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_13_2692.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_19_2581.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_22_2613.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_25_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_07_3012.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_10_3542.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_13_2692.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_19_2581.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_22_2613.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_25_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747533","1394747536","1394747538","1394747535","1394747534","1394747537"],"photo_ids_order":["1394747533","1394747534","1394747535","1394747536","1394747537","1394747538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9d0cbbe92c96c862e6285437a21e661.jpg","text":"TemporaryFile(/tmp/multipartBody4531481847129663921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301102459,"filename":"image_16112025_12_20_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b6fbe4362bd41ec8556d4faef792570.jpg","text":"TemporaryFile(/tmp/multipartBody1662696164573252067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301102459,"filename":"image_16112025_12_20_19_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2feb9cdb6ac5d4c490fe6f1e22d204e7.jpg","text":"TemporaryFile(/tmp/multipartBody1329164156635737024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301102459,"filename":"image_16112025_12_20_25_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e74ead55ae6ffbdc4c59cecf61c7bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4386763659050958841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301102459,"filename":"image_16112025_12_20_13_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4b32ff89f2b2e59f79c2e15e059fb7a.jpg","text":"TemporaryFile(/tmp/multipartBody2212401417311306394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301102459,"filename":"image_16112025_12_20_10_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59ca2fc1dcb32017e5695d8cd493595d.jpg","text":"TemporaryFile(/tmp/multipartBody874329691946172401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301102459,"filename":"image_16112025_12_20_22_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747535","file1":"1394747534","file0":"1394747533","file4":"1394747537","file5":"1394747538","file3":"1394747536"},"map_files_photo_id_array":[{"photo_id":"1394747538","filename":"file5"},{"photo_id":"1394747535","filename":"file2"},{"photo_id":"1394747537","filename":"file4"},{"photo_id":"1394747534","filename":"file1"},{"photo_id":"1394747533","filename":"file0"},{"photo_id":"1394747536","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747533":["hashtag1","hashtag2"]},{"1394747536":["hashtag1","hashtag2"]},{"1394747538":["hashtag1","hashtag2"]},{"1394747535":["hashtag1","hashtag2"]},{"1394747534":["hashtag1","hashtag2"]},{"1394747537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747533, 1394747536, 1394747538, 1394747535, 1394747534, 1394747537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76147651672363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:51:22.162140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_29_3236.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_31_2734.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_38_3625.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_40_2639.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_43_2806.jpg', '/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_47_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_29_3236.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_31_2734.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_38_3625.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_40_2639.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_43_2806.jpg
/home/pi/Desktop/images/16112025/12/20/image_16112025_12_20_47_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747545","1394747544","1394747547","1394747549","1394747543","1394747546"],"photo_ids_order":["1394747543","1394747544","1394747545","1394747546","1394747547","1394747549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2214103f8e53163bd3cd7bf556253938.jpg","text":"TemporaryFile(/tmp/multipartBody3504420076016064223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301142782,"filename":"image_16112025_12_20_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/11/16/0c31a4b26367b15602f8a029f852a1d8.jpg","text":"TemporaryFile(/tmp/multipartBody8184139455730198658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301142782,"filename":"image_16112025_12_20_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b08f556a80b66458dcc738c9fb1f2a25.jpg","text":"TemporaryFile(/tmp/multipartBody6844346202711795349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301142782,"filename":"image_16112025_12_20_43_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af2d882cb0152f22382f12fb3f435e1d.jpg","text":"TemporaryFile(/tmp/multipartBody7783294173312834000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301142782,"filename":"image_16112025_12_20_47_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa38d9545a86fa2298909cade2247a5e.jpg","text":"TemporaryFile(/tmp/multipartBody573915493363767320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301142782,"filename":"image_16112025_12_20_29_3236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9247c983e965f8f6ce4b26797dbab094.jpg","text":"TemporaryFile(/tmp/multipartBody4065131966754834029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301142782,"filename":"image_16112025_12_20_40_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747545","file1":"1394747544","file0":"1394747543","file4":"1394747547","file5":"1394747549","file3":"1394747546"},"map_files_photo_id_array":[{"photo_id":"1394747549","filename":"file5"},{"photo_id":"1394747545","filename":"file2"},{"photo_id":"1394747547","filename":"file4"},{"photo_id":"1394747544","filename":"file1"},{"photo_id":"1394747543","filename":"file0"},{"photo_id":"1394747546","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747545":["hashtag1","hashtag2"]},{"1394747544":["hashtag1","hashtag2"]},{"1394747547":["hashtag1","hashtag2"]},{"1394747549":["hashtag1","hashtag2"]},{"1394747543":["hashtag1","hashtag2"]},{"1394747546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747545, 1394747544, 1394747547, 1394747549, 1394747543, 1394747546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.643593549728394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:52:02.679008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_01_2752.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_04_2712.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_07_2793.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_11_3757.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_13_2809.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_16_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_01_2752.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_04_2712.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_07_2793.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_11_3757.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_13_2809.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_16_2782.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.5936002731323242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:52:22.262006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_01_2752.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_04_2712.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_07_2793.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_11_3757.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_13_2809.jpg', '/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_16_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_01_2752.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_04_2712.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_07_2793.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_11_3757.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_13_2809.jpg
/home/pi/Desktop/images/16112025/12/21/image_16112025_12_21_16_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747566","1394747560","1394747562","1394747561","1394747564","1394747563"],"photo_ids_order":["1394747560","1394747561","1394747562","1394747563","1394747564","1394747566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10aadf955d7151b35398775619e608fd.jpg","text":"TemporaryFile(/tmp/multipartBody159904305533408457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301202874,"filename":"image_16112025_12_21_16_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15f7a2ea14954dbb7d383ac25abee2ec.jpg","text":"TemporaryFile(/tmp/multipartBody8989566319294355966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301202874,"filename":"image_16112025_12_21_01_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a167fa02cd36a691591cd3f8d3ad1b4.jpg","text":"TemporaryFile(/tmp/multipartBody3169800525131693915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301202874,"filename":"image_16112025_12_21_07_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d75d6bd7622153ea2501486fa4bcc149.jpg","text":"TemporaryFile(/tmp/multipartBody7503343719811953624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301202874,"filename":"image_16112025_12_21_04_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/619803343b59fe9534dc0f46e9a6ce8c.jpg","text":"TemporaryFile(/tmp/multipartBody1352194549037008078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301202874,"filename":"image_16112025_12_21_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/11/16/e25e4d1c7757e6df319b9b949adeaeba.jpg","text":"TemporaryFile(/tmp/multipartBody8122826141939390135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301202874,"filename":"image_16112025_12_21_11_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747562","file1":"1394747561","file0":"1394747560","file4":"1394747564","file5":"1394747566","file3":"1394747563"},"map_files_photo_id_array":[{"photo_id":"1394747566","filename":"file5"},{"photo_id":"1394747562","filename":"file2"},{"photo_id":"1394747564","filename":"file4"},{"photo_id":"1394747561","filename":"file1"},{"photo_id":"1394747560","filename":"file0"},{"photo_id":"1394747563","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747566":["hashtag1","hashtag2"]},{"1394747560":["hashtag1","hashtag2"]},{"1394747562":["hashtag1","hashtag2"]},{"1394747561":["hashtag1","hashtag2"]},{"1394747564":["hashtag1","hashtag2"]},{"1394747563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747566, 1394747560, 1394747562, 1394747561, 1394747564, 1394747563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44990825653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:53:03.109988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_07_3015.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_11_3652.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_13_2532.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_17_3563.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_19_2545.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_22_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_07_3015.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_11_3652.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_13_2532.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_17_3563.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_19_2545.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_22_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747569","1394747571","1394747579","1394747573","1394747567","1394747576"],"photo_ids_order":["1394747567","1394747569","1394747571","1394747573","1394747576","1394747579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41f2d1328c3f578526201b9754e91139.jpg","text":"TemporaryFile(/tmp/multipartBody616961667889606896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301243855,"filename":"image_16112025_12_22_11_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdcd81dcd1ae0ef1377048502b3f9c98.jpg","text":"TemporaryFile(/tmp/multipartBody1804129350361620230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301243855,"filename":"image_16112025_12_22_13_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6235779f57e617c45acdb1b194a9d5fc.jpg","text":"TemporaryFile(/tmp/multipartBody7739979766316878764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301243855,"filename":"image_16112025_12_22_22_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cbe33eca389f5bd94c84c276c173ea4.jpg","text":"TemporaryFile(/tmp/multipartBody3729543460223208631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301243855,"filename":"image_16112025_12_22_17_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3322534a7bc7081b667bb58de0bc8738.jpg","text":"TemporaryFile(/tmp/multipartBody7670201249140501901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301243855,"filename":"image_16112025_12_22_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/11/16/d5ab5122d510fd8c3472ee40db6ec231.jpg","text":"TemporaryFile(/tmp/multipartBody6190938560198809771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301243855,"filename":"image_16112025_12_22_19_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747571","file1":"1394747569","file0":"1394747567","file4":"1394747576","file5":"1394747579","file3":"1394747573"},"map_files_photo_id_array":[{"photo_id":"1394747579","filename":"file5"},{"photo_id":"1394747571","filename":"file2"},{"photo_id":"1394747576","filename":"file4"},{"photo_id":"1394747569","filename":"file1"},{"photo_id":"1394747567","filename":"file0"},{"photo_id":"1394747573","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747569":["hashtag1","hashtag2"]},{"1394747571":["hashtag1","hashtag2"]},{"1394747579":["hashtag1","hashtag2"]},{"1394747573":["hashtag1","hashtag2"]},{"1394747567":["hashtag1","hashtag2"]},{"1394747576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747569, 1394747571, 1394747579, 1394747573, 1394747567, 1394747576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.851216316223145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:53:42.353972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_26_3685.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_28_2742.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_31_2600.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_34_3587.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_37_2567.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_41_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_26_3685.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_28_2742.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_31_2600.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_34_3587.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_37_2567.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_41_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747587","1394747592","1394747594","1394747596","1394747590","1394747584"],"photo_ids_order":["1394747584","1394747587","1394747590","1394747592","1394747594","1394747596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0216ed2447bb8ae61406d6b431b3c9f2.jpg","text":"TemporaryFile(/tmp/multipartBody6163870924929983881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301282973,"filename":"image_16112025_12_22_28_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/444ac05a62c0965e666746b1374e6f24.jpg","text":"TemporaryFile(/tmp/multipartBody3678054370962633465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301282973,"filename":"image_16112025_12_22_34_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9597aa30a6ec4c4d0037bdc42e27df8.jpg","text":"TemporaryFile(/tmp/multipartBody8303738430702751814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301282973,"filename":"image_16112025_12_22_37_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c40a97facbd84c1c1e9c0393a74075e.jpg","text":"TemporaryFile(/tmp/multipartBody5582622949432309817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301282973,"filename":"image_16112025_12_22_41_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e0fe3c754d1a0480736002419e9161f.jpg","text":"TemporaryFile(/tmp/multipartBody6391947064187944046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301282973,"filename":"image_16112025_12_22_31_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f6514b465b91c41202c3d011673e637.jpg","text":"TemporaryFile(/tmp/multipartBody375765477080591654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301282973,"filename":"image_16112025_12_22_26_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747590","file1":"1394747587","file0":"1394747584","file4":"1394747594","file5":"1394747596","file3":"1394747592"},"map_files_photo_id_array":[{"photo_id":"1394747596","filename":"file5"},{"photo_id":"1394747590","filename":"file2"},{"photo_id":"1394747594","filename":"file4"},{"photo_id":"1394747587","filename":"file1"},{"photo_id":"1394747584","filename":"file0"},{"photo_id":"1394747592","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747587":["hashtag1","hashtag2"]},{"1394747592":["hashtag1","hashtag2"]},{"1394747594":["hashtag1","hashtag2"]},{"1394747596":["hashtag1","hashtag2"]},{"1394747590":["hashtag1","hashtag2"]},{"1394747584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747587, 1394747592, 1394747594, 1394747596, 1394747590, 1394747584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07494783401489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:54:22.629783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_43_2806.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_46_2514.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_52_2554.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_55_2579.jpg', '/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_59_3586.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_01_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_43_2806.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_46_2514.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_52_2554.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_55_2579.jpg
/home/pi/Desktop/images/16112025/12/22/image_16112025_12_22_59_3586.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_01_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747602","1394747604","1394747607","1394747601","1394747606","1394747599"],"photo_ids_order":["1394747599","1394747601","1394747602","1394747604","1394747606","1394747607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84abdb9add907b0e465a2d3415a9d396.jpg","text":"TemporaryFile(/tmp/multipartBody6542461615009431528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301323269,"filename":"image_16112025_12_22_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/11/16/010e51fa93c91eaea1f0e62d3dece15e.jpg","text":"TemporaryFile(/tmp/multipartBody3296645468204485649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301323269,"filename":"image_16112025_12_22_55_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/443483352ab1094d909b6fc5f74280b0.jpg","text":"TemporaryFile(/tmp/multipartBody2986302557297708958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301323269,"filename":"image_16112025_12_23_01_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aade4f031e81143b96419e46204412b7.jpg","text":"TemporaryFile(/tmp/multipartBody6048367937676603485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301323269,"filename":"image_16112025_12_22_46_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57ead186e7efa5a0e93b41ec7fc9cbaa.jpg","text":"TemporaryFile(/tmp/multipartBody6957433040588635111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301323269,"filename":"image_16112025_12_22_59_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb40d667aceaa9a68fd283ff62b7875c.jpg","text":"TemporaryFile(/tmp/multipartBody4858092615583704070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301323269,"filename":"image_16112025_12_22_43_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747602","file1":"1394747601","file0":"1394747599","file4":"1394747606","file5":"1394747607","file3":"1394747604"},"map_files_photo_id_array":[{"photo_id":"1394747607","filename":"file5"},{"photo_id":"1394747602","filename":"file2"},{"photo_id":"1394747606","filename":"file4"},{"photo_id":"1394747601","filename":"file1"},{"photo_id":"1394747599","filename":"file0"},{"photo_id":"1394747604","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747602":["hashtag1","hashtag2"]},{"1394747604":["hashtag1","hashtag2"]},{"1394747607":["hashtag1","hashtag2"]},{"1394747601":["hashtag1","hashtag2"]},{"1394747606":["hashtag1","hashtag2"]},{"1394747599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747602, 1394747604, 1394747607, 1394747601, 1394747606, 1394747599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.381340980529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:55:02.583035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_04_2583.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_10_2699.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_13_2762.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_19_2685.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_22_2642.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_26_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_04_2583.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_10_2699.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_13_2762.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_19_2685.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_22_2642.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_26_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747608","1394747611","1394747610","1394747613","1394747615","1394747609"],"photo_ids_order":["1394747608","1394747609","1394747610","1394747611","1394747613","1394747615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54fde0a060ff6a6161a98e5982ba91e5.jpg","text":"TemporaryFile(/tmp/multipartBody1335305720203804735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301363276,"filename":"image_16112025_12_23_04_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab12a81cfa6024c33754d9dd49a0cf72.jpg","text":"TemporaryFile(/tmp/multipartBody606093614420219555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301363276,"filename":"image_16112025_12_23_19_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4851626790cbb6313a93f1606e7a6087.jpg","text":"TemporaryFile(/tmp/multipartBody7455263471026652650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301363276,"filename":"image_16112025_12_23_13_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d169a188c950c34f4a803cc32c25f33a.jpg","text":"TemporaryFile(/tmp/multipartBody3187451338610815935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301363276,"filename":"image_16112025_12_23_22_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5b470938214bb8e8956bce9ac1b4497.jpg","text":"TemporaryFile(/tmp/multipartBody6628001893891742803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301363276,"filename":"image_16112025_12_23_26_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a96bc8a9bcc728bd5d2445368f40ef19.jpg","text":"TemporaryFile(/tmp/multipartBody9174064648745504913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301363276,"filename":"image_16112025_12_23_10_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747610","file1":"1394747609","file0":"1394747608","file4":"1394747613","file5":"1394747615","file3":"1394747611"},"map_files_photo_id_array":[{"photo_id":"1394747615","filename":"file5"},{"photo_id":"1394747610","filename":"file2"},{"photo_id":"1394747613","filename":"file4"},{"photo_id":"1394747609","filename":"file1"},{"photo_id":"1394747608","filename":"file0"},{"photo_id":"1394747611","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747608":["hashtag1","hashtag2"]},{"1394747611":["hashtag1","hashtag2"]},{"1394747610":["hashtag1","hashtag2"]},{"1394747613":["hashtag1","hashtag2"]},{"1394747615":["hashtag1","hashtag2"]},{"1394747609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747608, 1394747611, 1394747610, 1394747613, 1394747615, 1394747609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33651781082153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:55:42.008785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_28_2645.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_31_2662.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_34_3624.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_40_2672.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_43_3017.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_46_3507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_28_2645.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_31_2662.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_34_3624.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_40_2672.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_43_3017.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_46_3507.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747626","1394747617","1394747628","1394747621","1394747624","1394747627"],"photo_ids_order":["1394747617","1394747621","1394747624","1394747626","1394747627","1394747628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25ea5d158385f91456b9539b96d0ceef.jpg","text":"TemporaryFile(/tmp/multipartBody6099659270683083103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301402703,"filename":"image_16112025_12_23_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/11/16/5634f1712863148ffaeab3b98f4f0fc7.jpg","text":"TemporaryFile(/tmp/multipartBody8979424846399193731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301402703,"filename":"image_16112025_12_23_28_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0015de5187d90434e64723a84b468850.jpg","text":"TemporaryFile(/tmp/multipartBody7412416519579863554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301402703,"filename":"image_16112025_12_23_46_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/361d791569eec24907f0f7f75684ab94.jpg","text":"TemporaryFile(/tmp/multipartBody5677010660223784799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301402703,"filename":"image_16112025_12_23_31_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/280bc54728033f1af82e96edd4f05c0d.jpg","text":"TemporaryFile(/tmp/multipartBody7112070760714183407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301402703,"filename":"image_16112025_12_23_34_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0c333e085c8b9d7c7dc0a1d5d1f4be4.jpg","text":"TemporaryFile(/tmp/multipartBody2135341918711406800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301402703,"filename":"image_16112025_12_23_43_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747624","file1":"1394747621","file0":"1394747617","file4":"1394747627","file5":"1394747628","file3":"1394747626"},"map_files_photo_id_array":[{"photo_id":"1394747628","filename":"file5"},{"photo_id":"1394747624","filename":"file2"},{"photo_id":"1394747627","filename":"file4"},{"photo_id":"1394747621","filename":"file1"},{"photo_id":"1394747617","filename":"file0"},{"photo_id":"1394747626","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747626":["hashtag1","hashtag2"]},{"1394747617":["hashtag1","hashtag2"]},{"1394747628":["hashtag1","hashtag2"]},{"1394747621":["hashtag1","hashtag2"]},{"1394747624":["hashtag1","hashtag2"]},{"1394747627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747626, 1394747617, 1394747628, 1394747621, 1394747624, 1394747627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14027976989746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 14:56:24.608292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_49_2863.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_52_2561.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_55_3587.jpg', '/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_58_2658.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_07_3327.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_11_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_49_2863.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_52_2561.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_55_3587.jpg
/home/pi/Desktop/images/16112025/12/23/image_16112025_12_23_58_2658.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_07_3327.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_11_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747632","1394747629","1394747631","1394747634","1394747636","1394747630"],"photo_ids_order":["1394747629","1394747630","1394747631","1394747632","1394747634","1394747636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1165b5769f33c53adf6b7de2e6660234.jpg","text":"TemporaryFile(/tmp/multipartBody186720550875365337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301445299,"filename":"image_16112025_12_23_58_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b93ec828b45ce33a1d93e5995835729.jpg","text":"TemporaryFile(/tmp/multipartBody8058890327694866733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301445299,"filename":"image_16112025_12_23_49_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5f21d60de2c6ae6515ebbda98a57e96.jpg","text":"TemporaryFile(/tmp/multipartBody2246559294704401780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301445299,"filename":"image_16112025_12_23_55_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f66915f20f6da06ab9261056b86e2142.jpg","text":"TemporaryFile(/tmp/multipartBody98507595163137809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301445299,"filename":"image_16112025_12_25_07_3327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a73e570600886126f0109a0c949918c1.jpg","text":"TemporaryFile(/tmp/multipartBody6376374488411319418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301445299,"filename":"image_16112025_12_25_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/11/16/48f385e4dee32e27a004f829e16ee132.jpg","text":"TemporaryFile(/tmp/multipartBody7496568197673545653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301445299,"filename":"image_16112025_12_23_52_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747631","file1":"1394747630","file0":"1394747629","file4":"1394747634","file5":"1394747636","file3":"1394747632"},"map_files_photo_id_array":[{"photo_id":"1394747636","filename":"file5"},{"photo_id":"1394747631","filename":"file2"},{"photo_id":"1394747634","filename":"file4"},{"photo_id":"1394747630","filename":"file1"},{"photo_id":"1394747629","filename":"file0"},{"photo_id":"1394747632","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747632":["hashtag1","hashtag2"]},{"1394747629":["hashtag1","hashtag2"]},{"1394747631":["hashtag1","hashtag2"]},{"1394747634":["hashtag1","hashtag2"]},{"1394747636":["hashtag1","hashtag2"]},{"1394747630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747632, 1394747629, 1394747631, 1394747634, 1394747636, 1394747630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.675191164016724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:57:02.527141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_13_2693.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_16_2645.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_22_2538.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_25_2608.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_31_2480.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_35_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_13_2693.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_16_2645.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_22_2538.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_25_2608.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_31_2480.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_35_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747644","1394747641","1394747640","1394747637","1394747648","1394747639"],"photo_ids_order":["1394747637","1394747639","1394747640","1394747641","1394747644","1394747648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9595d1a637e26fd08215e03ab3bc108.jpg","text":"TemporaryFile(/tmp/multipartBody636358547387182509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301483269,"filename":"image_16112025_12_25_31_2480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/055757d8bba1472e752c3878d7309006.jpg","text":"TemporaryFile(/tmp/multipartBody915336935170547480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301483269,"filename":"image_16112025_12_25_25_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4bfcb7d64fe1bb28ca2b71646df6c58.jpg","text":"TemporaryFile(/tmp/multipartBody1626377464755527765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301483269,"filename":"image_16112025_12_25_22_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c577e121d7ccf1a20ea3d706807d9e9.jpg","text":"TemporaryFile(/tmp/multipartBody5160591886639991986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301483269,"filename":"image_16112025_12_25_13_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8feb41783b1e906969a4188586d864e6.jpg","text":"TemporaryFile(/tmp/multipartBody8103247788931137357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301483269,"filename":"image_16112025_12_25_35_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a2ba00bd2166aea0ac98f39634bb5a5.jpg","text":"TemporaryFile(/tmp/multipartBody3539780942429115668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301483269,"filename":"image_16112025_12_25_16_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747640","file1":"1394747639","file0":"1394747637","file4":"1394747644","file5":"1394747648","file3":"1394747641"},"map_files_photo_id_array":[{"photo_id":"1394747648","filename":"file5"},{"photo_id":"1394747640","filename":"file2"},{"photo_id":"1394747644","filename":"file4"},{"photo_id":"1394747639","filename":"file1"},{"photo_id":"1394747637","filename":"file0"},{"photo_id":"1394747641","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747644":["hashtag1","hashtag2"]},{"1394747641":["hashtag1","hashtag2"]},{"1394747640":["hashtag1","hashtag2"]},{"1394747637":["hashtag1","hashtag2"]},{"1394747648":["hashtag1","hashtag2"]},{"1394747639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747644, 1394747641, 1394747640, 1394747637, 1394747648, 1394747639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43464136123657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:57:41.837344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_37_2623.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_40_2607.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_43_3023.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_47_3631.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_49_2662.jpg', '/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_52_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_37_2623.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_40_2607.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_43_3023.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_47_3631.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_49_2662.jpg
/home/pi/Desktop/images/16112025/12/25/image_16112025_12_25_52_2623.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394747650","1394747653","1394747655","1394747654","1394747657","1394747656"],"photo_ids_order":["1394747650","1394747653","1394747654","1394747655","1394747656","1394747657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7445bf7e0637fd2703b380c60b10b29f.jpg","text":"TemporaryFile(/tmp/multipartBody3987309480210778832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301522458,"filename":"image_16112025_12_25_37_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe12a2315e8ada2effe56e87ffc2cefc.jpg","text":"TemporaryFile(/tmp/multipartBody5956239567502427938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301522458,"filename":"image_16112025_12_25_40_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84e06affe70a5190954aca45524ea2e8.jpg","text":"TemporaryFile(/tmp/multipartBody7088702223300198273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301522458,"filename":"image_16112025_12_25_47_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7e4ed0f5bd9129037debbe7bc394c83.jpg","text":"TemporaryFile(/tmp/multipartBody5934222997109914212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301522458,"filename":"image_16112025_12_25_43_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12fb2b6f812034597bf0ad5ad5d56b43.jpg","text":"TemporaryFile(/tmp/multipartBody3112398425494448116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301522458,"filename":"image_16112025_12_25_52_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd94116df785767bddb5c5c4782fb764.jpg","text":"TemporaryFile(/tmp/multipartBody3857646709373131128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301522458,"filename":"image_16112025_12_25_49_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394747654","file1":"1394747653","file0":"1394747650","file4":"1394747656","file5":"1394747657","file3":"1394747655"},"map_files_photo_id_array":[{"photo_id":"1394747657","filename":"file5"},{"photo_id":"1394747654","filename":"file2"},{"photo_id":"1394747656","filename":"file4"},{"photo_id":"1394747653","filename":"file1"},{"photo_id":"1394747650","filename":"file0"},{"photo_id":"1394747655","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394747650":["hashtag1","hashtag2"]},{"1394747653":["hashtag1","hashtag2"]},{"1394747655":["hashtag1","hashtag2"]},{"1394747654":["hashtag1","hashtag2"]},{"1394747657":["hashtag1","hashtag2"]},{"1394747656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394747650, 1394747653, 1394747655, 1394747654, 1394747657, 1394747656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52347993850708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 14:59:03.315533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_06_3011.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_10_3623.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_12_2537.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_16_3535.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_19_2844.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_21_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_06_3011.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_10_3623.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_12_2537.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_16_3535.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_19_2844.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_21_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394748393","1394748198","1394748462","1394748321","1394748269","1394748232"],"photo_ids_order":["1394748198","1394748232","1394748269","1394748321","1394748393","1394748462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3903c496fbef0efff794ede25cd46aa.jpg","text":"TemporaryFile(/tmp/multipartBody5313073965160504573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301604149,"filename":"image_16112025_12_27_19_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39c39839d35b57f7639605398bb871f6.jpg","text":"TemporaryFile(/tmp/multipartBody9001230704221236211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301604149,"filename":"image_16112025_12_27_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/11/16/c9d007b72334f6caf4a841042484653e.jpg","text":"TemporaryFile(/tmp/multipartBody493011811814631266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301604149,"filename":"image_16112025_12_27_21_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04a3dad0b8277ec7e47ae54e71d3df9f.jpg","text":"TemporaryFile(/tmp/multipartBody4101193865929454737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301604149,"filename":"image_16112025_12_27_16_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8963f4ae2ffb6354cf811a578c607f10.jpg","text":"TemporaryFile(/tmp/multipartBody8497107269137919840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301604149,"filename":"image_16112025_12_27_12_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbdc674e6845483f12474cf845e0941b.jpg","text":"TemporaryFile(/tmp/multipartBody4045143594386044251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301604149,"filename":"image_16112025_12_27_10_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394748269","file1":"1394748232","file0":"1394748198","file4":"1394748393","file5":"1394748462","file3":"1394748321"},"map_files_photo_id_array":[{"photo_id":"1394748462","filename":"file5"},{"photo_id":"1394748269","filename":"file2"},{"photo_id":"1394748393","filename":"file4"},{"photo_id":"1394748232","filename":"file1"},{"photo_id":"1394748198","filename":"file0"},{"photo_id":"1394748321","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394748393":["hashtag1","hashtag2"]},{"1394748198":["hashtag1","hashtag2"]},{"1394748462":["hashtag1","hashtag2"]},{"1394748321":["hashtag1","hashtag2"]},{"1394748269":["hashtag1","hashtag2"]},{"1394748232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394748393, 1394748198, 1394748462, 1394748321, 1394748269, 1394748232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3636372089386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 14:59:42.192218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_25_3715.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_28_2756.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_31_2682.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_33_2622.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_37_3689.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_40_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_25_3715.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_28_2756.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_31_2682.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_33_2622.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_37_3689.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_40_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394748747","1394748708","1394748816","1394748671","1394748635","1394748781"],"photo_ids_order":["1394748635","1394748671","1394748708","1394748747","1394748781","1394748816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32868f4c80f992bae16e877c93d40bad.jpg","text":"TemporaryFile(/tmp/multipartBody7614029345742435936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301642818,"filename":"image_16112025_12_27_33_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9bcabfd232438d074f8833f3852c6bc.jpg","text":"TemporaryFile(/tmp/multipartBody2594924144992475337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301642818,"filename":"image_16112025_12_27_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/11/16/5b402577dac6968c2f2cff9e2efef8b9.jpg","text":"TemporaryFile(/tmp/multipartBody3480234776981245886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301642818,"filename":"image_16112025_12_27_40_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4b72da7c2db07ba0fdd44ff722d3cb5.jpg","text":"TemporaryFile(/tmp/multipartBody2433357984526231422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301642818,"filename":"image_16112025_12_27_28_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a9d60b9fcac5b4357e1178a57b449ae.jpg","text":"TemporaryFile(/tmp/multipartBody464453893503210052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301642818,"filename":"image_16112025_12_27_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/11/16/646e221312c16fd398c881282b423958.jpg","text":"TemporaryFile(/tmp/multipartBody5121874300900404832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301642818,"filename":"image_16112025_12_27_37_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394748708","file1":"1394748671","file0":"1394748635","file4":"1394748781","file5":"1394748816","file3":"1394748747"},"map_files_photo_id_array":[{"photo_id":"1394748816","filename":"file5"},{"photo_id":"1394748708","filename":"file2"},{"photo_id":"1394748781","filename":"file4"},{"photo_id":"1394748671","filename":"file1"},{"photo_id":"1394748635","filename":"file0"},{"photo_id":"1394748747","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394748747":["hashtag1","hashtag2"]},{"1394748708":["hashtag1","hashtag2"]},{"1394748816":["hashtag1","hashtag2"]},{"1394748671":["hashtag1","hashtag2"]},{"1394748635":["hashtag1","hashtag2"]},{"1394748781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394748747, 1394748708, 1394748816, 1394748671, 1394748635, 1394748781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96101903915405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:00:22.521098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_43_3530.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_46_2666.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_48_2561.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_52_3767.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_55_2562.jpg', '/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_57_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_43_3530.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_46_2666.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_48_2561.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_52_3767.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_55_2562.jpg
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_27_57_2534.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394748969","1394748957","1394748966","1394748959","1394748964","1394748961"],"photo_ids_order":["1394748957","1394748959","1394748961","1394748964","1394748966","1394748969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f0e2e88341b8e9306da05c69f0574f7.jpg","text":"TemporaryFile(/tmp/multipartBody7372012757706767790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301683176,"filename":"image_16112025_12_27_57_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ea0416219aff0b0eb5686cc3a4a8818.jpg","text":"TemporaryFile(/tmp/multipartBody6562258253102507086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301683176,"filename":"image_16112025_12_27_43_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/540aa94575cb5e6c8c779e2a3d170173.jpg","text":"TemporaryFile(/tmp/multipartBody7780440973127295555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301683176,"filename":"image_16112025_12_27_55_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/813e094446c78c300f79459cb1593abf.jpg","text":"TemporaryFile(/tmp/multipartBody4031898724251600479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301683176,"filename":"image_16112025_12_27_46_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4a07db8152a4de667b0a62718c2adbf.jpg","text":"TemporaryFile(/tmp/multipartBody6134585284961014839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301683176,"filename":"image_16112025_12_27_52_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8829c8d1698f9a5c8aa150f25c9941d.jpg","text":"TemporaryFile(/tmp/multipartBody7706610415914154922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301683176,"filename":"image_16112025_12_27_48_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394748961","file1":"1394748959","file0":"1394748957","file4":"1394748966","file5":"1394748969","file3":"1394748964"},"map_files_photo_id_array":[{"photo_id":"1394748969","filename":"file5"},{"photo_id":"1394748961","filename":"file2"},{"photo_id":"1394748966","filename":"file4"},{"photo_id":"1394748959","filename":"file1"},{"photo_id":"1394748957","filename":"file0"},{"photo_id":"1394748964","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394748969":["hashtag1","hashtag2"]},{"1394748957":["hashtag1","hashtag2"]},{"1394748966":["hashtag1","hashtag2"]},{"1394748959":["hashtag1","hashtag2"]},{"1394748964":["hashtag1","hashtag2"]},{"1394748961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394748969, 1394748957, 1394748966, 1394748959, 1394748964, 1394748961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87105846405029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:01:03.458963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/27/image_16112025_12_28_01_3650.jpg', '/home/pi/Desktop/images/16112025/12/28/image_16112025_12_28_04_2653.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_07_3018.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_11_3939.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_14_2836.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_16_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/27/image_16112025_12_28_01_3650.jpg
/home/pi/Desktop/images/16112025/12/28/image_16112025_12_28_04_2653.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_07_3018.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_11_3939.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_14_2836.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_16_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749029","1394749067","1394748994","1394749138","1394749102","1394749173"],"photo_ids_order":["1394748994","1394749029","1394749067","1394749102","1394749138","1394749173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d73a95410448a5a29eb9169b2fba6258.jpg","text":"TemporaryFile(/tmp/multipartBody1035943803068843120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301724176,"filename":"image_16112025_12_28_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/11/16/9689fb6a9541718103c48dcc05388366.jpg","text":"TemporaryFile(/tmp/multipartBody8026467259532141075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301724176,"filename":"image_16112025_12_29_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/11/16/9d0af0131a2a7c03c1c847e4b0dc51f9.jpg","text":"TemporaryFile(/tmp/multipartBody6882370687374918107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301724176,"filename":"image_16112025_12_28_01_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e16f0bdc8eedfad15ea4f521d9b26cd5.jpg","text":"TemporaryFile(/tmp/multipartBody9007480051086197802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301724176,"filename":"image_16112025_12_29_14_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0be0988d1943bbd71e864adec5179f9.jpg","text":"TemporaryFile(/tmp/multipartBody6303330071424198454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301724176,"filename":"image_16112025_12_29_11_3939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3881a638e6e38212e9d0a44e4429501f.jpg","text":"TemporaryFile(/tmp/multipartBody7661341365826309042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301724176,"filename":"image_16112025_12_29_16_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749067","file1":"1394749029","file0":"1394748994","file4":"1394749138","file5":"1394749173","file3":"1394749102"},"map_files_photo_id_array":[{"photo_id":"1394749173","filename":"file5"},{"photo_id":"1394749067","filename":"file2"},{"photo_id":"1394749138","filename":"file4"},{"photo_id":"1394749029","filename":"file1"},{"photo_id":"1394748994","filename":"file0"},{"photo_id":"1394749102","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749029":["hashtag1","hashtag2"]},{"1394749067":["hashtag1","hashtag2"]},{"1394748994":["hashtag1","hashtag2"]},{"1394749138":["hashtag1","hashtag2"]},{"1394749102":["hashtag1","hashtag2"]},{"1394749173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749029, 1394749067, 1394748994, 1394749138, 1394749102, 1394749173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.479026079177856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:01:42.742457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_19_2514.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_23_3685.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_25_2650.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_28_2867.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_32_3646.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_37_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_19_2514.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_23_3685.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_25_2650.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_28_2867.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_32_3646.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_37_2546.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.6352543830871582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:02:03.120131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_19_2514.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_23_3685.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_25_2650.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_28_2867.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_32_3646.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_37_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_19_2514.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_23_3685.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_25_2650.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_28_2867.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_32_3646.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_37_2546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749281","1394749274","1394749273","1394749276","1394749279","1394749272"],"photo_ids_order":["1394749272","1394749273","1394749274","1394749276","1394749279","1394749281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d77e16eb4ab42ec32fdcd49866956b3.jpg","text":"TemporaryFile(/tmp/multipartBody143602521060895575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301786918,"filename":"image_16112025_12_29_37_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd4a8eb150d4744d00ff895488c9dfa4.jpg","text":"TemporaryFile(/tmp/multipartBody3077177958049833752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301786918,"filename":"image_16112025_12_29_25_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50d13da44a44959cbd504ea8ddc349a5.jpg","text":"TemporaryFile(/tmp/multipartBody2556278407311455742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301786918,"filename":"image_16112025_12_29_23_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b7ec33a3c5bc9f45893e849568c57ad.jpg","text":"TemporaryFile(/tmp/multipartBody9135341552628350912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301786918,"filename":"image_16112025_12_29_28_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f55b1fb2871156000e6e4df2a7b7f828.jpg","text":"TemporaryFile(/tmp/multipartBody5456883833933257442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301786918,"filename":"image_16112025_12_29_32_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84f031fcfd8384020834a3ba1794bc4c.jpg","text":"TemporaryFile(/tmp/multipartBody5699006770560562438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301786918,"filename":"image_16112025_12_29_19_2514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749274","file1":"1394749273","file0":"1394749272","file4":"1394749279","file5":"1394749281","file3":"1394749276"},"map_files_photo_id_array":[{"photo_id":"1394749281","filename":"file5"},{"photo_id":"1394749274","filename":"file2"},{"photo_id":"1394749279","filename":"file4"},{"photo_id":"1394749273","filename":"file1"},{"photo_id":"1394749272","filename":"file0"},{"photo_id":"1394749276","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749281":["hashtag1","hashtag2"]},{"1394749274":["hashtag1","hashtag2"]},{"1394749273":["hashtag1","hashtag2"]},{"1394749276":["hashtag1","hashtag2"]},{"1394749279":["hashtag1","hashtag2"]},{"1394749272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749281, 1394749274, 1394749273, 1394749276, 1394749279, 1394749272)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.291441679000854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:03:02.731639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_41_3640.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_43_2681.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_46_2691.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_49_2893.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_52_3601.jpg', '/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_55_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_41_3640.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_43_2681.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_46_2691.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_49_2893.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_52_3601.jpg
/home/pi/Desktop/images/16112025/12/29/image_16112025_12_29_55_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749289","1394749292","1394749288","1394749296","1394749290","1394749287"],"photo_ids_order":["1394749287","1394749288","1394749289","1394749290","1394749292","1394749296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b01016c4d4cdd9923c740bb921cf0ab.jpg","text":"TemporaryFile(/tmp/multipartBody7374487182800429057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301843455,"filename":"image_16112025_12_29_46_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73b7e9c1b433015b5fe5be704542506b.jpg","text":"TemporaryFile(/tmp/multipartBody70789575875559324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301843455,"filename":"image_16112025_12_29_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/11/16/c6ca5a9e779eaa859a3c08d00f014535.jpg","text":"TemporaryFile(/tmp/multipartBody7061611593925131694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301843455,"filename":"image_16112025_12_29_43_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09d512da57c7c5031f5f99f56bedb477.jpg","text":"TemporaryFile(/tmp/multipartBody4774861529091562244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301843455,"filename":"image_16112025_12_29_55_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/979d8062e4bfa06723fbff192a862c58.jpg","text":"TemporaryFile(/tmp/multipartBody2849134331079996947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301843455,"filename":"image_16112025_12_29_49_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f932e8ae1fef7b05dc4500aa519c041.jpg","text":"TemporaryFile(/tmp/multipartBody7171302955156094934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301843455,"filename":"image_16112025_12_29_41_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749289","file1":"1394749288","file0":"1394749287","file4":"1394749292","file5":"1394749296","file3":"1394749290"},"map_files_photo_id_array":[{"photo_id":"1394749296","filename":"file5"},{"photo_id":"1394749289","filename":"file2"},{"photo_id":"1394749292","filename":"file4"},{"photo_id":"1394749288","filename":"file1"},{"photo_id":"1394749287","filename":"file0"},{"photo_id":"1394749290","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749289":["hashtag1","hashtag2"]},{"1394749292":["hashtag1","hashtag2"]},{"1394749288":["hashtag1","hashtag2"]},{"1394749296":["hashtag1","hashtag2"]},{"1394749290":["hashtag1","hashtag2"]},{"1394749287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749289, 1394749292, 1394749288, 1394749296, 1394749290, 1394749287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.018787145614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:03:42.238837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_10_3600.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_13_2841.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_16_2616.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_20_3658.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_22_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_07_3011.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_10_3600.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_13_2841.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_16_2616.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_20_3658.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_22_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749308","1394749307","1394749310","1394749306","1394749309","1394749303"],"photo_ids_order":["1394749303","1394749306","1394749307","1394749308","1394749309","1394749310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bf13561b91ddea263bcadab4c086f76.jpg","text":"TemporaryFile(/tmp/multipartBody7220991351855743569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301882886,"filename":"image_16112025_12_31_16_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a55782a7ed9a59f6a8716c83df0a0ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3593275910590207046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301882886,"filename":"image_16112025_12_31_13_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5278f75fd22536205df932ae2710fb93.jpg","text":"TemporaryFile(/tmp/multipartBody6344722873463104264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301882886,"filename":"image_16112025_12_31_22_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a66068dc5aff53046464efbd8c2d4fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8454737732750818086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301882886,"filename":"image_16112025_12_31_10_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab4518a65cd320cdee0541b3a2fc942f.jpg","text":"TemporaryFile(/tmp/multipartBody3163183247087422928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301882886,"filename":"image_16112025_12_31_20_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4183bc78e2bfe57f345e221aabb6f66.jpg","text":"TemporaryFile(/tmp/multipartBody5800268879430638930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301882886,"filename":"image_16112025_12_31_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749307","file1":"1394749306","file0":"1394749303","file4":"1394749309","file5":"1394749310","file3":"1394749308"},"map_files_photo_id_array":[{"photo_id":"1394749310","filename":"file5"},{"photo_id":"1394749307","filename":"file2"},{"photo_id":"1394749309","filename":"file4"},{"photo_id":"1394749306","filename":"file1"},{"photo_id":"1394749303","filename":"file0"},{"photo_id":"1394749308","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749308":["hashtag1","hashtag2"]},{"1394749307":["hashtag1","hashtag2"]},{"1394749310":["hashtag1","hashtag2"]},{"1394749306":["hashtag1","hashtag2"]},{"1394749309":["hashtag1","hashtag2"]},{"1394749303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749308, 1394749307, 1394749310, 1394749306, 1394749309, 1394749303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.343507289886475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:04:22.448089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_25_2812.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_29_3591.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_31_2570.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_34_2613.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_37_3637.jpg', '/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_40_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_25_2812.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_29_3591.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_31_2570.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_34_2613.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_37_3637.jpg
/home/pi/Desktop/images/16112025/12/31/image_16112025_12_31_40_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749320","1394749317","1394749314","1394749316","1394749319","1394749318"],"photo_ids_order":["1394749314","1394749316","1394749317","1394749318","1394749319","1394749320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3606e383dbb2bdf08d953c4aa78ad85.jpg","text":"TemporaryFile(/tmp/multipartBody297485289599537194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301923121,"filename":"image_16112025_12_31_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/656672742361ed9819a533da122f6de4.jpg","text":"TemporaryFile(/tmp/multipartBody434498510188376269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301923121,"filename":"image_16112025_12_31_31_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d34289e539d7c3c1450e4d1a8edff600.jpg","text":"TemporaryFile(/tmp/multipartBody4998940307852735641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301923121,"filename":"image_16112025_12_31_25_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad13a70c4fe175be05a0e70c0f739753.jpg","text":"TemporaryFile(/tmp/multipartBody3331752259488869816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301923121,"filename":"image_16112025_12_31_29_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92dac0cb9f12e480ca74c9fece74abad.jpg","text":"TemporaryFile(/tmp/multipartBody2127209225869332502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301923121,"filename":"image_16112025_12_31_37_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97dbf39b44884d7b2b953134cd355fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6203556221015664189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301923121,"filename":"image_16112025_12_31_34_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749317","file1":"1394749316","file0":"1394749314","file4":"1394749319","file5":"1394749320","file3":"1394749318"},"map_files_photo_id_array":[{"photo_id":"1394749320","filename":"file5"},{"photo_id":"1394749317","filename":"file2"},{"photo_id":"1394749319","filename":"file4"},{"photo_id":"1394749316","filename":"file1"},{"photo_id":"1394749314","filename":"file0"},{"photo_id":"1394749318","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749320":["hashtag1","hashtag2"]},{"1394749317":["hashtag1","hashtag2"]},{"1394749314":["hashtag1","hashtag2"]},{"1394749316":["hashtag1","hashtag2"]},{"1394749319":["hashtag1","hashtag2"]},{"1394749318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749320, 1394749317, 1394749314, 1394749316, 1394749319, 1394749318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01212477684021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:05:03.457459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_10_3636.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_13_2579.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_16_2937.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_20_3678.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_22_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_07_3011.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_10_3636.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_13_2579.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_16_2937.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_20_3678.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_22_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749323","1394749325","1394749322","1394749324","1394749327","1394749321"],"photo_ids_order":["1394749321","1394749322","1394749323","1394749324","1394749325","1394749327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/517ca4ec3c83330cf4a102c3852d3b80.jpg","text":"TemporaryFile(/tmp/multipartBody3672865360268510074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301964190,"filename":"image_16112025_12_33_13_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87c8568c235740422ef1307b6e42788b.jpg","text":"TemporaryFile(/tmp/multipartBody8128481355757869529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301964190,"filename":"image_16112025_12_33_20_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8522595e2c804e859989602b152a744.jpg","text":"TemporaryFile(/tmp/multipartBody9040453420545354064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301964190,"filename":"image_16112025_12_33_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/11/16/4628da2ace354d421512c9107c461934.jpg","text":"TemporaryFile(/tmp/multipartBody756598360444644609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301964190,"filename":"image_16112025_12_33_16_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de0117aa9d9036e81c04e985cf1b0f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6804492998373101576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301964190,"filename":"image_16112025_12_33_22_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/973634c0c786f74eed3950b234b0c567.jpg","text":"TemporaryFile(/tmp/multipartBody7162516566857785506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763301964190,"filename":"image_16112025_12_33_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749323","file1":"1394749322","file0":"1394749321","file4":"1394749325","file5":"1394749327","file3":"1394749324"},"map_files_photo_id_array":[{"photo_id":"1394749327","filename":"file5"},{"photo_id":"1394749323","filename":"file2"},{"photo_id":"1394749325","filename":"file4"},{"photo_id":"1394749322","filename":"file1"},{"photo_id":"1394749321","filename":"file0"},{"photo_id":"1394749324","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749323":["hashtag1","hashtag2"]},{"1394749325":["hashtag1","hashtag2"]},{"1394749322":["hashtag1","hashtag2"]},{"1394749324":["hashtag1","hashtag2"]},{"1394749327":["hashtag1","hashtag2"]},{"1394749321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749323, 1394749325, 1394749322, 1394749324, 1394749327, 1394749321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55424356460571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:05:42.877630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_25_2552.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_29_3694.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_31_2609.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_34_2755.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_38_3609.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_40_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_25_2552.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_29_3694.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_31_2609.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_34_2755.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_38_3609.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_40_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749335","1394749332","1394749331","1394749334","1394749330","1394749333"],"photo_ids_order":["1394749330","1394749331","1394749332","1394749333","1394749334","1394749335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f928836aa461c360b45170c0c874326.jpg","text":"TemporaryFile(/tmp/multipartBody5301207540264396550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302003526,"filename":"image_16112025_12_33_40_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f5542432f6ee8329db2c8c3ed67413e.jpg","text":"TemporaryFile(/tmp/multipartBody1520739555452593491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302003526,"filename":"image_16112025_12_33_31_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05e993a3af55be595cff173320787d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4105919673912710842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302003526,"filename":"image_16112025_12_33_29_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d6fa4f31c37d5b756a1bc87a6b48803.jpg","text":"TemporaryFile(/tmp/multipartBody2201657529170849822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302003526,"filename":"image_16112025_12_33_38_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79194274f56999afd70414b589eff24c.jpg","text":"TemporaryFile(/tmp/multipartBody2538908464082124289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302003526,"filename":"image_16112025_12_33_25_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb6dc4cbd2d14b2a415f586712b17374.jpg","text":"TemporaryFile(/tmp/multipartBody7906008878470844887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302003526,"filename":"image_16112025_12_33_34_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749332","file1":"1394749331","file0":"1394749330","file4":"1394749334","file5":"1394749335","file3":"1394749333"},"map_files_photo_id_array":[{"photo_id":"1394749335","filename":"file5"},{"photo_id":"1394749332","filename":"file2"},{"photo_id":"1394749334","filename":"file4"},{"photo_id":"1394749331","filename":"file1"},{"photo_id":"1394749330","filename":"file0"},{"photo_id":"1394749333","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749335":["hashtag1","hashtag2"]},{"1394749332":["hashtag1","hashtag2"]},{"1394749331":["hashtag1","hashtag2"]},{"1394749334":["hashtag1","hashtag2"]},{"1394749330":["hashtag1","hashtag2"]},{"1394749333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749335, 1394749332, 1394749331, 1394749334, 1394749330, 1394749333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.060195207595825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:06:22.180580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_43_2711.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_47_3635.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_49_2588.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_52_2619.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_10_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_43_2711.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_47_3635.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_49_2588.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_52_2619.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_07_3011.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_10_3705.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.6702234745025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:06:42.084509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_43_2711.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_47_3635.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_49_2588.jpg', '/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_52_2619.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_10_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_43_2711.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_47_3635.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_49_2588.jpg
/home/pi/Desktop/images/16112025/12/33/image_16112025_12_33_52_2619.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_07_3011.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_10_3705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749353","1394749347","1394749350","1394749352","1394749349","1394749351"],"photo_ids_order":["1394749347","1394749349","1394749350","1394749351","1394749352","1394749353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26b1cc5ec10b127412664231b5b41271.jpg","text":"TemporaryFile(/tmp/multipartBody4092713214637778373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302062726,"filename":"image_16112025_12_35_10_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8515dedf2fd4cbbd2abe2e2cac320ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5987648566978709754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302062726,"filename":"image_16112025_12_33_43_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c529ca9786d3d168a9538b6b2123cc6.jpg","text":"TemporaryFile(/tmp/multipartBody639269019577241162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302062726,"filename":"image_16112025_12_33_49_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3751b5b20765f19a3b8a1f7454ade37f.jpg","text":"TemporaryFile(/tmp/multipartBody5472070931540791288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302062726,"filename":"image_16112025_12_35_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/11/16/0ebc187533e461facb87a312c63d0177.jpg","text":"TemporaryFile(/tmp/multipartBody6019112030531208213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302062726,"filename":"image_16112025_12_33_47_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29697b5403003626738392b7449c9506.jpg","text":"TemporaryFile(/tmp/multipartBody3906700818096564591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302062726,"filename":"image_16112025_12_33_52_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749350","file1":"1394749349","file0":"1394749347","file4":"1394749352","file5":"1394749353","file3":"1394749351"},"map_files_photo_id_array":[{"photo_id":"1394749353","filename":"file5"},{"photo_id":"1394749350","filename":"file2"},{"photo_id":"1394749352","filename":"file4"},{"photo_id":"1394749349","filename":"file1"},{"photo_id":"1394749347","filename":"file0"},{"photo_id":"1394749351","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749353":["hashtag1","hashtag2"]},{"1394749347":["hashtag1","hashtag2"]},{"1394749350":["hashtag1","hashtag2"]},{"1394749352":["hashtag1","hashtag2"]},{"1394749349":["hashtag1","hashtag2"]},{"1394749351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749353, 1394749347, 1394749350, 1394749352, 1394749349, 1394749351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44093060493469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:07:22.258459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_13_2799.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_16_2735.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_20_3651.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_22_2799.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_25_2675.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_28_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_13_2799.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_16_2735.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_20_3651.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_22_2799.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_25_2675.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_28_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749361","1394749364","1394749367","1394749363","1394749365","1394749359"],"photo_ids_order":["1394749359","1394749361","1394749363","1394749364","1394749365","1394749367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66660e51aea59946511a740432a2c88a.jpg","text":"TemporaryFile(/tmp/multipartBody3816666645651926045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302102889,"filename":"image_16112025_12_35_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/11/16/2ab83e94139fadba741fcaf037d26586.jpg","text":"TemporaryFile(/tmp/multipartBody4650167369596147466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302102889,"filename":"image_16112025_12_35_22_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66538fddc0dc4e437201176471546315.jpg","text":"TemporaryFile(/tmp/multipartBody4347916752558164854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302102889,"filename":"image_16112025_12_35_28_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e6946d4fe8cadf4686d8612713d32e8.jpg","text":"TemporaryFile(/tmp/multipartBody9107500177479691101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302102889,"filename":"image_16112025_12_35_20_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bca17385d51e385bd08333b435a84092.jpg","text":"TemporaryFile(/tmp/multipartBody3415088075174829452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302102889,"filename":"image_16112025_12_35_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/11/16/7ac378dae8a0078b509bd5dcb234a092.jpg","text":"TemporaryFile(/tmp/multipartBody2711055007472075886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302102889,"filename":"image_16112025_12_35_13_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749363","file1":"1394749361","file0":"1394749359","file4":"1394749365","file5":"1394749367","file3":"1394749364"},"map_files_photo_id_array":[{"photo_id":"1394749367","filename":"file5"},{"photo_id":"1394749363","filename":"file2"},{"photo_id":"1394749365","filename":"file4"},{"photo_id":"1394749361","filename":"file1"},{"photo_id":"1394749359","filename":"file0"},{"photo_id":"1394749364","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749361":["hashtag1","hashtag2"]},{"1394749364":["hashtag1","hashtag2"]},{"1394749367":["hashtag1","hashtag2"]},{"1394749363":["hashtag1","hashtag2"]},{"1394749365":["hashtag1","hashtag2"]},{"1394749359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749361, 1394749364, 1394749367, 1394749363, 1394749365, 1394749359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02595520019531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:08:03.053972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_31_3656.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_34_2751.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_37_2597.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_40_3603.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_43_2663.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_46_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_31_3656.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_34_2751.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_37_2597.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_40_3603.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_43_2663.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_46_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749370","1394749373","1394749372","1394749375","1394749369","1394749371"],"photo_ids_order":["1394749369","1394749370","1394749371","1394749372","1394749373","1394749375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55c3c869f34397b3e556922409134a64.jpg","text":"TemporaryFile(/tmp/multipartBody1982730303465141927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302143771,"filename":"image_16112025_12_35_34_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/528e7cc5bf0e72f8741489594d75e53a.jpg","text":"TemporaryFile(/tmp/multipartBody1381378267635996293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302143771,"filename":"image_16112025_12_35_43_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2af39f465f57725f3d57be3eb292dc64.jpg","text":"TemporaryFile(/tmp/multipartBody1779462031100717229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302143771,"filename":"image_16112025_12_35_40_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70764254175c57f37ffcb433272c8a62.jpg","text":"TemporaryFile(/tmp/multipartBody2972068823490463318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302143771,"filename":"image_16112025_12_35_46_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3daeeaa670ffc3e3c5d84fb39bbbdfe.jpg","text":"TemporaryFile(/tmp/multipartBody3197052630892178575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302143771,"filename":"image_16112025_12_35_31_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d729db9fb0d3013a5e7a28ebb596cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7676253737943097369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302143771,"filename":"image_16112025_12_35_37_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749371","file1":"1394749370","file0":"1394749369","file4":"1394749373","file5":"1394749375","file3":"1394749372"},"map_files_photo_id_array":[{"photo_id":"1394749375","filename":"file5"},{"photo_id":"1394749371","filename":"file2"},{"photo_id":"1394749373","filename":"file4"},{"photo_id":"1394749370","filename":"file1"},{"photo_id":"1394749369","filename":"file0"},{"photo_id":"1394749372","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749370":["hashtag1","hashtag2"]},{"1394749373":["hashtag1","hashtag2"]},{"1394749372":["hashtag1","hashtag2"]},{"1394749375":["hashtag1","hashtag2"]},{"1394749369":["hashtag1","hashtag2"]},{"1394749371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749370, 1394749373, 1394749372, 1394749375, 1394749369, 1394749371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34359335899353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:08:42.526700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_49_3717.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_52_2589.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_55_3547.jpg', '/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_58_2719.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_10_3615.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_13_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_49_3717.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_52_2589.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_55_3547.jpg
/home/pi/Desktop/images/16112025/12/35/image_16112025_12_35_58_2719.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_10_3615.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_13_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749380","1394749382","1394749376","1394749379","1394749378","1394749377"],"photo_ids_order":["1394749376","1394749377","1394749378","1394749379","1394749380","1394749382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4aaf203c8bd39ce23d53a93e79c59462.jpg","text":"TemporaryFile(/tmp/multipartBody143465774844921894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302183158,"filename":"image_16112025_12_37_10_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef361e3411af23a224179478d0ba03f4.jpg","text":"TemporaryFile(/tmp/multipartBody2840252729926200514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302183158,"filename":"image_16112025_12_37_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/11/16/7cba544bb338b59a2704f7daa7033b27.jpg","text":"TemporaryFile(/tmp/multipartBody4684085932077207488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302183158,"filename":"image_16112025_12_35_49_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8a97672179317cb15d46c67c5e92de7.jpg","text":"TemporaryFile(/tmp/multipartBody3975336920085797456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302183158,"filename":"image_16112025_12_35_58_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/641b624fbd874fa7230fdb5767c5a958.jpg","text":"TemporaryFile(/tmp/multipartBody4417893741771088438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302183158,"filename":"image_16112025_12_35_55_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f327f67d87bd2e53419f0e07ac0e2f73.jpg","text":"TemporaryFile(/tmp/multipartBody6025765770770730123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302183158,"filename":"image_16112025_12_35_52_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749378","file1":"1394749377","file0":"1394749376","file4":"1394749380","file5":"1394749382","file3":"1394749379"},"map_files_photo_id_array":[{"photo_id":"1394749382","filename":"file5"},{"photo_id":"1394749378","filename":"file2"},{"photo_id":"1394749380","filename":"file4"},{"photo_id":"1394749377","filename":"file1"},{"photo_id":"1394749376","filename":"file0"},{"photo_id":"1394749379","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749380":["hashtag1","hashtag2"]},{"1394749382":["hashtag1","hashtag2"]},{"1394749376":["hashtag1","hashtag2"]},{"1394749379":["hashtag1","hashtag2"]},{"1394749378":["hashtag1","hashtag2"]},{"1394749377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749380, 1394749382, 1394749376, 1394749379, 1394749378, 1394749377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.089439153671265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:09:22.766943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_17_3655.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_19_2626.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_22_2674.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_25_3627.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_28_2758.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_31_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_17_3655.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_19_2626.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_22_2674.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_25_3627.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_28_2758.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_31_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749389","1394749391","1394749393","1394749396","1394749395","1394749398"],"photo_ids_order":["1394749389","1394749391","1394749393","1394749395","1394749396","1394749398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c88718267c5ce5cb0557222c0f0d12e1.jpg","text":"TemporaryFile(/tmp/multipartBody1649190851052778898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302223405,"filename":"image_16112025_12_37_17_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11f5a9d5367341295f2f261f4720c426.jpg","text":"TemporaryFile(/tmp/multipartBody6687907017027531306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302223405,"filename":"image_16112025_12_37_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/11/16/756771634df3f6704ace9fb03720139e.jpg","text":"TemporaryFile(/tmp/multipartBody3225449668442084366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302223405,"filename":"image_16112025_12_37_22_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bc5c5dc5b2913b0e90bd412aa28236e.jpg","text":"TemporaryFile(/tmp/multipartBody1134941236894148964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302223405,"filename":"image_16112025_12_37_28_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b8a73e8e5f03d8773c061f267a16ede.jpg","text":"TemporaryFile(/tmp/multipartBody57136946991975570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302223405,"filename":"image_16112025_12_37_25_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d84707468d2d584074e4ce8e8cedec4.jpg","text":"TemporaryFile(/tmp/multipartBody2607264611318243678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302223405,"filename":"image_16112025_12_37_31_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749393","file1":"1394749391","file0":"1394749389","file4":"1394749396","file5":"1394749398","file3":"1394749395"},"map_files_photo_id_array":[{"photo_id":"1394749398","filename":"file5"},{"photo_id":"1394749393","filename":"file2"},{"photo_id":"1394749396","filename":"file4"},{"photo_id":"1394749391","filename":"file1"},{"photo_id":"1394749389","filename":"file0"},{"photo_id":"1394749395","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749389":["hashtag1","hashtag2"]},{"1394749391":["hashtag1","hashtag2"]},{"1394749393":["hashtag1","hashtag2"]},{"1394749396":["hashtag1","hashtag2"]},{"1394749395":["hashtag1","hashtag2"]},{"1394749398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749389, 1394749391, 1394749393, 1394749396, 1394749395, 1394749398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23843502998352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:10:02.485931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_34_2799.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_37_3637.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_41_3422.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_43_2742.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_46_2742.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_49_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_34_2799.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_37_3637.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_41_3422.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_43_2742.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_46_2742.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_49_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749401","1394749407","1394749400","1394749403","1394749405","1394749402"],"photo_ids_order":["1394749400","1394749401","1394749402","1394749403","1394749405","1394749407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57f0711eb3d43fc17074e206f2218f96.jpg","text":"TemporaryFile(/tmp/multipartBody1411923469390917812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302263192,"filename":"image_16112025_12_37_37_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cba68f3ac3b57d0f489bea4a8a474af.jpg","text":"TemporaryFile(/tmp/multipartBody2205546208749487846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302263192,"filename":"image_16112025_12_37_49_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe22bd276db8e370042d1007bb30a706.jpg","text":"TemporaryFile(/tmp/multipartBody5195261515445117328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302263192,"filename":"image_16112025_12_37_34_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b7fbf8bc862bc076d95bbbe70025f6a.jpg","text":"TemporaryFile(/tmp/multipartBody2324092498199210953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302263192,"filename":"image_16112025_12_37_43_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4864522835f8387f8ae5be5d4e8cec8.jpg","text":"TemporaryFile(/tmp/multipartBody3588691195217438523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302263192,"filename":"image_16112025_12_37_46_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bff92ad80d1e0017302b0094283eb03.jpg","text":"TemporaryFile(/tmp/multipartBody3906906303755200646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302263192,"filename":"image_16112025_12_37_41_3422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749402","file1":"1394749401","file0":"1394749400","file4":"1394749405","file5":"1394749407","file3":"1394749403"},"map_files_photo_id_array":[{"photo_id":"1394749407","filename":"file5"},{"photo_id":"1394749402","filename":"file2"},{"photo_id":"1394749405","filename":"file4"},{"photo_id":"1394749401","filename":"file1"},{"photo_id":"1394749400","filename":"file0"},{"photo_id":"1394749403","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749401":["hashtag1","hashtag2"]},{"1394749407":["hashtag1","hashtag2"]},{"1394749400":["hashtag1","hashtag2"]},{"1394749403":["hashtag1","hashtag2"]},{"1394749405":["hashtag1","hashtag2"]},{"1394749402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749401, 1394749407, 1394749400, 1394749403, 1394749405, 1394749402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28731894493103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:10:42.076996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_52_3611.jpg', '/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_55_2693.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_10_3602.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_13_2650.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_17_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_52_3611.jpg
/home/pi/Desktop/images/16112025/12/37/image_16112025_12_37_55_2693.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_07_3011.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_10_3602.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_13_2650.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_17_3563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749413","1394749416","1394749415","1394749418","1394749417","1394749411"],"photo_ids_order":["1394749411","1394749413","1394749415","1394749416","1394749417","1394749418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/544a9882d7091b7f5e72fa925a38a322.jpg","text":"TemporaryFile(/tmp/multipartBody4680023247777120294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302302760,"filename":"image_16112025_12_37_55_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcecb97734ed0a4e1693ece5e4fba743.jpg","text":"TemporaryFile(/tmp/multipartBody2547303469238289922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302302760,"filename":"image_16112025_12_39_10_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a7257833b65d724e1ba08d10ecd23a5.jpg","text":"TemporaryFile(/tmp/multipartBody2903445611631185903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302302760,"filename":"image_16112025_12_39_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/11/16/03cf296c2eb53e553db7ef75ba4db3d6.jpg","text":"TemporaryFile(/tmp/multipartBody920689638310211011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302302760,"filename":"image_16112025_12_39_17_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91198c698c7f31bf149c231e5da92995.jpg","text":"TemporaryFile(/tmp/multipartBody493416153579910386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302302760,"filename":"image_16112025_12_39_13_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b80ba19d9908a68b3746e24c601447d0.jpg","text":"TemporaryFile(/tmp/multipartBody1007663512397561311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302302760,"filename":"image_16112025_12_37_52_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749415","file1":"1394749413","file0":"1394749411","file4":"1394749417","file5":"1394749418","file3":"1394749416"},"map_files_photo_id_array":[{"photo_id":"1394749418","filename":"file5"},{"photo_id":"1394749415","filename":"file2"},{"photo_id":"1394749417","filename":"file4"},{"photo_id":"1394749413","filename":"file1"},{"photo_id":"1394749411","filename":"file0"},{"photo_id":"1394749416","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749413":["hashtag1","hashtag2"]},{"1394749416":["hashtag1","hashtag2"]},{"1394749415":["hashtag1","hashtag2"]},{"1394749418":["hashtag1","hashtag2"]},{"1394749417":["hashtag1","hashtag2"]},{"1394749411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749413, 1394749416, 1394749415, 1394749418, 1394749417, 1394749411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.528321504592896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:11:22.317667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_19_2684.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_22_2787.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_26_3581.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_28_2766.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_31_2599.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_34_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_19_2684.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_22_2787.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_26_3581.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_28_2766.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_31_2599.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_34_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749431","1394749428","1394749425","1394749430","1394749435","1394749432"],"photo_ids_order":["1394749425","1394749428","1394749430","1394749431","1394749432","1394749435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/394c802f979f2549c40b0d582bdb12ef.jpg","text":"TemporaryFile(/tmp/multipartBody3441888105524805530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302343001,"filename":"image_16112025_12_39_28_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9938b0015e40b9c0dd57c1bc4eec98b.jpg","text":"TemporaryFile(/tmp/multipartBody2931140032530461266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302343001,"filename":"image_16112025_12_39_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/11/16/1d1f27166bda10d01491ae2f10e52e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7463464164322021344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302343001,"filename":"image_16112025_12_39_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/11/16/205234cdab16066b358381d4cbfd8322.jpg","text":"TemporaryFile(/tmp/multipartBody4468915495759477251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302343001,"filename":"image_16112025_12_39_26_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f133d10be64d4689fa2749cb15e9e877.jpg","text":"TemporaryFile(/tmp/multipartBody5522787841839472234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302343001,"filename":"image_16112025_12_39_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/11/16/24fa86d5f8bdcf421cb9ffe7a35a50de.jpg","text":"TemporaryFile(/tmp/multipartBody2977179826067042663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302343001,"filename":"image_16112025_12_39_31_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749430","file1":"1394749428","file0":"1394749425","file4":"1394749432","file5":"1394749435","file3":"1394749431"},"map_files_photo_id_array":[{"photo_id":"1394749435","filename":"file5"},{"photo_id":"1394749430","filename":"file2"},{"photo_id":"1394749432","filename":"file4"},{"photo_id":"1394749428","filename":"file1"},{"photo_id":"1394749425","filename":"file0"},{"photo_id":"1394749431","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749431":["hashtag1","hashtag2"]},{"1394749428":["hashtag1","hashtag2"]},{"1394749425":["hashtag1","hashtag2"]},{"1394749430":["hashtag1","hashtag2"]},{"1394749435":["hashtag1","hashtag2"]},{"1394749432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749431, 1394749428, 1394749425, 1394749430, 1394749435, 1394749432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98317313194275 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-11-16 15:12:23.018627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_37_3739.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_46_3561.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_52_2654.jpg', '/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_55_3549.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_11_3852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_37_3739.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_46_3561.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_52_2654.jpg
/home/pi/Desktop/images/16112025/12/39/image_16112025_12_39_55_3549.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_07_3011.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_11_3852.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749452","1394749449","1394749440","1394749443","1394749444","1394749447"],"photo_ids_order":["1394749440","1394749443","1394749444","1394749447","1394749449","1394749452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67df1821bb59aa6f8b4832b6c793518d.jpg","text":"TemporaryFile(/tmp/multipartBody8515514035140093744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302403672,"filename":"image_16112025_12_41_11_3852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6b22a588408adddbe03c80013b2130c.jpg","text":"TemporaryFile(/tmp/multipartBody8458794348859783063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302403672,"filename":"image_16112025_12_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/11/16/623196b7b2b086fef0710a1ead988434.jpg","text":"TemporaryFile(/tmp/multipartBody1594599517664001117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302403672,"filename":"image_16112025_12_39_37_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a6daa5065c04133b8bda162fe80f4574.jpg","text":"TemporaryFile(/tmp/multipartBody2166386583761327512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302403672,"filename":"image_16112025_12_39_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/11/16/e6618315861843c52fa84feb35f8bdad.jpg","text":"TemporaryFile(/tmp/multipartBody3485714650061886960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302403672,"filename":"image_16112025_12_39_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/11/16/e0c9d2290aea896d913dea63b52cba7b.jpg","text":"TemporaryFile(/tmp/multipartBody5945384950249313086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302403672,"filename":"image_16112025_12_39_55_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749444","file1":"1394749443","file0":"1394749440","file4":"1394749449","file5":"1394749452","file3":"1394749447"},"map_files_photo_id_array":[{"photo_id":"1394749452","filename":"file5"},{"photo_id":"1394749444","filename":"file2"},{"photo_id":"1394749449","filename":"file4"},{"photo_id":"1394749443","filename":"file1"},{"photo_id":"1394749440","filename":"file0"},{"photo_id":"1394749447","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749452":["hashtag1","hashtag2"]},{"1394749449":["hashtag1","hashtag2"]},{"1394749440":["hashtag1","hashtag2"]},{"1394749443":["hashtag1","hashtag2"]},{"1394749444":["hashtag1","hashtag2"]},{"1394749447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749452, 1394749449, 1394749440, 1394749443, 1394749444, 1394749447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54527020454407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:13:02.942935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_13_2646.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_16_2862.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_19_2827.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_23_3589.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_25_2747.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_28_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_13_2646.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_16_2862.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_19_2827.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_23_3589.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_25_2747.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_28_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749455","1394749457","1394749466","1394749454","1394749462","1394749459"],"photo_ids_order":["1394749454","1394749455","1394749457","1394749459","1394749462","1394749466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f98ce046249e8e5d64d76099cc56e44.jpg","text":"TemporaryFile(/tmp/multipartBody8634985733714013182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302443667,"filename":"image_16112025_12_41_16_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9e3c61995b8abcc6ade5a2a411c1c23.jpg","text":"TemporaryFile(/tmp/multipartBody7644183797882287517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302443667,"filename":"image_16112025_12_41_19_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90d4f265877e91877b949323cfe917f8.jpg","text":"TemporaryFile(/tmp/multipartBody5225878651705260530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302443667,"filename":"image_16112025_12_41_28_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b77135f1b259303ad074855bf4bf4b4.jpg","text":"TemporaryFile(/tmp/multipartBody6196928264447567718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302443667,"filename":"image_16112025_12_41_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/11/16/f6932b40d0e0655aa8decc9fa2568db2.jpg","text":"TemporaryFile(/tmp/multipartBody8808797414236393517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302443667,"filename":"image_16112025_12_41_25_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de6cd51e1b314909f908f1f7b98f4de0.jpg","text":"TemporaryFile(/tmp/multipartBody6958125183068865642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302443667,"filename":"image_16112025_12_41_23_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749457","file1":"1394749455","file0":"1394749454","file4":"1394749462","file5":"1394749466","file3":"1394749459"},"map_files_photo_id_array":[{"photo_id":"1394749466","filename":"file5"},{"photo_id":"1394749457","filename":"file2"},{"photo_id":"1394749462","filename":"file4"},{"photo_id":"1394749455","filename":"file1"},{"photo_id":"1394749454","filename":"file0"},{"photo_id":"1394749459","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749455":["hashtag1","hashtag2"]},{"1394749457":["hashtag1","hashtag2"]},{"1394749466":["hashtag1","hashtag2"]},{"1394749454":["hashtag1","hashtag2"]},{"1394749462":["hashtag1","hashtag2"]},{"1394749459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749455, 1394749457, 1394749466, 1394749454, 1394749462, 1394749459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.489930629730225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:13:42.147067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_31_2708.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_34_3647.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_37_2550.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_41_3686.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_43_2660.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_46_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_31_2708.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_34_3647.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_37_2550.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_41_3686.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_43_2660.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_46_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749478","1394749471","1394749474","1394749477","1394749476","1394749479"],"photo_ids_order":["1394749471","1394749474","1394749476","1394749477","1394749478","1394749479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/434645ee1aa1fd8bf9920c4b3ad96935.jpg","text":"TemporaryFile(/tmp/multipartBody5390114364250143360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302482833,"filename":"image_16112025_12_41_43_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38fe75e181298efa0295808aa2268a99.jpg","text":"TemporaryFile(/tmp/multipartBody5635106105155801326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302482833,"filename":"image_16112025_12_41_31_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04978807897062f8556320715ed0e422.jpg","text":"TemporaryFile(/tmp/multipartBody3139034334980752756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302482833,"filename":"image_16112025_12_41_34_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cc05f40cd42a0d5eaa506a050857356.jpg","text":"TemporaryFile(/tmp/multipartBody1716779343835141654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302482833,"filename":"image_16112025_12_41_41_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad35a624fef14eadded33644c7586017.jpg","text":"TemporaryFile(/tmp/multipartBody6096944915094449093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302482833,"filename":"image_16112025_12_41_37_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47a5bb4208a73284a5cac1d8d854308a.jpg","text":"TemporaryFile(/tmp/multipartBody6014278405664153355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302482833,"filename":"image_16112025_12_41_46_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749476","file1":"1394749474","file0":"1394749471","file4":"1394749478","file5":"1394749479","file3":"1394749477"},"map_files_photo_id_array":[{"photo_id":"1394749479","filename":"file5"},{"photo_id":"1394749476","filename":"file2"},{"photo_id":"1394749478","filename":"file4"},{"photo_id":"1394749474","filename":"file1"},{"photo_id":"1394749471","filename":"file0"},{"photo_id":"1394749477","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749478":["hashtag1","hashtag2"]},{"1394749471":["hashtag1","hashtag2"]},{"1394749474":["hashtag1","hashtag2"]},{"1394749477":["hashtag1","hashtag2"]},{"1394749476":["hashtag1","hashtag2"]},{"1394749479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749478, 1394749471, 1394749474, 1394749477, 1394749476, 1394749479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78352665901184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:14:22.445974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_50_3714.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_52_2553.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_55_2736.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_58_3562.jpg', '/home/pi/Desktop/images/16112025/12/42/image_16112025_12_42_01_2739.jpg', '/home/pi/Desktop/images/16112025/12/42/image_16112025_12_42_04_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_50_3714.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_52_2553.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_55_2736.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_58_3562.jpg
/home/pi/Desktop/images/16112025/12/42/image_16112025_12_42_01_2739.jpg
/home/pi/Desktop/images/16112025/12/42/image_16112025_12_42_04_2597.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.5650496482849121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:14:42.347848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_50_3714.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_52_2553.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_55_2736.jpg', '/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_58_3562.jpg', '/home/pi/Desktop/images/16112025/12/42/image_16112025_12_42_01_2739.jpg', '/home/pi/Desktop/images/16112025/12/42/image_16112025_12_42_04_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_50_3714.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_52_2553.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_55_2736.jpg
/home/pi/Desktop/images/16112025/12/41/image_16112025_12_41_58_3562.jpg
/home/pi/Desktop/images/16112025/12/42/image_16112025_12_42_01_2739.jpg
/home/pi/Desktop/images/16112025/12/42/image_16112025_12_42_04_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1394749500","1394749503","1394749499","1394749505","1394749497","1394749501"],"photo_ids_order":["1394749497","1394749499","1394749500","1394749501","1394749503","1394749505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b079a190c6ad187a5471d09c3ec80c29.jpg","text":"TemporaryFile(/tmp/multipartBody3049315470137592189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302543044,"filename":"image_16112025_12_41_55_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/409176bf90e6b305aa7611b3dde5c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody959020211713638100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302543044,"filename":"image_16112025_12_42_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/11/16/96a27931fa9010922001c17c11bc8d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2135871750304023422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302543044,"filename":"image_16112025_12_41_52_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b3668abbafaf2babbe1e72ca476ad57.jpg","text":"TemporaryFile(/tmp/multipartBody4803366355415567884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302543044,"filename":"image_16112025_12_42_04_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c313d01122d33984322ee708c4b12d15.jpg","text":"TemporaryFile(/tmp/multipartBody5230048576980342009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302543044,"filename":"image_16112025_12_41_50_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/390d5793d183bcfd015fbd510bfe7e20.jpg","text":"TemporaryFile(/tmp/multipartBody2836933183217727491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302543044,"filename":"image_16112025_12_41_58_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749500","file1":"1394749499","file0":"1394749497","file4":"1394749503","file5":"1394749505","file3":"1394749501"},"map_files_photo_id_array":[{"photo_id":"1394749505","filename":"file5"},{"photo_id":"1394749500","filename":"file2"},{"photo_id":"1394749503","filename":"file4"},{"photo_id":"1394749499","filename":"file1"},{"photo_id":"1394749497","filename":"file0"},{"photo_id":"1394749501","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749500":["hashtag1","hashtag2"]},{"1394749503":["hashtag1","hashtag2"]},{"1394749499":["hashtag1","hashtag2"]},{"1394749505":["hashtag1","hashtag2"]},{"1394749497":["hashtag1","hashtag2"]},{"1394749501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749500, 1394749503, 1394749499, 1394749505, 1394749497, 1394749501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.05039072036743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:15:42.532404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_06_3017.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_10_3687.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_13_2662.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_16_3525.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_19_2551.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_21_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_06_3017.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_10_3687.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_13_2662.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_16_3525.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_19_2551.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_21_2666.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.6549875736236572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:16:05.214740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_06_3017.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_10_3687.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_13_2662.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_16_3525.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_19_2551.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_21_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_06_3017.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_10_3687.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_13_2662.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_16_3525.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_19_2551.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_21_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749530","1394749527","1394749523","1394749534","1394749537","1394749525"],"photo_ids_order":["1394749523","1394749525","1394749527","1394749530","1394749534","1394749537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d5825f56cc4a6fdf866d7050cc4a43a.jpg","text":"TemporaryFile(/tmp/multipartBody1114511550564117259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302625899,"filename":"image_16112025_12_43_16_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/add0d0eea408c8465d56a0319a127a74.jpg","text":"TemporaryFile(/tmp/multipartBody1383638810812250000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302625899,"filename":"image_16112025_12_43_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/11/16/503668cc982555199955d39c4f781684.jpg","text":"TemporaryFile(/tmp/multipartBody2340973566160953783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302625899,"filename":"image_16112025_12_43_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3202b4ae9327ce6e3f15f374e9b5a31e.jpg","text":"TemporaryFile(/tmp/multipartBody8481150018313573740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302625899,"filename":"image_16112025_12_43_19_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dddd48a648a34a128d6340a45854af9.jpg","text":"TemporaryFile(/tmp/multipartBody7074582095908715209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302625899,"filename":"image_16112025_12_43_21_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe786df301bf62db1cd4d4ddccd4325d.jpg","text":"TemporaryFile(/tmp/multipartBody7259430567067579887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302625899,"filename":"image_16112025_12_43_10_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749527","file1":"1394749525","file0":"1394749523","file4":"1394749534","file5":"1394749537","file3":"1394749530"},"map_files_photo_id_array":[{"photo_id":"1394749537","filename":"file5"},{"photo_id":"1394749527","filename":"file2"},{"photo_id":"1394749534","filename":"file4"},{"photo_id":"1394749525","filename":"file1"},{"photo_id":"1394749523","filename":"file0"},{"photo_id":"1394749530","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749530":["hashtag1","hashtag2"]},{"1394749527":["hashtag1","hashtag2"]},{"1394749523":["hashtag1","hashtag2"]},{"1394749534":["hashtag1","hashtag2"]},{"1394749537":["hashtag1","hashtag2"]},{"1394749525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749530, 1394749527, 1394749523, 1394749534, 1394749537, 1394749525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0394492149353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:16:44.834160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_25_3720.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_28_2607.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_30_2685.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_33_2848.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_37_3520.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_39_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_25_3720.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_28_2607.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_30_2685.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_33_2848.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_37_3520.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_39_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749542","1394749541","1394749544","1394749547","1394749546","1394749540"],"photo_ids_order":["1394749540","1394749541","1394749542","1394749544","1394749546","1394749547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9446b482ec80992d336a5749e2703ed.jpg","text":"TemporaryFile(/tmp/multipartBody688138366312045830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302665517,"filename":"image_16112025_12_43_30_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ac18f8e006d3c4a696e2293e183f1e9.jpg","text":"TemporaryFile(/tmp/multipartBody230228855554604056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302665517,"filename":"image_16112025_12_43_28_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27a85dc5e10c023056b49487b2520060.jpg","text":"TemporaryFile(/tmp/multipartBody5833489517143585018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302665517,"filename":"image_16112025_12_43_33_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a4d86f4d9df794fbb5b93cc74201581.jpg","text":"TemporaryFile(/tmp/multipartBody4312398256487684941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302665517,"filename":"image_16112025_12_43_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/11/16/d08dff5f5ffd435a4f3e32b86853a872.jpg","text":"TemporaryFile(/tmp/multipartBody9048171483540637623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302665517,"filename":"image_16112025_12_43_37_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1dda921e0d4e6161805c68fd6aaef904.jpg","text":"TemporaryFile(/tmp/multipartBody1098554468816528811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302665517,"filename":"image_16112025_12_43_25_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749542","file1":"1394749541","file0":"1394749540","file4":"1394749546","file5":"1394749547","file3":"1394749544"},"map_files_photo_id_array":[{"photo_id":"1394749547","filename":"file5"},{"photo_id":"1394749542","filename":"file2"},{"photo_id":"1394749546","filename":"file4"},{"photo_id":"1394749541","filename":"file1"},{"photo_id":"1394749540","filename":"file0"},{"photo_id":"1394749544","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749542":["hashtag1","hashtag2"]},{"1394749541":["hashtag1","hashtag2"]},{"1394749544":["hashtag1","hashtag2"]},{"1394749547":["hashtag1","hashtag2"]},{"1394749546":["hashtag1","hashtag2"]},{"1394749540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749542, 1394749541, 1394749544, 1394749547, 1394749546, 1394749540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27012324333191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:17:22.007575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_43_3708.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_46_2596.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_48_2621.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_52_3684.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_55_2634.jpg', '/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_57_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_43_3708.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_46_2596.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_48_2621.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_52_3684.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_55_2634.jpg
/home/pi/Desktop/images/16112025/12/43/image_16112025_12_43_57_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749566","1394749556","1394749559","1394749570","1394749552","1394749563"],"photo_ids_order":["1394749552","1394749556","1394749559","1394749563","1394749566","1394749570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/893a907657b8f4a22249dd9d303027b7.jpg","text":"TemporaryFile(/tmp/multipartBody8830547863616470040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302702645,"filename":"image_16112025_12_43_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/11/16/7073c77abb0b8b4fe445b745657d4204.jpg","text":"TemporaryFile(/tmp/multipartBody260370595138892225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302702645,"filename":"image_16112025_12_43_46_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e8cb6687dda301513c2858deaad10bf.jpg","text":"TemporaryFile(/tmp/multipartBody824447378439777460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302702645,"filename":"image_16112025_12_43_48_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ef4294bcee698bacf0d63aca672d432.jpg","text":"TemporaryFile(/tmp/multipartBody1493161639791064456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302702645,"filename":"image_16112025_12_43_57_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/653d09133b0848a0942270bb4116cf60.jpg","text":"TemporaryFile(/tmp/multipartBody7158457058194911049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302702645,"filename":"image_16112025_12_43_43_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92404f6f980092509249c02eed04d431.jpg","text":"TemporaryFile(/tmp/multipartBody5990382417562505461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302702645,"filename":"image_16112025_12_43_52_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749559","file1":"1394749556","file0":"1394749552","file4":"1394749566","file5":"1394749570","file3":"1394749563"},"map_files_photo_id_array":[{"photo_id":"1394749570","filename":"file5"},{"photo_id":"1394749559","filename":"file2"},{"photo_id":"1394749566","filename":"file4"},{"photo_id":"1394749556","filename":"file1"},{"photo_id":"1394749552","filename":"file0"},{"photo_id":"1394749563","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749566":["hashtag1","hashtag2"]},{"1394749556":["hashtag1","hashtag2"]},{"1394749559":["hashtag1","hashtag2"]},{"1394749570":["hashtag1","hashtag2"]},{"1394749552":["hashtag1","hashtag2"]},{"1394749563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749566, 1394749556, 1394749559, 1394749570, 1394749552, 1394749563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48113989830017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:18:02.774005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_11_3578.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_13_2685.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_17_3627.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_20_2627.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_22_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_07_3011.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_11_3578.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_13_2685.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_17_3627.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_20_2627.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_22_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749574","1394749577","1394749582","1394749579","1394749576","1394749575"],"photo_ids_order":["1394749574","1394749575","1394749576","1394749577","1394749579","1394749582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/638dc0bd8de88fc33c5926651203e249.jpg","text":"TemporaryFile(/tmp/multipartBody6919392755186475304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302743456,"filename":"image_16112025_12_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/11/16/37efaf421f6d37be99806cb9a874bd03.jpg","text":"TemporaryFile(/tmp/multipartBody3114693865402346185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302743456,"filename":"image_16112025_12_45_17_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f044d65b847c80e3e5c5440116826c73.jpg","text":"TemporaryFile(/tmp/multipartBody5256190062139138191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302743456,"filename":"image_16112025_12_45_22_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be18aaebe7d777cda7c9b30b514d98f7.jpg","text":"TemporaryFile(/tmp/multipartBody1142739325228750774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302743456,"filename":"image_16112025_12_45_20_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/497e98db5a1f10c48903249e02e0a9a2.jpg","text":"TemporaryFile(/tmp/multipartBody3571504640895875082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302743456,"filename":"image_16112025_12_45_13_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed12a3b28ca7ceb9a158169e0d93c6d3.jpg","text":"TemporaryFile(/tmp/multipartBody864698101810493977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302743456,"filename":"image_16112025_12_45_11_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749576","file1":"1394749575","file0":"1394749574","file4":"1394749579","file5":"1394749582","file3":"1394749577"},"map_files_photo_id_array":[{"photo_id":"1394749582","filename":"file5"},{"photo_id":"1394749576","filename":"file2"},{"photo_id":"1394749579","filename":"file4"},{"photo_id":"1394749575","filename":"file1"},{"photo_id":"1394749574","filename":"file0"},{"photo_id":"1394749577","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749574":["hashtag1","hashtag2"]},{"1394749577":["hashtag1","hashtag2"]},{"1394749582":["hashtag1","hashtag2"]},{"1394749579":["hashtag1","hashtag2"]},{"1394749576":["hashtag1","hashtag2"]},{"1394749575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749574, 1394749577, 1394749582, 1394749579, 1394749576, 1394749575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.055949687957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:18:42.351313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_26_3723.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_29_2656.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_31_2729.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_35_3584.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_38_2866.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_41_2889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_26_3723.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_29_2656.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_31_2729.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_35_3584.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_38_2866.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_41_2889.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749592","1394749591","1394749594","1394749588","1394749593","1394749590"],"photo_ids_order":["1394749588","1394749590","1394749591","1394749592","1394749593","1394749594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96074fac9be168c23b67331828ba0e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8953617255786766864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302782987,"filename":"image_16112025_12_45_35_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/686e000bfe8499bf65a2824910c91cc8.jpg","text":"TemporaryFile(/tmp/multipartBody5234337654240196574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302782987,"filename":"image_16112025_12_45_31_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f8f5b2042bf2ee94cc897d35d88313b.jpg","text":"TemporaryFile(/tmp/multipartBody1257719386517529625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302782987,"filename":"image_16112025_12_45_41_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66d8b13e82a146fec92bbb6d292e9a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1212186882588478365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302782987,"filename":"image_16112025_12_45_26_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30bcbcb51ee057cb4bcb3fbe0b77ce04.jpg","text":"TemporaryFile(/tmp/multipartBody3898694461398992160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302782987,"filename":"image_16112025_12_45_38_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a683c0509e4824c7653f9cb7f43eb20b.jpg","text":"TemporaryFile(/tmp/multipartBody1444380544410311580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302782987,"filename":"image_16112025_12_45_29_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749591","file1":"1394749590","file0":"1394749588","file4":"1394749593","file5":"1394749594","file3":"1394749592"},"map_files_photo_id_array":[{"photo_id":"1394749594","filename":"file5"},{"photo_id":"1394749591","filename":"file2"},{"photo_id":"1394749593","filename":"file4"},{"photo_id":"1394749590","filename":"file1"},{"photo_id":"1394749588","filename":"file0"},{"photo_id":"1394749592","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749592":["hashtag1","hashtag2"]},{"1394749591":["hashtag1","hashtag2"]},{"1394749594":["hashtag1","hashtag2"]},{"1394749588":["hashtag1","hashtag2"]},{"1394749593":["hashtag1","hashtag2"]},{"1394749590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749592, 1394749591, 1394749594, 1394749588, 1394749593, 1394749590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.020050048828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:19:22.499354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_45_4803.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_47_1665.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_50_2739.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_53_2757.jpg', '/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_55_2561.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_45_4803.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_47_1665.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_50_2739.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_53_2757.jpg
/home/pi/Desktop/images/16112025/12/45/image_16112025_12_45_55_2561.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749608","1394749598","1394749602","1394749604","1394749601","1394749606"],"photo_ids_order":["1394749598","1394749601","1394749602","1394749604","1394749606","1394749608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a7d0a7d9a1ccb40e9463dedf9f39bbe.jpg","text":"TemporaryFile(/tmp/multipartBody6080635944180377171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302823153,"filename":"image_16112025_12_47_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/11/16/06b815b9ec9a558a5a142a9ebdb23b12.jpg","text":"TemporaryFile(/tmp/multipartBody4774880438954869146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302823153,"filename":"image_16112025_12_45_45_4803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf2a1ef847a6cf383282179a03ef2dbe.jpg","text":"TemporaryFile(/tmp/multipartBody1228893210881630323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302823153,"filename":"image_16112025_12_45_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/11/16/84c31678787af174b2c6039a9464c66b.jpg","text":"TemporaryFile(/tmp/multipartBody5762019872220401811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302823153,"filename":"image_16112025_12_45_53_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a658c8ef6b89f222310cdbf4aef54eb2.jpg","text":"TemporaryFile(/tmp/multipartBody4224148730852786974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302823153,"filename":"image_16112025_12_45_47_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7deacca0a409570a54e7eec978fc064.jpg","text":"TemporaryFile(/tmp/multipartBody5880439372790156039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302823153,"filename":"image_16112025_12_45_55_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749602","file1":"1394749601","file0":"1394749598","file4":"1394749606","file5":"1394749608","file3":"1394749604"},"map_files_photo_id_array":[{"photo_id":"1394749608","filename":"file5"},{"photo_id":"1394749602","filename":"file2"},{"photo_id":"1394749606","filename":"file4"},{"photo_id":"1394749601","filename":"file1"},{"photo_id":"1394749598","filename":"file0"},{"photo_id":"1394749604","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749608":["hashtag1","hashtag2"]},{"1394749598":["hashtag1","hashtag2"]},{"1394749602":["hashtag1","hashtag2"]},{"1394749604":["hashtag1","hashtag2"]},{"1394749601":["hashtag1","hashtag2"]},{"1394749606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749608, 1394749598, 1394749602, 1394749604, 1394749601, 1394749606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29663848876953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:20:03.282070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_10_3676.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_13_2700.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_16_2662.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_19_3568.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_22_2682.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_26_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_10_3676.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_13_2700.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_16_2662.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_19_3568.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_22_2682.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_26_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749611","1394749619","1394749610","1394749613","1394749616","1394749612"],"photo_ids_order":["1394749610","1394749611","1394749612","1394749613","1394749616","1394749619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/380ec136b735d5abebd5d4fd6e8d1ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7717477859535194998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302863958,"filename":"image_16112025_12_47_13_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c15c1f0c9c25c9fc9d48f008120e1cb9.jpg","text":"TemporaryFile(/tmp/multipartBody8619983637473611487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302863958,"filename":"image_16112025_12_47_26_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4dd4891e627bbc6289a242acf5169fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7270848234949226388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302863958,"filename":"image_16112025_12_47_10_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a32b2950f75571b26dfbccfbcec8bd2e.jpg","text":"TemporaryFile(/tmp/multipartBody5828427434602206484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302863958,"filename":"image_16112025_12_47_19_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9d993dbe8e6e93a936c9f58d19b5956.jpg","text":"TemporaryFile(/tmp/multipartBody607078525883046887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302863958,"filename":"image_16112025_12_47_22_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4dad328326cae6ec636179d5186ee493.jpg","text":"TemporaryFile(/tmp/multipartBody2086181123665872463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302863958,"filename":"image_16112025_12_47_16_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749612","file1":"1394749611","file0":"1394749610","file4":"1394749616","file5":"1394749619","file3":"1394749613"},"map_files_photo_id_array":[{"photo_id":"1394749619","filename":"file5"},{"photo_id":"1394749612","filename":"file2"},{"photo_id":"1394749616","filename":"file4"},{"photo_id":"1394749611","filename":"file1"},{"photo_id":"1394749610","filename":"file0"},{"photo_id":"1394749613","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749611":["hashtag1","hashtag2"]},{"1394749619":["hashtag1","hashtag2"]},{"1394749610":["hashtag1","hashtag2"]},{"1394749613":["hashtag1","hashtag2"]},{"1394749616":["hashtag1","hashtag2"]},{"1394749612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749611, 1394749619, 1394749610, 1394749613, 1394749616, 1394749612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.637367486953735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:20:42.828525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_28_2569.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_32_3495.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_34_2639.jpg', '/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_37_2626.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_06_3011.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_10_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_28_2569.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_32_3495.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_34_2639.jpg
/home/pi/Desktop/images/16112025/12/47/image_16112025_12_47_37_2626.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_06_3011.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_10_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749632","1394749626","1394749631","1394749628","1394749633","1394749630"],"photo_ids_order":["1394749626","1394749628","1394749630","1394749631","1394749632","1394749633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/927c3f8fa619b4316eb44a766618eb97.jpg","text":"TemporaryFile(/tmp/multipartBody578064932494001102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302903509,"filename":"image_16112025_12_49_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/11/16/b600daa05903c42d27166dc39826a1f4.jpg","text":"TemporaryFile(/tmp/multipartBody618599781955407109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302903509,"filename":"image_16112025_12_47_28_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00b32ca9a50ea1c0024d47006a3c25de.jpg","text":"TemporaryFile(/tmp/multipartBody5549261292234567999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302903509,"filename":"image_16112025_12_47_37_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f98a322e8e48d7d0fc9c666031c1adc.jpg","text":"TemporaryFile(/tmp/multipartBody8662949104053196686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302903509,"filename":"image_16112025_12_47_32_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e096702874f9644e19b6f4134c09da7.jpg","text":"TemporaryFile(/tmp/multipartBody5043748646222506732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302903509,"filename":"image_16112025_12_49_10_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5914dde50ebf4c00c6deb940dd822d28.jpg","text":"TemporaryFile(/tmp/multipartBody48863318468149209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302903509,"filename":"image_16112025_12_47_34_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749630","file1":"1394749628","file0":"1394749626","file4":"1394749632","file5":"1394749633","file3":"1394749631"},"map_files_photo_id_array":[{"photo_id":"1394749633","filename":"file5"},{"photo_id":"1394749630","filename":"file2"},{"photo_id":"1394749632","filename":"file4"},{"photo_id":"1394749628","filename":"file1"},{"photo_id":"1394749626","filename":"file0"},{"photo_id":"1394749631","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749632":["hashtag1","hashtag2"]},{"1394749626":["hashtag1","hashtag2"]},{"1394749631":["hashtag1","hashtag2"]},{"1394749628":["hashtag1","hashtag2"]},{"1394749633":["hashtag1","hashtag2"]},{"1394749630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749632, 1394749626, 1394749631, 1394749628, 1394749633, 1394749630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.851197957992554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:21:22.021736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_13_2690.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_15_2657.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_19_3632.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_24_2585.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_28_3701.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_31_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_13_2690.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_15_2657.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_19_3632.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_24_2585.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_28_3701.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_31_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749638","1394749640","1394749643","1394749645","1394749642","1394749636"],"photo_ids_order":["1394749636","1394749638","1394749640","1394749642","1394749643","1394749645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/159b373183a9c622aae2e90d2bfa2839.jpg","text":"TemporaryFile(/tmp/multipartBody1432231960186333695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302942691,"filename":"image_16112025_12_49_15_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89342680903ce775340fcf71cae6394f.jpg","text":"TemporaryFile(/tmp/multipartBody3607105814954808974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302942691,"filename":"image_16112025_12_49_19_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff5ccaee4bf0c15ee64b608520dcd6e5.jpg","text":"TemporaryFile(/tmp/multipartBody840132720191031959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302942691,"filename":"image_16112025_12_49_28_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/526ba78d5269a0ceba201495d1124020.jpg","text":"TemporaryFile(/tmp/multipartBody5545584710256040327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302942691,"filename":"image_16112025_12_49_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/11/16/fe54465db514f7cdf844fa0d7dd77a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2252320163086242494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302942691,"filename":"image_16112025_12_49_24_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2101245277d4c40eb0c63bebcfbddb8.jpg","text":"TemporaryFile(/tmp/multipartBody4064219141268827949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302942691,"filename":"image_16112025_12_49_13_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749640","file1":"1394749638","file0":"1394749636","file4":"1394749643","file5":"1394749645","file3":"1394749642"},"map_files_photo_id_array":[{"photo_id":"1394749645","filename":"file5"},{"photo_id":"1394749640","filename":"file2"},{"photo_id":"1394749643","filename":"file4"},{"photo_id":"1394749638","filename":"file1"},{"photo_id":"1394749636","filename":"file0"},{"photo_id":"1394749642","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749638":["hashtag1","hashtag2"]},{"1394749640":["hashtag1","hashtag2"]},{"1394749643":["hashtag1","hashtag2"]},{"1394749645":["hashtag1","hashtag2"]},{"1394749642":["hashtag1","hashtag2"]},{"1394749636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749638, 1394749640, 1394749643, 1394749645, 1394749642, 1394749636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41785383224487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:22:02.756433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_33_2566.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_37_3755.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_40_2565.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_42_2834.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_46_3647.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_49_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_33_2566.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_37_3755.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_40_2565.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_42_2834.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_46_3647.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_49_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749659","1394749653","1394749652","1394749651","1394749654","1394749656"],"photo_ids_order":["1394749651","1394749652","1394749653","1394749654","1394749656","1394749659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57dfb6bdee3de1d67f82461f3a1369ff.jpg","text":"TemporaryFile(/tmp/multipartBody2413294704471846658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302983426,"filename":"image_16112025_12_49_49_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32458d367ba1b6eacdd7a8854cec6606.jpg","text":"TemporaryFile(/tmp/multipartBody5785293481097889961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302983426,"filename":"image_16112025_12_49_40_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6797858e37ee21af157b2dfa435f6c9b.jpg","text":"TemporaryFile(/tmp/multipartBody5426644615851066726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302983426,"filename":"image_16112025_12_49_37_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/417a07c69c46994c3ff727acf5304313.jpg","text":"TemporaryFile(/tmp/multipartBody3137737405969073011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302983426,"filename":"image_16112025_12_49_33_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b533f0af2f1089be8f306ca471fe00b.jpg","text":"TemporaryFile(/tmp/multipartBody967291854232290783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302983426,"filename":"image_16112025_12_49_42_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/820ebad3fd0ac209e2540f18c2f027f0.jpg","text":"TemporaryFile(/tmp/multipartBody8588876069583595029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763302983426,"filename":"image_16112025_12_49_46_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749653","file1":"1394749652","file0":"1394749651","file4":"1394749656","file5":"1394749659","file3":"1394749654"},"map_files_photo_id_array":[{"photo_id":"1394749659","filename":"file5"},{"photo_id":"1394749653","filename":"file2"},{"photo_id":"1394749656","filename":"file4"},{"photo_id":"1394749652","filename":"file1"},{"photo_id":"1394749651","filename":"file0"},{"photo_id":"1394749654","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749659":["hashtag1","hashtag2"]},{"1394749653":["hashtag1","hashtag2"]},{"1394749652":["hashtag1","hashtag2"]},{"1394749651":["hashtag1","hashtag2"]},{"1394749654":["hashtag1","hashtag2"]},{"1394749656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749659, 1394749653, 1394749652, 1394749651, 1394749654, 1394749656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54091811180115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:22:42.256196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_51_2693.jpg', '/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_54_2828.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_14_2769.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_16_2670.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_20_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_51_2693.jpg
/home/pi/Desktop/images/16112025/12/49/image_16112025_12_49_54_2828.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_07_3011.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_14_2769.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_16_2670.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_20_3720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749665","1394749667","1394749661","1394749664","1394749663","1394749666"],"photo_ids_order":["1394749661","1394749663","1394749664","1394749665","1394749666","1394749667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f84f59e44925bee2a0f7939e6a105fa6.jpg","text":"TemporaryFile(/tmp/multipartBody258249485824451951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303022988,"filename":"image_16112025_12_51_14_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecf7b3a8e21cf81287bdef5a34cd4a53.jpg","text":"TemporaryFile(/tmp/multipartBody5663793787743038478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303022988,"filename":"image_16112025_12_51_20_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d5c164ce84c1c0dab2cd9d6420f0bc0.jpg","text":"TemporaryFile(/tmp/multipartBody9076860337738224406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303022988,"filename":"image_16112025_12_49_51_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a880e66734798463c491e1c93b3a3673.jpg","text":"TemporaryFile(/tmp/multipartBody4129302821916419592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303022988,"filename":"image_16112025_12_51_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/11/16/a992eba4e5836cd346bce60dd46b3229.jpg","text":"TemporaryFile(/tmp/multipartBody8080183968092916039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303022988,"filename":"image_16112025_12_49_54_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/728e75956db3cd3f49275e8458769d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8106232186825885549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303022988,"filename":"image_16112025_12_51_16_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749664","file1":"1394749663","file0":"1394749661","file4":"1394749666","file5":"1394749667","file3":"1394749665"},"map_files_photo_id_array":[{"photo_id":"1394749667","filename":"file5"},{"photo_id":"1394749664","filename":"file2"},{"photo_id":"1394749666","filename":"file4"},{"photo_id":"1394749663","filename":"file1"},{"photo_id":"1394749661","filename":"file0"},{"photo_id":"1394749665","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749665":["hashtag1","hashtag2"]},{"1394749667":["hashtag1","hashtag2"]},{"1394749661":["hashtag1","hashtag2"]},{"1394749664":["hashtag1","hashtag2"]},{"1394749663":["hashtag1","hashtag2"]},{"1394749666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749665, 1394749667, 1394749661, 1394749664, 1394749663, 1394749666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69129133224487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:23:22.523383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_32_2761.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_35_2792.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_41_2664.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_43_2651.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_46_2748.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_50_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_32_2761.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_35_2792.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_41_2664.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_43_2651.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_46_2748.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_50_3540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749676","1394749678","1394749672","1394749680","1394749674","1394749677"],"photo_ids_order":["1394749672","1394749674","1394749676","1394749677","1394749678","1394749680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfeb94013edaccf0dc5bf2e931e1ba88.jpg","text":"TemporaryFile(/tmp/multipartBody8775060012709329070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303063147,"filename":"image_16112025_12_51_41_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76bd8b934e9af887eb4f6b4859d69c98.jpg","text":"TemporaryFile(/tmp/multipartBody3550867998953130592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303063147,"filename":"image_16112025_12_51_46_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06e96eee8f71ab8f2204c635a40d414d.jpg","text":"TemporaryFile(/tmp/multipartBody5989788420578187981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303063147,"filename":"image_16112025_12_51_32_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c86580737356cdf47605692424364ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8433117205271209476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303063147,"filename":"image_16112025_12_51_50_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9060f93aba80d0aebdc2b20a73309de6.jpg","text":"TemporaryFile(/tmp/multipartBody1515574670059868597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303063147,"filename":"image_16112025_12_51_35_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e6d4474937ba1bf9cb7297f78810259.jpg","text":"TemporaryFile(/tmp/multipartBody1246341867036409046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303063147,"filename":"image_16112025_12_51_43_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749676","file1":"1394749674","file0":"1394749672","file4":"1394749678","file5":"1394749680","file3":"1394749677"},"map_files_photo_id_array":[{"photo_id":"1394749680","filename":"file5"},{"photo_id":"1394749676","filename":"file2"},{"photo_id":"1394749678","filename":"file4"},{"photo_id":"1394749674","filename":"file1"},{"photo_id":"1394749672","filename":"file0"},{"photo_id":"1394749677","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749676":["hashtag1","hashtag2"]},{"1394749678":["hashtag1","hashtag2"]},{"1394749672":["hashtag1","hashtag2"]},{"1394749680":["hashtag1","hashtag2"]},{"1394749674":["hashtag1","hashtag2"]},{"1394749677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749676, 1394749678, 1394749672, 1394749680, 1394749674, 1394749677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53143310546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:24:03.378004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_52_2683.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_56_3570.jpg', '/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_58_2567.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_06_3011.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_10_3787.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_13_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_52_2683.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_56_3570.jpg
/home/pi/Desktop/images/16112025/12/51/image_16112025_12_51_58_2567.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_06_3011.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_10_3787.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_13_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749691","1394749682","1394749684","1394749687","1394749695","1394749689"],"photo_ids_order":["1394749682","1394749684","1394749687","1394749689","1394749691","1394749695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/078c81014e9fa80f0ac1d1af6c1a0d0c.jpg","text":"TemporaryFile(/tmp/multipartBody8402884285341329978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303104108,"filename":"image_16112025_12_53_10_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8163ae83370d64753526a1cf85ba7698.jpg","text":"TemporaryFile(/tmp/multipartBody2748372145656715768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303104108,"filename":"image_16112025_12_51_52_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/941847f84d604c317bb36076ff957d73.jpg","text":"TemporaryFile(/tmp/multipartBody8664852207418124714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303104108,"filename":"image_16112025_12_51_56_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e2a0bbe4c2d97bea8461f0b75d9994b.jpg","text":"TemporaryFile(/tmp/multipartBody2585992511332773691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303104108,"filename":"image_16112025_12_51_58_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a5a88c7490125877e22746fb5fdc2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4661880424251174890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303104108,"filename":"image_16112025_12_53_13_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e26c7cfa7780530b4f9b58bf4a7418c4.jpg","text":"TemporaryFile(/tmp/multipartBody6949378450820553144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303104108,"filename":"image_16112025_12_53_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749687","file1":"1394749684","file0":"1394749682","file4":"1394749691","file5":"1394749695","file3":"1394749689"},"map_files_photo_id_array":[{"photo_id":"1394749695","filename":"file5"},{"photo_id":"1394749687","filename":"file2"},{"photo_id":"1394749691","filename":"file4"},{"photo_id":"1394749684","filename":"file1"},{"photo_id":"1394749682","filename":"file0"},{"photo_id":"1394749689","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749691":["hashtag1","hashtag2"]},{"1394749682":["hashtag1","hashtag2"]},{"1394749684":["hashtag1","hashtag2"]},{"1394749687":["hashtag1","hashtag2"]},{"1394749695":["hashtag1","hashtag2"]},{"1394749689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749691, 1394749682, 1394749684, 1394749687, 1394749695, 1394749689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83298373222351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:24:42.831077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_16_2856.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_19_3569.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_22_2905.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_25_2684.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_27_2665.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_31_3840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_16_2856.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_19_3569.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_22_2905.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_25_2684.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_27_2665.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_31_3840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749701","1394749704","1394749703","1394749700","1394749699","1394749702"],"photo_ids_order":["1394749699","1394749700","1394749701","1394749702","1394749703","1394749704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f9e248fa7e38f4883095669d4481edc.jpg","text":"TemporaryFile(/tmp/multipartBody9080505244942000473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303143455,"filename":"image_16112025_12_53_22_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebc79821e3cb31175ac2e0a4f0f183d7.jpg","text":"TemporaryFile(/tmp/multipartBody2325901138281016912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303143455,"filename":"image_16112025_12_53_31_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b53a766d677d4355641d5cb048c76842.jpg","text":"TemporaryFile(/tmp/multipartBody2059557207224537494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303143455,"filename":"image_16112025_12_53_27_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a19058c988996972f966ad9dba6451f3.jpg","text":"TemporaryFile(/tmp/multipartBody3105806233733094387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303143455,"filename":"image_16112025_12_53_19_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15b76bcdcec11eaa071125d8a3f23fc9.jpg","text":"TemporaryFile(/tmp/multipartBody3715350539753556635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303143455,"filename":"image_16112025_12_53_16_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e94df9063f54ab5bd11de71b753011b.jpg","text":"TemporaryFile(/tmp/multipartBody8865817008964872205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303143455,"filename":"image_16112025_12_53_25_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749701","file1":"1394749700","file0":"1394749699","file4":"1394749703","file5":"1394749704","file3":"1394749702"},"map_files_photo_id_array":[{"photo_id":"1394749704","filename":"file5"},{"photo_id":"1394749701","filename":"file2"},{"photo_id":"1394749703","filename":"file4"},{"photo_id":"1394749700","filename":"file1"},{"photo_id":"1394749699","filename":"file0"},{"photo_id":"1394749702","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749701":["hashtag1","hashtag2"]},{"1394749704":["hashtag1","hashtag2"]},{"1394749703":["hashtag1","hashtag2"]},{"1394749700":["hashtag1","hashtag2"]},{"1394749699":["hashtag1","hashtag2"]},{"1394749702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749701, 1394749704, 1394749703, 1394749700, 1394749699, 1394749702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.512861490249634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:25:22.047786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_34_2574.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_37_2644.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_40_3680.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_43_2741.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_46_2623.jpg', '/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_49_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_34_2574.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_37_2644.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_40_3680.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_43_2741.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_46_2623.jpg
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_49_3736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749713","1394749712","1394749715","1394749709","1394749720","1394749714"],"photo_ids_order":["1394749709","1394749712","1394749713","1394749714","1394749715","1394749720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d559f1aebd870f541dc993b58f3a2ec.jpg","text":"TemporaryFile(/tmp/multipartBody553558884240567832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303182689,"filename":"image_16112025_12_53_40_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ef62e489c1ac0f9de8d8513717a30da.jpg","text":"TemporaryFile(/tmp/multipartBody7449338296700768532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303182689,"filename":"image_16112025_12_53_37_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/086cbb39e9b92818504dd09ec35229ac.jpg","text":"TemporaryFile(/tmp/multipartBody7683250812303123121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303182689,"filename":"image_16112025_12_53_46_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ec7ad11fdb55e3e6c263fcc84ac880b.jpg","text":"TemporaryFile(/tmp/multipartBody1087078258706303548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303182689,"filename":"image_16112025_12_53_34_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5cabbe8ae97430402d946f2caa72899.jpg","text":"TemporaryFile(/tmp/multipartBody8003512338183872438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303182689,"filename":"image_16112025_12_53_49_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cd4dad5a6950730b6b8992ec8371bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8229942070545282975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303182689,"filename":"image_16112025_12_53_43_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749713","file1":"1394749712","file0":"1394749709","file4":"1394749715","file5":"1394749720","file3":"1394749714"},"map_files_photo_id_array":[{"photo_id":"1394749720","filename":"file5"},{"photo_id":"1394749713","filename":"file2"},{"photo_id":"1394749715","filename":"file4"},{"photo_id":"1394749712","filename":"file1"},{"photo_id":"1394749709","filename":"file0"},{"photo_id":"1394749714","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749713":["hashtag1","hashtag2"]},{"1394749712":["hashtag1","hashtag2"]},{"1394749715":["hashtag1","hashtag2"]},{"1394749709":["hashtag1","hashtag2"]},{"1394749720":["hashtag1","hashtag2"]},{"1394749714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749713, 1394749712, 1394749715, 1394749709, 1394749720, 1394749714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97428894042969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:26:02.662915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_52_2671.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_07_3012.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_11_3811.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_13_2575.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_16_2615.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_20_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/53/image_16112025_12_53_52_2671.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_07_3012.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_11_3811.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_13_2575.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_16_2615.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_20_3757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749734","1394749728","1394749730","1394749732","1394749726","1394749729"],"photo_ids_order":["1394749726","1394749728","1394749729","1394749730","1394749732","1394749734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0027ee555b4d4fbda561975172ab6aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4945924198697353002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303223358,"filename":"image_16112025_12_55_20_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/926ac4ed3a9575195daaa8d99ba423bf.jpg","text":"TemporaryFile(/tmp/multipartBody9067761236993907511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303223358,"filename":"image_16112025_12_55_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3035ef83ce25a0e53c3009e34b605021.jpg","text":"TemporaryFile(/tmp/multipartBody3085687253634619555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303223358,"filename":"image_16112025_12_55_13_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8a268e937325bd5030d24d4aa81a2c1.jpg","text":"TemporaryFile(/tmp/multipartBody6697993801682194189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303223358,"filename":"image_16112025_12_55_16_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ef6752c8dbfc49c711ec99bd30ab6db.jpg","text":"TemporaryFile(/tmp/multipartBody6571547116601429330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303223358,"filename":"image_16112025_12_53_52_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97b6884349125c89c86950ed825887e2.jpg","text":"TemporaryFile(/tmp/multipartBody7478314805112007988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303223358,"filename":"image_16112025_12_55_11_3811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749729","file1":"1394749728","file0":"1394749726","file4":"1394749732","file5":"1394749734","file3":"1394749730"},"map_files_photo_id_array":[{"photo_id":"1394749734","filename":"file5"},{"photo_id":"1394749729","filename":"file2"},{"photo_id":"1394749732","filename":"file4"},{"photo_id":"1394749728","filename":"file1"},{"photo_id":"1394749726","filename":"file0"},{"photo_id":"1394749730","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749734":["hashtag1","hashtag2"]},{"1394749728":["hashtag1","hashtag2"]},{"1394749730":["hashtag1","hashtag2"]},{"1394749732":["hashtag1","hashtag2"]},{"1394749726":["hashtag1","hashtag2"]},{"1394749729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749734, 1394749728, 1394749730, 1394749732, 1394749726, 1394749729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19339394569397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:26:46.105486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_29_3775.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_31_2673.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_34_2546.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_38_3677.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_40_2864.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_43_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_29_3775.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_31_2673.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_34_2546.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_38_3677.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_40_2864.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_43_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749743","1394749740","1394749742","1394749739","1394749744","1394749741"],"photo_ids_order":["1394749739","1394749740","1394749741","1394749742","1394749743","1394749744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dbceb4d946f703db4f90e11147f8a63.jpg","text":"TemporaryFile(/tmp/multipartBody3901761720509136197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303266721,"filename":"image_16112025_12_55_40_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e400641bd768c131c8842eef65ad7db.jpg","text":"TemporaryFile(/tmp/multipartBody4225501383154613132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303266721,"filename":"image_16112025_12_55_31_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f8cdff5764a0c87b896fe542b19db91.jpg","text":"TemporaryFile(/tmp/multipartBody5459284527962970323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303266721,"filename":"image_16112025_12_55_38_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71e8f14024213aeeb7545eaa8753453c.jpg","text":"TemporaryFile(/tmp/multipartBody8973319818552495814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303266721,"filename":"image_16112025_12_55_29_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c22b356d43652ed84aca3bcdc056e1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4183162844537538978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303266721,"filename":"image_16112025_12_55_43_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/064611cc5615b98330dce8245faeaffc.jpg","text":"TemporaryFile(/tmp/multipartBody7953509321067066782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303266721,"filename":"image_16112025_12_55_34_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749741","file1":"1394749740","file0":"1394749739","file4":"1394749743","file5":"1394749744","file3":"1394749742"},"map_files_photo_id_array":[{"photo_id":"1394749744","filename":"file5"},{"photo_id":"1394749741","filename":"file2"},{"photo_id":"1394749743","filename":"file4"},{"photo_id":"1394749740","filename":"file1"},{"photo_id":"1394749739","filename":"file0"},{"photo_id":"1394749742","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749743":["hashtag1","hashtag2"]},{"1394749740":["hashtag1","hashtag2"]},{"1394749742":["hashtag1","hashtag2"]},{"1394749739":["hashtag1","hashtag2"]},{"1394749744":["hashtag1","hashtag2"]},{"1394749741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749743, 1394749740, 1394749742, 1394749739, 1394749744, 1394749741)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 35.77511548995972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:27:42.326515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_46_2756.jpg', '/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_50_3785.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_07_3011.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_10_3645.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_13_2592.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_17_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_46_2756.jpg
/home/pi/Desktop/images/16112025/12/55/image_16112025_12_55_50_3785.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_07_3011.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_10_3645.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_13_2592.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_17_3712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749770","1394749764","1394749767","1394749766","1394749762","1394749765"],"photo_ids_order":["1394749762","1394749764","1394749765","1394749766","1394749767","1394749770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/284de205735afa9a28054ec9d0949acf.jpg","text":"TemporaryFile(/tmp/multipartBody4906901916204406772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303322944,"filename":"image_16112025_12_57_17_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8926abf6ded845cc2ec5254c55c7fdf6.jpg","text":"TemporaryFile(/tmp/multipartBody6649032380598795105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303322944,"filename":"image_16112025_12_55_50_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c494f3f2720240fb5e84d2ab89956e3.jpg","text":"TemporaryFile(/tmp/multipartBody4235634760150260962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303322944,"filename":"image_16112025_12_57_13_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df467776177bf94872583bf681b92420.jpg","text":"TemporaryFile(/tmp/multipartBody2806202245652819264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303322944,"filename":"image_16112025_12_57_10_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da03f0e253c114e7d694caa80ff2596a.jpg","text":"TemporaryFile(/tmp/multipartBody5999187291148103984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303322944,"filename":"image_16112025_12_55_46_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5832de6a6ae4d0ab75969bb08ee63aed.jpg","text":"TemporaryFile(/tmp/multipartBody6828160907539366120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303322944,"filename":"image_16112025_12_57_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749765","file1":"1394749764","file0":"1394749762","file4":"1394749767","file5":"1394749770","file3":"1394749766"},"map_files_photo_id_array":[{"photo_id":"1394749770","filename":"file5"},{"photo_id":"1394749765","filename":"file2"},{"photo_id":"1394749767","filename":"file4"},{"photo_id":"1394749764","filename":"file1"},{"photo_id":"1394749762","filename":"file0"},{"photo_id":"1394749766","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749770":["hashtag1","hashtag2"]},{"1394749764":["hashtag1","hashtag2"]},{"1394749767":["hashtag1","hashtag2"]},{"1394749766":["hashtag1","hashtag2"]},{"1394749762":["hashtag1","hashtag2"]},{"1394749765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749770, 1394749764, 1394749767, 1394749766, 1394749762, 1394749765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86964821815491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:28:22.605115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_20_2729.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_22_2587.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_25_2690.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_29_3795.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_35_3587.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_37_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_20_2729.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_22_2587.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_25_2690.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_29_3795.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_35_3587.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_37_2517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749785","1394749779","1394749784","1394749786","1394749788","1394749782"],"photo_ids_order":["1394749779","1394749782","1394749784","1394749785","1394749786","1394749788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad059020b0ec0ec081b8b0aa4346e3d3.jpg","text":"TemporaryFile(/tmp/multipartBody2361286011336667698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303366128,"filename":"image_16112025_12_57_29_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a22eaf8415c19b2bedb06d9a8e63ed7d.jpg","text":"TemporaryFile(/tmp/multipartBody1999801704123554076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303366128,"filename":"image_16112025_12_57_20_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d036c8da97663109c6c0bbcb22dc82dd.jpg","text":"TemporaryFile(/tmp/multipartBody4092846247091558717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303366128,"filename":"image_16112025_12_57_25_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/378c644916ad0e8c9782e19a084d6e75.jpg","text":"TemporaryFile(/tmp/multipartBody5248663828129776598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303366128,"filename":"image_16112025_12_57_35_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3884fb973f14f3bc1b64f3f1c4dfd48.jpg","text":"TemporaryFile(/tmp/multipartBody6345441650899733559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303366128,"filename":"image_16112025_12_57_37_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76971985424cfd149077c227a906a597.jpg","text":"TemporaryFile(/tmp/multipartBody3890784024358902983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303366128,"filename":"image_16112025_12_57_22_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749784","file1":"1394749782","file0":"1394749779","file4":"1394749786","file5":"1394749788","file3":"1394749785"},"map_files_photo_id_array":[{"photo_id":"1394749788","filename":"file5"},{"photo_id":"1394749784","filename":"file2"},{"photo_id":"1394749786","filename":"file4"},{"photo_id":"1394749782","filename":"file1"},{"photo_id":"1394749779","filename":"file0"},{"photo_id":"1394749785","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749785":["hashtag1","hashtag2"]},{"1394749779":["hashtag1","hashtag2"]},{"1394749784":["hashtag1","hashtag2"]},{"1394749786":["hashtag1","hashtag2"]},{"1394749788":["hashtag1","hashtag2"]},{"1394749782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749785, 1394749779, 1394749784, 1394749786, 1394749788, 1394749782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80763792991638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:29:03.657118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_43_2777.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_47_3816.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_49_2655.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_52_2676.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_56_3547.jpg', '/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_58_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_43_2777.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_47_3816.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_49_2655.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_52_2676.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_56_3547.jpg
/home/pi/Desktop/images/16112025/12/57/image_16112025_12_57_58_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749796","1394749799","1394749790","1394749793","1394749789","1394749791"],"photo_ids_order":["1394749789","1394749790","1394749791","1394749793","1394749796","1394749799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28a5de3626d327fe40039724ad8a98f1.jpg","text":"TemporaryFile(/tmp/multipartBody5342741551831748417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303404479,"filename":"image_16112025_12_57_56_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d761b32fa8fa5e21d1216f8d213d56e.jpg","text":"TemporaryFile(/tmp/multipartBody3511608265234616453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303404479,"filename":"image_16112025_12_57_58_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/960a08fdc4f5cd235a40453b56fb27ea.jpg","text":"TemporaryFile(/tmp/multipartBody2717278542179243622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303404479,"filename":"image_16112025_12_57_47_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6eef47bc8136aaad00dac7a80907980e.jpg","text":"TemporaryFile(/tmp/multipartBody3829943840980985462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303404479,"filename":"image_16112025_12_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/11/16/a5fee0caefd90b6340ffb1316221da9c.jpg","text":"TemporaryFile(/tmp/multipartBody1537949309843069373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303404479,"filename":"image_16112025_12_57_43_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9e04f1e019706a690c4a47ab2d94ac2.jpg","text":"TemporaryFile(/tmp/multipartBody5643071404408138317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303404479,"filename":"image_16112025_12_57_49_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749791","file1":"1394749790","file0":"1394749789","file4":"1394749796","file5":"1394749799","file3":"1394749793"},"map_files_photo_id_array":[{"photo_id":"1394749799","filename":"file5"},{"photo_id":"1394749791","filename":"file2"},{"photo_id":"1394749796","filename":"file4"},{"photo_id":"1394749790","filename":"file1"},{"photo_id":"1394749789","filename":"file0"},{"photo_id":"1394749793","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749796":["hashtag1","hashtag2"]},{"1394749799":["hashtag1","hashtag2"]},{"1394749790":["hashtag1","hashtag2"]},{"1394749793":["hashtag1","hashtag2"]},{"1394749789":["hashtag1","hashtag2"]},{"1394749791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749796, 1394749799, 1394749790, 1394749793, 1394749789, 1394749791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.329224824905396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:29:42.700693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/58/image_16112025_12_58_01_2714.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_06_3208.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_10_3720.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_13_2642.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_15_2571.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_19_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/58/image_16112025_12_58_01_2714.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_06_3208.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_10_3720.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_13_2642.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_15_2571.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_19_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749806","1394749809","1394749803","1394749811","1394749808","1394749807"],"photo_ids_order":["1394749803","1394749806","1394749807","1394749808","1394749809","1394749811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d70aecb63b38a32f3e3b284e29da0b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8358662636646370132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303443335,"filename":"image_16112025_12_59_06_3208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8a21ef9a3d7371fdc61399d99a74c81.jpg","text":"TemporaryFile(/tmp/multipartBody2425441214868189830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303443335,"filename":"image_16112025_12_59_15_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32ae97b32a14a5ada219bbe9a7bc41b2.jpg","text":"TemporaryFile(/tmp/multipartBody396981158834739324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303443335,"filename":"image_16112025_12_58_01_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5ac58e5ef1d054921feff61ddfe0d66.jpg","text":"TemporaryFile(/tmp/multipartBody1613866530205766851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303443335,"filename":"image_16112025_12_59_19_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5c047f88a4feabfcfc8b2cfce95eaba.jpg","text":"TemporaryFile(/tmp/multipartBody1137984660801843098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303443335,"filename":"image_16112025_12_59_13_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4660759b6b2ce04921b3fb259b64f43.jpg","text":"TemporaryFile(/tmp/multipartBody5876533098047556961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303443335,"filename":"image_16112025_12_59_10_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749807","file1":"1394749806","file0":"1394749803","file4":"1394749809","file5":"1394749811","file3":"1394749808"},"map_files_photo_id_array":[{"photo_id":"1394749811","filename":"file5"},{"photo_id":"1394749807","filename":"file2"},{"photo_id":"1394749809","filename":"file4"},{"photo_id":"1394749806","filename":"file1"},{"photo_id":"1394749803","filename":"file0"},{"photo_id":"1394749808","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749806":["hashtag1","hashtag2"]},{"1394749809":["hashtag1","hashtag2"]},{"1394749803":["hashtag1","hashtag2"]},{"1394749811":["hashtag1","hashtag2"]},{"1394749808":["hashtag1","hashtag2"]},{"1394749807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749806, 1394749809, 1394749803, 1394749811, 1394749808, 1394749807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0873236656189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:30:21.995569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_22_3420.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_25_2570.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_28_2659.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_30_2610.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_34_3584.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_37_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_22_3420.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_25_2570.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_28_2659.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_30_2610.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_34_3584.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_37_2816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749824","1394749818","1394749820","1394749823","1394749817","1394749822"],"photo_ids_order":["1394749817","1394749818","1394749820","1394749822","1394749823","1394749824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8895dc932bda4412767f3c2e9d0b189f.jpg","text":"TemporaryFile(/tmp/multipartBody2558524814983261800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303482656,"filename":"image_16112025_12_59_37_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae4664684479a7c71f11fad97c70b0ea.jpg","text":"TemporaryFile(/tmp/multipartBody8773561494370754455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303482656,"filename":"image_16112025_12_59_25_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fc4a38321881439544d38739a03b409.jpg","text":"TemporaryFile(/tmp/multipartBody7033946063041264517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303482656,"filename":"image_16112025_12_59_28_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6aac90b65a716cc0ad5b12da3cc56c47.jpg","text":"TemporaryFile(/tmp/multipartBody344831490868919020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303482656,"filename":"image_16112025_12_59_34_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f00d044a7695174729b16d719c7ee570.jpg","text":"TemporaryFile(/tmp/multipartBody663402310249703376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303482656,"filename":"image_16112025_12_59_22_3420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fed1344c42d13ec3ef15e09cf1bf95a2.jpg","text":"TemporaryFile(/tmp/multipartBody1446794444907295853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303482656,"filename":"image_16112025_12_59_30_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749820","file1":"1394749818","file0":"1394749817","file4":"1394749823","file5":"1394749824","file3":"1394749822"},"map_files_photo_id_array":[{"photo_id":"1394749824","filename":"file5"},{"photo_id":"1394749820","filename":"file2"},{"photo_id":"1394749823","filename":"file4"},{"photo_id":"1394749818","filename":"file1"},{"photo_id":"1394749817","filename":"file0"},{"photo_id":"1394749822","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749824":["hashtag1","hashtag2"]},{"1394749818":["hashtag1","hashtag2"]},{"1394749820":["hashtag1","hashtag2"]},{"1394749823":["hashtag1","hashtag2"]},{"1394749817":["hashtag1","hashtag2"]},{"1394749822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749824, 1394749818, 1394749820, 1394749823, 1394749817, 1394749822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58099007606506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:31:02.969175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_39_2549.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_45_2485.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_49_3631.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_52_2643.jpg', '/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_54_2683.jpg', '/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_39_2549.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_45_2485.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_49_3631.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_52_2643.jpg
/home/pi/Desktop/images/16112025/12/59/image_16112025_12_59_54_2683.jpg
/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749827","1394749829","1394749826","1394749831","1394749825","1394749834"],"photo_ids_order":["1394749825","1394749826","1394749827","1394749829","1394749831","1394749834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1061db8369e34a3dac011968579637fe.jpg","text":"TemporaryFile(/tmp/multipartBody6967843622497820098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303523695,"filename":"image_16112025_12_59_49_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31c1255eb563e98ca9dc1f12838b05ab.jpg","text":"TemporaryFile(/tmp/multipartBody4628131817909587711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303523695,"filename":"image_16112025_12_59_52_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ea398dfa2a4205de3e9a155307f147b.jpg","text":"TemporaryFile(/tmp/multipartBody7542009556656705664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303523695,"filename":"image_16112025_12_59_45_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e4425eb3df74206a610f1557c2c31a4.jpg","text":"TemporaryFile(/tmp/multipartBody6702656975270491193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303523695,"filename":"image_16112025_12_59_54_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fd32151fde85dccc2df08439bcb4d59.jpg","text":"TemporaryFile(/tmp/multipartBody2908536288465356317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303523695,"filename":"image_16112025_12_59_39_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e38586da283854a5a046191e65cba8a.jpg","text":"TemporaryFile(/tmp/multipartBody8197060871674654744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303523695,"filename":"image_16112025_13_01_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749827","file1":"1394749826","file0":"1394749825","file4":"1394749831","file5":"1394749834","file3":"1394749829"},"map_files_photo_id_array":[{"photo_id":"1394749834","filename":"file5"},{"photo_id":"1394749827","filename":"file2"},{"photo_id":"1394749831","filename":"file4"},{"photo_id":"1394749826","filename":"file1"},{"photo_id":"1394749825","filename":"file0"},{"photo_id":"1394749829","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749827":["hashtag1","hashtag2"]},{"1394749829":["hashtag1","hashtag2"]},{"1394749826":["hashtag1","hashtag2"]},{"1394749831":["hashtag1","hashtag2"]},{"1394749825":["hashtag1","hashtag2"]},{"1394749834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749827, 1394749829, 1394749826, 1394749831, 1394749825, 1394749834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7095091342926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:31:42.202215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_10_3615.jpg', '/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_13_2595.jpg', '/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_19_2702.jpg', '/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_22_2568.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_06_3011.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_10_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_10_3615.jpg
/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_13_2595.jpg
/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_19_2702.jpg
/home/pi/Desktop/images/16112025/13/01/image_16112025_13_01_22_2568.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_06_3011.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_10_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749842","1394749841","1394749844","1394749843","1394749840","1394749837"],"photo_ids_order":["1394749837","1394749840","1394749841","1394749842","1394749843","1394749844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35f541841362edf3f1ec671cf0a79d4a.jpg","text":"TemporaryFile(/tmp/multipartBody3124789335410331083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303562856,"filename":"image_16112025_13_01_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/11/16/e4c1a2d309e217da6215a8b08f7f9664.jpg","text":"TemporaryFile(/tmp/multipartBody790259611427858116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303562856,"filename":"image_16112025_13_01_19_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5af75db6b6c8f3ba7f8be1e6ee06dc5b.jpg","text":"TemporaryFile(/tmp/multipartBody6418801926739673937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303562856,"filename":"image_16112025_13_03_10_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a02f8755d02ff757a062d64840ab4fd0.jpg","text":"TemporaryFile(/tmp/multipartBody2009194459062684162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303562856,"filename":"image_16112025_13_03_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/11/16/b65bc6857c3a2d7906855851a01bebb9.jpg","text":"TemporaryFile(/tmp/multipartBody8631716754576881015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303562856,"filename":"image_16112025_13_01_13_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40c0f53a0632e963a70aaf08ade81796.jpg","text":"TemporaryFile(/tmp/multipartBody4779440202012944532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303562856,"filename":"image_16112025_13_01_10_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749841","file1":"1394749840","file0":"1394749837","file4":"1394749843","file5":"1394749844","file3":"1394749842"},"map_files_photo_id_array":[{"photo_id":"1394749844","filename":"file5"},{"photo_id":"1394749841","filename":"file2"},{"photo_id":"1394749843","filename":"file4"},{"photo_id":"1394749840","filename":"file1"},{"photo_id":"1394749837","filename":"file0"},{"photo_id":"1394749842","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749842":["hashtag1","hashtag2"]},{"1394749841":["hashtag1","hashtag2"]},{"1394749844":["hashtag1","hashtag2"]},{"1394749843":["hashtag1","hashtag2"]},{"1394749840":["hashtag1","hashtag2"]},{"1394749837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749842, 1394749841, 1394749844, 1394749843, 1394749840, 1394749837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78877544403076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:32:22.452779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_13_2647.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_15_2693.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_19_3608.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_22_2608.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_24_2703.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_30_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_13_2647.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_15_2693.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_19_3608.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_22_2608.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_24_2703.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_30_2644.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.5905904769897461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:32:42.444267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_13_2647.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_15_2693.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_19_3608.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_22_2608.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_24_2703.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_30_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_13_2647.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_15_2693.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_19_3608.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_22_2608.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_24_2703.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_30_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749863","1394749857","1394749853","1394749861","1394749858","1394749860"],"photo_ids_order":["1394749853","1394749857","1394749858","1394749860","1394749861","1394749863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cf10167ab2b50fcf9ed5836daa96bec.jpg","text":"TemporaryFile(/tmp/multipartBody1990379316882278708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303623106,"filename":"image_16112025_13_03_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/11/16/1b6bb8908d5fdb00a7c94a0bf23fad65.jpg","text":"TemporaryFile(/tmp/multipartBody832291372702072820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303623106,"filename":"image_16112025_13_03_15_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30c4e9e16c3e91f8d2a96f1dac15283a.jpg","text":"TemporaryFile(/tmp/multipartBody3248149738905771009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303623106,"filename":"image_16112025_13_03_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/11/16/54dde29fc73d47b909aea008894af5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7420887417458400746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303623106,"filename":"image_16112025_13_03_24_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5a4b12c5e7d26baee47bfddbe224610.jpg","text":"TemporaryFile(/tmp/multipartBody4541485206110002900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303623106,"filename":"image_16112025_13_03_19_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d03577debc53be466a4ad1cae7e95455.jpg","text":"TemporaryFile(/tmp/multipartBody7191571558569705675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303623106,"filename":"image_16112025_13_03_22_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749858","file1":"1394749857","file0":"1394749853","file4":"1394749861","file5":"1394749863","file3":"1394749860"},"map_files_photo_id_array":[{"photo_id":"1394749863","filename":"file5"},{"photo_id":"1394749858","filename":"file2"},{"photo_id":"1394749861","filename":"file4"},{"photo_id":"1394749857","filename":"file1"},{"photo_id":"1394749853","filename":"file0"},{"photo_id":"1394749860","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749863":["hashtag1","hashtag2"]},{"1394749857":["hashtag1","hashtag2"]},{"1394749853":["hashtag1","hashtag2"]},{"1394749861":["hashtag1","hashtag2"]},{"1394749858":["hashtag1","hashtag2"]},{"1394749860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749863, 1394749857, 1394749853, 1394749861, 1394749858, 1394749860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91191649436951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:33:22.719507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_34_3517.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_37_2839.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_46_2634.jpg', '/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_48_2669.jpg', '/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_07_3011.jpg', '/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_14_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_34_3517.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_37_2839.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_46_2634.jpg
/home/pi/Desktop/images/16112025/13/03/image_16112025_13_03_48_2669.jpg
/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_07_3011.jpg
/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_14_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749877","1394749886","1394749880","1394749888","1394749873","1394749884"],"photo_ids_order":["1394749873","1394749877","1394749880","1394749884","1394749886","1394749888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b25c3ec91f860229d43dc0454aa995a3.jpg","text":"TemporaryFile(/tmp/multipartBody11646175183505732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303663390,"filename":"image_16112025_13_03_37_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f96cd863f8b7729d3501d546d1897ebe.jpg","text":"TemporaryFile(/tmp/multipartBody6024014254963210836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303663390,"filename":"image_16112025_13_05_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/11/16/b9b3f581d6529860ffe314d49b06d08c.jpg","text":"TemporaryFile(/tmp/multipartBody8856682792226501772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303663390,"filename":"image_16112025_13_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/11/16/aa5ffcad360cc1e0cbf59a50c40f1f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8055830256781090215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303663390,"filename":"image_16112025_13_05_14_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0591dd8aa6f62f460b3a98adf83d385.jpg","text":"TemporaryFile(/tmp/multipartBody5705073732588020402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303663390,"filename":"image_16112025_13_03_34_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcc2873c16d48c6f7e6608f1cb798fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6480085886097287112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303663390,"filename":"image_16112025_13_03_48_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749880","file1":"1394749877","file0":"1394749873","file4":"1394749886","file5":"1394749888","file3":"1394749884"},"map_files_photo_id_array":[{"photo_id":"1394749888","filename":"file5"},{"photo_id":"1394749880","filename":"file2"},{"photo_id":"1394749886","filename":"file4"},{"photo_id":"1394749877","filename":"file1"},{"photo_id":"1394749873","filename":"file0"},{"photo_id":"1394749884","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749877":["hashtag1","hashtag2"]},{"1394749886":["hashtag1","hashtag2"]},{"1394749880":["hashtag1","hashtag2"]},{"1394749888":["hashtag1","hashtag2"]},{"1394749873":["hashtag1","hashtag2"]},{"1394749884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749877, 1394749886, 1394749880, 1394749888, 1394749873, 1394749884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2239453792572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:34:02.534954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_17_3620.jpg', '/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_20_2668.jpg', '/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_38_2617.jpg', '/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_41_2773.jpg', '/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_44_3546.jpg', '/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_53_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_17_3620.jpg
/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_20_2668.jpg
/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_38_2617.jpg
/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_41_2773.jpg
/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_44_3546.jpg
/home/pi/Desktop/images/16112025/13/05/image_16112025_13_05_53_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749889","1394749891","1394749900","1394749890","1394749893","1394749896"],"photo_ids_order":["1394749889","1394749890","1394749891","1394749893","1394749896","1394749900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3348b138512f440e2fbad99bbf6c97ce.jpg","text":"TemporaryFile(/tmp/multipartBody6193543789427834448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303703390,"filename":"image_16112025_13_05_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/11/16/76cd4c89083eb5bd9f7203bd7c4349cc.jpg","text":"TemporaryFile(/tmp/multipartBody355942888248536496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303703390,"filename":"image_16112025_13_05_38_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c563e5edc316babf2dd8d5f29c4f3c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2591313633002124501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303703390,"filename":"image_16112025_13_05_53_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9aa56a59a1391aea110436f5554ba70.jpg","text":"TemporaryFile(/tmp/multipartBody5843259778990699910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303703390,"filename":"image_16112025_13_05_20_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2e18a30e3089b87bb4957780b5776b5.jpg","text":"TemporaryFile(/tmp/multipartBody1199852625399188619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303703390,"filename":"image_16112025_13_05_41_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/557ece1bbaf0e087bf1e3eb4adbf900f.jpg","text":"TemporaryFile(/tmp/multipartBody3328241973592126764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303703390,"filename":"image_16112025_13_05_44_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749891","file1":"1394749890","file0":"1394749889","file4":"1394749896","file5":"1394749900","file3":"1394749893"},"map_files_photo_id_array":[{"photo_id":"1394749900","filename":"file5"},{"photo_id":"1394749891","filename":"file2"},{"photo_id":"1394749896","filename":"file4"},{"photo_id":"1394749890","filename":"file1"},{"photo_id":"1394749889","filename":"file0"},{"photo_id":"1394749893","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749889":["hashtag1","hashtag2"]},{"1394749891":["hashtag1","hashtag2"]},{"1394749900":["hashtag1","hashtag2"]},{"1394749890":["hashtag1","hashtag2"]},{"1394749893":["hashtag1","hashtag2"]},{"1394749896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749889, 1394749891, 1394749900, 1394749890, 1394749893, 1394749896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70732665061951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:34:41.948484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_06_3018.jpg', '/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_10_3825.jpg', '/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_13_2843.jpg', '/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_16_2755.jpg', '/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_37_2629.jpg', '/home/pi/Desktop/images/16112025/13/08/image_16112025_13_08_40_3057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_06_3018.jpg
/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_10_3825.jpg
/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_13_2843.jpg
/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_16_2755.jpg
/home/pi/Desktop/images/16112025/13/07/image_16112025_13_07_37_2629.jpg
/home/pi/Desktop/images/16112025/13/08/image_16112025_13_08_40_3057.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749911","1394749908","1394749910","1394749907","1394749912","1394749909"],"photo_ids_order":["1394749907","1394749908","1394749909","1394749910","1394749911","1394749912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd9ff9dde164c86fb2b7829e5d6c8285.jpg","text":"TemporaryFile(/tmp/multipartBody8984466344906309275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303742589,"filename":"image_16112025_13_07_37_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4a09b2a0a1f99d453cbcff33bbf90e3.jpg","text":"TemporaryFile(/tmp/multipartBody6221561371051619764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303742589,"filename":"image_16112025_13_07_10_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dcc2bd47575af5e992fe1ae1f17f6ec.jpg","text":"TemporaryFile(/tmp/multipartBody8641085340282411629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303742589,"filename":"image_16112025_13_07_16_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9122c62389b6b5a15fbb91884aa4c3c1.jpg","text":"TemporaryFile(/tmp/multipartBody916306683954926671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303742589,"filename":"image_16112025_13_07_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bea1e24fa2302e7c68b4893ca919a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5567271847687113821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303742589,"filename":"image_16112025_13_08_40_3057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52b31bfb88634e47b9f84afadc5219d5.jpg","text":"TemporaryFile(/tmp/multipartBody4122719301240327218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303742589,"filename":"image_16112025_13_07_13_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749909","file1":"1394749908","file0":"1394749907","file4":"1394749911","file5":"1394749912","file3":"1394749910"},"map_files_photo_id_array":[{"photo_id":"1394749912","filename":"file5"},{"photo_id":"1394749909","filename":"file2"},{"photo_id":"1394749911","filename":"file4"},{"photo_id":"1394749908","filename":"file1"},{"photo_id":"1394749907","filename":"file0"},{"photo_id":"1394749910","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749911":["hashtag1","hashtag2"]},{"1394749908":["hashtag1","hashtag2"]},{"1394749910":["hashtag1","hashtag2"]},{"1394749907":["hashtag1","hashtag2"]},{"1394749912":["hashtag1","hashtag2"]},{"1394749909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749911, 1394749908, 1394749910, 1394749907, 1394749912, 1394749909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23113131523132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:35:22.204738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/08/image_16112025_13_08_58_2716.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_07_3644.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_28_3630.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_31_2771.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_37_3687.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_40_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/08/image_16112025_13_08_58_2716.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_07_3644.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_28_3630.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_31_2771.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_37_3687.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_40_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749920","1394749914","1394749922","1394749916","1394749919","1394749918"],"photo_ids_order":["1394749914","1394749916","1394749918","1394749919","1394749920","1394749922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/baa6c3088916f9faa0bac502f9edfb09.jpg","text":"TemporaryFile(/tmp/multipartBody8902524247392039373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303782877,"filename":"image_16112025_13_09_37_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3023fe5b6165899f8704fcd652c078b.jpg","text":"TemporaryFile(/tmp/multipartBody4979015293669363849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303782877,"filename":"image_16112025_13_08_58_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/031056df10030c411ee552466ddcd3ec.jpg","text":"TemporaryFile(/tmp/multipartBody2658069669111844987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303782877,"filename":"image_16112025_13_09_40_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7157eb1a0108ef3e095bbd6716a099f5.jpg","text":"TemporaryFile(/tmp/multipartBody8819243226504215089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303782877,"filename":"image_16112025_13_09_07_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9907de5d63a19d036fbc6caf5a3fc2fa.jpg","text":"TemporaryFile(/tmp/multipartBody4432368832013610283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303782877,"filename":"image_16112025_13_09_31_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9257b4522abb802190a29264ddf83c8.jpg","text":"TemporaryFile(/tmp/multipartBody3836892866055346244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303782877,"filename":"image_16112025_13_09_28_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749918","file1":"1394749916","file0":"1394749914","file4":"1394749920","file5":"1394749922","file3":"1394749919"},"map_files_photo_id_array":[{"photo_id":"1394749922","filename":"file5"},{"photo_id":"1394749918","filename":"file2"},{"photo_id":"1394749920","filename":"file4"},{"photo_id":"1394749916","filename":"file1"},{"photo_id":"1394749914","filename":"file0"},{"photo_id":"1394749919","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749920":["hashtag1","hashtag2"]},{"1394749914":["hashtag1","hashtag2"]},{"1394749922":["hashtag1","hashtag2"]},{"1394749916":["hashtag1","hashtag2"]},{"1394749919":["hashtag1","hashtag2"]},{"1394749918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749920, 1394749914, 1394749922, 1394749916, 1394749919, 1394749918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.931482791900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:36:02.892747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_46_3588.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_51_2690.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_55_3549.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_58_2650.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_10_00_2626.jpg', '/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_04_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_46_3588.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_51_2690.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_55_3549.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_58_2650.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_10_00_2626.jpg
/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_04_3685.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.6411783695220947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:36:22.477716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_46_3588.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_51_2690.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_55_3549.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_58_2650.jpg', '/home/pi/Desktop/images/16112025/13/09/image_16112025_13_10_00_2626.jpg', '/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_04_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_46_3588.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_51_2690.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_55_3549.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_09_58_2650.jpg
/home/pi/Desktop/images/16112025/13/09/image_16112025_13_10_00_2626.jpg
/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_04_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749941","1394749929","1394749938","1394749931","1394749945","1394749933"],"photo_ids_order":["1394749929","1394749931","1394749933","1394749938","1394749941","1394749945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c70f01b18f4e0e27ec636bc00bcbf414.jpg","text":"TemporaryFile(/tmp/multipartBody4386009514919416470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303843216,"filename":"image_16112025_13_10_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/11/16/03ec0107858ceff18cb74468db3982bd.jpg","text":"TemporaryFile(/tmp/multipartBody1972968860887158485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303843216,"filename":"image_16112025_13_09_46_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d46c4a059a7e3e4e25b710daa49030ac.jpg","text":"TemporaryFile(/tmp/multipartBody5497969023217821069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303843216,"filename":"image_16112025_13_09_58_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/516a5f1aa02e1bd868f621d94689bf66.jpg","text":"TemporaryFile(/tmp/multipartBody8715288923216533835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303843216,"filename":"image_16112025_13_09_51_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6c5c0eb6831b431c69b9b56e36ecf24.jpg","text":"TemporaryFile(/tmp/multipartBody7849320270846331208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303843216,"filename":"image_16112025_13_10_04_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbea675b26a9deffa0956d88102ba4f4.jpg","text":"TemporaryFile(/tmp/multipartBody2112327476005904642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303843216,"filename":"image_16112025_13_09_55_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749933","file1":"1394749931","file0":"1394749929","file4":"1394749941","file5":"1394749945","file3":"1394749938"},"map_files_photo_id_array":[{"photo_id":"1394749945","filename":"file5"},{"photo_id":"1394749933","filename":"file2"},{"photo_id":"1394749941","filename":"file4"},{"photo_id":"1394749931","filename":"file1"},{"photo_id":"1394749929","filename":"file0"},{"photo_id":"1394749938","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749941":["hashtag1","hashtag2"]},{"1394749929":["hashtag1","hashtag2"]},{"1394749938":["hashtag1","hashtag2"]},{"1394749931":["hashtag1","hashtag2"]},{"1394749945":["hashtag1","hashtag2"]},{"1394749933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749941, 1394749929, 1394749938, 1394749931, 1394749945, 1394749933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20936179161072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:37:03.524536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_07_2699.jpg', '/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_09_2575.jpg', '/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_22_3780.jpg', '/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_45_2760.jpg', '/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_58_3828.jpg', '/home/pi/Desktop/images/16112025/13/11/image_16112025_13_11_03_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_07_2699.jpg
/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_09_2575.jpg
/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_22_3780.jpg
/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_45_2760.jpg
/home/pi/Desktop/images/16112025/13/10/image_16112025_13_10_58_3828.jpg
/home/pi/Desktop/images/16112025/13/11/image_16112025_13_11_03_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749958","1394749952","1394749955","1394749949","1394749951","1394749948"],"photo_ids_order":["1394749948","1394749949","1394749951","1394749952","1394749955","1394749958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cacf7fcdb4bc6e1da8bbde743c90d41.jpg","text":"TemporaryFile(/tmp/multipartBody1204801873740342665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303884301,"filename":"image_16112025_13_11_03_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2a573060b43d56317867b61bd2a24cd.jpg","text":"TemporaryFile(/tmp/multipartBody403700011706326015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303884301,"filename":"image_16112025_13_10_45_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28939dc13493193c57431dbb72bb7b01.jpg","text":"TemporaryFile(/tmp/multipartBody3516463075845422821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303884301,"filename":"image_16112025_13_10_58_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30456494f5ce004dbd8d235fa469044b.jpg","text":"TemporaryFile(/tmp/multipartBody3178774581388014141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303884301,"filename":"image_16112025_13_10_09_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22b706a57a6e5981512adfdb53666933.jpg","text":"TemporaryFile(/tmp/multipartBody2107038997407952219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303884301,"filename":"image_16112025_13_10_22_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd3864f382047ce9ac040490f7a97c58.jpg","text":"TemporaryFile(/tmp/multipartBody5341330498161110143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303884301,"filename":"image_16112025_13_10_07_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749951","file1":"1394749949","file0":"1394749948","file4":"1394749955","file5":"1394749958","file3":"1394749952"},"map_files_photo_id_array":[{"photo_id":"1394749958","filename":"file5"},{"photo_id":"1394749951","filename":"file2"},{"photo_id":"1394749955","filename":"file4"},{"photo_id":"1394749949","filename":"file1"},{"photo_id":"1394749948","filename":"file0"},{"photo_id":"1394749952","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749958":["hashtag1","hashtag2"]},{"1394749952":["hashtag1","hashtag2"]},{"1394749955":["hashtag1","hashtag2"]},{"1394749949":["hashtag1","hashtag2"]},{"1394749951":["hashtag1","hashtag2"]},{"1394749948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749958, 1394749952, 1394749955, 1394749949, 1394749951, 1394749948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10281443595886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:37:42.822753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/11/image_16112025_13_11_18_2577.jpg', '/home/pi/Desktop/images/16112025/13/11/image_16112025_13_11_25_3821.jpg', '/home/pi/Desktop/images/16112025/13/12/image_16112025_13_12_46_3668.jpg', '/home/pi/Desktop/images/16112025/13/12/image_16112025_13_12_55_3780.jpg', '/home/pi/Desktop/images/16112025/13/13/image_16112025_13_14_00_2700.jpg', '/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_09_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/11/image_16112025_13_11_18_2577.jpg
/home/pi/Desktop/images/16112025/13/11/image_16112025_13_11_25_3821.jpg
/home/pi/Desktop/images/16112025/13/12/image_16112025_13_12_46_3668.jpg
/home/pi/Desktop/images/16112025/13/12/image_16112025_13_12_55_3780.jpg
/home/pi/Desktop/images/16112025/13/13/image_16112025_13_14_00_2700.jpg
/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_09_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749962","1394749964","1394749967","1394749969","1394749963","1394749965"],"photo_ids_order":["1394749962","1394749963","1394749964","1394749965","1394749967","1394749969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/671a8204db298605476cc510e27f4616.jpg","text":"TemporaryFile(/tmp/multipartBody2020183454443213278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303923483,"filename":"image_16112025_13_11_18_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a8395103d46757a78dab8d6fbd8c09b.jpg","text":"TemporaryFile(/tmp/multipartBody5524016008975665825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303923483,"filename":"image_16112025_13_12_46_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbf5eadb049e1a76ca174d62cdec05a8.jpg","text":"TemporaryFile(/tmp/multipartBody8824811981373253820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303923483,"filename":"image_16112025_13_14_00_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfdacae2ca41adba7dcb5534ecc59b90.jpg","text":"TemporaryFile(/tmp/multipartBody6589181367140984597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303923483,"filename":"image_16112025_13_14_09_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fd073d7d1f875dc856c6d448f3ab4af.jpg","text":"TemporaryFile(/tmp/multipartBody1213801912004470257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303923483,"filename":"image_16112025_13_11_25_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f591a1a95c4ea70b471eeab146c9c51.jpg","text":"TemporaryFile(/tmp/multipartBody4619496382132857765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303923483,"filename":"image_16112025_13_12_55_3780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749964","file1":"1394749963","file0":"1394749962","file4":"1394749967","file5":"1394749969","file3":"1394749965"},"map_files_photo_id_array":[{"photo_id":"1394749969","filename":"file5"},{"photo_id":"1394749964","filename":"file2"},{"photo_id":"1394749967","filename":"file4"},{"photo_id":"1394749963","filename":"file1"},{"photo_id":"1394749962","filename":"file0"},{"photo_id":"1394749965","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749962":["hashtag1","hashtag2"]},{"1394749964":["hashtag1","hashtag2"]},{"1394749967":["hashtag1","hashtag2"]},{"1394749969":["hashtag1","hashtag2"]},{"1394749963":["hashtag1","hashtag2"]},{"1394749965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749962, 1394749964, 1394749967, 1394749969, 1394749963, 1394749965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63676190376282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:38:22.088463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_25_3863.jpg', '/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_34_3627.jpg', '/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_39_2747.jpg', '/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_48_2784.jpg', '/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_54_2553.jpg', '/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_16_3750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_25_3863.jpg
/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_34_3627.jpg
/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_39_2747.jpg
/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_48_2784.jpg
/home/pi/Desktop/images/16112025/13/14/image_16112025_13_14_54_2553.jpg
/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_16_3750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749982","1394749985","1394749979","1394749987","1394749975","1394749978"],"photo_ids_order":["1394749975","1394749978","1394749979","1394749982","1394749985","1394749987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95f4c40bad0d436ebfaf6a4230ce086b.jpg","text":"TemporaryFile(/tmp/multipartBody8328381406803927028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303962727,"filename":"image_16112025_13_14_48_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/620bddef93d1501ada83435577439326.jpg","text":"TemporaryFile(/tmp/multipartBody7120229567216404881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303962727,"filename":"image_16112025_13_14_54_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7562352722949bd2fa8074a8991177f1.jpg","text":"TemporaryFile(/tmp/multipartBody6802180948058271930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303962727,"filename":"image_16112025_13_14_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/11/16/20e47274c79edf977c4c0a17628adcfb.jpg","text":"TemporaryFile(/tmp/multipartBody3662145468997260157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303962727,"filename":"image_16112025_13_15_16_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a4d5c12004810d3839996764d1f6868.jpg","text":"TemporaryFile(/tmp/multipartBody3881287046765190675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303962727,"filename":"image_16112025_13_14_25_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b4ec2150b95dd50f5bde0e1a306a9c8.jpg","text":"TemporaryFile(/tmp/multipartBody171068808671276397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763303962727,"filename":"image_16112025_13_14_34_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749979","file1":"1394749978","file0":"1394749975","file4":"1394749985","file5":"1394749987","file3":"1394749982"},"map_files_photo_id_array":[{"photo_id":"1394749987","filename":"file5"},{"photo_id":"1394749979","filename":"file2"},{"photo_id":"1394749985","filename":"file4"},{"photo_id":"1394749978","filename":"file1"},{"photo_id":"1394749975","filename":"file0"},{"photo_id":"1394749982","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749982":["hashtag1","hashtag2"]},{"1394749985":["hashtag1","hashtag2"]},{"1394749979":["hashtag1","hashtag2"]},{"1394749987":["hashtag1","hashtag2"]},{"1394749975":["hashtag1","hashtag2"]},{"1394749978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749982, 1394749985, 1394749979, 1394749987, 1394749975, 1394749978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52799129486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:39:03.035872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_25_3680.jpg', '/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_33_3621.jpg', '/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_36_2616.jpg', '/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_51_3537.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_15_2886.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_18_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_25_3680.jpg
/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_33_3621.jpg
/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_36_2616.jpg
/home/pi/Desktop/images/16112025/13/15/image_16112025_13_15_51_3537.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_15_2886.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_18_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394749988","1394749993","1394749990","1394749998","1394749992","1394749995"],"photo_ids_order":["1394749988","1394749990","1394749992","1394749993","1394749995","1394749998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c05daef514257b0811124dde3782e6b.jpg","text":"TemporaryFile(/tmp/multipartBody3337658184956129463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304003976,"filename":"image_16112025_13_15_25_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/362f165798caf0e98f27fc5536e3a279.jpg","text":"TemporaryFile(/tmp/multipartBody4478393668278843946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304003976,"filename":"image_16112025_13_15_51_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bdf2de00edec69c691f21b538839def.jpg","text":"TemporaryFile(/tmp/multipartBody465745983266333760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304003976,"filename":"image_16112025_13_15_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/11/16/971e42382fc429d48cc4fada91801f13.jpg","text":"TemporaryFile(/tmp/multipartBody7343111035543307517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304003976,"filename":"image_16112025_13_16_18_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee91e8fdfff8528939aa4b7a13f655c6.jpg","text":"TemporaryFile(/tmp/multipartBody2670239128445140341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304003976,"filename":"image_16112025_13_15_36_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6dcda6565f0727ca2e6eda198bf1f7dd.jpg","text":"TemporaryFile(/tmp/multipartBody9171532290776255354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304003976,"filename":"image_16112025_13_16_15_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394749992","file1":"1394749990","file0":"1394749988","file4":"1394749995","file5":"1394749998","file3":"1394749993"},"map_files_photo_id_array":[{"photo_id":"1394749998","filename":"file5"},{"photo_id":"1394749992","filename":"file2"},{"photo_id":"1394749995","filename":"file4"},{"photo_id":"1394749990","filename":"file1"},{"photo_id":"1394749988","filename":"file0"},{"photo_id":"1394749993","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394749988":["hashtag1","hashtag2"]},{"1394749993":["hashtag1","hashtag2"]},{"1394749990":["hashtag1","hashtag2"]},{"1394749998":["hashtag1","hashtag2"]},{"1394749992":["hashtag1","hashtag2"]},{"1394749995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394749988, 1394749993, 1394749990, 1394749998, 1394749992, 1394749995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56122541427612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:39:42.364323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_21_3744.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_24_2669.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_30_3698.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_33_2636.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_42_2734.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_48_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_21_3744.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_24_2669.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_30_3698.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_33_2636.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_42_2734.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_48_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750008","1394750010","1394750004","1394750007","1394750009","1394750006"],"photo_ids_order":["1394750004","1394750006","1394750007","1394750008","1394750009","1394750010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcaa6e04bacf6a33bbcf47468df31d17.jpg","text":"TemporaryFile(/tmp/multipartBody1405478422105184973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304043063,"filename":"image_16112025_13_16_33_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96b5f07250373244be09b5e80672b459.jpg","text":"TemporaryFile(/tmp/multipartBody4695056491648151315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304043063,"filename":"image_16112025_13_16_48_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfb29134b76e9baf48930205fecd36ef.jpg","text":"TemporaryFile(/tmp/multipartBody683156376634842030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304043063,"filename":"image_16112025_13_16_21_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a99fa4a425c5a3918854333b72493866.jpg","text":"TemporaryFile(/tmp/multipartBody8797118015688908485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304043063,"filename":"image_16112025_13_16_30_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3deff614ffab38a04a04839f6893fdf6.jpg","text":"TemporaryFile(/tmp/multipartBody2675692663952682691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304043063,"filename":"image_16112025_13_16_42_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5233ca50acb1c96f3a3896a454355a4.jpg","text":"TemporaryFile(/tmp/multipartBody695580314091958523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304043063,"filename":"image_16112025_13_16_24_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750007","file1":"1394750006","file0":"1394750004","file4":"1394750009","file5":"1394750010","file3":"1394750008"},"map_files_photo_id_array":[{"photo_id":"1394750010","filename":"file5"},{"photo_id":"1394750007","filename":"file2"},{"photo_id":"1394750009","filename":"file4"},{"photo_id":"1394750006","filename":"file1"},{"photo_id":"1394750004","filename":"file0"},{"photo_id":"1394750008","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750008":["hashtag1","hashtag2"]},{"1394750010":["hashtag1","hashtag2"]},{"1394750004":["hashtag1","hashtag2"]},{"1394750007":["hashtag1","hashtag2"]},{"1394750009":["hashtag1","hashtag2"]},{"1394750006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750008, 1394750010, 1394750004, 1394750007, 1394750009, 1394750006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.784632205963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:40:22.605965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_57_3761.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_17_00_2602.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_27_3577.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_30_2696.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_36_3548.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_39_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_57_3761.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_17_00_2602.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_27_3577.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_30_2696.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_36_3548.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_39_2578.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.6402699947357178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:40:42.503145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_57_3761.jpg', '/home/pi/Desktop/images/16112025/13/16/image_16112025_13_17_00_2602.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_27_3577.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_30_2696.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_36_3548.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_39_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_16_57_3761.jpg
/home/pi/Desktop/images/16112025/13/16/image_16112025_13_17_00_2602.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_27_3577.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_30_2696.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_36_3548.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_39_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750029","1394750031","1394750028","1394750030","1394750032","1394750026"],"photo_ids_order":["1394750026","1394750028","1394750029","1394750030","1394750031","1394750032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10e21ac436e6ea4c64b63598c4a97f98.jpg","text":"TemporaryFile(/tmp/multipartBody5040142650681484025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304103153,"filename":"image_16112025_13_18_27_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ba113f54d386cc94320d9cd5b101a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4946989902879502509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304103153,"filename":"image_16112025_13_18_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/11/16/bf176149d099ebb0404dde9965fdedd1.jpg","text":"TemporaryFile(/tmp/multipartBody6176079880931760809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304103153,"filename":"image_16112025_13_17_00_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19805410e773bdcbf7eb41791529db30.jpg","text":"TemporaryFile(/tmp/multipartBody1191584896187585502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304103153,"filename":"image_16112025_13_18_30_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eee087ceac98ad6de96ceb48ce112185.jpg","text":"TemporaryFile(/tmp/multipartBody3632749878568853235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304103153,"filename":"image_16112025_13_18_39_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84b86db41f3ef6b25108c2b794f45a1e.jpg","text":"TemporaryFile(/tmp/multipartBody5371827062782583833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304103153,"filename":"image_16112025_13_16_57_3761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750029","file1":"1394750028","file0":"1394750026","file4":"1394750031","file5":"1394750032","file3":"1394750030"},"map_files_photo_id_array":[{"photo_id":"1394750032","filename":"file5"},{"photo_id":"1394750029","filename":"file2"},{"photo_id":"1394750031","filename":"file4"},{"photo_id":"1394750028","filename":"file1"},{"photo_id":"1394750026","filename":"file0"},{"photo_id":"1394750030","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750029":["hashtag1","hashtag2"]},{"1394750031":["hashtag1","hashtag2"]},{"1394750028":["hashtag1","hashtag2"]},{"1394750030":["hashtag1","hashtag2"]},{"1394750032":["hashtag1","hashtag2"]},{"1394750026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750029, 1394750031, 1394750028, 1394750030, 1394750032, 1394750026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.576863050460815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:41:22.742856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_41_2704.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_48_2643.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_50_2675.jpg', '/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_54_3639.jpg', '/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_24_2690.jpg', '/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_26_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_41_2704.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_48_2643.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_50_2675.jpg
/home/pi/Desktop/images/16112025/13/18/image_16112025_13_18_54_3639.jpg
/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_24_2690.jpg
/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_26_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750041","1394750040","1394750048","1394750042","1394750036","1394750039"],"photo_ids_order":["1394750036","1394750039","1394750040","1394750041","1394750042","1394750048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e36c83119e07cfe5d2309a982b3bf45b.jpg","text":"TemporaryFile(/tmp/multipartBody3947016753352729448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304143466,"filename":"image_16112025_13_18_54_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/260931f0f08c1e72dc5f51c8230b5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8855668760212063511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304143466,"filename":"image_16112025_13_18_50_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3dbe55a90cfddb1448626a11a7178de6.jpg","text":"TemporaryFile(/tmp/multipartBody1467958674004525485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304143466,"filename":"image_16112025_13_19_26_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/733ba629eb9519d31f7106c8e6438799.jpg","text":"TemporaryFile(/tmp/multipartBody3247343424805557175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304143466,"filename":"image_16112025_13_19_24_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8bb1946b4e4469deeedbb373d1e9d8b9.jpg","text":"TemporaryFile(/tmp/multipartBody3366385720657453993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304143466,"filename":"image_16112025_13_18_41_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cc4cfba0ce7af6b384c0dac83aec5a7.jpg","text":"TemporaryFile(/tmp/multipartBody2807350936623641283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304143466,"filename":"image_16112025_13_18_48_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750040","file1":"1394750039","file0":"1394750036","file4":"1394750042","file5":"1394750048","file3":"1394750041"},"map_files_photo_id_array":[{"photo_id":"1394750048","filename":"file5"},{"photo_id":"1394750040","filename":"file2"},{"photo_id":"1394750042","filename":"file4"},{"photo_id":"1394750039","filename":"file1"},{"photo_id":"1394750036","filename":"file0"},{"photo_id":"1394750041","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750041":["hashtag1","hashtag2"]},{"1394750040":["hashtag1","hashtag2"]},{"1394750048":["hashtag1","hashtag2"]},{"1394750042":["hashtag1","hashtag2"]},{"1394750036":["hashtag1","hashtag2"]},{"1394750039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750041, 1394750040, 1394750048, 1394750042, 1394750036, 1394750039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.023579835891724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:42:02.679834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_29_2849.jpg', '/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_38_2662.jpg', '/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_42_3674.jpg', '/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_45_2599.jpg', '/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_48_3009.jpg', '/home/pi/Desktop/images/16112025/13/19/image_16112025_13_20_00_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_29_2849.jpg
/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_38_2662.jpg
/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_42_3674.jpg
/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_45_2599.jpg
/home/pi/Desktop/images/16112025/13/19/image_16112025_13_19_48_3009.jpg
/home/pi/Desktop/images/16112025/13/19/image_16112025_13_20_00_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750052","1394750051","1394750054","1394750056","1394750059","1394750050"],"photo_ids_order":["1394750050","1394750051","1394750052","1394750054","1394750056","1394750059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6d750712fd41bffbfbf9e768b0d960d.jpg","text":"TemporaryFile(/tmp/multipartBody8307509880417383092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304183416,"filename":"image_16112025_13_19_42_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca10778da200f5acc82827f496485761.jpg","text":"TemporaryFile(/tmp/multipartBody1154449524825120953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304183416,"filename":"image_16112025_13_19_38_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0546582ed22677f514462495e252754.jpg","text":"TemporaryFile(/tmp/multipartBody6358642942703421662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304183416,"filename":"image_16112025_13_19_45_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50c1c7d76b4c91213762662fe101af48.jpg","text":"TemporaryFile(/tmp/multipartBody5374072099361605033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304183416,"filename":"image_16112025_13_19_48_3009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c2ea5448dc957a20433b2884dfaf1c7.jpg","text":"TemporaryFile(/tmp/multipartBody3274961954840746608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304183416,"filename":"image_16112025_13_20_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/11/16/50cf20324aa3ba87be358d49e6db1eef.jpg","text":"TemporaryFile(/tmp/multipartBody4318327334654747422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304183416,"filename":"image_16112025_13_19_29_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750052","file1":"1394750051","file0":"1394750050","file4":"1394750056","file5":"1394750059","file3":"1394750054"},"map_files_photo_id_array":[{"photo_id":"1394750059","filename":"file5"},{"photo_id":"1394750052","filename":"file2"},{"photo_id":"1394750056","filename":"file4"},{"photo_id":"1394750051","filename":"file1"},{"photo_id":"1394750050","filename":"file0"},{"photo_id":"1394750054","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750052":["hashtag1","hashtag2"]},{"1394750051":["hashtag1","hashtag2"]},{"1394750054":["hashtag1","hashtag2"]},{"1394750056":["hashtag1","hashtag2"]},{"1394750059":["hashtag1","hashtag2"]},{"1394750050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750052, 1394750051, 1394750054, 1394750056, 1394750059, 1394750050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.606244802474976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:42:42.303959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_02_2638.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_06_3819.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_09_2732.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_12_2798.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_14_2631.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_18_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_02_2638.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_06_3819.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_09_2732.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_12_2798.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_14_2631.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_18_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750079","1394750082","1394750081","1394750078","1394750080","1394750077"],"photo_ids_order":["1394750077","1394750078","1394750079","1394750080","1394750081","1394750082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b436b9ec9087417d5d0cf486562185fd.jpg","text":"TemporaryFile(/tmp/multipartBody4546761192430759101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304222973,"filename":"image_16112025_13_20_09_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfc9b0d0b58fce297d4ad1a0e3732496.jpg","text":"TemporaryFile(/tmp/multipartBody4602500010121171976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304222973,"filename":"image_16112025_13_20_18_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/027bb589b8db5cd97835eb6a885e4892.jpg","text":"TemporaryFile(/tmp/multipartBody3979949723166927809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304222973,"filename":"image_16112025_13_20_14_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d04813ea7fbe50b87437d252e2730951.jpg","text":"TemporaryFile(/tmp/multipartBody2459545968312225999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304222973,"filename":"image_16112025_13_20_06_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ca599ce095e6e55f45551a34ffc7c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5510044095940849447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304222973,"filename":"image_16112025_13_20_12_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a65a3e30edc22d363842cf44023c3786.jpg","text":"TemporaryFile(/tmp/multipartBody4566063049971990310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304222973,"filename":"image_16112025_13_20_02_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750079","file1":"1394750078","file0":"1394750077","file4":"1394750081","file5":"1394750082","file3":"1394750080"},"map_files_photo_id_array":[{"photo_id":"1394750082","filename":"file5"},{"photo_id":"1394750079","filename":"file2"},{"photo_id":"1394750081","filename":"file4"},{"photo_id":"1394750078","filename":"file1"},{"photo_id":"1394750077","filename":"file0"},{"photo_id":"1394750080","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750079":["hashtag1","hashtag2"]},{"1394750082":["hashtag1","hashtag2"]},{"1394750081":["hashtag1","hashtag2"]},{"1394750078":["hashtag1","hashtag2"]},{"1394750080":["hashtag1","hashtag2"]},{"1394750077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750079, 1394750082, 1394750081, 1394750078, 1394750080, 1394750077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57620120048523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:43:22.523535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_29_2676.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_44_2917.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_48_3620.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_50_2581.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_53_2675.jpg', '/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_57_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_29_2676.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_44_2917.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_48_3620.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_50_2581.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_53_2675.jpg
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_57_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750100","1394750102","1394750092","1394750095","1394750089","1394750098"],"photo_ids_order":["1394750089","1394750092","1394750095","1394750098","1394750100","1394750102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d79ff6f2e79a052b8d2e18db25e98bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6675896420967856700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304263200,"filename":"image_16112025_13_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/11/16/210e89059265891a0e1320542b7696ef.jpg","text":"TemporaryFile(/tmp/multipartBody1755173493966597519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304263200,"filename":"image_16112025_13_20_57_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1a0da9802154d1785d832304c5e322a.jpg","text":"TemporaryFile(/tmp/multipartBody357601379548863785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304263200,"filename":"image_16112025_13_20_44_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13926569473ced8d20d3cc47db8f8c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1527199137831846867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304263200,"filename":"image_16112025_13_20_48_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f96d93c1c37d405a5cc44d3e10eb242.jpg","text":"TemporaryFile(/tmp/multipartBody6948448815613988908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304263200,"filename":"image_16112025_13_20_29_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8d2a5cca8bdf667298b10ca65201834.jpg","text":"TemporaryFile(/tmp/multipartBody7616350653784960870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304263200,"filename":"image_16112025_13_20_50_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750095","file1":"1394750092","file0":"1394750089","file4":"1394750100","file5":"1394750102","file3":"1394750098"},"map_files_photo_id_array":[{"photo_id":"1394750102","filename":"file5"},{"photo_id":"1394750095","filename":"file2"},{"photo_id":"1394750100","filename":"file4"},{"photo_id":"1394750092","filename":"file1"},{"photo_id":"1394750089","filename":"file0"},{"photo_id":"1394750098","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750100":["hashtag1","hashtag2"]},{"1394750102":["hashtag1","hashtag2"]},{"1394750092":["hashtag1","hashtag2"]},{"1394750095":["hashtag1","hashtag2"]},{"1394750089":["hashtag1","hashtag2"]},{"1394750098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750100, 1394750102, 1394750092, 1394750095, 1394750089, 1394750098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32155799865723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:44:03.522429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_59_2601.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_02_2683.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_06_3613.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_08_2784.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_11_2690.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_15_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/20/image_16112025_13_20_59_2601.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_02_2683.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_06_3613.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_08_2784.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_11_2690.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_15_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750107","1394750118","1394750112","1394750109","1394750114","1394750111"],"photo_ids_order":["1394750107","1394750109","1394750111","1394750112","1394750114","1394750118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cea93e442ca63920db8800b11c3922e.jpg","text":"TemporaryFile(/tmp/multipartBody2722484248164971969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304304271,"filename":"image_16112025_13_20_59_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b33f3cc607618d2b5b04f6a78e729d2.jpg","text":"TemporaryFile(/tmp/multipartBody5425202916830381130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304304271,"filename":"image_16112025_13_21_15_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1d5486c2a3d4b759010fd3abbe028dc.jpg","text":"TemporaryFile(/tmp/multipartBody6304859642346683751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304304271,"filename":"image_16112025_13_21_08_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12dffb8fdd1f4d9ced34962743a54212.jpg","text":"TemporaryFile(/tmp/multipartBody6466302691919396269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304304271,"filename":"image_16112025_13_21_02_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f981e6f9770d5c7b47a277235288a34.jpg","text":"TemporaryFile(/tmp/multipartBody2363563588277642355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304304271,"filename":"image_16112025_13_21_11_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd87b82a8f7b9d4c840bbed2a3a9d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody232919596669092180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304304271,"filename":"image_16112025_13_21_06_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750111","file1":"1394750109","file0":"1394750107","file4":"1394750114","file5":"1394750118","file3":"1394750112"},"map_files_photo_id_array":[{"photo_id":"1394750118","filename":"file5"},{"photo_id":"1394750111","filename":"file2"},{"photo_id":"1394750114","filename":"file4"},{"photo_id":"1394750109","filename":"file1"},{"photo_id":"1394750107","filename":"file0"},{"photo_id":"1394750112","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750107":["hashtag1","hashtag2"]},{"1394750118":["hashtag1","hashtag2"]},{"1394750112":["hashtag1","hashtag2"]},{"1394750109":["hashtag1","hashtag2"]},{"1394750114":["hashtag1","hashtag2"]},{"1394750111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750107, 1394750118, 1394750112, 1394750109, 1394750114, 1394750111)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.86258625984192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:45:02.739659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 15:45:23.208097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_17_2702.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_20_2771.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_27_2649.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_33_3641.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_39_3491.jpg', '/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_51_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_17_2702.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_20_2771.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_27_2649.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_33_3641.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_39_3491.jpg
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_51_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750140","1394750160","1394750163","1394750144","1394750143","1394750137"],"photo_ids_order":["1394750137","1394750140","1394750143","1394750144","1394750160","1394750163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b385b8b9f28fd2246516072815db275.jpg","text":"TemporaryFile(/tmp/multipartBody6206841689227079595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304383855,"filename":"image_16112025_13_21_20_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/404e2daf930fc822f85720ef5afccef2.jpg","text":"TemporaryFile(/tmp/multipartBody7544215979230419289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304383855,"filename":"image_16112025_13_21_39_3491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8715562ba1c22e961d885dc7fc320b8.jpg","text":"TemporaryFile(/tmp/multipartBody6635113337118633683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304383855,"filename":"image_16112025_13_21_51_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f7c89e3d57d9bc6051dc45c7875d9f4.jpg","text":"TemporaryFile(/tmp/multipartBody4173358056218437903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304383855,"filename":"image_16112025_13_21_33_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/220282d78ed3f2a5c1c51790d8051d71.jpg","text":"TemporaryFile(/tmp/multipartBody4045109616683484494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304383855,"filename":"image_16112025_13_21_27_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e51988bfd721d4f72b92e606c5ba48c9.jpg","text":"TemporaryFile(/tmp/multipartBody572014861581211860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304383855,"filename":"image_16112025_13_21_17_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750143","file1":"1394750140","file0":"1394750137","file4":"1394750160","file5":"1394750163","file3":"1394750144"},"map_files_photo_id_array":[{"photo_id":"1394750163","filename":"file5"},{"photo_id":"1394750143","filename":"file2"},{"photo_id":"1394750160","filename":"file4"},{"photo_id":"1394750140","filename":"file1"},{"photo_id":"1394750137","filename":"file0"},{"photo_id":"1394750144","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750140":["hashtag1","hashtag2"]},{"1394750160":["hashtag1","hashtag2"]},{"1394750163":["hashtag1","hashtag2"]},{"1394750144":["hashtag1","hashtag2"]},{"1394750143":["hashtag1","hashtag2"]},{"1394750137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750140, 1394750160, 1394750163, 1394750144, 1394750143, 1394750137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83227610588074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:46:02.848555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_56_2542.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_05_3024.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_08_2541.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_14_2546.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_17_2626.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_21_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/21/image_16112025_13_21_56_2542.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_05_3024.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_08_2541.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_14_2546.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_17_2626.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_21_3702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750172","1394750175","1394750169","1394750171","1394750179","1394750170"],"photo_ids_order":["1394750169","1394750170","1394750171","1394750172","1394750175","1394750179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e53be1ab22a541c4bee89c4a1a9b998b.jpg","text":"TemporaryFile(/tmp/multipartBody3963689060144020794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304423555,"filename":"image_16112025_13_22_14_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2a3293297df0a201d40f7f7e72d2178.jpg","text":"TemporaryFile(/tmp/multipartBody3949160239754066797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304423555,"filename":"image_16112025_13_22_17_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a1197cdf0fba320e8574c075463325d.jpg","text":"TemporaryFile(/tmp/multipartBody3438060471981397901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304423555,"filename":"image_16112025_13_21_56_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/735cdeefad26ac07dc6e032960e507ec.jpg","text":"TemporaryFile(/tmp/multipartBody5521495585956645779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304423555,"filename":"image_16112025_13_22_08_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e665e607f06cdb630c725a3272e99a7.jpg","text":"TemporaryFile(/tmp/multipartBody9218149770840168899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304423555,"filename":"image_16112025_13_22_21_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e07a6dbc3917df191cb77ddc9a4f936.jpg","text":"TemporaryFile(/tmp/multipartBody2458918315773439565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304423555,"filename":"image_16112025_13_22_05_3024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750171","file1":"1394750170","file0":"1394750169","file4":"1394750175","file5":"1394750179","file3":"1394750172"},"map_files_photo_id_array":[{"photo_id":"1394750179","filename":"file5"},{"photo_id":"1394750171","filename":"file2"},{"photo_id":"1394750175","filename":"file4"},{"photo_id":"1394750170","filename":"file1"},{"photo_id":"1394750169","filename":"file0"},{"photo_id":"1394750172","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750172":["hashtag1","hashtag2"]},{"1394750175":["hashtag1","hashtag2"]},{"1394750169":["hashtag1","hashtag2"]},{"1394750171":["hashtag1","hashtag2"]},{"1394750179":["hashtag1","hashtag2"]},{"1394750170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750172, 1394750175, 1394750169, 1394750171, 1394750179, 1394750170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83418416976929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:46:42.411664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_23_2668.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_30_3799.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_32_2706.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_38_2767.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_42_3659.jpg', '/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_44_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_23_2668.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_30_3799.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_32_2706.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_38_2767.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_42_3659.jpg
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_44_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750190","1394750202","1394750195","1394750192","1394750194","1394750197"],"photo_ids_order":["1394750190","1394750192","1394750194","1394750195","1394750197","1394750202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6c220e73841da893638e60d26208ee5.jpg","text":"TemporaryFile(/tmp/multipartBody908797039023856494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304463134,"filename":"image_16112025_13_22_23_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fb4d4650499500645b7d656b7657c32.jpg","text":"TemporaryFile(/tmp/multipartBody7455890464043474059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304463134,"filename":"image_16112025_13_22_44_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8681cdeb668fbec7dedb82e54f03fdc.jpg","text":"TemporaryFile(/tmp/multipartBody179632217355117126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304463134,"filename":"image_16112025_13_22_38_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/860b054770cdcd9aa5bdadb943f0aec0.jpg","text":"TemporaryFile(/tmp/multipartBody6879800533955651002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304463134,"filename":"image_16112025_13_22_30_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81cb484fbb09589c7e0483f9d4eb807d.jpg","text":"TemporaryFile(/tmp/multipartBody1978126161781179678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304463134,"filename":"image_16112025_13_22_32_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8b4e52dc6d21d00df0774478d2b4f73.jpg","text":"TemporaryFile(/tmp/multipartBody3329342250662191150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304463134,"filename":"image_16112025_13_22_42_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750194","file1":"1394750192","file0":"1394750190","file4":"1394750197","file5":"1394750202","file3":"1394750195"},"map_files_photo_id_array":[{"photo_id":"1394750202","filename":"file5"},{"photo_id":"1394750194","filename":"file2"},{"photo_id":"1394750197","filename":"file4"},{"photo_id":"1394750192","filename":"file1"},{"photo_id":"1394750190","filename":"file0"},{"photo_id":"1394750195","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750190":["hashtag1","hashtag2"]},{"1394750202":["hashtag1","hashtag2"]},{"1394750195":["hashtag1","hashtag2"]},{"1394750192":["hashtag1","hashtag2"]},{"1394750194":["hashtag1","hashtag2"]},{"1394750197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750190, 1394750202, 1394750195, 1394750192, 1394750194, 1394750197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.769044637680054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:47:22.708824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_47_2664.jpg', '/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_11_2827.jpg', '/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_29_2671.jpg', '/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_32_3533.jpg', '/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_38_3046.jpg', '/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_41_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/22/image_16112025_13_22_47_2664.jpg
/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_11_2827.jpg
/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_29_2671.jpg
/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_32_3533.jpg
/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_38_3046.jpg
/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_41_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750212","1394750215","1394750208","1394750213","1394750210","1394750218"],"photo_ids_order":["1394750208","1394750210","1394750212","1394750213","1394750215","1394750218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ba9f0ea2556dc908ba56ab19f6cf290.jpg","text":"TemporaryFile(/tmp/multipartBody380914642926619530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304503364,"filename":"image_16112025_13_23_29_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a9e28ba6f2c6636e886baf790e5bdf2.jpg","text":"TemporaryFile(/tmp/multipartBody665486225879705898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304503364,"filename":"image_16112025_13_23_38_3046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6edd383474432bc1882d3bf307969704.jpg","text":"TemporaryFile(/tmp/multipartBody4403467484018521204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304503364,"filename":"image_16112025_13_22_47_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af51e8adf4873304e4b2d5686308b12f.jpg","text":"TemporaryFile(/tmp/multipartBody9130019708913243943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304503364,"filename":"image_16112025_13_23_32_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac5e19bef78515667a92f60f58f47f5e.jpg","text":"TemporaryFile(/tmp/multipartBody5243078408795355191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304503364,"filename":"image_16112025_13_23_11_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e44cdfa6c36b30477f09ddfd49f70ed.jpg","text":"TemporaryFile(/tmp/multipartBody8224421532901562744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304503364,"filename":"image_16112025_13_23_41_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750212","file1":"1394750210","file0":"1394750208","file4":"1394750215","file5":"1394750218","file3":"1394750213"},"map_files_photo_id_array":[{"photo_id":"1394750218","filename":"file5"},{"photo_id":"1394750212","filename":"file2"},{"photo_id":"1394750215","filename":"file4"},{"photo_id":"1394750210","filename":"file1"},{"photo_id":"1394750208","filename":"file0"},{"photo_id":"1394750213","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750212":["hashtag1","hashtag2"]},{"1394750215":["hashtag1","hashtag2"]},{"1394750208":["hashtag1","hashtag2"]},{"1394750213":["hashtag1","hashtag2"]},{"1394750210":["hashtag1","hashtag2"]},{"1394750218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750212, 1394750215, 1394750208, 1394750213, 1394750210, 1394750218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77379369735718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:48:02.483300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_47_2620.jpg', '/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_54_3761.jpg', '/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_56_2750.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_03_3586.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_05_2559.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_23_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_47_2620.jpg
/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_54_3761.jpg
/home/pi/Desktop/images/16112025/13/23/image_16112025_13_23_56_2750.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_03_3586.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_05_2559.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_23_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750227","1394750232","1394750235","1394750229","1394750228","1394750230"],"photo_ids_order":["1394750227","1394750228","1394750229","1394750230","1394750232","1394750235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5045c4e1d572eaf54d6d35f5d5417573.jpg","text":"TemporaryFile(/tmp/multipartBody1618007912880527141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304543188,"filename":"image_16112025_13_23_47_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6119be4a6ca4871a435d3b495ca50ac4.jpg","text":"TemporaryFile(/tmp/multipartBody661414432179950328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304543188,"filename":"image_16112025_13_24_05_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0df108359b142eb7127649739fe478b.jpg","text":"TemporaryFile(/tmp/multipartBody8971261377345758399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304543188,"filename":"image_16112025_13_24_23_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d7f796c8b33daa0f1faeba5aa51c76a.jpg","text":"TemporaryFile(/tmp/multipartBody7578748876631334709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304543188,"filename":"image_16112025_13_23_56_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ad39ef7e6cea07b5cec3046f89f0d80.jpg","text":"TemporaryFile(/tmp/multipartBody4066700855469465542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304543188,"filename":"image_16112025_13_23_54_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a6f73c2fe33e7e953938abb1db1a38e.jpg","text":"TemporaryFile(/tmp/multipartBody7353032433707402214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304543188,"filename":"image_16112025_13_24_03_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750229","file1":"1394750228","file0":"1394750227","file4":"1394750232","file5":"1394750235","file3":"1394750230"},"map_files_photo_id_array":[{"photo_id":"1394750235","filename":"file5"},{"photo_id":"1394750229","filename":"file2"},{"photo_id":"1394750232","filename":"file4"},{"photo_id":"1394750228","filename":"file1"},{"photo_id":"1394750227","filename":"file0"},{"photo_id":"1394750230","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750227":["hashtag1","hashtag2"]},{"1394750232":["hashtag1","hashtag2"]},{"1394750235":["hashtag1","hashtag2"]},{"1394750229":["hashtag1","hashtag2"]},{"1394750228":["hashtag1","hashtag2"]},{"1394750230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750227, 1394750232, 1394750235, 1394750229, 1394750228, 1394750230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31927156448364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:48:42.060261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_26_2668.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_32_2633.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_44_2689.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_53_2664.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_05_3125.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_08_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_26_2668.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_32_2633.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_44_2689.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_53_2664.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_05_3125.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_08_2642.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.5781552791595459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:49:03.043609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_26_2668.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_32_2633.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_44_2689.jpg', '/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_53_2664.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_05_3125.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_08_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_26_2668.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_32_2633.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_44_2689.jpg
/home/pi/Desktop/images/16112025/13/24/image_16112025_13_24_53_2664.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_05_3125.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_08_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750259","1394750250","1394750253","1394750252","1394750255","1394750251"],"photo_ids_order":["1394750250","1394750251","1394750252","1394750253","1394750255","1394750259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd4263ec6024804063888d76d613a960.jpg","text":"TemporaryFile(/tmp/multipartBody5687964184208396557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304603902,"filename":"image_16112025_13_25_08_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d5c888990a4e87a245bc953e9ab7f28.jpg","text":"TemporaryFile(/tmp/multipartBody9163458290025334894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304603902,"filename":"image_16112025_13_24_26_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa03a7a7e0e9c934988b748913daff19.jpg","text":"TemporaryFile(/tmp/multipartBody7233000055191527411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304603902,"filename":"image_16112025_13_24_53_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/035f221a75fdfb53b2ab783b08ad4d81.jpg","text":"TemporaryFile(/tmp/multipartBody6796142675217542892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304603902,"filename":"image_16112025_13_24_44_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99457669398eb18dc6b2d04b347c5ce1.jpg","text":"TemporaryFile(/tmp/multipartBody7280294785651300047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304603902,"filename":"image_16112025_13_25_05_3125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/893c0e1e450bd5f529cb6919e95d9b15.jpg","text":"TemporaryFile(/tmp/multipartBody1749652106884927381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304603902,"filename":"image_16112025_13_24_32_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750252","file1":"1394750251","file0":"1394750250","file4":"1394750255","file5":"1394750259","file3":"1394750253"},"map_files_photo_id_array":[{"photo_id":"1394750259","filename":"file5"},{"photo_id":"1394750252","filename":"file2"},{"photo_id":"1394750255","filename":"file4"},{"photo_id":"1394750251","filename":"file1"},{"photo_id":"1394750250","filename":"file0"},{"photo_id":"1394750253","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750259":["hashtag1","hashtag2"]},{"1394750250":["hashtag1","hashtag2"]},{"1394750253":["hashtag1","hashtag2"]},{"1394750252":["hashtag1","hashtag2"]},{"1394750255":["hashtag1","hashtag2"]},{"1394750251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750259, 1394750250, 1394750253, 1394750252, 1394750255, 1394750251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58756709098816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:49:42.299713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_11_3670.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_14_2880.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_23_3610.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_26_2592.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_30_3611.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_41_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_11_3670.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_14_2880.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_23_3610.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_26_2592.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_30_3611.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_41_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750271","1394750274","1394750268","1394750276","1394750281","1394750278"],"photo_ids_order":["1394750268","1394750271","1394750274","1394750276","1394750278","1394750281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58ffe2ec83537972101259ea9d8688be.jpg","text":"TemporaryFile(/tmp/multipartBody3583115332218294868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304642953,"filename":"image_16112025_13_25_14_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b420ef9f550942d91b1818fd33a5f15f.jpg","text":"TemporaryFile(/tmp/multipartBody5859998385411897630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304642953,"filename":"image_16112025_13_25_23_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8cd876fecdaf14bf169718ffc2232db.jpg","text":"TemporaryFile(/tmp/multipartBody2294012815825472101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304642953,"filename":"image_16112025_13_25_11_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3eb7e700700f6417e33a109192ed2fa.jpg","text":"TemporaryFile(/tmp/multipartBody2813411761950684375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304642953,"filename":"image_16112025_13_25_26_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0f7fdb644d4ca1e998d39e62d275cec.jpg","text":"TemporaryFile(/tmp/multipartBody3845260941363681780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304642953,"filename":"image_16112025_13_25_41_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2a46641ac3b27b96716c4d49228af9d.jpg","text":"TemporaryFile(/tmp/multipartBody346000134037339927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304642953,"filename":"image_16112025_13_25_30_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750274","file1":"1394750271","file0":"1394750268","file4":"1394750278","file5":"1394750281","file3":"1394750276"},"map_files_photo_id_array":[{"photo_id":"1394750281","filename":"file5"},{"photo_id":"1394750274","filename":"file2"},{"photo_id":"1394750278","filename":"file4"},{"photo_id":"1394750271","filename":"file1"},{"photo_id":"1394750268","filename":"file0"},{"photo_id":"1394750276","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750271":["hashtag1","hashtag2"]},{"1394750274":["hashtag1","hashtag2"]},{"1394750268":["hashtag1","hashtag2"]},{"1394750276":["hashtag1","hashtag2"]},{"1394750281":["hashtag1","hashtag2"]},{"1394750278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750271, 1394750274, 1394750268, 1394750276, 1394750281, 1394750278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.493372440338135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:50:22.676070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_51_3652.jpg', '/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_59_2695.jpg', '/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_02_3700.jpg', '/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_05_2559.jpg', '/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_08_2688.jpg', '/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_14_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_51_3652.jpg
/home/pi/Desktop/images/16112025/13/25/image_16112025_13_25_59_2695.jpg
/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_02_3700.jpg
/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_05_2559.jpg
/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_08_2688.jpg
/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_14_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750289","1394750288","1394750291","1394750300","1394750287","1394750302"],"photo_ids_order":["1394750287","1394750288","1394750289","1394750291","1394750300","1394750302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acec295fdf568729efb03d29ed7e50d0.jpg","text":"TemporaryFile(/tmp/multipartBody3244052915320047019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304688169,"filename":"image_16112025_13_26_02_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e958020970cc83316852ac7ef0eaf9bc.jpg","text":"TemporaryFile(/tmp/multipartBody4794492709553144688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304688169,"filename":"image_16112025_13_25_59_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5f8507c018c8a3bf0e853dcc722256c.jpg","text":"TemporaryFile(/tmp/multipartBody5213336787429240856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304688169,"filename":"image_16112025_13_26_05_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8578865dd6deef618f1c9bef4284c86c.jpg","text":"TemporaryFile(/tmp/multipartBody7939553199097849224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304688169,"filename":"image_16112025_13_26_08_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6bf10af7990ed40304eb754e1718c82.jpg","text":"TemporaryFile(/tmp/multipartBody9061586940554183450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304688169,"filename":"image_16112025_13_25_51_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/613d30840f264242f88ca909eb908aa1.jpg","text":"TemporaryFile(/tmp/multipartBody3260340349843575429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304688169,"filename":"image_16112025_13_26_14_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750289","file1":"1394750288","file0":"1394750287","file4":"1394750300","file5":"1394750302","file3":"1394750291"},"map_files_photo_id_array":[{"photo_id":"1394750302","filename":"file5"},{"photo_id":"1394750289","filename":"file2"},{"photo_id":"1394750300","filename":"file4"},{"photo_id":"1394750288","filename":"file1"},{"photo_id":"1394750287","filename":"file0"},{"photo_id":"1394750291","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750289":["hashtag1","hashtag2"]},{"1394750288":["hashtag1","hashtag2"]},{"1394750291":["hashtag1","hashtag2"]},{"1394750300":["hashtag1","hashtag2"]},{"1394750287":["hashtag1","hashtag2"]},{"1394750302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750289, 1394750288, 1394750291, 1394750300, 1394750287, 1394750302)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.12291216850281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:51:29.084121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 15:51:45.858415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_29_3777.jpg', '/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_50_3711.jpg', '/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_59_3661.jpg', '/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_02_2634.jpg', '/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_04_2695.jpg', '/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_08_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_29_3777.jpg
/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_50_3711.jpg
/home/pi/Desktop/images/16112025/13/26/image_16112025_13_26_59_3661.jpg
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_02_2634.jpg
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_04_2695.jpg
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_08_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750325","1394750319","1394750327","1394750321","1394750329","1394750323"],"photo_ids_order":["1394750319","1394750321","1394750323","1394750325","1394750327","1394750329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e000490845b7e367f14bec64ec3f8465.jpg","text":"TemporaryFile(/tmp/multipartBody3695386143117133746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304766516,"filename":"image_16112025_13_27_02_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73dfa35c92778046b9d92c207a8d8007.jpg","text":"TemporaryFile(/tmp/multipartBody8385585271584166245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304766516,"filename":"image_16112025_13_26_29_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0d356d2c1e04ef1c4ed221d72ed8a2e.jpg","text":"TemporaryFile(/tmp/multipartBody8638061845527773103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304766516,"filename":"image_16112025_13_27_04_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce96791bbb1d417098ab3e399af33ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3408059911265740686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304766516,"filename":"image_16112025_13_26_50_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9d352d4e0b0785aceefc9f65eb03502.jpg","text":"TemporaryFile(/tmp/multipartBody7894469140888107254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304766516,"filename":"image_16112025_13_27_08_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08619448d1aac0fca348521682063822.jpg","text":"TemporaryFile(/tmp/multipartBody992507462899112817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304766516,"filename":"image_16112025_13_26_59_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750323","file1":"1394750321","file0":"1394750319","file4":"1394750327","file5":"1394750329","file3":"1394750325"},"map_files_photo_id_array":[{"photo_id":"1394750329","filename":"file5"},{"photo_id":"1394750323","filename":"file2"},{"photo_id":"1394750327","filename":"file4"},{"photo_id":"1394750321","filename":"file1"},{"photo_id":"1394750319","filename":"file0"},{"photo_id":"1394750325","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750325":["hashtag1","hashtag2"]},{"1394750319":["hashtag1","hashtag2"]},{"1394750327":["hashtag1","hashtag2"]},{"1394750321":["hashtag1","hashtag2"]},{"1394750329":["hashtag1","hashtag2"]},{"1394750323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750325, 1394750319, 1394750327, 1394750321, 1394750329, 1394750323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2397735118866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:52:22.317954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_11_2728.jpg', '/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_20_2776.jpg', '/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_29_2621.jpg', '/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_38_3512.jpg', '/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_56_3578.jpg', '/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_59_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_11_2728.jpg
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_20_2776.jpg
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_29_2621.jpg
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_38_3512.jpg
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_56_3578.jpg
/home/pi/Desktop/images/16112025/13/27/image_16112025_13_27_59_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750346","1394750340","1394750342","1394750335","1394750344","1394750338"],"photo_ids_order":["1394750335","1394750338","1394750340","1394750342","1394750344","1394750346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3c9a175f150913bd466625aa5f6828b.jpg","text":"TemporaryFile(/tmp/multipartBody455409699590172683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304803024,"filename":"image_16112025_13_27_59_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3345469f3956ba0cf780a029556f446e.jpg","text":"TemporaryFile(/tmp/multipartBody4862151540208692720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304803024,"filename":"image_16112025_13_27_29_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f54468d7b81b58442042e54a4fb593b.jpg","text":"TemporaryFile(/tmp/multipartBody7945515169872517712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304803024,"filename":"image_16112025_13_27_38_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78672daa3900650d8aa7c189bfea3e47.jpg","text":"TemporaryFile(/tmp/multipartBody7674569129700144110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304803024,"filename":"image_16112025_13_27_11_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b3b18b1ab657ef3e136d7d16d347d67.jpg","text":"TemporaryFile(/tmp/multipartBody764779396464863688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304803024,"filename":"image_16112025_13_27_56_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e43dff709d795701295b6077acfe337a.jpg","text":"TemporaryFile(/tmp/multipartBody3577688599715342015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304803024,"filename":"image_16112025_13_27_20_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750340","file1":"1394750338","file0":"1394750335","file4":"1394750344","file5":"1394750346","file3":"1394750342"},"map_files_photo_id_array":[{"photo_id":"1394750346","filename":"file5"},{"photo_id":"1394750340","filename":"file2"},{"photo_id":"1394750344","filename":"file4"},{"photo_id":"1394750338","filename":"file1"},{"photo_id":"1394750335","filename":"file0"},{"photo_id":"1394750342","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750346":["hashtag1","hashtag2"]},{"1394750340":["hashtag1","hashtag2"]},{"1394750342":["hashtag1","hashtag2"]},{"1394750335":["hashtag1","hashtag2"]},{"1394750344":["hashtag1","hashtag2"]},{"1394750338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750346, 1394750340, 1394750342, 1394750335, 1394750344, 1394750338)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.29483366012573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:53:24.350863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_05_2703.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_11_3615.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_14_2647.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_20_3757.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_23_2740.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_26_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_05_2703.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_11_3615.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_14_2647.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_20_3757.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_23_2740.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_26_2723.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.5844845771789551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 15:53:45.379711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_05_2703.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_11_3615.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_14_2647.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_20_3757.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_23_2740.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_26_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_05_2703.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_11_3615.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_14_2647.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_20_3757.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_23_2740.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_26_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750385","1394750381","1394750369","1394750384","1394750383","1394750380"],"photo_ids_order":["1394750369","1394750380","1394750381","1394750383","1394750384","1394750385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e81e8ac7b4af95d2297261e2d56a1ef.jpg","text":"TemporaryFile(/tmp/multipartBody2752996603424278596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304886123,"filename":"image_16112025_13_28_26_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/389ddfb9a582f47a575a68b8e8253c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3263518697160017041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304886123,"filename":"image_16112025_13_28_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/11/16/2ed7743f6099e4ede11993456dfbed15.jpg","text":"TemporaryFile(/tmp/multipartBody1411324776341721864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304886123,"filename":"image_16112025_13_28_05_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c76193c6d1ccecebdd487dcb11ee382f.jpg","text":"TemporaryFile(/tmp/multipartBody699061517681523173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304886123,"filename":"image_16112025_13_28_23_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2a05f4f2ab9b173bd6df04ea1ea7b32.jpg","text":"TemporaryFile(/tmp/multipartBody5600869555643089742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304886123,"filename":"image_16112025_13_28_20_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8284840cfc39c4f3848867db6ae8bf4d.jpg","text":"TemporaryFile(/tmp/multipartBody5659062352212666365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304886123,"filename":"image_16112025_13_28_11_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750381","file1":"1394750380","file0":"1394750369","file4":"1394750384","file5":"1394750385","file3":"1394750383"},"map_files_photo_id_array":[{"photo_id":"1394750385","filename":"file5"},{"photo_id":"1394750381","filename":"file2"},{"photo_id":"1394750384","filename":"file4"},{"photo_id":"1394750380","filename":"file1"},{"photo_id":"1394750369","filename":"file0"},{"photo_id":"1394750383","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750385":["hashtag1","hashtag2"]},{"1394750381":["hashtag1","hashtag2"]},{"1394750369":["hashtag1","hashtag2"]},{"1394750384":["hashtag1","hashtag2"]},{"1394750383":["hashtag1","hashtag2"]},{"1394750380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750385, 1394750381, 1394750369, 1394750384, 1394750383, 1394750380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25035834312439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:54:22.613121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_32_3647.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_35_2627.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_37_2702.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_44_2806.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_46_2606.jpg', '/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_55_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_32_3647.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_35_2627.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_37_2702.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_44_2806.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_46_2606.jpg
/home/pi/Desktop/images/16112025/13/28/image_16112025_13_28_55_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750404","1394750394","1394750403","1394750406","1394750392","1394750389"],"photo_ids_order":["1394750389","1394750392","1394750394","1394750403","1394750404","1394750406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6ab51612668d80da8b2b4a3e5e2c946.jpg","text":"TemporaryFile(/tmp/multipartBody8478477943433515373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304923275,"filename":"image_16112025_13_28_46_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36fe09a386413bd82449db2cd3aeffd7.jpg","text":"TemporaryFile(/tmp/multipartBody6462377770775444834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304923275,"filename":"image_16112025_13_28_37_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2c3ea4033d50a5ff2d8e74aa13c4683.jpg","text":"TemporaryFile(/tmp/multipartBody4017391167517915945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304923275,"filename":"image_16112025_13_28_44_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3fd84805c918d8d57552c4da030cad3a.jpg","text":"TemporaryFile(/tmp/multipartBody4479966973907171317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304923275,"filename":"image_16112025_13_28_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/11/16/dcf9a2dc88b19cf786f26f1ddb70f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody8267993681248554177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304923275,"filename":"image_16112025_13_28_35_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9614af1f6108c5e3e3907161779195d4.jpg","text":"TemporaryFile(/tmp/multipartBody7665965855600573543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304923275,"filename":"image_16112025_13_28_32_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750394","file1":"1394750392","file0":"1394750389","file4":"1394750404","file5":"1394750406","file3":"1394750403"},"map_files_photo_id_array":[{"photo_id":"1394750406","filename":"file5"},{"photo_id":"1394750394","filename":"file2"},{"photo_id":"1394750404","filename":"file4"},{"photo_id":"1394750392","filename":"file1"},{"photo_id":"1394750389","filename":"file0"},{"photo_id":"1394750403","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750404":["hashtag1","hashtag2"]},{"1394750394":["hashtag1","hashtag2"]},{"1394750403":["hashtag1","hashtag2"]},{"1394750406":["hashtag1","hashtag2"]},{"1394750392":["hashtag1","hashtag2"]},{"1394750389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750404, 1394750394, 1394750403, 1394750406, 1394750392, 1394750389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99086594581604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:55:03.348579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/29/image_16112025_13_29_35_3633.jpg', '/home/pi/Desktop/images/16112025/13/29/image_16112025_13_29_44_3676.jpg', '/home/pi/Desktop/images/16112025/13/29/image_16112025_13_29_47_2709.jpg', '/home/pi/Desktop/images/16112025/13/29/image_16112025_13_29_53_3605.jpg', '/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_07_3017.jpg', '/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_11_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/29/image_16112025_13_29_35_3633.jpg
/home/pi/Desktop/images/16112025/13/29/image_16112025_13_29_44_3676.jpg
/home/pi/Desktop/images/16112025/13/29/image_16112025_13_29_47_2709.jpg
/home/pi/Desktop/images/16112025/13/29/image_16112025_13_29_53_3605.jpg
/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_07_3017.jpg
/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_11_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750410","1394750413","1394750409","1394750411","1394750408","1394750416"],"photo_ids_order":["1394750408","1394750409","1394750410","1394750411","1394750413","1394750416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82c89ff7819ec6f69647ab3b3e06ae7e.jpg","text":"TemporaryFile(/tmp/multipartBody4178716564677718317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304964141,"filename":"image_16112025_13_29_47_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/061294c6f5096237c0128b0ea1de49e6.jpg","text":"TemporaryFile(/tmp/multipartBody2912480609708724506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304964141,"filename":"image_16112025_13_31_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/068f83cda8f773f318734898aea03af9.jpg","text":"TemporaryFile(/tmp/multipartBody4212369122833633238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304964141,"filename":"image_16112025_13_29_44_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f16ed84b686dc17cfaccf30c94eebbca.jpg","text":"TemporaryFile(/tmp/multipartBody4211191977577260628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304964141,"filename":"image_16112025_13_29_53_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebcf1d6aa0917fc8664b77c34e8b07a4.jpg","text":"TemporaryFile(/tmp/multipartBody4489215000110701937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304964141,"filename":"image_16112025_13_29_35_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c32acb7bd002dfcdc1aa2ad5af6fe35.jpg","text":"TemporaryFile(/tmp/multipartBody837618092214951494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763304964141,"filename":"image_16112025_13_31_11_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750410","file1":"1394750409","file0":"1394750408","file4":"1394750413","file5":"1394750416","file3":"1394750411"},"map_files_photo_id_array":[{"photo_id":"1394750416","filename":"file5"},{"photo_id":"1394750410","filename":"file2"},{"photo_id":"1394750413","filename":"file4"},{"photo_id":"1394750409","filename":"file1"},{"photo_id":"1394750408","filename":"file0"},{"photo_id":"1394750411","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750410":["hashtag1","hashtag2"]},{"1394750413":["hashtag1","hashtag2"]},{"1394750409":["hashtag1","hashtag2"]},{"1394750411":["hashtag1","hashtag2"]},{"1394750408":["hashtag1","hashtag2"]},{"1394750416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750410, 1394750413, 1394750409, 1394750411, 1394750408, 1394750416)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.83232498168945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 15:56:02.632082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_20_3728.jpg', '/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_31_2680.jpg', '/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_56_3690.jpg', '/home/pi/Desktop/images/16112025/13/32/image_16112025_13_32_40_3688.jpg', '/home/pi/Desktop/images/16112025/13/32/image_16112025_13_32_49_2940.jpg', '/home/pi/Desktop/images/16112025/13/33/image_16112025_13_33_04_2896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_20_3728.jpg
/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_31_2680.jpg
/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_56_3690.jpg
/home/pi/Desktop/images/16112025/13/32/image_16112025_13_32_40_3688.jpg
/home/pi/Desktop/images/16112025/13/32/image_16112025_13_32_49_2940.jpg
/home/pi/Desktop/images/16112025/13/33/image_16112025_13_33_04_2896.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.5946202278137207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:56:22.670916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_20_3728.jpg', '/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_31_2680.jpg', '/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_56_3690.jpg', '/home/pi/Desktop/images/16112025/13/32/image_16112025_13_32_40_3688.jpg', '/home/pi/Desktop/images/16112025/13/32/image_16112025_13_32_49_2940.jpg', '/home/pi/Desktop/images/16112025/13/33/image_16112025_13_33_04_2896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_20_3728.jpg
/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_31_2680.jpg
/home/pi/Desktop/images/16112025/13/31/image_16112025_13_31_56_3690.jpg
/home/pi/Desktop/images/16112025/13/32/image_16112025_13_32_40_3688.jpg
/home/pi/Desktop/images/16112025/13/32/image_16112025_13_32_49_2940.jpg
/home/pi/Desktop/images/16112025/13/33/image_16112025_13_33_04_2896.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394750431","1394750430","1394750432","1394750429","1394750428","1394750443"],"photo_ids_order":["1394750428","1394750429","1394750430","1394750431","1394750432","1394750443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/202f386177af875cb383bee349575064.jpg","text":"TemporaryFile(/tmp/multipartBody4631355223094534472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305046151,"filename":"image_16112025_13_32_40_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/787191143cb349810dddd524a0b88f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3899015511222672510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305046151,"filename":"image_16112025_13_31_56_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbe4029b213a654ac4e413f53bd47cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6713511519952548559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305046151,"filename":"image_16112025_13_32_49_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a8ee687f3d33a9d62b5330c7e03e628.jpg","text":"TemporaryFile(/tmp/multipartBody2252641054692793827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305046151,"filename":"image_16112025_13_31_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/11/16/ba0b41d8ce167c7172837a2877b9ecf0.jpg","text":"TemporaryFile(/tmp/multipartBody3873586221435967237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305046151,"filename":"image_16112025_13_31_20_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca143a9171142924c8a533de39f7d6dc.jpg","text":"TemporaryFile(/tmp/multipartBody6181106522005521858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305046151,"filename":"image_16112025_13_33_04_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394750430","file1":"1394750429","file0":"1394750428","file4":"1394750432","file5":"1394750443","file3":"1394750431"},"map_files_photo_id_array":[{"photo_id":"1394750443","filename":"file5"},{"photo_id":"1394750430","filename":"file2"},{"photo_id":"1394750432","filename":"file4"},{"photo_id":"1394750429","filename":"file1"},{"photo_id":"1394750428","filename":"file0"},{"photo_id":"1394750431","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394750431":["hashtag1","hashtag2"]},{"1394750430":["hashtag1","hashtag2"]},{"1394750432":["hashtag1","hashtag2"]},{"1394750429":["hashtag1","hashtag2"]},{"1394750428":["hashtag1","hashtag2"]},{"1394750443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394750431, 1394750430, 1394750432, 1394750429, 1394750428, 1394750443)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.71669840812683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 15:57:30.643949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 15:59:03.405753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/34/image_16112025_13_34_44_3603.jpg', '/home/pi/Desktop/images/16112025/13/34/image_16112025_13_34_47_2847.jpg', '/home/pi/Desktop/images/16112025/13/34/image_16112025_13_34_58_2763.jpg', '/home/pi/Desktop/images/16112025/13/35/image_16112025_13_35_13_2823.jpg', '/home/pi/Desktop/images/16112025/13/35/image_16112025_13_35_52_3581.jpg', '/home/pi/Desktop/images/16112025/13/35/image_16112025_13_35_55_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/34/image_16112025_13_34_44_3603.jpg
/home/pi/Desktop/images/16112025/13/34/image_16112025_13_34_47_2847.jpg
/home/pi/Desktop/images/16112025/13/34/image_16112025_13_34_58_2763.jpg
/home/pi/Desktop/images/16112025/13/35/image_16112025_13_35_13_2823.jpg
/home/pi/Desktop/images/16112025/13/35/image_16112025_13_35_52_3581.jpg
/home/pi/Desktop/images/16112025/13/35/image_16112025_13_35_55_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1394751414","1394751300","1394751140","1394751518","1394751040","1394751634"],"photo_ids_order":["1394751040","1394751140","1394751300","1394751414","1394751518","1394751634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/725331e85b743b7faea125d64fe6b673.jpg","text":"TemporaryFile(/tmp/multipartBody5346718315270719871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305206803,"filename":"image_16112025_13_35_13_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e01c2def56eb51172d87c01bd02e174.jpg","text":"TemporaryFile(/tmp/multipartBody5808065798285540294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305206803,"filename":"image_16112025_13_34_58_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c169421a2e1923ebcd6a94e83b270590.jpg","text":"TemporaryFile(/tmp/multipartBody4993643777696226351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305206803,"filename":"image_16112025_13_34_47_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/119fcee122f6196852929d686d01df56.jpg","text":"TemporaryFile(/tmp/multipartBody728229125058883783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305206803,"filename":"image_16112025_13_35_52_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/843f8e67437415739f86bf51031da865.jpg","text":"TemporaryFile(/tmp/multipartBody862479108256017000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305206803,"filename":"image_16112025_13_34_44_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/182bb0d6e0ff6a57b5b0a4bded716840.jpg","text":"TemporaryFile(/tmp/multipartBody6187239304980625769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305206803,"filename":"image_16112025_13_35_55_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394751300","file1":"1394751140","file0":"1394751040","file4":"1394751518","file5":"1394751634","file3":"1394751414"},"map_files_photo_id_array":[{"photo_id":"1394751634","filename":"file5"},{"photo_id":"1394751300","filename":"file2"},{"photo_id":"1394751518","filename":"file4"},{"photo_id":"1394751140","filename":"file1"},{"photo_id":"1394751040","filename":"file0"},{"photo_id":"1394751414","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394751414":["hashtag1","hashtag2"]},{"1394751300":["hashtag1","hashtag2"]},{"1394751140":["hashtag1","hashtag2"]},{"1394751518":["hashtag1","hashtag2"]},{"1394751040":["hashtag1","hashtag2"]},{"1394751634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394751414, 1394751300, 1394751140, 1394751518, 1394751040, 1394751634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.518479347229004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:00:05.269349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 16:00:29.596521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/35/image_16112025_13_35_59_3629.jpg', '/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_04_2637.jpg', '/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_29_3522.jpg', '/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_38_3686.jpg', '/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_43_2741.jpg', '/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_55_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/35/image_16112025_13_35_59_3629.jpg
/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_04_2637.jpg
/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_29_3522.jpg
/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_38_3686.jpg
/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_43_2741.jpg
/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_55_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394752787","1394752835","1394752643","1394752724","1394752590","1394752668"],"photo_ids_order":["1394752590","1394752643","1394752668","1394752724","1394752787","1394752835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee3a32dc112cc611a8fb2cbd2df28537.jpg","text":"TemporaryFile(/tmp/multipartBody3955610146034972753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305290271,"filename":"image_16112025_13_36_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/11/16/240903beddfe1487cc1a6ef92fc89df8.jpg","text":"TemporaryFile(/tmp/multipartBody7582484509557453795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305290271,"filename":"image_16112025_13_36_55_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1db5ac7abc183c9f988036050919cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2679568225572827938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305290271,"filename":"image_16112025_13_36_04_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d9075df1a0dbf7256254ca49149f2c7.jpg","text":"TemporaryFile(/tmp/multipartBody5552679410003409593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305290271,"filename":"image_16112025_13_36_38_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4a9dea36e2794e2b0f4fce2ce78e0f4.jpg","text":"TemporaryFile(/tmp/multipartBody1248324965036506020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305290271,"filename":"image_16112025_13_35_59_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4efd85cc411ebf6b1d7d39e3fe363a62.jpg","text":"TemporaryFile(/tmp/multipartBody9095062128293561516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305290271,"filename":"image_16112025_13_36_29_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394752668","file1":"1394752643","file0":"1394752590","file4":"1394752787","file5":"1394752835","file3":"1394752724"},"map_files_photo_id_array":[{"photo_id":"1394752835","filename":"file5"},{"photo_id":"1394752668","filename":"file2"},{"photo_id":"1394752787","filename":"file4"},{"photo_id":"1394752643","filename":"file1"},{"photo_id":"1394752590","filename":"file0"},{"photo_id":"1394752724","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394752787":["hashtag1","hashtag2"]},{"1394752835":["hashtag1","hashtag2"]},{"1394752643":["hashtag1","hashtag2"]},{"1394752724":["hashtag1","hashtag2"]},{"1394752590":["hashtag1","hashtag2"]},{"1394752668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394752787, 1394752835, 1394752643, 1394752724, 1394752590, 1394752668)","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 = 1394752668 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/13/36/image_16112025_13_36_29_3522.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.14360475540161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:01:45.120985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/37/image_16112025_13_37_07_2802.jpg', '/home/pi/Desktop/images/16112025/13/37/image_16112025_13_37_16_2612.jpg', '/home/pi/Desktop/images/16112025/13/37/image_16112025_13_37_22_2773.jpg', '/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_13_2585.jpg', '/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_16_3617.jpg', '/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_37_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/37/image_16112025_13_37_07_2802.jpg
/home/pi/Desktop/images/16112025/13/37/image_16112025_13_37_16_2612.jpg
/home/pi/Desktop/images/16112025/13/37/image_16112025_13_37_22_2773.jpg
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_13_2585.jpg
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_16_3617.jpg
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_37_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753012","1394753015","1394753014","1394753017","1394753010","1394753013"],"photo_ids_order":["1394753010","1394753012","1394753013","1394753014","1394753015","1394753017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb94ad2fb61637712053df486aec014b.jpg","text":"TemporaryFile(/tmp/multipartBody7717743487141673382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305365805,"filename":"image_16112025_13_37_16_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb50508f549edc62983ef47f9529ff83.jpg","text":"TemporaryFile(/tmp/multipartBody6658632287629053484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305365805,"filename":"image_16112025_13_38_16_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1ea61adfe63f03c2059802ee0a6ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody6358735002597089519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305365805,"filename":"image_16112025_13_38_13_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9ae78ddd690ab74055293c3745570f0.jpg","text":"TemporaryFile(/tmp/multipartBody1735434076470271997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305365805,"filename":"image_16112025_13_38_37_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7f399fbd61e1ae9ee0c4a35da41cd8f.jpg","text":"TemporaryFile(/tmp/multipartBody3296636504780415143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305365805,"filename":"image_16112025_13_37_07_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3a189e5e7f82cb9bb600b7b39b34e39.jpg","text":"TemporaryFile(/tmp/multipartBody4590743098448684401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305365805,"filename":"image_16112025_13_37_22_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753013","file1":"1394753012","file0":"1394753010","file4":"1394753015","file5":"1394753017","file3":"1394753014"},"map_files_photo_id_array":[{"photo_id":"1394753017","filename":"file5"},{"photo_id":"1394753013","filename":"file2"},{"photo_id":"1394753015","filename":"file4"},{"photo_id":"1394753012","filename":"file1"},{"photo_id":"1394753010","filename":"file0"},{"photo_id":"1394753014","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753012":["hashtag1","hashtag2"]},{"1394753015":["hashtag1","hashtag2"]},{"1394753014":["hashtag1","hashtag2"]},{"1394753017":["hashtag1","hashtag2"]},{"1394753010":["hashtag1","hashtag2"]},{"1394753013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753012, 1394753015, 1394753014, 1394753017, 1394753010, 1394753013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31999850273132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:02:22.582126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_40_2892.jpg', '/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_52_2662.jpg', '/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_55_2699.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_01_2838.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_07_2636.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_10_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_40_2892.jpg
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_52_2662.jpg
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_55_2699.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_01_2838.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_07_2636.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_10_3679.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.7352039813995361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:02:42.494716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_40_2892.jpg', '/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_52_2662.jpg', '/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_55_2699.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_01_2838.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_07_2636.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_10_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_40_2892.jpg
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_52_2662.jpg
/home/pi/Desktop/images/16112025/13/38/image_16112025_13_38_55_2699.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_01_2838.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_07_2636.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_10_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753045","1394753039","1394753030","1394753042","1394753044","1394753043"],"photo_ids_order":["1394753030","1394753039","1394753042","1394753043","1394753044","1394753045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c74043ed1bd0832fbec44f7263a449ae.jpg","text":"TemporaryFile(/tmp/multipartBody2722719559476729060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305423165,"filename":"image_16112025_13_39_10_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2839c4af0bd6bd5594a39704bc7b2eba.jpg","text":"TemporaryFile(/tmp/multipartBody5857942501628483161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305423165,"filename":"image_16112025_13_38_52_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d37214412a5158f99b14fa81e3024d5.jpg","text":"TemporaryFile(/tmp/multipartBody6462346564882650734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305423165,"filename":"image_16112025_13_38_40_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c251ed3903734d096f8e1afd15fde10f.jpg","text":"TemporaryFile(/tmp/multipartBody4168991253657665173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305423165,"filename":"image_16112025_13_38_55_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19d596e90f19eb50dfe4dad3dc5a5630.jpg","text":"TemporaryFile(/tmp/multipartBody3149099618700785890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305423165,"filename":"image_16112025_13_39_07_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc34515476d5b4077bdc91ffced2a0e8.jpg","text":"TemporaryFile(/tmp/multipartBody4808618500514598896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305423165,"filename":"image_16112025_13_39_01_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753042","file1":"1394753039","file0":"1394753030","file4":"1394753044","file5":"1394753045","file3":"1394753043"},"map_files_photo_id_array":[{"photo_id":"1394753045","filename":"file5"},{"photo_id":"1394753042","filename":"file2"},{"photo_id":"1394753044","filename":"file4"},{"photo_id":"1394753039","filename":"file1"},{"photo_id":"1394753030","filename":"file0"},{"photo_id":"1394753043","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753045":["hashtag1","hashtag2"]},{"1394753039":["hashtag1","hashtag2"]},{"1394753030":["hashtag1","hashtag2"]},{"1394753042":["hashtag1","hashtag2"]},{"1394753044":["hashtag1","hashtag2"]},{"1394753043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753045, 1394753039, 1394753030, 1394753042, 1394753044, 1394753043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.799840450286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:03:22.694795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_19_2588.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_25_2758.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_31_2602.jpg', '/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_43_3687.jpg', '/home/pi/Desktop/images/16112025/13/40/image_16112025_13_40_13_3664.jpg', '/home/pi/Desktop/images/16112025/13/40/image_16112025_13_40_28_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_19_2588.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_25_2758.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_31_2602.jpg
/home/pi/Desktop/images/16112025/13/39/image_16112025_13_39_43_3687.jpg
/home/pi/Desktop/images/16112025/13/40/image_16112025_13_40_13_3664.jpg
/home/pi/Desktop/images/16112025/13/40/image_16112025_13_40_28_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753066","1394753068","1394753067","1394753052","1394753055","1394753049"],"photo_ids_order":["1394753049","1394753052","1394753055","1394753066","1394753067","1394753068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a35d5f5cba7a1195726d1e7a8a205e4.jpg","text":"TemporaryFile(/tmp/multipartBody2942734473521735186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305463370,"filename":"image_16112025_13_39_43_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5eef5dd6115005f470dae8bd24bee6f6.jpg","text":"TemporaryFile(/tmp/multipartBody3846332151387123009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305463370,"filename":"image_16112025_13_40_28_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/975684ce8a7e9a4e7355c937aa990c90.jpg","text":"TemporaryFile(/tmp/multipartBody2831006155358357340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305463370,"filename":"image_16112025_13_40_13_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dc525150653e21d654c48e64f091934.jpg","text":"TemporaryFile(/tmp/multipartBody8507853312941245297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305463370,"filename":"image_16112025_13_39_25_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab18d14c202f051da4d8a2f9c7bc6ce4.jpg","text":"TemporaryFile(/tmp/multipartBody6836397213042834237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305463370,"filename":"image_16112025_13_39_31_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e13f593f11d367c52f133f35452a4c62.jpg","text":"TemporaryFile(/tmp/multipartBody5398055577763633086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305463370,"filename":"image_16112025_13_39_19_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753055","file1":"1394753052","file0":"1394753049","file4":"1394753067","file5":"1394753068","file3":"1394753066"},"map_files_photo_id_array":[{"photo_id":"1394753068","filename":"file5"},{"photo_id":"1394753055","filename":"file2"},{"photo_id":"1394753067","filename":"file4"},{"photo_id":"1394753052","filename":"file1"},{"photo_id":"1394753049","filename":"file0"},{"photo_id":"1394753066","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753066":["hashtag1","hashtag2"]},{"1394753068":["hashtag1","hashtag2"]},{"1394753067":["hashtag1","hashtag2"]},{"1394753052":["hashtag1","hashtag2"]},{"1394753055":["hashtag1","hashtag2"]},{"1394753049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753066, 1394753068, 1394753067, 1394753052, 1394753055, 1394753049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4740424156189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:04:03.399445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_13_3631.jpg', '/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_19_2783.jpg', '/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_28_2713.jpg', '/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_46_2765.jpg', '/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_49_3536.jpg', '/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_52_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_13_3631.jpg
/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_19_2783.jpg
/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_28_2713.jpg
/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_46_2765.jpg
/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_49_3536.jpg
/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_52_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753074","1394753071","1394753076","1394753081","1394753075","1394753078"],"photo_ids_order":["1394753071","1394753074","1394753075","1394753076","1394753078","1394753081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5241582759b0a99317b5c569ce85407.jpg","text":"TemporaryFile(/tmp/multipartBody2267991820336602453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305504153,"filename":"image_16112025_13_41_19_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3b5ade929e800439a5950f597a13721.jpg","text":"TemporaryFile(/tmp/multipartBody8878760084803310928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305504153,"filename":"image_16112025_13_41_13_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5e3f4b2350109ea2af08b6e942a0082.jpg","text":"TemporaryFile(/tmp/multipartBody2661482982231267898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305504153,"filename":"image_16112025_13_41_46_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d831f30f24780bb1c0ee225c87faf19b.jpg","text":"TemporaryFile(/tmp/multipartBody1653130976938630604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305504153,"filename":"image_16112025_13_41_52_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ed28713d9f52448b5587a16c6d7a59a.jpg","text":"TemporaryFile(/tmp/multipartBody3368921071995154680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305504153,"filename":"image_16112025_13_41_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/11/16/ebc202a51a88bf21f7343332d2899501.jpg","text":"TemporaryFile(/tmp/multipartBody3080962066441683620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305504153,"filename":"image_16112025_13_41_49_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753075","file1":"1394753074","file0":"1394753071","file4":"1394753078","file5":"1394753081","file3":"1394753076"},"map_files_photo_id_array":[{"photo_id":"1394753081","filename":"file5"},{"photo_id":"1394753075","filename":"file2"},{"photo_id":"1394753078","filename":"file4"},{"photo_id":"1394753074","filename":"file1"},{"photo_id":"1394753071","filename":"file0"},{"photo_id":"1394753076","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753074":["hashtag1","hashtag2"]},{"1394753071":["hashtag1","hashtag2"]},{"1394753076":["hashtag1","hashtag2"]},{"1394753081":["hashtag1","hashtag2"]},{"1394753075":["hashtag1","hashtag2"]},{"1394753078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753074, 1394753071, 1394753076, 1394753081, 1394753075, 1394753078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45833420753479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:04:42.740761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_54_2590.jpg', '/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_57_2793.jpg', '/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_22_3602.jpg', '/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_27_2755.jpg', '/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_34_2792.jpg', '/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_36_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_54_2590.jpg
/home/pi/Desktop/images/16112025/13/41/image_16112025_13_41_57_2793.jpg
/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_22_3602.jpg
/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_27_2755.jpg
/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_34_2792.jpg
/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_36_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753087","1394753089","1394753091","1394753085","1394753088","1394753090"],"photo_ids_order":["1394753085","1394753087","1394753088","1394753089","1394753090","1394753091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/188b70be2ea8d650f6f991c1a8339786.jpg","text":"TemporaryFile(/tmp/multipartBody3383043813934670541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305543400,"filename":"image_16112025_13_41_57_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1004bd6a5decfb0872ce0af507b4d045.jpg","text":"TemporaryFile(/tmp/multipartBody3620461806242357032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305543400,"filename":"image_16112025_13_42_27_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b100e8d8da639cab79098c60891cb2d5.jpg","text":"TemporaryFile(/tmp/multipartBody1479182347197272560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305543400,"filename":"image_16112025_13_42_36_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8856423338e765c288be3b162d83375.jpg","text":"TemporaryFile(/tmp/multipartBody3595957111486437536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305543400,"filename":"image_16112025_13_41_54_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/567bc22e9b5568d5d0537ebe53be197b.jpg","text":"TemporaryFile(/tmp/multipartBody2931517923957579676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305543400,"filename":"image_16112025_13_42_22_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6db13ad47f9a716361b0344064b9ffae.jpg","text":"TemporaryFile(/tmp/multipartBody4771206299170820742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305543400,"filename":"image_16112025_13_42_34_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753088","file1":"1394753087","file0":"1394753085","file4":"1394753090","file5":"1394753091","file3":"1394753089"},"map_files_photo_id_array":[{"photo_id":"1394753091","filename":"file5"},{"photo_id":"1394753088","filename":"file2"},{"photo_id":"1394753090","filename":"file4"},{"photo_id":"1394753087","filename":"file1"},{"photo_id":"1394753085","filename":"file0"},{"photo_id":"1394753089","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753087":["hashtag1","hashtag2"]},{"1394753089":["hashtag1","hashtag2"]},{"1394753091":["hashtag1","hashtag2"]},{"1394753085":["hashtag1","hashtag2"]},{"1394753088":["hashtag1","hashtag2"]},{"1394753090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753087, 1394753089, 1394753091, 1394753085, 1394753088, 1394753090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82833170890808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:05:21.938162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_43_2659.jpg', '/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_45_2702.jpg', '/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_49_3630.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_01_2797.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_03_2625.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_06_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_43_2659.jpg
/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_45_2702.jpg
/home/pi/Desktop/images/16112025/13/42/image_16112025_13_42_49_3630.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_01_2797.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_03_2625.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_06_2834.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753095","1394753098","1394753104","1394753101","1394753103","1394753106"],"photo_ids_order":["1394753095","1394753098","1394753101","1394753103","1394753104","1394753106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f0b4c4b62e91c8b3e238daa828ed6d2.jpg","text":"TemporaryFile(/tmp/multipartBody3526134382093985590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305582594,"filename":"image_16112025_13_42_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/11/16/2e1252ffcc54a931d8ec80e5706ec554.jpg","text":"TemporaryFile(/tmp/multipartBody6378107738850302137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305582594,"filename":"image_16112025_13_42_45_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4bf789c1c791ed741b99acdd7766b3cf.jpg","text":"TemporaryFile(/tmp/multipartBody2615971439994713610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305582594,"filename":"image_16112025_13_43_03_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dd89f59f81928998cc08c8d910de805.jpg","text":"TemporaryFile(/tmp/multipartBody2522138461765556322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305582594,"filename":"image_16112025_13_42_49_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f096ef38082fc39e39fda054c908af3.jpg","text":"TemporaryFile(/tmp/multipartBody6587574500297123529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305582594,"filename":"image_16112025_13_43_01_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9804873c87ff4e70dd1bd341e4e5e363.jpg","text":"TemporaryFile(/tmp/multipartBody5631725115054812155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305582594,"filename":"image_16112025_13_43_06_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753101","file1":"1394753098","file0":"1394753095","file4":"1394753104","file5":"1394753106","file3":"1394753103"},"map_files_photo_id_array":[{"photo_id":"1394753106","filename":"file5"},{"photo_id":"1394753101","filename":"file2"},{"photo_id":"1394753104","filename":"file4"},{"photo_id":"1394753098","filename":"file1"},{"photo_id":"1394753095","filename":"file0"},{"photo_id":"1394753103","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753095":["hashtag1","hashtag2"]},{"1394753098":["hashtag1","hashtag2"]},{"1394753104":["hashtag1","hashtag2"]},{"1394753101":["hashtag1","hashtag2"]},{"1394753103":["hashtag1","hashtag2"]},{"1394753106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753095, 1394753098, 1394753104, 1394753101, 1394753103, 1394753106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7811439037323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:06:02.778028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_10_3818.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_13_2535.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_22_2647.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_24_2784.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_31_2608.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_42_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_10_3818.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_13_2535.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_22_2647.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_24_2784.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_31_2608.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_42_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753120","1394753117","1394753122","1394753125","1394753119","1394753118"],"photo_ids_order":["1394753117","1394753118","1394753119","1394753120","1394753122","1394753125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/603b1ab5a2dab64e176dd3d90722c50e.jpg","text":"TemporaryFile(/tmp/multipartBody2195642067028091611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305623556,"filename":"image_16112025_13_43_24_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9ebcf7de6705aa8b883f11e8d8027f6.jpg","text":"TemporaryFile(/tmp/multipartBody2354879485274082866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305623556,"filename":"image_16112025_13_43_10_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/646b306ea15fd3b0551bc35b5f72f06b.jpg","text":"TemporaryFile(/tmp/multipartBody3519318079986246561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305623556,"filename":"image_16112025_13_43_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/11/16/f5f51493e943c880d697e6e430394e81.jpg","text":"TemporaryFile(/tmp/multipartBody5003066866607015038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305623556,"filename":"image_16112025_13_43_42_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f549589a6d532a50d9ed275f02238ab.jpg","text":"TemporaryFile(/tmp/multipartBody405390092678167448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305623556,"filename":"image_16112025_13_43_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/11/16/a0a5073baaa3cf02dc8e14ee152d1d91.jpg","text":"TemporaryFile(/tmp/multipartBody7065378728631144365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305623556,"filename":"image_16112025_13_43_13_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753119","file1":"1394753118","file0":"1394753117","file4":"1394753122","file5":"1394753125","file3":"1394753120"},"map_files_photo_id_array":[{"photo_id":"1394753125","filename":"file5"},{"photo_id":"1394753119","filename":"file2"},{"photo_id":"1394753122","filename":"file4"},{"photo_id":"1394753118","filename":"file1"},{"photo_id":"1394753117","filename":"file0"},{"photo_id":"1394753120","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753120":["hashtag1","hashtag2"]},{"1394753117":["hashtag1","hashtag2"]},{"1394753122":["hashtag1","hashtag2"]},{"1394753125":["hashtag1","hashtag2"]},{"1394753119":["hashtag1","hashtag2"]},{"1394753118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753120, 1394753117, 1394753122, 1394753125, 1394753119, 1394753118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18030047416687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:06:42.325414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_48_2609.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_52_3638.jpg', '/home/pi/Desktop/images/16112025/13/43/image_16112025_13_44_00_2765.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_04_3717.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_07_2707.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_09_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_48_2609.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_43_52_3638.jpg
/home/pi/Desktop/images/16112025/13/43/image_16112025_13_44_00_2765.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_04_3717.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_07_2707.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_09_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753144","1394753141","1394753140","1394753143","1394753145","1394753142"],"photo_ids_order":["1394753140","1394753141","1394753142","1394753143","1394753144","1394753145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/243d7618d7c4ebd90aea3a76bfdb3284.jpg","text":"TemporaryFile(/tmp/multipartBody1921707136546301147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305662983,"filename":"image_16112025_13_44_07_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3653c1db91a5566a75d35a8c5db22abc.jpg","text":"TemporaryFile(/tmp/multipartBody8170341795103072296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305662983,"filename":"image_16112025_13_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/11/16/280457fbb039942773ec751873a76da4.jpg","text":"TemporaryFile(/tmp/multipartBody5824106138003085811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305662983,"filename":"image_16112025_13_43_48_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9221b5206e1381f283dbfbd72865d57.jpg","text":"TemporaryFile(/tmp/multipartBody8023497710198960682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305662983,"filename":"image_16112025_13_44_04_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f33207c4d24f90f8fb03ba4b13c6781.jpg","text":"TemporaryFile(/tmp/multipartBody6621676619922729983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305662983,"filename":"image_16112025_13_44_09_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1f44d5874706ed92fbcb5ba85b927bd.jpg","text":"TemporaryFile(/tmp/multipartBody7281553762625562912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305662983,"filename":"image_16112025_13_44_00_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753142","file1":"1394753141","file0":"1394753140","file4":"1394753144","file5":"1394753145","file3":"1394753143"},"map_files_photo_id_array":[{"photo_id":"1394753145","filename":"file5"},{"photo_id":"1394753142","filename":"file2"},{"photo_id":"1394753144","filename":"file4"},{"photo_id":"1394753141","filename":"file1"},{"photo_id":"1394753140","filename":"file0"},{"photo_id":"1394753143","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753144":["hashtag1","hashtag2"]},{"1394753141":["hashtag1","hashtag2"]},{"1394753140":["hashtag1","hashtag2"]},{"1394753143":["hashtag1","hashtag2"]},{"1394753145":["hashtag1","hashtag2"]},{"1394753142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753144, 1394753141, 1394753140, 1394753143, 1394753145, 1394753142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.813244581222534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:07:22.574406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_16_2572.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_27_2657.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_31_3649.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_33_2524.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_36_2662.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_40_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_16_2572.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_27_2657.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_31_3649.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_33_2524.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_36_2662.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_40_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753149","1394753158","1394753152","1394753160","1394753154","1394753156"],"photo_ids_order":["1394753149","1394753152","1394753154","1394753156","1394753158","1394753160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e52333ab3ad08360b6e7055e4aa404fb.jpg","text":"TemporaryFile(/tmp/multipartBody8254494323063427857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305703237,"filename":"image_16112025_13_44_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/11/16/11de53fa0376f899b1ce446836abdaf2.jpg","text":"TemporaryFile(/tmp/multipartBody4269926204909502209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305703237,"filename":"image_16112025_13_44_36_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5b899de0a08992fef83cb618453e1ab.jpg","text":"TemporaryFile(/tmp/multipartBody3055911806624257563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305703237,"filename":"image_16112025_13_44_27_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08bd3011f8357c9c063aec57095524e3.jpg","text":"TemporaryFile(/tmp/multipartBody2739253584581099765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305703237,"filename":"image_16112025_13_44_40_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7f729a3dde59dedf625d483bae4aad7.jpg","text":"TemporaryFile(/tmp/multipartBody9136229934202527967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305703237,"filename":"image_16112025_13_44_31_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb33b6b28bbab4e82019ac4bf123b446.jpg","text":"TemporaryFile(/tmp/multipartBody3141690966744879697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305703237,"filename":"image_16112025_13_44_33_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753154","file1":"1394753152","file0":"1394753149","file4":"1394753158","file5":"1394753160","file3":"1394753156"},"map_files_photo_id_array":[{"photo_id":"1394753160","filename":"file5"},{"photo_id":"1394753154","filename":"file2"},{"photo_id":"1394753158","filename":"file4"},{"photo_id":"1394753152","filename":"file1"},{"photo_id":"1394753149","filename":"file0"},{"photo_id":"1394753156","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753149":["hashtag1","hashtag2"]},{"1394753158":["hashtag1","hashtag2"]},{"1394753152":["hashtag1","hashtag2"]},{"1394753160":["hashtag1","hashtag2"]},{"1394753154":["hashtag1","hashtag2"]},{"1394753156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753149, 1394753158, 1394753152, 1394753160, 1394753154, 1394753156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23385429382324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:08:03.202875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_49_3616.jpg', '/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_58_2754.jpg', '/home/pi/Desktop/images/16112025/13/45/image_16112025_13_45_03_2689.jpg', '/home/pi/Desktop/images/16112025/13/45/image_16112025_13_45_07_3553.jpg', '/home/pi/Desktop/images/16112025/13/45/image_16112025_13_45_19_2789.jpg', '/home/pi/Desktop/images/16112025/13/45/image_16112025_13_45_30_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_49_3616.jpg
/home/pi/Desktop/images/16112025/13/44/image_16112025_13_44_58_2754.jpg
/home/pi/Desktop/images/16112025/13/45/image_16112025_13_45_03_2689.jpg
/home/pi/Desktop/images/16112025/13/45/image_16112025_13_45_07_3553.jpg
/home/pi/Desktop/images/16112025/13/45/image_16112025_13_45_19_2789.jpg
/home/pi/Desktop/images/16112025/13/45/image_16112025_13_45_30_2552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753165","1394753167","1394753164","1394753163","1394753169","1394753162"],"photo_ids_order":["1394753162","1394753163","1394753164","1394753165","1394753167","1394753169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7d865b67dc58e5a1aaad5f09155b909.jpg","text":"TemporaryFile(/tmp/multipartBody8714733530021812305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305743896,"filename":"image_16112025_13_45_07_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92104c11747fe2939eec3932369b6acc.jpg","text":"TemporaryFile(/tmp/multipartBody4429908128289654250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305743896,"filename":"image_16112025_13_45_19_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd5b58792262b62e79392ebae58a806b.jpg","text":"TemporaryFile(/tmp/multipartBody1425682185836036842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305743896,"filename":"image_16112025_13_45_03_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f5ce137262412b8b1110696d9679b21.jpg","text":"TemporaryFile(/tmp/multipartBody1157611033626327694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305743896,"filename":"image_16112025_13_44_58_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b31187283dae91d2cd8c087d1d36863.jpg","text":"TemporaryFile(/tmp/multipartBody8193582812551980238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305743896,"filename":"image_16112025_13_45_30_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ebc52b3dce8ffb023f8c189e5a9d416.jpg","text":"TemporaryFile(/tmp/multipartBody7634826245618601260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305743896,"filename":"image_16112025_13_44_49_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753164","file1":"1394753163","file0":"1394753162","file4":"1394753167","file5":"1394753169","file3":"1394753165"},"map_files_photo_id_array":[{"photo_id":"1394753169","filename":"file5"},{"photo_id":"1394753164","filename":"file2"},{"photo_id":"1394753167","filename":"file4"},{"photo_id":"1394753163","filename":"file1"},{"photo_id":"1394753162","filename":"file0"},{"photo_id":"1394753165","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753165":["hashtag1","hashtag2"]},{"1394753167":["hashtag1","hashtag2"]},{"1394753164":["hashtag1","hashtag2"]},{"1394753163":["hashtag1","hashtag2"]},{"1394753169":["hashtag1","hashtag2"]},{"1394753162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753165, 1394753167, 1394753164, 1394753163, 1394753169, 1394753162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.257216453552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:08:42.699862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/45/image_16112025_13_46_01_3662.jpg', '/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_06_2822.jpg', '/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_12_2649.jpg', '/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_21_2703.jpg', '/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_42_2688.jpg', '/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_45_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/45/image_16112025_13_46_01_3662.jpg
/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_06_2822.jpg
/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_12_2649.jpg
/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_21_2703.jpg
/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_42_2688.jpg
/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_45_2849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753179","1394753173","1394753181","1394753178","1394753180","1394753183"],"photo_ids_order":["1394753173","1394753178","1394753179","1394753180","1394753181","1394753183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76f5120840b29e5b5ca955a417ff0c34.jpg","text":"TemporaryFile(/tmp/multipartBody3057059528130279677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305783354,"filename":"image_16112025_13_46_12_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c94842faba596918bf5bca2b731a817.jpg","text":"TemporaryFile(/tmp/multipartBody5557787282935869886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305783354,"filename":"image_16112025_13_46_01_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34ccfe9a6a7591dacda6aeed0cf1caa4.jpg","text":"TemporaryFile(/tmp/multipartBody513254142157699348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305783354,"filename":"image_16112025_13_46_42_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffd86f31d85511648f1232f818fdeb4e.jpg","text":"TemporaryFile(/tmp/multipartBody5399972328466468037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305783354,"filename":"image_16112025_13_46_06_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c39e1e2bf6454e1bd47d695efa7bcd6.jpg","text":"TemporaryFile(/tmp/multipartBody5795001109139520704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305783354,"filename":"image_16112025_13_46_21_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e94ab7e6bead8cc4c60d0c4f2e1260d.jpg","text":"TemporaryFile(/tmp/multipartBody9195335018739824681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305783354,"filename":"image_16112025_13_46_45_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753179","file1":"1394753178","file0":"1394753173","file4":"1394753181","file5":"1394753183","file3":"1394753180"},"map_files_photo_id_array":[{"photo_id":"1394753183","filename":"file5"},{"photo_id":"1394753179","filename":"file2"},{"photo_id":"1394753181","filename":"file4"},{"photo_id":"1394753178","filename":"file1"},{"photo_id":"1394753173","filename":"file0"},{"photo_id":"1394753180","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753179":["hashtag1","hashtag2"]},{"1394753173":["hashtag1","hashtag2"]},{"1394753181":["hashtag1","hashtag2"]},{"1394753178":["hashtag1","hashtag2"]},{"1394753180":["hashtag1","hashtag2"]},{"1394753183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753179, 1394753173, 1394753181, 1394753178, 1394753180, 1394753183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.854777812957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:09:22.042294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_54_2628.jpg', '/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_03_2732.jpg', '/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_09_3579.jpg', '/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_27_3627.jpg', '/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_30_2572.jpg', '/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_36_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/46/image_16112025_13_46_54_2628.jpg
/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_03_2732.jpg
/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_09_3579.jpg
/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_27_3627.jpg
/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_30_2572.jpg
/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_36_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753186","1394753191","1394753200","1394753190","1394753192","1394753189"],"photo_ids_order":["1394753186","1394753189","1394753190","1394753191","1394753192","1394753200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fe1edd231e2b0af7ffc164a61d250cd.jpg","text":"TemporaryFile(/tmp/multipartBody326763978608121200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305822747,"filename":"image_16112025_13_46_54_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8a67f673f2b0649ed863453fc1af6d1.jpg","text":"TemporaryFile(/tmp/multipartBody1857400850370544914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305822747,"filename":"image_16112025_13_48_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/11/16/34123860bf8e742af687c49cb5ebc408.jpg","text":"TemporaryFile(/tmp/multipartBody6959480231312450516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305822747,"filename":"image_16112025_13_48_36_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c450b3374c02d7fa942154bb3463e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1027757596707833240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305822747,"filename":"image_16112025_13_48_09_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ccaf780a98da312e56bf554d3bc7eb3.jpg","text":"TemporaryFile(/tmp/multipartBody5037557922886607864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305822747,"filename":"image_16112025_13_48_30_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c48f010c881c09f61001028ccbeba50.jpg","text":"TemporaryFile(/tmp/multipartBody3502653651367364206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305822747,"filename":"image_16112025_13_48_03_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753190","file1":"1394753189","file0":"1394753186","file4":"1394753192","file5":"1394753200","file3":"1394753191"},"map_files_photo_id_array":[{"photo_id":"1394753200","filename":"file5"},{"photo_id":"1394753190","filename":"file2"},{"photo_id":"1394753192","filename":"file4"},{"photo_id":"1394753189","filename":"file1"},{"photo_id":"1394753186","filename":"file0"},{"photo_id":"1394753191","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753186":["hashtag1","hashtag2"]},{"1394753191":["hashtag1","hashtag2"]},{"1394753200":["hashtag1","hashtag2"]},{"1394753190":["hashtag1","hashtag2"]},{"1394753192":["hashtag1","hashtag2"]},{"1394753189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753186, 1394753191, 1394753200, 1394753190, 1394753192, 1394753189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23887372016907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:10:02.681760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_39_2637.jpg', '/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_51_2597.jpg', '/home/pi/Desktop/images/16112025/13/49/image_16112025_13_49_39_3637.jpg', '/home/pi/Desktop/images/16112025/13/50/image_16112025_13_50_06_2826.jpg', '/home/pi/Desktop/images/16112025/13/50/image_16112025_13_50_36_2591.jpg', '/home/pi/Desktop/images/16112025/13/50/image_16112025_13_50_51_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_39_2637.jpg
/home/pi/Desktop/images/16112025/13/48/image_16112025_13_48_51_2597.jpg
/home/pi/Desktop/images/16112025/13/49/image_16112025_13_49_39_3637.jpg
/home/pi/Desktop/images/16112025/13/50/image_16112025_13_50_06_2826.jpg
/home/pi/Desktop/images/16112025/13/50/image_16112025_13_50_36_2591.jpg
/home/pi/Desktop/images/16112025/13/50/image_16112025_13_50_51_3727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753222","1394753218","1394753212","1394753215","1394753214","1394753217"],"photo_ids_order":["1394753212","1394753214","1394753215","1394753217","1394753218","1394753222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df9d1ce402818e55c408a9b580826686.jpg","text":"TemporaryFile(/tmp/multipartBody8356843470221215465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305863384,"filename":"image_16112025_13_50_51_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb67b31a24b6b5d38db65631730975e3.jpg","text":"TemporaryFile(/tmp/multipartBody6664743095718381224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305863384,"filename":"image_16112025_13_50_36_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/732980ed7693e80c7d786b71108a5077.jpg","text":"TemporaryFile(/tmp/multipartBody3281582163318140472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305863384,"filename":"image_16112025_13_48_39_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64c96c8b740a759342fdfab611747a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7003904354818431433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305863384,"filename":"image_16112025_13_49_39_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3217300925e644de9ae0fb1a83cd6424.jpg","text":"TemporaryFile(/tmp/multipartBody7260957599406646278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305863384,"filename":"image_16112025_13_48_51_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8dd4a5255116ac8f60306ea4c1f9340.jpg","text":"TemporaryFile(/tmp/multipartBody5062720919411230837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305863384,"filename":"image_16112025_13_50_06_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753215","file1":"1394753214","file0":"1394753212","file4":"1394753218","file5":"1394753222","file3":"1394753217"},"map_files_photo_id_array":[{"photo_id":"1394753222","filename":"file5"},{"photo_id":"1394753215","filename":"file2"},{"photo_id":"1394753218","filename":"file4"},{"photo_id":"1394753214","filename":"file1"},{"photo_id":"1394753212","filename":"file0"},{"photo_id":"1394753217","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753222":["hashtag1","hashtag2"]},{"1394753218":["hashtag1","hashtag2"]},{"1394753212":["hashtag1","hashtag2"]},{"1394753215":["hashtag1","hashtag2"]},{"1394753214":["hashtag1","hashtag2"]},{"1394753217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753222, 1394753218, 1394753212, 1394753215, 1394753214, 1394753217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.320061922073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:10:42.162947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/51/image_16112025_13_51_05_2594.jpg', '/home/pi/Desktop/images/16112025/13/53/image_16112025_13_53_35_2630.jpg', '/home/pi/Desktop/images/16112025/13/55/image_16112025_13_55_14_2745.jpg', '/home/pi/Desktop/images/16112025/13/57/image_16112025_13_57_26_3604.jpg', '/home/pi/Desktop/images/16112025/13/58/image_16112025_13_58_35_2593.jpg', '/home/pi/Desktop/images/16112025/13/58/image_16112025_13_58_47_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/51/image_16112025_13_51_05_2594.jpg
/home/pi/Desktop/images/16112025/13/53/image_16112025_13_53_35_2630.jpg
/home/pi/Desktop/images/16112025/13/55/image_16112025_13_55_14_2745.jpg
/home/pi/Desktop/images/16112025/13/57/image_16112025_13_57_26_3604.jpg
/home/pi/Desktop/images/16112025/13/58/image_16112025_13_58_35_2593.jpg
/home/pi/Desktop/images/16112025/13/58/image_16112025_13_58_47_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753231","1394753228","1394753230","1394753233","1394753232","1394753229"],"photo_ids_order":["1394753228","1394753229","1394753230","1394753231","1394753232","1394753233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c832c6f635885c7bce4042ee3561dc32.jpg","text":"TemporaryFile(/tmp/multipartBody8517807352203232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305902829,"filename":"image_16112025_13_57_26_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a32926ce4d584179b75c727c05c0c33.jpg","text":"TemporaryFile(/tmp/multipartBody2148636660084034163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305902829,"filename":"image_16112025_13_51_05_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7d18d37251080c80905ee86f68d6611.jpg","text":"TemporaryFile(/tmp/multipartBody6785931923305211784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305902829,"filename":"image_16112025_13_55_14_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18e27cfb4ab5868fd52b621481154059.jpg","text":"TemporaryFile(/tmp/multipartBody1040160089049940271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305902829,"filename":"image_16112025_13_58_47_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1077a2cd4f3c3b916a561d1ae27cb11a.jpg","text":"TemporaryFile(/tmp/multipartBody7876195214412112549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305902829,"filename":"image_16112025_13_58_35_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a95419d5c07d1597409cd7a2bb0c299.jpg","text":"TemporaryFile(/tmp/multipartBody2399326418574183847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305902829,"filename":"image_16112025_13_53_35_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753230","file1":"1394753229","file0":"1394753228","file4":"1394753232","file5":"1394753233","file3":"1394753231"},"map_files_photo_id_array":[{"photo_id":"1394753233","filename":"file5"},{"photo_id":"1394753230","filename":"file2"},{"photo_id":"1394753232","filename":"file4"},{"photo_id":"1394753229","filename":"file1"},{"photo_id":"1394753228","filename":"file0"},{"photo_id":"1394753231","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753231":["hashtag1","hashtag2"]},{"1394753228":["hashtag1","hashtag2"]},{"1394753230":["hashtag1","hashtag2"]},{"1394753233":["hashtag1","hashtag2"]},{"1394753232":["hashtag1","hashtag2"]},{"1394753229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753231, 1394753228, 1394753230, 1394753233, 1394753232, 1394753229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04223895072937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:11:22.481713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/13/59/image_16112025_13_59_17_3628.jpg', '/home/pi/Desktop/images/16112025/14/00/image_16112025_14_00_40_2607.jpg', '/home/pi/Desktop/images/16112025/14/00/image_16112025_14_00_56_2788.jpg', '/home/pi/Desktop/images/16112025/14/01/image_16112025_14_01_14_3647.jpg', '/home/pi/Desktop/images/16112025/14/04/image_16112025_14_04_02_2808.jpg', '/home/pi/Desktop/images/16112025/14/05/image_16112025_14_05_34_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/13/59/image_16112025_13_59_17_3628.jpg
/home/pi/Desktop/images/16112025/14/00/image_16112025_14_00_40_2607.jpg
/home/pi/Desktop/images/16112025/14/00/image_16112025_14_00_56_2788.jpg
/home/pi/Desktop/images/16112025/14/01/image_16112025_14_01_14_3647.jpg
/home/pi/Desktop/images/16112025/14/04/image_16112025_14_04_02_2808.jpg
/home/pi/Desktop/images/16112025/14/05/image_16112025_14_05_34_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753243","1394753237","1394753249","1394753240","1394753245","1394753247"],"photo_ids_order":["1394753237","1394753240","1394753243","1394753245","1394753247","1394753249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e587ad212b1b26f1f4b408cbaa9d4ada.jpg","text":"TemporaryFile(/tmp/multipartBody5374115802091211050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305943179,"filename":"image_16112025_14_00_56_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39f654ce377c5d14013b4a51afbc03fb.jpg","text":"TemporaryFile(/tmp/multipartBody2607060505347772335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305943179,"filename":"image_16112025_13_59_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/11/16/c32563ce802bccee54766b29ee22f9a4.jpg","text":"TemporaryFile(/tmp/multipartBody2610750393567333345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305943179,"filename":"image_16112025_14_05_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/11/16/d3e75f8683e31799ec29bc55181bb818.jpg","text":"TemporaryFile(/tmp/multipartBody4528795767204903465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305943179,"filename":"image_16112025_14_00_40_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2b32591dface2178845cc94e75f9aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6011107989843282005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305943179,"filename":"image_16112025_14_01_14_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a08424bdd2b882865e718268c0e85d0.jpg","text":"TemporaryFile(/tmp/multipartBody2934488243250007655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305943179,"filename":"image_16112025_14_04_02_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753243","file1":"1394753240","file0":"1394753237","file4":"1394753247","file5":"1394753249","file3":"1394753245"},"map_files_photo_id_array":[{"photo_id":"1394753249","filename":"file5"},{"photo_id":"1394753243","filename":"file2"},{"photo_id":"1394753247","filename":"file4"},{"photo_id":"1394753240","filename":"file1"},{"photo_id":"1394753237","filename":"file0"},{"photo_id":"1394753245","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753243":["hashtag1","hashtag2"]},{"1394753237":["hashtag1","hashtag2"]},{"1394753249":["hashtag1","hashtag2"]},{"1394753240":["hashtag1","hashtag2"]},{"1394753245":["hashtag1","hashtag2"]},{"1394753247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753243, 1394753237, 1394753249, 1394753240, 1394753245, 1394753247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08930063247681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:12:03.198018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/05/image_16112025_14_05_40_2638.jpg', '/home/pi/Desktop/images/16112025/14/05/image_16112025_14_05_52_2549.jpg', '/home/pi/Desktop/images/16112025/14/06/image_16112025_14_06_07_3681.jpg', '/home/pi/Desktop/images/16112025/14/06/image_16112025_14_06_31_2787.jpg', '/home/pi/Desktop/images/16112025/14/06/image_16112025_14_06_55_3577.jpg', '/home/pi/Desktop/images/16112025/14/06/image_16112025_14_07_00_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/05/image_16112025_14_05_40_2638.jpg
/home/pi/Desktop/images/16112025/14/05/image_16112025_14_05_52_2549.jpg
/home/pi/Desktop/images/16112025/14/06/image_16112025_14_06_07_3681.jpg
/home/pi/Desktop/images/16112025/14/06/image_16112025_14_06_31_2787.jpg
/home/pi/Desktop/images/16112025/14/06/image_16112025_14_06_55_3577.jpg
/home/pi/Desktop/images/16112025/14/06/image_16112025_14_07_00_2819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753270","1394753267","1394753260","1394753263","1394753262","1394753261"],"photo_ids_order":["1394753260","1394753261","1394753262","1394753263","1394753267","1394753270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/706d64ca06f7a43bf01b7a769384466d.jpg","text":"TemporaryFile(/tmp/multipartBody5668423070437618776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305983925,"filename":"image_16112025_14_07_00_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51fd4047aca993dc5531c84c3ea3cc25.jpg","text":"TemporaryFile(/tmp/multipartBody5790625777776520336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305983925,"filename":"image_16112025_14_06_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/11/16/ae435cc461bebb9237fc1f43ebe293fb.jpg","text":"TemporaryFile(/tmp/multipartBody932386372748364835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305983925,"filename":"image_16112025_14_05_40_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e0fbd14cc679071979c4035540918f6.jpg","text":"TemporaryFile(/tmp/multipartBody1835479954886691648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305983925,"filename":"image_16112025_14_06_31_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e6830820ef7efa3dcc7c1223392ff20.jpg","text":"TemporaryFile(/tmp/multipartBody8558163105069791610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305983925,"filename":"image_16112025_14_06_07_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29b67f7ea17c236ef8fc0697d28356b3.jpg","text":"TemporaryFile(/tmp/multipartBody636333151293405477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763305983925,"filename":"image_16112025_14_05_52_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753262","file1":"1394753261","file0":"1394753260","file4":"1394753267","file5":"1394753270","file3":"1394753263"},"map_files_photo_id_array":[{"photo_id":"1394753270","filename":"file5"},{"photo_id":"1394753262","filename":"file2"},{"photo_id":"1394753267","filename":"file4"},{"photo_id":"1394753261","filename":"file1"},{"photo_id":"1394753260","filename":"file0"},{"photo_id":"1394753263","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753270":["hashtag1","hashtag2"]},{"1394753267":["hashtag1","hashtag2"]},{"1394753260":["hashtag1","hashtag2"]},{"1394753263":["hashtag1","hashtag2"]},{"1394753262":["hashtag1","hashtag2"]},{"1394753261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753270, 1394753267, 1394753260, 1394753263, 1394753262, 1394753261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.209214210510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:12:42.714165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/07/image_16112025_14_07_30_2845.jpg', '/home/pi/Desktop/images/16112025/14/08/image_16112025_14_08_10_3573.jpg', '/home/pi/Desktop/images/16112025/14/09/image_16112025_14_09_30_2600.jpg', '/home/pi/Desktop/images/16112025/14/11/image_16112025_14_11_15_2596.jpg', '/home/pi/Desktop/images/16112025/14/12/image_16112025_14_12_57_2688.jpg', '/home/pi/Desktop/images/16112025/14/16/image_16112025_14_16_42_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/07/image_16112025_14_07_30_2845.jpg
/home/pi/Desktop/images/16112025/14/08/image_16112025_14_08_10_3573.jpg
/home/pi/Desktop/images/16112025/14/09/image_16112025_14_09_30_2600.jpg
/home/pi/Desktop/images/16112025/14/11/image_16112025_14_11_15_2596.jpg
/home/pi/Desktop/images/16112025/14/12/image_16112025_14_12_57_2688.jpg
/home/pi/Desktop/images/16112025/14/16/image_16112025_14_16_42_2877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753290","1394753287","1394753289","1394753286","1394753291","1394753288"],"photo_ids_order":["1394753286","1394753287","1394753288","1394753289","1394753290","1394753291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9de6e91cee8349eedef14037eb81bf7.jpg","text":"TemporaryFile(/tmp/multipartBody3158906846485567232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306023382,"filename":"image_16112025_14_12_57_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e69d382ba6b8da620fb923b4bc703ef1.jpg","text":"TemporaryFile(/tmp/multipartBody2923078132584255801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306023382,"filename":"image_16112025_14_08_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/11/16/9dde64c0bb4d980d9b1d1d2afe93da52.jpg","text":"TemporaryFile(/tmp/multipartBody4513333317294175629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306023382,"filename":"image_16112025_14_11_15_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec6e25287e0284188715c46462aa9612.jpg","text":"TemporaryFile(/tmp/multipartBody2753637606076738142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306023382,"filename":"image_16112025_14_07_30_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f45cbf11e0798eaba1fec983b385fac.jpg","text":"TemporaryFile(/tmp/multipartBody2263565436254852273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306023382,"filename":"image_16112025_14_16_42_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33562c633fa50db105088590ce177a19.jpg","text":"TemporaryFile(/tmp/multipartBody5623734561488049609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306023382,"filename":"image_16112025_14_09_30_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753288","file1":"1394753287","file0":"1394753286","file4":"1394753290","file5":"1394753291","file3":"1394753289"},"map_files_photo_id_array":[{"photo_id":"1394753291","filename":"file5"},{"photo_id":"1394753288","filename":"file2"},{"photo_id":"1394753290","filename":"file4"},{"photo_id":"1394753287","filename":"file1"},{"photo_id":"1394753286","filename":"file0"},{"photo_id":"1394753289","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753290":["hashtag1","hashtag2"]},{"1394753287":["hashtag1","hashtag2"]},{"1394753289":["hashtag1","hashtag2"]},{"1394753286":["hashtag1","hashtag2"]},{"1394753291":["hashtag1","hashtag2"]},{"1394753288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753290, 1394753287, 1394753289, 1394753286, 1394753291, 1394753288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.877224922180176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:13:21.909074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/19/image_16112025_14_19_47_2679.jpg', '/home/pi/Desktop/images/16112025/14/19/image_16112025_14_19_54_2786.jpg', '/home/pi/Desktop/images/16112025/14/20/image_16112025_14_20_03_3620.jpg', '/home/pi/Desktop/images/16112025/14/20/image_16112025_14_20_17_2751.jpg', '/home/pi/Desktop/images/16112025/14/21/image_16112025_14_21_20_2746.jpg', '/home/pi/Desktop/images/16112025/14/22/image_16112025_14_22_36_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/19/image_16112025_14_19_47_2679.jpg
/home/pi/Desktop/images/16112025/14/19/image_16112025_14_19_54_2786.jpg
/home/pi/Desktop/images/16112025/14/20/image_16112025_14_20_03_3620.jpg
/home/pi/Desktop/images/16112025/14/20/image_16112025_14_20_17_2751.jpg
/home/pi/Desktop/images/16112025/14/21/image_16112025_14_21_20_2746.jpg
/home/pi/Desktop/images/16112025/14/22/image_16112025_14_22_36_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753306","1394753296","1394753299","1394753303","1394753301","1394753304"],"photo_ids_order":["1394753296","1394753299","1394753301","1394753303","1394753304","1394753306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28193cd6a261773d0dd38a9a57f484ca.jpg","text":"TemporaryFile(/tmp/multipartBody5370280283244861458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306062585,"filename":"image_16112025_14_22_36_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae5a21202f6e6d3b10eb7992dc3c1ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3950302598987729020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306062585,"filename":"image_16112025_14_19_47_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38865584b1e48fcfe47083b116240ff0.jpg","text":"TemporaryFile(/tmp/multipartBody3394521900377953365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306062585,"filename":"image_16112025_14_19_54_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89e1f76afebcc194ec0e3a6498aa7d76.jpg","text":"TemporaryFile(/tmp/multipartBody5720591597233758443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306062585,"filename":"image_16112025_14_20_17_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9247d4f639dffbaf2d3e060f96bb7f67.jpg","text":"TemporaryFile(/tmp/multipartBody1481085666428607635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306062585,"filename":"image_16112025_14_20_03_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3eb7b3359105dfeb00354eb50ecd489.jpg","text":"TemporaryFile(/tmp/multipartBody1875404343621128435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306062585,"filename":"image_16112025_14_21_20_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753301","file1":"1394753299","file0":"1394753296","file4":"1394753304","file5":"1394753306","file3":"1394753303"},"map_files_photo_id_array":[{"photo_id":"1394753306","filename":"file5"},{"photo_id":"1394753301","filename":"file2"},{"photo_id":"1394753304","filename":"file4"},{"photo_id":"1394753299","filename":"file1"},{"photo_id":"1394753296","filename":"file0"},{"photo_id":"1394753303","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753306":["hashtag1","hashtag2"]},{"1394753296":["hashtag1","hashtag2"]},{"1394753299":["hashtag1","hashtag2"]},{"1394753303":["hashtag1","hashtag2"]},{"1394753301":["hashtag1","hashtag2"]},{"1394753304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753306, 1394753296, 1394753299, 1394753303, 1394753301, 1394753304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0419442653656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:14:02.906817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/25/image_16112025_14_25_11_3622.jpg', '/home/pi/Desktop/images/16112025/14/25/image_16112025_14_25_14_2604.jpg', '/home/pi/Desktop/images/16112025/14/25/image_16112025_14_25_29_2551.jpg', '/home/pi/Desktop/images/16112025/14/26/image_16112025_14_26_32_2782.jpg', '/home/pi/Desktop/images/16112025/14/26/image_16112025_14_26_41_2633.jpg', '/home/pi/Desktop/images/16112025/14/27/image_16112025_14_27_11_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/25/image_16112025_14_25_11_3622.jpg
/home/pi/Desktop/images/16112025/14/25/image_16112025_14_25_14_2604.jpg
/home/pi/Desktop/images/16112025/14/25/image_16112025_14_25_29_2551.jpg
/home/pi/Desktop/images/16112025/14/26/image_16112025_14_26_32_2782.jpg
/home/pi/Desktop/images/16112025/14/26/image_16112025_14_26_41_2633.jpg
/home/pi/Desktop/images/16112025/14/27/image_16112025_14_27_11_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753318","1394753312","1394753309","1394753314","1394753308","1394753310"],"photo_ids_order":["1394753308","1394753309","1394753310","1394753312","1394753314","1394753318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/523fa848fb24c13700f91142c3937935.jpg","text":"TemporaryFile(/tmp/multipartBody3938962174318060974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306103655,"filename":"image_16112025_14_27_11_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b79863701fce53d73ba5d6afd1e29279.jpg","text":"TemporaryFile(/tmp/multipartBody6971072213292158890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306103655,"filename":"image_16112025_14_26_32_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d326b8cd7ad645a6267e92c9ead63d0f.jpg","text":"TemporaryFile(/tmp/multipartBody1022809079239762240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306103655,"filename":"image_16112025_14_25_14_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41842957cd69701b432f503cc43f8370.jpg","text":"TemporaryFile(/tmp/multipartBody6769218955491674433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306103655,"filename":"image_16112025_14_26_41_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/872fc5f9eb59af26af824d7c4234b99f.jpg","text":"TemporaryFile(/tmp/multipartBody3417310236791005975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306103655,"filename":"image_16112025_14_25_11_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b7a3d97e332a53c4707a07149dd58bb.jpg","text":"TemporaryFile(/tmp/multipartBody5400202803639394664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306103655,"filename":"image_16112025_14_25_29_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753310","file1":"1394753309","file0":"1394753308","file4":"1394753314","file5":"1394753318","file3":"1394753312"},"map_files_photo_id_array":[{"photo_id":"1394753318","filename":"file5"},{"photo_id":"1394753310","filename":"file2"},{"photo_id":"1394753314","filename":"file4"},{"photo_id":"1394753309","filename":"file1"},{"photo_id":"1394753308","filename":"file0"},{"photo_id":"1394753312","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753318":["hashtag1","hashtag2"]},{"1394753312":["hashtag1","hashtag2"]},{"1394753309":["hashtag1","hashtag2"]},{"1394753314":["hashtag1","hashtag2"]},{"1394753308":["hashtag1","hashtag2"]},{"1394753310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753318, 1394753312, 1394753309, 1394753314, 1394753308, 1394753310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19317984580994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:14:42.163158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/27/image_16112025_14_27_35_3632.jpg', '/home/pi/Desktop/images/16112025/14/27/image_16112025_14_27_41_2689.jpg', '/home/pi/Desktop/images/16112025/14/27/image_16112025_14_27_47_2804.jpg', '/home/pi/Desktop/images/16112025/14/28/image_16112025_14_28_02_3584.jpg', '/home/pi/Desktop/images/16112025/14/28/image_16112025_14_28_17_2625.jpg', '/home/pi/Desktop/images/16112025/14/28/image_16112025_14_28_35_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/27/image_16112025_14_27_35_3632.jpg
/home/pi/Desktop/images/16112025/14/27/image_16112025_14_27_41_2689.jpg
/home/pi/Desktop/images/16112025/14/27/image_16112025_14_27_47_2804.jpg
/home/pi/Desktop/images/16112025/14/28/image_16112025_14_28_02_3584.jpg
/home/pi/Desktop/images/16112025/14/28/image_16112025_14_28_17_2625.jpg
/home/pi/Desktop/images/16112025/14/28/image_16112025_14_28_35_2519.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753336","1394753339","1394753335","1394753338","1394753326","1394753337"],"photo_ids_order":["1394753326","1394753335","1394753336","1394753337","1394753338","1394753339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f2f04f2be502b11309d4d1ac1f6d710.jpg","text":"TemporaryFile(/tmp/multipartBody4149783197886622883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306142837,"filename":"image_16112025_14_27_47_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/867891358f39e51339a45adeb57c9a49.jpg","text":"TemporaryFile(/tmp/multipartBody3029563046382510440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306142837,"filename":"image_16112025_14_28_35_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f58388d7a6b3447212a3fec40301eb63.jpg","text":"TemporaryFile(/tmp/multipartBody3043992020209472707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306142837,"filename":"image_16112025_14_27_41_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a50d1b82b7960ebab03ee124c7adae3b.jpg","text":"TemporaryFile(/tmp/multipartBody3450756004731930111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306142837,"filename":"image_16112025_14_28_17_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c970aa49e24f32c77d4473f72b208058.jpg","text":"TemporaryFile(/tmp/multipartBody2832207618815256894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306142837,"filename":"image_16112025_14_27_35_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d779fcd6f38cda758e210b9e5ef83aa.jpg","text":"TemporaryFile(/tmp/multipartBody1846394720142641035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306142837,"filename":"image_16112025_14_28_02_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753336","file1":"1394753335","file0":"1394753326","file4":"1394753338","file5":"1394753339","file3":"1394753337"},"map_files_photo_id_array":[{"photo_id":"1394753339","filename":"file5"},{"photo_id":"1394753336","filename":"file2"},{"photo_id":"1394753338","filename":"file4"},{"photo_id":"1394753335","filename":"file1"},{"photo_id":"1394753326","filename":"file0"},{"photo_id":"1394753337","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753336":["hashtag1","hashtag2"]},{"1394753339":["hashtag1","hashtag2"]},{"1394753335":["hashtag1","hashtag2"]},{"1394753338":["hashtag1","hashtag2"]},{"1394753326":["hashtag1","hashtag2"]},{"1394753337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753336, 1394753339, 1394753335, 1394753338, 1394753326, 1394753337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09930682182312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:15:22.405232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/29/image_16112025_14_29_55_2573.jpg', '/home/pi/Desktop/images/16112025/14/31/image_16112025_14_31_07_3011.jpg', '/home/pi/Desktop/images/16112025/14/33/image_16112025_14_33_52_2758.jpg', '/home/pi/Desktop/images/16112025/14/34/image_16112025_14_34_46_3595.jpg', '/home/pi/Desktop/images/16112025/14/34/image_16112025_14_34_49_2624.jpg', '/home/pi/Desktop/images/16112025/14/34/image_16112025_14_34_53_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/29/image_16112025_14_29_55_2573.jpg
/home/pi/Desktop/images/16112025/14/31/image_16112025_14_31_07_3011.jpg
/home/pi/Desktop/images/16112025/14/33/image_16112025_14_33_52_2758.jpg
/home/pi/Desktop/images/16112025/14/34/image_16112025_14_34_46_3595.jpg
/home/pi/Desktop/images/16112025/14/34/image_16112025_14_34_49_2624.jpg
/home/pi/Desktop/images/16112025/14/34/image_16112025_14_34_53_3625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753351","1394753345","1394753371","1394753347","1394753343","1394753349"],"photo_ids_order":["1394753343","1394753345","1394753347","1394753349","1394753351","1394753371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5437e5601f135503b65186d2062868b0.jpg","text":"TemporaryFile(/tmp/multipartBody6134044420245853655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306183048,"filename":"image_16112025_14_34_49_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0c4fc1762ce3683eec12cdbc848b8fa.jpg","text":"TemporaryFile(/tmp/multipartBody4535327280410732332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306183048,"filename":"image_16112025_14_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/11/16/68873374420a5be7fad992574d534537.jpg","text":"TemporaryFile(/tmp/multipartBody4869761716981312977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306183048,"filename":"image_16112025_14_34_53_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/843ff27730fc97c8453ba3122f22589c.jpg","text":"TemporaryFile(/tmp/multipartBody6539929759125760267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306183048,"filename":"image_16112025_14_33_52_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56c53294cfd84b6d9b1e493e073224ef.jpg","text":"TemporaryFile(/tmp/multipartBody308401001832277902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306183048,"filename":"image_16112025_14_29_55_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ec2e82496be3192590410cf50a5ef55.jpg","text":"TemporaryFile(/tmp/multipartBody2791200046172819316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306183048,"filename":"image_16112025_14_34_46_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753347","file1":"1394753345","file0":"1394753343","file4":"1394753351","file5":"1394753371","file3":"1394753349"},"map_files_photo_id_array":[{"photo_id":"1394753371","filename":"file5"},{"photo_id":"1394753347","filename":"file2"},{"photo_id":"1394753351","filename":"file4"},{"photo_id":"1394753345","filename":"file1"},{"photo_id":"1394753343","filename":"file0"},{"photo_id":"1394753349","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753351":["hashtag1","hashtag2"]},{"1394753345":["hashtag1","hashtag2"]},{"1394753371":["hashtag1","hashtag2"]},{"1394753347":["hashtag1","hashtag2"]},{"1394753343":["hashtag1","hashtag2"]},{"1394753349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753351, 1394753345, 1394753371, 1394753347, 1394753343, 1394753349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.657612800598145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:16:03.070162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/35/image_16112025_14_35_13_2954.jpg', '/home/pi/Desktop/images/16112025/14/35/image_16112025_14_35_16_2681.jpg', '/home/pi/Desktop/images/16112025/14/35/image_16112025_14_35_25_2633.jpg', '/home/pi/Desktop/images/16112025/14/37/image_16112025_14_37_25_2599.jpg', '/home/pi/Desktop/images/16112025/14/38/image_16112025_14_38_25_3598.jpg', '/home/pi/Desktop/images/16112025/14/38/image_16112025_14_38_52_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/35/image_16112025_14_35_13_2954.jpg
/home/pi/Desktop/images/16112025/14/35/image_16112025_14_35_16_2681.jpg
/home/pi/Desktop/images/16112025/14/35/image_16112025_14_35_25_2633.jpg
/home/pi/Desktop/images/16112025/14/37/image_16112025_14_37_25_2599.jpg
/home/pi/Desktop/images/16112025/14/38/image_16112025_14_38_25_3598.jpg
/home/pi/Desktop/images/16112025/14/38/image_16112025_14_38_52_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753377","1394753380","1394753374","1394753373","1394753372","1394753375"],"photo_ids_order":["1394753372","1394753373","1394753374","1394753375","1394753377","1394753380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c33023e2cad21b465c5b239b2b196dd5.jpg","text":"TemporaryFile(/tmp/multipartBody6261837826501717116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306223777,"filename":"image_16112025_14_38_25_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f1725dd0baa7a12da440cba816fd30c.jpg","text":"TemporaryFile(/tmp/multipartBody17701445106968154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306223777,"filename":"image_16112025_14_38_52_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb3bb9e01a5b332e246c9f14956bb174.jpg","text":"TemporaryFile(/tmp/multipartBody7707004213841848474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306223777,"filename":"image_16112025_14_35_25_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b3dbb9c155a24289f8443e06df5c464.jpg","text":"TemporaryFile(/tmp/multipartBody5068977902541310242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306223777,"filename":"image_16112025_14_35_16_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0572404f06132ba0161ba8bc83b750a2.jpg","text":"TemporaryFile(/tmp/multipartBody5743112700478909594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306223777,"filename":"image_16112025_14_35_13_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c570e253a396adf9f998adcbc3593f9.jpg","text":"TemporaryFile(/tmp/multipartBody7538862784427807963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306223777,"filename":"image_16112025_14_37_25_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753374","file1":"1394753373","file0":"1394753372","file4":"1394753377","file5":"1394753380","file3":"1394753375"},"map_files_photo_id_array":[{"photo_id":"1394753380","filename":"file5"},{"photo_id":"1394753374","filename":"file2"},{"photo_id":"1394753377","filename":"file4"},{"photo_id":"1394753373","filename":"file1"},{"photo_id":"1394753372","filename":"file0"},{"photo_id":"1394753375","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753377":["hashtag1","hashtag2"]},{"1394753380":["hashtag1","hashtag2"]},{"1394753374":["hashtag1","hashtag2"]},{"1394753373":["hashtag1","hashtag2"]},{"1394753372":["hashtag1","hashtag2"]},{"1394753375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753377, 1394753380, 1394753374, 1394753373, 1394753372, 1394753375)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.20159339904785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:17:02.773795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/39/image_16112025_14_39_36_2717.jpg', '/home/pi/Desktop/images/16112025/14/40/image_16112025_14_40_28_3682.jpg', '/home/pi/Desktop/images/16112025/14/40/image_16112025_14_40_31_2660.jpg', '/home/pi/Desktop/images/16112025/14/40/image_16112025_14_40_37_3610.jpg', '/home/pi/Desktop/images/16112025/14/41/image_16112025_14_41_37_3618.jpg', '/home/pi/Desktop/images/16112025/14/41/image_16112025_14_41_39_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/39/image_16112025_14_39_36_2717.jpg
/home/pi/Desktop/images/16112025/14/40/image_16112025_14_40_28_3682.jpg
/home/pi/Desktop/images/16112025/14/40/image_16112025_14_40_31_2660.jpg
/home/pi/Desktop/images/16112025/14/40/image_16112025_14_40_37_3610.jpg
/home/pi/Desktop/images/16112025/14/41/image_16112025_14_41_37_3618.jpg
/home/pi/Desktop/images/16112025/14/41/image_16112025_14_41_39_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753383","1394753386","1394753389","1394753385","1394753390","1394753387"],"photo_ids_order":["1394753383","1394753385","1394753386","1394753387","1394753389","1394753390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8caa049d9065eea0cd6444e5bd659b01.jpg","text":"TemporaryFile(/tmp/multipartBody108317597470334421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306283531,"filename":"image_16112025_14_39_36_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/655278ce9149ead3c77c29cd9c90e7ba.jpg","text":"TemporaryFile(/tmp/multipartBody8533267693233140985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306283531,"filename":"image_16112025_14_40_31_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9657af9e9451809eb12e8c0f9d3ff720.jpg","text":"TemporaryFile(/tmp/multipartBody4072541960948911731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306283531,"filename":"image_16112025_14_41_37_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b05c23304994fa2343e7fbc5c2c6f95c.jpg","text":"TemporaryFile(/tmp/multipartBody831721333394465316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306283531,"filename":"image_16112025_14_40_28_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5a240cc1cb58653af5eef9d3813abef.jpg","text":"TemporaryFile(/tmp/multipartBody4376099754351659148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306283531,"filename":"image_16112025_14_41_39_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1476fbfdea515ff035966a1eca9c0d20.jpg","text":"TemporaryFile(/tmp/multipartBody4075131631289537482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306283531,"filename":"image_16112025_14_40_37_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753386","file1":"1394753385","file0":"1394753383","file4":"1394753389","file5":"1394753390","file3":"1394753387"},"map_files_photo_id_array":[{"photo_id":"1394753390","filename":"file5"},{"photo_id":"1394753386","filename":"file2"},{"photo_id":"1394753389","filename":"file4"},{"photo_id":"1394753385","filename":"file1"},{"photo_id":"1394753383","filename":"file0"},{"photo_id":"1394753387","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753383":["hashtag1","hashtag2"]},{"1394753386":["hashtag1","hashtag2"]},{"1394753389":["hashtag1","hashtag2"]},{"1394753385":["hashtag1","hashtag2"]},{"1394753390":["hashtag1","hashtag2"]},{"1394753387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753383, 1394753386, 1394753389, 1394753385, 1394753390, 1394753387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23865842819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:17:41.992366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/41/image_16112025_14_41_42_2719.jpg', '/home/pi/Desktop/images/16112025/14/41/image_16112025_14_41_46_3788.jpg', '/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_15_2715.jpg', '/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_33_2733.jpg', '/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_39_2689.jpg', '/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_42_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/41/image_16112025_14_41_42_2719.jpg
/home/pi/Desktop/images/16112025/14/41/image_16112025_14_41_46_3788.jpg
/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_15_2715.jpg
/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_33_2733.jpg
/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_39_2689.jpg
/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_42_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753402","1394753401","1394753391","1394753400","1394753399","1394753403"],"photo_ids_order":["1394753391","1394753399","1394753400","1394753401","1394753402","1394753403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12a2e816ef5bb8055d32e245daf83858.jpg","text":"TemporaryFile(/tmp/multipartBody2557121637749062811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306322656,"filename":"image_16112025_14_42_39_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/673356d10def85a0be7ebee6f3eac23f.jpg","text":"TemporaryFile(/tmp/multipartBody2356527167246675758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306322656,"filename":"image_16112025_14_42_33_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da992725891a4b7110ac386d2c2cd150.jpg","text":"TemporaryFile(/tmp/multipartBody7710487454719039900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306322656,"filename":"image_16112025_14_41_42_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8bbbaa30f6201539c5270f84d086384.jpg","text":"TemporaryFile(/tmp/multipartBody4388033593488261152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306322656,"filename":"image_16112025_14_42_15_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2a38e01205431bdaff9b485d41f6366.jpg","text":"TemporaryFile(/tmp/multipartBody6960754125469062278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306322656,"filename":"image_16112025_14_41_46_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef1c8bd27f519fa19bb935dc1793a044.jpg","text":"TemporaryFile(/tmp/multipartBody8832573230731591639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306322656,"filename":"image_16112025_14_42_42_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753400","file1":"1394753399","file0":"1394753391","file4":"1394753402","file5":"1394753403","file3":"1394753401"},"map_files_photo_id_array":[{"photo_id":"1394753403","filename":"file5"},{"photo_id":"1394753400","filename":"file2"},{"photo_id":"1394753402","filename":"file4"},{"photo_id":"1394753399","filename":"file1"},{"photo_id":"1394753391","filename":"file0"},{"photo_id":"1394753401","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753402":["hashtag1","hashtag2"]},{"1394753401":["hashtag1","hashtag2"]},{"1394753391":["hashtag1","hashtag2"]},{"1394753400":["hashtag1","hashtag2"]},{"1394753399":["hashtag1","hashtag2"]},{"1394753403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753402, 1394753401, 1394753391, 1394753400, 1394753399, 1394753403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.142311334609985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:18:22.267350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_46_3627.jpg', '/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_55_3726.jpg', '/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_57_2719.jpg', '/home/pi/Desktop/images/16112025/14/43/image_16112025_14_43_04_3565.jpg', '/home/pi/Desktop/images/16112025/14/43/image_16112025_14_43_06_2682.jpg', '/home/pi/Desktop/images/16112025/14/43/image_16112025_14_43_27_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_46_3627.jpg
/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_55_3726.jpg
/home/pi/Desktop/images/16112025/14/42/image_16112025_14_42_57_2719.jpg
/home/pi/Desktop/images/16112025/14/43/image_16112025_14_43_04_3565.jpg
/home/pi/Desktop/images/16112025/14/43/image_16112025_14_43_06_2682.jpg
/home/pi/Desktop/images/16112025/14/43/image_16112025_14_43_27_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753423","1394753414","1394753425","1394753412","1394753415","1394753409"],"photo_ids_order":["1394753409","1394753412","1394753414","1394753415","1394753423","1394753425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ae850262175f6ebe5c48ac33e257d2f.jpg","text":"TemporaryFile(/tmp/multipartBody3896531510724559808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306362972,"filename":"image_16112025_14_43_06_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57d24c74e59b4088147be13a56a91aa3.jpg","text":"TemporaryFile(/tmp/multipartBody1581000608624316433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306362972,"filename":"image_16112025_14_42_57_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9289109c3a2830c5dfd0276c857d2bc.jpg","text":"TemporaryFile(/tmp/multipartBody4579548676924679534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306362972,"filename":"image_16112025_14_43_27_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2ae2244a8b10c47fa4b04d6a3f83a22.jpg","text":"TemporaryFile(/tmp/multipartBody4543287014013840407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306362972,"filename":"image_16112025_14_42_55_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/355e8d77c2673c2e5c2958e87b6ab2c4.jpg","text":"TemporaryFile(/tmp/multipartBody8803837643853595463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306362972,"filename":"image_16112025_14_43_04_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61ccd3fde7030ae0a73e932f439395da.jpg","text":"TemporaryFile(/tmp/multipartBody8459463497453750494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306362972,"filename":"image_16112025_14_42_46_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753414","file1":"1394753412","file0":"1394753409","file4":"1394753423","file5":"1394753425","file3":"1394753415"},"map_files_photo_id_array":[{"photo_id":"1394753425","filename":"file5"},{"photo_id":"1394753414","filename":"file2"},{"photo_id":"1394753423","filename":"file4"},{"photo_id":"1394753412","filename":"file1"},{"photo_id":"1394753409","filename":"file0"},{"photo_id":"1394753415","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753423":["hashtag1","hashtag2"]},{"1394753414":["hashtag1","hashtag2"]},{"1394753425":["hashtag1","hashtag2"]},{"1394753412":["hashtag1","hashtag2"]},{"1394753415":["hashtag1","hashtag2"]},{"1394753409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753423, 1394753414, 1394753425, 1394753412, 1394753415, 1394753409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37026262283325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:19:03.497089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/43/image_16112025_14_43_51_2647.jpg', '/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_09_2705.jpg', '/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_12_2567.jpg', '/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_15_3544.jpg', '/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_24_3586.jpg', '/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_31_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/43/image_16112025_14_43_51_2647.jpg
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_09_2705.jpg
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_12_2567.jpg
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_15_3544.jpg
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_24_3586.jpg
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_31_3690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753429","1394753431","1394753430","1394753433","1394753427","1394753436"],"photo_ids_order":["1394753427","1394753429","1394753430","1394753431","1394753433","1394753436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55a43af838b2e7c6f0e3766c4b94e786.jpg","text":"TemporaryFile(/tmp/multipartBody9201762911104238507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306404306,"filename":"image_16112025_14_44_09_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8303e939768a1d36c1beedb6f4cdcec2.jpg","text":"TemporaryFile(/tmp/multipartBody2764225013434661887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306404306,"filename":"image_16112025_14_44_15_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7baffffa557893997ce7d98147a40964.jpg","text":"TemporaryFile(/tmp/multipartBody1806477495261768436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306404306,"filename":"image_16112025_14_44_12_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5aaf69ca1e82648cbf86c897fbdaa5c.jpg","text":"TemporaryFile(/tmp/multipartBody5628981624305387903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306404306,"filename":"image_16112025_14_44_24_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6dcd110e39b476542567dcc12a734d3d.jpg","text":"TemporaryFile(/tmp/multipartBody7154200348696712317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306404306,"filename":"image_16112025_14_43_51_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02bbca998dec1ea6ab6f8420d31d3c61.jpg","text":"TemporaryFile(/tmp/multipartBody1130197590038600042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306404306,"filename":"image_16112025_14_44_31_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753430","file1":"1394753429","file0":"1394753427","file4":"1394753433","file5":"1394753436","file3":"1394753431"},"map_files_photo_id_array":[{"photo_id":"1394753436","filename":"file5"},{"photo_id":"1394753430","filename":"file2"},{"photo_id":"1394753433","filename":"file4"},{"photo_id":"1394753429","filename":"file1"},{"photo_id":"1394753427","filename":"file0"},{"photo_id":"1394753431","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753429":["hashtag1","hashtag2"]},{"1394753431":["hashtag1","hashtag2"]},{"1394753430":["hashtag1","hashtag2"]},{"1394753433":["hashtag1","hashtag2"]},{"1394753427":["hashtag1","hashtag2"]},{"1394753436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753429, 1394753431, 1394753430, 1394753433, 1394753427, 1394753436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.693246603012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:19:42.543807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_36_2537.jpg', '/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_39_3511.jpg', '/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_42_2614.jpg', '/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_55_3698.jpg', '/home/pi/Desktop/images/16112025/14/47/image_16112025_14_47_09_2555.jpg', '/home/pi/Desktop/images/16112025/14/47/image_16112025_14_47_43_1782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_36_2537.jpg
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_39_3511.jpg
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_42_2614.jpg
/home/pi/Desktop/images/16112025/14/44/image_16112025_14_44_55_3698.jpg
/home/pi/Desktop/images/16112025/14/47/image_16112025_14_47_09_2555.jpg
/home/pi/Desktop/images/16112025/14/47/image_16112025_14_47_43_1782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753444","1394753446","1394753440","1394753443","1394753442","1394753445"],"photo_ids_order":["1394753440","1394753442","1394753443","1394753444","1394753445","1394753446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a96a22d0274a2e40677cb808cfab519.jpg","text":"TemporaryFile(/tmp/multipartBody366105781191027626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306443195,"filename":"image_16112025_14_44_55_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d85f1c231c3143433825a22fd9845d79.jpg","text":"TemporaryFile(/tmp/multipartBody4959638130062686522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306443195,"filename":"image_16112025_14_47_43_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43aac6b5c4c8dc49261dadd42de632ed.jpg","text":"TemporaryFile(/tmp/multipartBody4058773697178643751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306443195,"filename":"image_16112025_14_44_36_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ed865dd725212d9832318cff6146f84.jpg","text":"TemporaryFile(/tmp/multipartBody7067043116783898338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306443195,"filename":"image_16112025_14_44_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/11/16/b0c5a17d0c9cdd935e44fa28d1930d8a.jpg","text":"TemporaryFile(/tmp/multipartBody5158184102149732289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306443195,"filename":"image_16112025_14_44_39_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bbc5597051f4f96df55f1fa5a2fa0d3.jpg","text":"TemporaryFile(/tmp/multipartBody4750271414160386691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306443195,"filename":"image_16112025_14_47_09_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753443","file1":"1394753442","file0":"1394753440","file4":"1394753445","file5":"1394753446","file3":"1394753444"},"map_files_photo_id_array":[{"photo_id":"1394753446","filename":"file5"},{"photo_id":"1394753443","filename":"file2"},{"photo_id":"1394753445","filename":"file4"},{"photo_id":"1394753442","filename":"file1"},{"photo_id":"1394753440","filename":"file0"},{"photo_id":"1394753444","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753444":["hashtag1","hashtag2"]},{"1394753446":["hashtag1","hashtag2"]},{"1394753440":["hashtag1","hashtag2"]},{"1394753443":["hashtag1","hashtag2"]},{"1394753442":["hashtag1","hashtag2"]},{"1394753445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753444, 1394753446, 1394753440, 1394753443, 1394753442, 1394753445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19277834892273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:20:22.746236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/48/image_16112025_14_48_57_10698.jpg', '/home/pi/Desktop/images/16112025/14/52/image_16112025_14_52_51_3556.jpg', '/home/pi/Desktop/images/16112025/14/53/image_16112025_14_53_20_2796.jpg', '/home/pi/Desktop/images/16112025/14/54/image_16112025_14_54_56_2670.jpg', '/home/pi/Desktop/images/16112025/14/55/image_16112025_14_55_38_2473.jpg', '/home/pi/Desktop/images/16112025/14/55/image_16112025_14_55_50_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/48/image_16112025_14_48_57_10698.jpg
/home/pi/Desktop/images/16112025/14/52/image_16112025_14_52_51_3556.jpg
/home/pi/Desktop/images/16112025/14/53/image_16112025_14_53_20_2796.jpg
/home/pi/Desktop/images/16112025/14/54/image_16112025_14_54_56_2670.jpg
/home/pi/Desktop/images/16112025/14/55/image_16112025_14_55_38_2473.jpg
/home/pi/Desktop/images/16112025/14/55/image_16112025_14_55_50_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753459","1394753450","1394753458","1394753463","1394753457","1394753453"],"photo_ids_order":["1394753450","1394753453","1394753457","1394753458","1394753459","1394753463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/590eb916301c9c77d5c5eae56ac1328a.jpg","text":"TemporaryFile(/tmp/multipartBody8525921676756633678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306483382,"filename":"image_16112025_14_55_38_2473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1125d9a448b4d939c342525a7b33c6b.jpg","text":"TemporaryFile(/tmp/multipartBody8801953715977538529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306483382,"filename":"image_16112025_14_48_57_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7594c4bae6afdd08f0ad10012da7f561.jpg","text":"TemporaryFile(/tmp/multipartBody3978126614701740858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306483382,"filename":"image_16112025_14_54_56_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d22ea65b3e4c8f15d097795ba7921ccb.jpg","text":"TemporaryFile(/tmp/multipartBody7316074468238235875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306483382,"filename":"image_16112025_14_55_50_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64db141efec25d30759b3eab1dbe1e3c.jpg","text":"TemporaryFile(/tmp/multipartBody574624603102063506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306483382,"filename":"image_16112025_14_53_20_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a326e90ded6a4182547b4a4af16cf54.jpg","text":"TemporaryFile(/tmp/multipartBody7245108932658489013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306483382,"filename":"image_16112025_14_52_51_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753457","file1":"1394753453","file0":"1394753450","file4":"1394753459","file5":"1394753463","file3":"1394753458"},"map_files_photo_id_array":[{"photo_id":"1394753463","filename":"file5"},{"photo_id":"1394753457","filename":"file2"},{"photo_id":"1394753459","filename":"file4"},{"photo_id":"1394753453","filename":"file1"},{"photo_id":"1394753450","filename":"file0"},{"photo_id":"1394753458","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753459":["hashtag1","hashtag2"]},{"1394753450":["hashtag1","hashtag2"]},{"1394753458":["hashtag1","hashtag2"]},{"1394753463":["hashtag1","hashtag2"]},{"1394753457":["hashtag1","hashtag2"]},{"1394753453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753459, 1394753450, 1394753458, 1394753463, 1394753457, 1394753453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56539225578308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:21:02.746714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/55/image_16112025_14_55_53_3818.jpg', '/home/pi/Desktop/images/16112025/14/55/image_16112025_14_55_56_2625.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_05_2708.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_08_2704.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_14_2726.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_20_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/55/image_16112025_14_55_53_3818.jpg
/home/pi/Desktop/images/16112025/14/55/image_16112025_14_55_56_2625.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_05_2708.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_08_2704.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_14_2726.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_20_3762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753464","1394753467","1394753469","1394753466","1394753471","1394753465"],"photo_ids_order":["1394753464","1394753465","1394753466","1394753467","1394753469","1394753471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19e0154f6682d09592e23f6214124240.jpg","text":"TemporaryFile(/tmp/multipartBody3564529044130422467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306523495,"filename":"image_16112025_14_55_53_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e27abcf50888d8e36c3c29e1381ccdab.jpg","text":"TemporaryFile(/tmp/multipartBody2411381248552096808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306523495,"filename":"image_16112025_14_56_08_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66a4fdd61ac3448cf22278927bba0d81.jpg","text":"TemporaryFile(/tmp/multipartBody2683256367871151274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306523495,"filename":"image_16112025_14_56_14_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e24cd3f1840f95614b9fb65466530e5.jpg","text":"TemporaryFile(/tmp/multipartBody1121955924527267307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306523495,"filename":"image_16112025_14_56_05_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac81b85561486a02bee1935b4d093f34.jpg","text":"TemporaryFile(/tmp/multipartBody6218182580705242657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306523495,"filename":"image_16112025_14_56_20_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19e7dd65845dca984944476e1dae2b75.jpg","text":"TemporaryFile(/tmp/multipartBody4862598235699028789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306523495,"filename":"image_16112025_14_55_56_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753466","file1":"1394753465","file0":"1394753464","file4":"1394753469","file5":"1394753471","file3":"1394753467"},"map_files_photo_id_array":[{"photo_id":"1394753471","filename":"file5"},{"photo_id":"1394753466","filename":"file2"},{"photo_id":"1394753469","filename":"file4"},{"photo_id":"1394753465","filename":"file1"},{"photo_id":"1394753464","filename":"file0"},{"photo_id":"1394753467","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753464":["hashtag1","hashtag2"]},{"1394753467":["hashtag1","hashtag2"]},{"1394753469":["hashtag1","hashtag2"]},{"1394753466":["hashtag1","hashtag2"]},{"1394753471":["hashtag1","hashtag2"]},{"1394753465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753464, 1394753467, 1394753469, 1394753466, 1394753471, 1394753465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97862005233765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:21:41.919952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_23_2599.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_26_2783.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_50_2780.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_53_2838.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_56_2631.jpg', '/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_59_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_23_2599.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_26_2783.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_50_2780.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_53_2838.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_56_2631.jpg
/home/pi/Desktop/images/16112025/14/56/image_16112025_14_56_59_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753482","1394753485","1394753488","1394753484","1394753478","1394753486"],"photo_ids_order":["1394753478","1394753482","1394753484","1394753485","1394753486","1394753488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c557fe3207092fb07b1811c5e639b610.jpg","text":"TemporaryFile(/tmp/multipartBody869225171096712910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306562548,"filename":"image_16112025_14_56_26_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b76dc4e0c47a6ceaf26df244f9b9183f.jpg","text":"TemporaryFile(/tmp/multipartBody4199803094764385633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306562548,"filename":"image_16112025_14_56_53_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22fec1100c2d615d5ecd72392f66fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody4093934902216226458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306562548,"filename":"image_16112025_14_56_59_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f2933bceae15990fd80c3dd19443711.jpg","text":"TemporaryFile(/tmp/multipartBody7247180612247422380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306562548,"filename":"image_16112025_14_56_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/11/16/3aa6ec3f3c454e8fdc5b802516066176.jpg","text":"TemporaryFile(/tmp/multipartBody6683967268921359992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306562548,"filename":"image_16112025_14_56_23_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6698c4b84302c7118216ef9f1e7e1d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2084132222221008164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306562548,"filename":"image_16112025_14_56_56_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753484","file1":"1394753482","file0":"1394753478","file4":"1394753486","file5":"1394753488","file3":"1394753485"},"map_files_photo_id_array":[{"photo_id":"1394753488","filename":"file5"},{"photo_id":"1394753484","filename":"file2"},{"photo_id":"1394753486","filename":"file4"},{"photo_id":"1394753482","filename":"file1"},{"photo_id":"1394753478","filename":"file0"},{"photo_id":"1394753485","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753482":["hashtag1","hashtag2"]},{"1394753485":["hashtag1","hashtag2"]},{"1394753488":["hashtag1","hashtag2"]},{"1394753484":["hashtag1","hashtag2"]},{"1394753478":["hashtag1","hashtag2"]},{"1394753486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753482, 1394753485, 1394753488, 1394753484, 1394753478, 1394753486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.734251499176025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:22:22.333812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_07_8174.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_12_1552.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_14_1634.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_22_2139.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_38_2528.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_41_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_07_8174.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_12_1552.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_14_1634.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_22_2139.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_38_2528.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_41_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753497","1394753501","1394753491","1394753500","1394753499","1394753495"],"photo_ids_order":["1394753491","1394753495","1394753497","1394753499","1394753500","1394753501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/454e73f27011402afa367988aceca0d6.jpg","text":"TemporaryFile(/tmp/multipartBody5393551265824596954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306603007,"filename":"image_16112025_14_57_14_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d40b4a5b094b1bd64c286d46981c4823.jpg","text":"TemporaryFile(/tmp/multipartBody6617907758213703144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306603007,"filename":"image_16112025_14_57_41_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99dc09b0ee5eb8fc1ab325fb5928591b.jpg","text":"TemporaryFile(/tmp/multipartBody375361043797352410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306603007,"filename":"image_16112025_14_57_07_8174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f71bff3b56be922ed874d14954a8f2d.jpg","text":"TemporaryFile(/tmp/multipartBody8829161717400625191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306603007,"filename":"image_16112025_14_57_38_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ee7707caf48cd7f1432df76bb27f653.jpg","text":"TemporaryFile(/tmp/multipartBody6817945529174755034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306603007,"filename":"image_16112025_14_57_22_2139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05125d4e0b885c3ae72464003cfd735d.jpg","text":"TemporaryFile(/tmp/multipartBody4267789557833821946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306603007,"filename":"image_16112025_14_57_12_1552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753497","file1":"1394753495","file0":"1394753491","file4":"1394753500","file5":"1394753501","file3":"1394753499"},"map_files_photo_id_array":[{"photo_id":"1394753501","filename":"file5"},{"photo_id":"1394753497","filename":"file2"},{"photo_id":"1394753500","filename":"file4"},{"photo_id":"1394753495","filename":"file1"},{"photo_id":"1394753491","filename":"file0"},{"photo_id":"1394753499","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753497":["hashtag1","hashtag2"]},{"1394753501":["hashtag1","hashtag2"]},{"1394753491":["hashtag1","hashtag2"]},{"1394753500":["hashtag1","hashtag2"]},{"1394753499":["hashtag1","hashtag2"]},{"1394753495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753497, 1394753501, 1394753491, 1394753500, 1394753499, 1394753495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.438169717788696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:23:03.113689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_44_2535.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_46_2781.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_50_3655.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_53_2670.jpg', '/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_59_3712.jpg', '/home/pi/Desktop/images/16112025/14/58/image_16112025_14_58_38_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_44_2535.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_46_2781.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_50_3655.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_53_2670.jpg
/home/pi/Desktop/images/16112025/14/57/image_16112025_14_57_59_3712.jpg
/home/pi/Desktop/images/16112025/14/58/image_16112025_14_58_38_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753510","1394753504","1394753513","1394753506","1394753508","1394753502"],"photo_ids_order":["1394753502","1394753504","1394753506","1394753508","1394753510","1394753513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe85ade75ad4e0579d473cfe45ba7f17.jpg","text":"TemporaryFile(/tmp/multipartBody2546204102272170323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306643893,"filename":"image_16112025_14_57_59_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b304e1e94d81aa0f248c6d970eb0921.jpg","text":"TemporaryFile(/tmp/multipartBody7252617555248198238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306643893,"filename":"image_16112025_14_57_46_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec4523cff53686234fba094b927c6345.jpg","text":"TemporaryFile(/tmp/multipartBody4221656168776255365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306643893,"filename":"image_16112025_14_58_38_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1edff7cf7aa70cea919295bc1dc4dc23.jpg","text":"TemporaryFile(/tmp/multipartBody1215704369611909030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306643893,"filename":"image_16112025_14_57_50_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be30bf0218295105a35143571a3e0dfb.jpg","text":"TemporaryFile(/tmp/multipartBody248083183789472954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306643893,"filename":"image_16112025_14_57_53_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6209d797d848aba2497e9fd585df538e.jpg","text":"TemporaryFile(/tmp/multipartBody6265688810355604588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306643893,"filename":"image_16112025_14_57_44_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753506","file1":"1394753504","file0":"1394753502","file4":"1394753510","file5":"1394753513","file3":"1394753508"},"map_files_photo_id_array":[{"photo_id":"1394753513","filename":"file5"},{"photo_id":"1394753506","filename":"file2"},{"photo_id":"1394753510","filename":"file4"},{"photo_id":"1394753504","filename":"file1"},{"photo_id":"1394753502","filename":"file0"},{"photo_id":"1394753508","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753510":["hashtag1","hashtag2"]},{"1394753504":["hashtag1","hashtag2"]},{"1394753513":["hashtag1","hashtag2"]},{"1394753506":["hashtag1","hashtag2"]},{"1394753508":["hashtag1","hashtag2"]},{"1394753502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753510, 1394753504, 1394753513, 1394753506, 1394753508, 1394753502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84503197669983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:23:42.347951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/14/58/image_16112025_14_58_50_2760.jpg', '/home/pi/Desktop/images/16112025/14/58/image_16112025_14_58_55_2766.jpg', '/home/pi/Desktop/images/16112025/14/59/image_16112025_14_59_50_2609.jpg', '/home/pi/Desktop/images/16112025/14/59/image_16112025_14_59_58_2561.jpg', '/home/pi/Desktop/images/16112025/15/00/image_16112025_15_00_17_3611.jpg', '/home/pi/Desktop/images/16112025/15/00/image_16112025_15_00_44_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/14/58/image_16112025_14_58_50_2760.jpg
/home/pi/Desktop/images/16112025/14/58/image_16112025_14_58_55_2766.jpg
/home/pi/Desktop/images/16112025/14/59/image_16112025_14_59_50_2609.jpg
/home/pi/Desktop/images/16112025/14/59/image_16112025_14_59_58_2561.jpg
/home/pi/Desktop/images/16112025/15/00/image_16112025_15_00_17_3611.jpg
/home/pi/Desktop/images/16112025/15/00/image_16112025_15_00_44_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753522","1394753525","1394753524","1394753518","1394753523","1394753526"],"photo_ids_order":["1394753518","1394753522","1394753523","1394753524","1394753525","1394753526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c933373a9f46f4d4dc188c21cb312c14.jpg","text":"TemporaryFile(/tmp/multipartBody1854027917407552901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306683018,"filename":"image_16112025_14_58_55_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fffba8ab83f73087e2918fe58ac205a.jpg","text":"TemporaryFile(/tmp/multipartBody207174819846316393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306683018,"filename":"image_16112025_15_00_17_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/856ba8c20e12eab4731029e34b33b8e8.jpg","text":"TemporaryFile(/tmp/multipartBody2766771829784632204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306683018,"filename":"image_16112025_14_59_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/11/16/7cc713f11ff4d5326403ba4c0c897026.jpg","text":"TemporaryFile(/tmp/multipartBody779415719604597688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306683018,"filename":"image_16112025_14_58_50_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51f81a8c671b41a93faa73ac420f9c76.jpg","text":"TemporaryFile(/tmp/multipartBody7507126522333408574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306683018,"filename":"image_16112025_14_59_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/11/16/1a68da449ff8e62cf2df6e214f8ab10e.jpg","text":"TemporaryFile(/tmp/multipartBody1930116293482887386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306683018,"filename":"image_16112025_15_00_44_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753523","file1":"1394753522","file0":"1394753518","file4":"1394753525","file5":"1394753526","file3":"1394753524"},"map_files_photo_id_array":[{"photo_id":"1394753526","filename":"file5"},{"photo_id":"1394753523","filename":"file2"},{"photo_id":"1394753525","filename":"file4"},{"photo_id":"1394753522","filename":"file1"},{"photo_id":"1394753518","filename":"file0"},{"photo_id":"1394753524","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753522":["hashtag1","hashtag2"]},{"1394753525":["hashtag1","hashtag2"]},{"1394753524":["hashtag1","hashtag2"]},{"1394753518":["hashtag1","hashtag2"]},{"1394753523":["hashtag1","hashtag2"]},{"1394753526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753522, 1394753525, 1394753524, 1394753518, 1394753523, 1394753526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01772451400757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:24:22.574237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/00/image_16112025_15_00_58_2685.jpg', '/home/pi/Desktop/images/16112025/15/01/image_16112025_15_01_26_3578.jpg', '/home/pi/Desktop/images/16112025/15/02/image_16112025_15_02_14_2594.jpg', '/home/pi/Desktop/images/16112025/15/02/image_16112025_15_02_49_2598.jpg', '/home/pi/Desktop/images/16112025/15/02/image_16112025_15_02_52_2660.jpg', '/home/pi/Desktop/images/16112025/15/02/image_16112025_15_02_58_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/00/image_16112025_15_00_58_2685.jpg
/home/pi/Desktop/images/16112025/15/01/image_16112025_15_01_26_3578.jpg
/home/pi/Desktop/images/16112025/15/02/image_16112025_15_02_14_2594.jpg
/home/pi/Desktop/images/16112025/15/02/image_16112025_15_02_49_2598.jpg
/home/pi/Desktop/images/16112025/15/02/image_16112025_15_02_52_2660.jpg
/home/pi/Desktop/images/16112025/15/02/image_16112025_15_02_58_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753543","1394753537","1394753531","1394753533","1394753541","1394753535"],"photo_ids_order":["1394753531","1394753533","1394753535","1394753537","1394753541","1394753543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2d4a04e06d8d7f96c0a8c67e3589b79.jpg","text":"TemporaryFile(/tmp/multipartBody7651424935290300568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306723238,"filename":"image_16112025_15_02_58_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/383e83e1f464334e7f1360eb04e62eaa.jpg","text":"TemporaryFile(/tmp/multipartBody3142618397584318899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306723238,"filename":"image_16112025_15_02_49_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/847b51b56d8fd0b86e15acf370c7104c.jpg","text":"TemporaryFile(/tmp/multipartBody957542320016305669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306723238,"filename":"image_16112025_15_00_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/11/16/21d8380c5d53bf26afefb2c94cecb3d8.jpg","text":"TemporaryFile(/tmp/multipartBody6616336172131518300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306723238,"filename":"image_16112025_15_01_26_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29c85826f0f7155790df38ca673495d7.jpg","text":"TemporaryFile(/tmp/multipartBody2320129720623266651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306723238,"filename":"image_16112025_15_02_52_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98201cc8d747ca40cb3b0ff385d6b11c.jpg","text":"TemporaryFile(/tmp/multipartBody6330506310092991095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306723238,"filename":"image_16112025_15_02_14_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753535","file1":"1394753533","file0":"1394753531","file4":"1394753541","file5":"1394753543","file3":"1394753537"},"map_files_photo_id_array":[{"photo_id":"1394753543","filename":"file5"},{"photo_id":"1394753535","filename":"file2"},{"photo_id":"1394753541","filename":"file4"},{"photo_id":"1394753533","filename":"file1"},{"photo_id":"1394753531","filename":"file0"},{"photo_id":"1394753537","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753543":["hashtag1","hashtag2"]},{"1394753537":["hashtag1","hashtag2"]},{"1394753531":["hashtag1","hashtag2"]},{"1394753533":["hashtag1","hashtag2"]},{"1394753541":["hashtag1","hashtag2"]},{"1394753535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753543, 1394753537, 1394753531, 1394753533, 1394753541, 1394753535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53709816932678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:25:03.445226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/03/image_16112025_15_03_01_2589.jpg', '/home/pi/Desktop/images/16112025/15/03/image_16112025_15_03_10_1766.jpg', '/home/pi/Desktop/images/16112025/15/03/image_16112025_15_03_29_3531.jpg', '/home/pi/Desktop/images/16112025/15/03/image_16112025_15_03_40_2685.jpg', '/home/pi/Desktop/images/16112025/15/05/image_16112025_15_05_31_2559.jpg', '/home/pi/Desktop/images/16112025/15/05/image_16112025_15_05_40_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/03/image_16112025_15_03_01_2589.jpg
/home/pi/Desktop/images/16112025/15/03/image_16112025_15_03_10_1766.jpg
/home/pi/Desktop/images/16112025/15/03/image_16112025_15_03_29_3531.jpg
/home/pi/Desktop/images/16112025/15/03/image_16112025_15_03_40_2685.jpg
/home/pi/Desktop/images/16112025/15/05/image_16112025_15_05_31_2559.jpg
/home/pi/Desktop/images/16112025/15/05/image_16112025_15_05_40_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753545","1394753548","1394753550","1394753544","1394753547","1394753546"],"photo_ids_order":["1394753544","1394753545","1394753546","1394753547","1394753548","1394753550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb9911d622b9565e7b8646f87f86c977.jpg","text":"TemporaryFile(/tmp/multipartBody5453933335266850323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306764192,"filename":"image_16112025_15_03_10_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a5647486b7c630b4c03035651c8b6e7.jpg","text":"TemporaryFile(/tmp/multipartBody6937857424930080201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306764192,"filename":"image_16112025_15_05_31_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e94d9499cbecb07087f194f743a160c0.jpg","text":"TemporaryFile(/tmp/multipartBody8376819437747948762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306764192,"filename":"image_16112025_15_05_40_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e4689e0242ad61f9eff1e0a996e8a0a.jpg","text":"TemporaryFile(/tmp/multipartBody6642838527125882638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306764192,"filename":"image_16112025_15_03_01_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74e24a41b054915a2fda1610851cb6cd.jpg","text":"TemporaryFile(/tmp/multipartBody5510556831677733503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306764192,"filename":"image_16112025_15_03_40_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08c16ef08ee05e03e02d2488ee30bb0c.jpg","text":"TemporaryFile(/tmp/multipartBody2700100605481590460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306764192,"filename":"image_16112025_15_03_29_3531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753546","file1":"1394753545","file0":"1394753544","file4":"1394753548","file5":"1394753550","file3":"1394753547"},"map_files_photo_id_array":[{"photo_id":"1394753550","filename":"file5"},{"photo_id":"1394753546","filename":"file2"},{"photo_id":"1394753548","filename":"file4"},{"photo_id":"1394753545","filename":"file1"},{"photo_id":"1394753544","filename":"file0"},{"photo_id":"1394753547","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753545":["hashtag1","hashtag2"]},{"1394753548":["hashtag1","hashtag2"]},{"1394753550":["hashtag1","hashtag2"]},{"1394753544":["hashtag1","hashtag2"]},{"1394753547":["hashtag1","hashtag2"]},{"1394753546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753545, 1394753548, 1394753550, 1394753544, 1394753547, 1394753546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98130655288696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:25:42.724950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/05/image_16112025_15_05_49_3549.jpg', '/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_05_3695.jpg', '/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_14_3725.jpg', '/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_31_2675.jpg', '/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_37_2641.jpg', '/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_46_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/05/image_16112025_15_05_49_3549.jpg
/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_05_3695.jpg
/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_14_3725.jpg
/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_31_2675.jpg
/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_37_2641.jpg
/home/pi/Desktop/images/16112025/15/06/image_16112025_15_06_46_3533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753561","1394753558","1394753557","1394753560","1394753556","1394753559"],"photo_ids_order":["1394753556","1394753557","1394753558","1394753559","1394753560","1394753561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f87896f2134ad50deb4fd9d749cb455.jpg","text":"TemporaryFile(/tmp/multipartBody7554822085066420004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306803393,"filename":"image_16112025_15_06_46_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da74c581b0f9dedf2a775a5bca74d503.jpg","text":"TemporaryFile(/tmp/multipartBody7321785688034741226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306803393,"filename":"image_16112025_15_06_14_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13f0480e0d3c9489de853e28fb7dbac2.jpg","text":"TemporaryFile(/tmp/multipartBody3855533823870190501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306803393,"filename":"image_16112025_15_06_05_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a49f2ecce8128296178aad66a0f69e2.jpg","text":"TemporaryFile(/tmp/multipartBody1315614640705493815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306803393,"filename":"image_16112025_15_06_37_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49142f669a5aa4cb3a50a03ccefe2c97.jpg","text":"TemporaryFile(/tmp/multipartBody3780320671592223070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306803393,"filename":"image_16112025_15_05_49_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71cde82616e364b43dd42643bf294258.jpg","text":"TemporaryFile(/tmp/multipartBody6701357454811346217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306803393,"filename":"image_16112025_15_06_31_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753558","file1":"1394753557","file0":"1394753556","file4":"1394753560","file5":"1394753561","file3":"1394753559"},"map_files_photo_id_array":[{"photo_id":"1394753561","filename":"file5"},{"photo_id":"1394753558","filename":"file2"},{"photo_id":"1394753560","filename":"file4"},{"photo_id":"1394753557","filename":"file1"},{"photo_id":"1394753556","filename":"file0"},{"photo_id":"1394753559","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753561":["hashtag1","hashtag2"]},{"1394753558":["hashtag1","hashtag2"]},{"1394753557":["hashtag1","hashtag2"]},{"1394753560":["hashtag1","hashtag2"]},{"1394753556":["hashtag1","hashtag2"]},{"1394753559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753561, 1394753558, 1394753557, 1394753560, 1394753556, 1394753559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33951163291931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:26:22.019284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/07/image_16112025_15_07_07_2598.jpg', '/home/pi/Desktop/images/16112025/15/07/image_16112025_15_07_31_2637.jpg', '/home/pi/Desktop/images/16112025/15/07/image_16112025_15_07_52_3772.jpg', '/home/pi/Desktop/images/16112025/15/07/image_16112025_15_08_01_3656.jpg', '/home/pi/Desktop/images/16112025/15/08/image_16112025_15_08_52_2522.jpg', '/home/pi/Desktop/images/16112025/15/09/image_16112025_15_09_22_3312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/07/image_16112025_15_07_07_2598.jpg
/home/pi/Desktop/images/16112025/15/07/image_16112025_15_07_31_2637.jpg
/home/pi/Desktop/images/16112025/15/07/image_16112025_15_07_52_3772.jpg
/home/pi/Desktop/images/16112025/15/07/image_16112025_15_08_01_3656.jpg
/home/pi/Desktop/images/16112025/15/08/image_16112025_15_08_52_2522.jpg
/home/pi/Desktop/images/16112025/15/09/image_16112025_15_09_22_3312.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753576","1394753563","1394753566","1394753579","1394753570","1394753573"],"photo_ids_order":["1394753563","1394753566","1394753570","1394753573","1394753576","1394753579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09d4b718a10226610ac12aaf93abcd7c.jpg","text":"TemporaryFile(/tmp/multipartBody4291779378805613141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306842679,"filename":"image_16112025_15_08_52_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/050f1a009dc00ede56e11cd37e9e60a7.jpg","text":"TemporaryFile(/tmp/multipartBody2609603327404778629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306842679,"filename":"image_16112025_15_07_07_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ded6e1dc56309e26242de45d8162a945.jpg","text":"TemporaryFile(/tmp/multipartBody3184345324701535625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306842679,"filename":"image_16112025_15_07_31_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b8f24c0f1496a22e00f533d44cdd869.jpg","text":"TemporaryFile(/tmp/multipartBody2877880650702536029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306842679,"filename":"image_16112025_15_09_22_3312.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86cf6ed31e5708c6b735e679838bb149.jpg","text":"TemporaryFile(/tmp/multipartBody871329514910645032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306842679,"filename":"image_16112025_15_07_52_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8421deebc8fcabfbef02de7f9456ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4011026108310630304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306842679,"filename":"image_16112025_15_08_01_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753570","file1":"1394753566","file0":"1394753563","file4":"1394753576","file5":"1394753579","file3":"1394753573"},"map_files_photo_id_array":[{"photo_id":"1394753579","filename":"file5"},{"photo_id":"1394753570","filename":"file2"},{"photo_id":"1394753576","filename":"file4"},{"photo_id":"1394753566","filename":"file1"},{"photo_id":"1394753563","filename":"file0"},{"photo_id":"1394753573","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753576":["hashtag1","hashtag2"]},{"1394753563":["hashtag1","hashtag2"]},{"1394753566":["hashtag1","hashtag2"]},{"1394753579":["hashtag1","hashtag2"]},{"1394753570":["hashtag1","hashtag2"]},{"1394753573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753576, 1394753563, 1394753566, 1394753579, 1394753570, 1394753573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3954918384552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:27:02.995952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/09/image_16112025_15_09_52_2843.jpg', '/home/pi/Desktop/images/16112025/15/10/image_16112025_15_10_31_3743.jpg', '/home/pi/Desktop/images/16112025/15/10/image_16112025_15_10_45_2627.jpg', '/home/pi/Desktop/images/16112025/15/10/image_16112025_15_10_49_3589.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_06_2609.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_10_3730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/09/image_16112025_15_09_52_2843.jpg
/home/pi/Desktop/images/16112025/15/10/image_16112025_15_10_31_3743.jpg
/home/pi/Desktop/images/16112025/15/10/image_16112025_15_10_45_2627.jpg
/home/pi/Desktop/images/16112025/15/10/image_16112025_15_10_49_3589.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_06_2609.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_10_3730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753584","1394753587","1394753583","1394753582","1394753591","1394753585"],"photo_ids_order":["1394753582","1394753583","1394753584","1394753585","1394753587","1394753591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41845b3fa7a005ee1fcbf973ad180c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6901298957385865406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306883748,"filename":"image_16112025_15_10_45_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0f22f13fb58a2e7cdfe16a0d9921302.jpg","text":"TemporaryFile(/tmp/multipartBody2022952750516506087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306883748,"filename":"image_16112025_15_11_06_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f461d42a3aa20a1d791015e8d1a679db.jpg","text":"TemporaryFile(/tmp/multipartBody7235341785105157194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306883748,"filename":"image_16112025_15_10_31_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96f6c55a1ea499cc65f0c504e7f76e1e.jpg","text":"TemporaryFile(/tmp/multipartBody8204485283983854289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306883748,"filename":"image_16112025_15_09_52_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46f12e04d9de3ea9e4e4b504d5923184.jpg","text":"TemporaryFile(/tmp/multipartBody3364844750783195922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306883748,"filename":"image_16112025_15_11_10_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd3703087e9f40e6a2fe14907d70c774.jpg","text":"TemporaryFile(/tmp/multipartBody9203786398003402669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306883748,"filename":"image_16112025_15_10_49_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753584","file1":"1394753583","file0":"1394753582","file4":"1394753587","file5":"1394753591","file3":"1394753585"},"map_files_photo_id_array":[{"photo_id":"1394753591","filename":"file5"},{"photo_id":"1394753584","filename":"file2"},{"photo_id":"1394753587","filename":"file4"},{"photo_id":"1394753583","filename":"file1"},{"photo_id":"1394753582","filename":"file0"},{"photo_id":"1394753585","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753584":["hashtag1","hashtag2"]},{"1394753587":["hashtag1","hashtag2"]},{"1394753583":["hashtag1","hashtag2"]},{"1394753582":["hashtag1","hashtag2"]},{"1394753591":["hashtag1","hashtag2"]},{"1394753585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753584, 1394753587, 1394753583, 1394753582, 1394753591, 1394753585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64838624000549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:27:42.205443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_13_2597.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_24_2583.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_33_2661.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_37_3601.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_57_2633.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_04_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_13_2597.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_24_2583.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_33_2661.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_37_3601.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_57_2633.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_04_2553.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.5916824340820312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:28:02.882031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_13_2597.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_24_2583.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_33_2661.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_37_3601.jpg', '/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_57_2633.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_04_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_13_2597.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_24_2583.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_33_2661.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_37_3601.jpg
/home/pi/Desktop/images/16112025/15/11/image_16112025_15_11_57_2633.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_04_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753603","1394753606","1394753611","1394753608","1394753605","1394753604"],"photo_ids_order":["1394753603","1394753604","1394753605","1394753606","1394753608","1394753611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30c13cd9ce85f4d891b62b424eed9bc1.jpg","text":"TemporaryFile(/tmp/multipartBody481332363297194397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306943632,"filename":"image_16112025_15_11_13_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85988f75561f307e291ec4db7324b130.jpg","text":"TemporaryFile(/tmp/multipartBody2718089330652825286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306943632,"filename":"image_16112025_15_11_37_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c4d848ee7915bb0f6a5ba931ac41661.jpg","text":"TemporaryFile(/tmp/multipartBody72722489041956583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306943632,"filename":"image_16112025_15_12_04_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/898fa03735964c1c9c51d6374830da4a.jpg","text":"TemporaryFile(/tmp/multipartBody3284602508739428004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306943632,"filename":"image_16112025_15_11_57_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ed0531ea98ab603757788e438a01246.jpg","text":"TemporaryFile(/tmp/multipartBody3592537641645619367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306943632,"filename":"image_16112025_15_11_33_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0e4db3a10177300284a6285ef0010e6.jpg","text":"TemporaryFile(/tmp/multipartBody5069006725478180309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306943632,"filename":"image_16112025_15_11_24_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753605","file1":"1394753604","file0":"1394753603","file4":"1394753608","file5":"1394753611","file3":"1394753606"},"map_files_photo_id_array":[{"photo_id":"1394753611","filename":"file5"},{"photo_id":"1394753605","filename":"file2"},{"photo_id":"1394753608","filename":"file4"},{"photo_id":"1394753604","filename":"file1"},{"photo_id":"1394753603","filename":"file0"},{"photo_id":"1394753606","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753603":["hashtag1","hashtag2"]},{"1394753606":["hashtag1","hashtag2"]},{"1394753611":["hashtag1","hashtag2"]},{"1394753608":["hashtag1","hashtag2"]},{"1394753605":["hashtag1","hashtag2"]},{"1394753604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753603, 1394753606, 1394753611, 1394753608, 1394753605, 1394753604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.494550704956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:28:42.429250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_10_3559.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_16_3627.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_19_2585.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_21_2596.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_25_3584.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_27_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_10_3559.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_16_3627.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_19_2585.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_21_2596.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_25_3584.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_27_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753621","1394753618","1394753620","1394753617","1394753619","1394753616"],"photo_ids_order":["1394753616","1394753617","1394753618","1394753619","1394753620","1394753621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c46fe88374023b16e19da9c43b1f2b07.jpg","text":"TemporaryFile(/tmp/multipartBody2304086655015092901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306983121,"filename":"image_16112025_15_12_27_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f45c7aca7db29437787d836f7432b44.jpg","text":"TemporaryFile(/tmp/multipartBody1665303566583414582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306983121,"filename":"image_16112025_15_12_19_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f5c51130990b1d271a18871650afc66.jpg","text":"TemporaryFile(/tmp/multipartBody6653757022409617498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306983121,"filename":"image_16112025_15_12_25_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3c510cafb4b39905cc6efec68c18688.jpg","text":"TemporaryFile(/tmp/multipartBody8597732769835037485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306983121,"filename":"image_16112025_15_12_16_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/004ea0a8ae2fc55ef778f0cf35c27ced.jpg","text":"TemporaryFile(/tmp/multipartBody52078997975662847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306983121,"filename":"image_16112025_15_12_21_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22341a9cd9eee7103adf963c5bd9757c.jpg","text":"TemporaryFile(/tmp/multipartBody6787502126469588270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763306983121,"filename":"image_16112025_15_12_10_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753618","file1":"1394753617","file0":"1394753616","file4":"1394753620","file5":"1394753621","file3":"1394753619"},"map_files_photo_id_array":[{"photo_id":"1394753621","filename":"file5"},{"photo_id":"1394753618","filename":"file2"},{"photo_id":"1394753620","filename":"file4"},{"photo_id":"1394753617","filename":"file1"},{"photo_id":"1394753616","filename":"file0"},{"photo_id":"1394753619","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753621":["hashtag1","hashtag2"]},{"1394753618":["hashtag1","hashtag2"]},{"1394753620":["hashtag1","hashtag2"]},{"1394753617":["hashtag1","hashtag2"]},{"1394753619":["hashtag1","hashtag2"]},{"1394753616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753621, 1394753618, 1394753620, 1394753617, 1394753619, 1394753616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.661391496658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:29:22.624553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_31_3581.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_38_4797.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_40_1550.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_43_2736.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_45_2680.jpg', '/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_52_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_31_3581.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_38_4797.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_40_1550.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_43_2736.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_45_2680.jpg
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_52_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753636","1394753638","1394753632","1394753626","1394753635","1394753629"],"photo_ids_order":["1394753626","1394753629","1394753632","1394753635","1394753636","1394753638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29900674560aae5cf1948b1802f9cd02.jpg","text":"TemporaryFile(/tmp/multipartBody8972507457409997249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307023256,"filename":"image_16112025_15_12_45_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e260dac0c7310813553830cf1259b07.jpg","text":"TemporaryFile(/tmp/multipartBody5073556509097794895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307023256,"filename":"image_16112025_15_12_52_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ada18e175f11c6895408c0d385dbcb4d.jpg","text":"TemporaryFile(/tmp/multipartBody9097336112128509820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307023256,"filename":"image_16112025_15_12_40_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a722aa0d57cd8e7fb8a2c0ca077d8a36.jpg","text":"TemporaryFile(/tmp/multipartBody4792936388175804009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307023256,"filename":"image_16112025_15_12_31_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f44d91b35fc87ba40c6b3c994d190dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7239353225207718771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307023256,"filename":"image_16112025_15_12_43_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e10cc995cd8f3d9a82c7f9245c32914a.jpg","text":"TemporaryFile(/tmp/multipartBody676088423354888352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307023256,"filename":"image_16112025_15_12_38_4797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753632","file1":"1394753629","file0":"1394753626","file4":"1394753636","file5":"1394753638","file3":"1394753635"},"map_files_photo_id_array":[{"photo_id":"1394753638","filename":"file5"},{"photo_id":"1394753632","filename":"file2"},{"photo_id":"1394753636","filename":"file4"},{"photo_id":"1394753629","filename":"file1"},{"photo_id":"1394753626","filename":"file0"},{"photo_id":"1394753635","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753636":["hashtag1","hashtag2"]},{"1394753638":["hashtag1","hashtag2"]},{"1394753632":["hashtag1","hashtag2"]},{"1394753626":["hashtag1","hashtag2"]},{"1394753635":["hashtag1","hashtag2"]},{"1394753629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753636, 1394753638, 1394753632, 1394753626, 1394753635, 1394753629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89202904701233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:30:03.357698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_55_2670.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_03_5419.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_04_1746.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_10_3541.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_12_2769.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_15_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/12/image_16112025_15_12_55_2670.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_03_5419.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_04_1746.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_10_3541.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_12_2769.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_15_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753648","1394753642","1394753641","1394753640","1394753643","1394753645"],"photo_ids_order":["1394753640","1394753641","1394753642","1394753643","1394753645","1394753648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ced5f9abd7ad10aa778af8c43dfb45e.jpg","text":"TemporaryFile(/tmp/multipartBody2301352254431277632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307064035,"filename":"image_16112025_15_13_15_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/863abcc9fff8904c59d785ca20d53efe.jpg","text":"TemporaryFile(/tmp/multipartBody8321891052644528837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307064035,"filename":"image_16112025_15_13_04_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/642615e7d2a27d0e1012b6bad57bd085.jpg","text":"TemporaryFile(/tmp/multipartBody6674521024273172782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307064035,"filename":"image_16112025_15_13_03_5419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebb292f556827588c8b63b366b74ae9b.jpg","text":"TemporaryFile(/tmp/multipartBody8428041807923508328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307064035,"filename":"image_16112025_15_12_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/11/16/e304f790dd90fd4cfc77530081b74f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6161493743584015502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307064035,"filename":"image_16112025_15_13_10_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f77da071800bbf9cde1aab23d2265db4.jpg","text":"TemporaryFile(/tmp/multipartBody8168191477948591732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307064035,"filename":"image_16112025_15_13_12_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753642","file1":"1394753641","file0":"1394753640","file4":"1394753645","file5":"1394753648","file3":"1394753643"},"map_files_photo_id_array":[{"photo_id":"1394753648","filename":"file5"},{"photo_id":"1394753642","filename":"file2"},{"photo_id":"1394753645","filename":"file4"},{"photo_id":"1394753641","filename":"file1"},{"photo_id":"1394753640","filename":"file0"},{"photo_id":"1394753643","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753648":["hashtag1","hashtag2"]},{"1394753642":["hashtag1","hashtag2"]},{"1394753641":["hashtag1","hashtag2"]},{"1394753640":["hashtag1","hashtag2"]},{"1394753643":["hashtag1","hashtag2"]},{"1394753645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753648, 1394753642, 1394753641, 1394753640, 1394753643, 1394753645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62382245063782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:30:42.779703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_19_3593.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_21_2541.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_25_3639.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_30_2548.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_34_3788.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_37_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_19_3593.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_21_2541.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_25_3639.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_30_2548.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_34_3788.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_37_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753654","1394753656","1394753653","1394753655","1394753658","1394753652"],"photo_ids_order":["1394753652","1394753653","1394753654","1394753655","1394753656","1394753658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e66fc596018753edb53cfee788d240b3.jpg","text":"TemporaryFile(/tmp/multipartBody6732808558328993932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307103411,"filename":"image_16112025_15_13_25_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e98964b8a7a718b9441c711b849e1cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6008290045500682405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307103411,"filename":"image_16112025_15_13_34_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/551744f49dfbfb6f35d35ee0b345d8f5.jpg","text":"TemporaryFile(/tmp/multipartBody4681378549754541314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307103411,"filename":"image_16112025_15_13_21_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4a9ced44ba6ac638a8a553033e99e26.jpg","text":"TemporaryFile(/tmp/multipartBody1031400270451245469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307103411,"filename":"image_16112025_15_13_30_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57c7d483825b8a4fa0882cf28fdbaf1d.jpg","text":"TemporaryFile(/tmp/multipartBody1921777193220203885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307103411,"filename":"image_16112025_15_13_37_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1457f08e377e139d2a3322ca5be860a.jpg","text":"TemporaryFile(/tmp/multipartBody3321405445664567898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307103411,"filename":"image_16112025_15_13_19_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753654","file1":"1394753653","file0":"1394753652","file4":"1394753656","file5":"1394753658","file3":"1394753655"},"map_files_photo_id_array":[{"photo_id":"1394753658","filename":"file5"},{"photo_id":"1394753654","filename":"file2"},{"photo_id":"1394753656","filename":"file4"},{"photo_id":"1394753653","filename":"file1"},{"photo_id":"1394753652","filename":"file0"},{"photo_id":"1394753655","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753654":["hashtag1","hashtag2"]},{"1394753656":["hashtag1","hashtag2"]},{"1394753653":["hashtag1","hashtag2"]},{"1394753655":["hashtag1","hashtag2"]},{"1394753658":["hashtag1","hashtag2"]},{"1394753652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753654, 1394753656, 1394753653, 1394753655, 1394753658, 1394753652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.327040910720825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:31:21.938914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_39_2887.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_42_2641.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_46_3768.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_48_2595.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_52_3965.jpg', '/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_58_3740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_39_2887.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_42_2641.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_46_3768.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_48_2595.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_52_3965.jpg
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_13_58_3740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753669","1394753671","1394753665","1394753667","1394753661","1394753663"],"photo_ids_order":["1394753661","1394753663","1394753665","1394753667","1394753669","1394753671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cce0439e7d78f0e7770774721bfe36b.jpg","text":"TemporaryFile(/tmp/multipartBody6280036454209179363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307142591,"filename":"image_16112025_15_13_52_3965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/265f0d7d313b1f01950ab5428553423b.jpg","text":"TemporaryFile(/tmp/multipartBody3664890056079844089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307142591,"filename":"image_16112025_15_13_58_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e519018c345f6db280d7cf30434f58ed.jpg","text":"TemporaryFile(/tmp/multipartBody8882676339750844081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307142591,"filename":"image_16112025_15_13_46_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/927e0287b5a4802f4503a5f3970e400f.jpg","text":"TemporaryFile(/tmp/multipartBody4434266853392013060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307142591,"filename":"image_16112025_15_13_48_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/085e2dcf43fb09cdc15de6584622310a.jpg","text":"TemporaryFile(/tmp/multipartBody1365876556946491866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307142591,"filename":"image_16112025_15_13_39_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17344d3d63372c2ed704190b5aaf1699.jpg","text":"TemporaryFile(/tmp/multipartBody1342013065238653614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307142591,"filename":"image_16112025_15_13_42_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753665","file1":"1394753663","file0":"1394753661","file4":"1394753669","file5":"1394753671","file3":"1394753667"},"map_files_photo_id_array":[{"photo_id":"1394753671","filename":"file5"},{"photo_id":"1394753665","filename":"file2"},{"photo_id":"1394753669","filename":"file4"},{"photo_id":"1394753663","filename":"file1"},{"photo_id":"1394753661","filename":"file0"},{"photo_id":"1394753667","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753669":["hashtag1","hashtag2"]},{"1394753671":["hashtag1","hashtag2"]},{"1394753665":["hashtag1","hashtag2"]},{"1394753667":["hashtag1","hashtag2"]},{"1394753661":["hashtag1","hashtag2"]},{"1394753663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753669, 1394753671, 1394753665, 1394753667, 1394753661, 1394753663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15210294723511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:32:02.708869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/13/image_16112025_15_14_00_2687.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_03_2673.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_07_3775.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_09_2654.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_12_2573.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_16_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/13/image_16112025_15_14_00_2687.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_03_2673.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_07_3775.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_09_2654.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_12_2573.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_16_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753675","1394753680","1394753674","1394753673","1394753676","1394753678"],"photo_ids_order":["1394753673","1394753674","1394753675","1394753676","1394753678","1394753680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22a6da94430f8aea13575128f8b0d2ec.jpg","text":"TemporaryFile(/tmp/multipartBody1491200387249195738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307183410,"filename":"image_16112025_15_14_07_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3589c1826d309b9be9f48eba5dd0ff98.jpg","text":"TemporaryFile(/tmp/multipartBody4836938876713695960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307183410,"filename":"image_16112025_15_14_16_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/328182e94d564c6b48a87f449d1bd745.jpg","text":"TemporaryFile(/tmp/multipartBody2243326373236223633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307183410,"filename":"image_16112025_15_14_03_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81516592fe65ec59869eda49caddb62e.jpg","text":"TemporaryFile(/tmp/multipartBody1242996877774448596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307183410,"filename":"image_16112025_15_14_00_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac773881c9ed160adbd22e3015459bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6556188777561468924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307183410,"filename":"image_16112025_15_14_09_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b01cf0095d3c2d890003ba6b970d585.jpg","text":"TemporaryFile(/tmp/multipartBody1972442902324696540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307183410,"filename":"image_16112025_15_14_12_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753675","file1":"1394753674","file0":"1394753673","file4":"1394753678","file5":"1394753680","file3":"1394753676"},"map_files_photo_id_array":[{"photo_id":"1394753680","filename":"file5"},{"photo_id":"1394753675","filename":"file2"},{"photo_id":"1394753678","filename":"file4"},{"photo_id":"1394753674","filename":"file1"},{"photo_id":"1394753673","filename":"file0"},{"photo_id":"1394753676","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753675":["hashtag1","hashtag2"]},{"1394753680":["hashtag1","hashtag2"]},{"1394753674":["hashtag1","hashtag2"]},{"1394753673":["hashtag1","hashtag2"]},{"1394753676":["hashtag1","hashtag2"]},{"1394753678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753675, 1394753680, 1394753674, 1394753673, 1394753676, 1394753678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79230070114136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:32:42.319808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_18_2688.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_25_3664.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_27_2749.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_30_2737.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_34_3555.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_36_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_18_2688.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_25_3664.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_27_2749.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_30_2737.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_34_3555.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_36_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753692","1394753689","1394753686","1394753691","1394753690","1394753693"],"photo_ids_order":["1394753686","1394753689","1394753690","1394753691","1394753692","1394753693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/139365f30d641a83968321ec08b06e5b.jpg","text":"TemporaryFile(/tmp/multipartBody219065234277938442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307222956,"filename":"image_16112025_15_14_34_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d55b68ec2f2f6ac3cecf5f7d3dca14e8.jpg","text":"TemporaryFile(/tmp/multipartBody1678501429420993608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307222956,"filename":"image_16112025_15_14_25_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1142f25242b2cd52a848a392fd5f0b32.jpg","text":"TemporaryFile(/tmp/multipartBody8435253594909933335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307222956,"filename":"image_16112025_15_14_18_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9722baca4cea3d373c05e02c2c24da33.jpg","text":"TemporaryFile(/tmp/multipartBody4611234915753554416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307222956,"filename":"image_16112025_15_14_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/11/16/b34ca2ab70fe275daed38b2e25dbf830.jpg","text":"TemporaryFile(/tmp/multipartBody6038762263777172866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307222956,"filename":"image_16112025_15_14_27_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b342ca355c4c0e9c75c006dc54698974.jpg","text":"TemporaryFile(/tmp/multipartBody5920093017194509209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307222956,"filename":"image_16112025_15_14_36_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753690","file1":"1394753689","file0":"1394753686","file4":"1394753692","file5":"1394753693","file3":"1394753691"},"map_files_photo_id_array":[{"photo_id":"1394753693","filename":"file5"},{"photo_id":"1394753690","filename":"file2"},{"photo_id":"1394753692","filename":"file4"},{"photo_id":"1394753689","filename":"file1"},{"photo_id":"1394753686","filename":"file0"},{"photo_id":"1394753691","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753692":["hashtag1","hashtag2"]},{"1394753689":["hashtag1","hashtag2"]},{"1394753686":["hashtag1","hashtag2"]},{"1394753691":["hashtag1","hashtag2"]},{"1394753690":["hashtag1","hashtag2"]},{"1394753693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753692, 1394753689, 1394753686, 1394753691, 1394753690, 1394753693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.007028341293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:33:22.489487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_39_2635.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_43_3667.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_45_2512.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_49_3716.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_51_2519.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_54_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_39_2635.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_43_3667.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_45_2512.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_49_3716.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_51_2519.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_54_2675.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.5657117366790771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:33:42.489701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_39_2635.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_43_3667.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_45_2512.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_49_3716.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_51_2519.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_54_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_39_2635.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_43_3667.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_45_2512.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_49_3716.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_51_2519.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_54_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753708","1394753710","1394753707","1394753704","1394753706","1394753709"],"photo_ids_order":["1394753704","1394753706","1394753707","1394753708","1394753709","1394753710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c947d86d6b422a8b6033f64cab797c29.jpg","text":"TemporaryFile(/tmp/multipartBody5999098556286072684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307283128,"filename":"image_16112025_15_14_49_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/292b96e1593feaa68f6d4d20a56fc08e.jpg","text":"TemporaryFile(/tmp/multipartBody256309232194227392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307283128,"filename":"image_16112025_15_14_54_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/077d225d458a33a7ee22be5f64a731d9.jpg","text":"TemporaryFile(/tmp/multipartBody8949433401630758745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307283128,"filename":"image_16112025_15_14_45_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae403bc9128870d4b83041c896631605.jpg","text":"TemporaryFile(/tmp/multipartBody6121104936526335896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307283128,"filename":"image_16112025_15_14_39_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0de8391e37b07e4d0f0861ac8a056da9.jpg","text":"TemporaryFile(/tmp/multipartBody6882963376949033675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307283128,"filename":"image_16112025_15_14_43_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87efaac0a71737c53ead402843d32e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6888409145250509990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307283128,"filename":"image_16112025_15_14_51_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753707","file1":"1394753706","file0":"1394753704","file4":"1394753709","file5":"1394753710","file3":"1394753708"},"map_files_photo_id_array":[{"photo_id":"1394753710","filename":"file5"},{"photo_id":"1394753707","filename":"file2"},{"photo_id":"1394753709","filename":"file4"},{"photo_id":"1394753706","filename":"file1"},{"photo_id":"1394753704","filename":"file0"},{"photo_id":"1394753708","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753708":["hashtag1","hashtag2"]},{"1394753710":["hashtag1","hashtag2"]},{"1394753707":["hashtag1","hashtag2"]},{"1394753704":["hashtag1","hashtag2"]},{"1394753706":["hashtag1","hashtag2"]},{"1394753709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753708, 1394753710, 1394753707, 1394753704, 1394753706, 1394753709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26469707489014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:34:22.813258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_58_3695.jpg', '/home/pi/Desktop/images/16112025/15/14/image_16112025_15_15_00_2561.jpg', '/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_03_2672.jpg', '/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_12_2692.jpg', '/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_22_3652.jpg', '/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_27_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_14_58_3695.jpg
/home/pi/Desktop/images/16112025/15/14/image_16112025_15_15_00_2561.jpg
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_03_2672.jpg
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_12_2692.jpg
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_22_3652.jpg
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_27_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753720","1394753714","1394753723","1394753717","1394753725","1394753724"],"photo_ids_order":["1394753714","1394753717","1394753720","1394753723","1394753724","1394753725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2284918ae9732bc0fdcf7b73d69efa6.jpg","text":"TemporaryFile(/tmp/multipartBody376007648117258691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307323518,"filename":"image_16112025_15_15_03_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed3b150810c0accef1e599fa922140bb.jpg","text":"TemporaryFile(/tmp/multipartBody5592142935981895854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307323518,"filename":"image_16112025_15_14_58_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c72ea8592e3e33ec578db858419e2d3.jpg","text":"TemporaryFile(/tmp/multipartBody8874990147303091469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307323518,"filename":"image_16112025_15_15_12_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9c80ba9c57cdb232810202569d57782.jpg","text":"TemporaryFile(/tmp/multipartBody2975262869007919345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307323518,"filename":"image_16112025_15_15_00_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d0be536a377530cbd36427343f1e7d3.jpg","text":"TemporaryFile(/tmp/multipartBody5349052736535347782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307323518,"filename":"image_16112025_15_15_27_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/171d56dbfe556f75b0d0ec582e62e04e.jpg","text":"TemporaryFile(/tmp/multipartBody6852667273153092531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307323518,"filename":"image_16112025_15_15_22_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753720","file1":"1394753717","file0":"1394753714","file4":"1394753724","file5":"1394753725","file3":"1394753723"},"map_files_photo_id_array":[{"photo_id":"1394753725","filename":"file5"},{"photo_id":"1394753720","filename":"file2"},{"photo_id":"1394753724","filename":"file4"},{"photo_id":"1394753717","filename":"file1"},{"photo_id":"1394753714","filename":"file0"},{"photo_id":"1394753723","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753720":["hashtag1","hashtag2"]},{"1394753714":["hashtag1","hashtag2"]},{"1394753723":["hashtag1","hashtag2"]},{"1394753717":["hashtag1","hashtag2"]},{"1394753725":["hashtag1","hashtag2"]},{"1394753724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753720, 1394753714, 1394753723, 1394753717, 1394753725, 1394753724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.190988302230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:35:02.731222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_33_3696.jpg', '/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_36_2557.jpg', '/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_39_2832.jpg', '/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_43_3698.jpg', '/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_54_2594.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_03_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_33_3696.jpg
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_36_2557.jpg
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_39_2832.jpg
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_43_3698.jpg
/home/pi/Desktop/images/16112025/15/15/image_16112025_15_15_54_2594.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_03_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753732","1394753726","1394753735","1394753729","1394753728","1394753730"],"photo_ids_order":["1394753726","1394753728","1394753729","1394753730","1394753732","1394753735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed7abb678890feace3909272f6a4e10d.jpg","text":"TemporaryFile(/tmp/multipartBody1992762601642791909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307363474,"filename":"image_16112025_15_15_54_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd308f6df1f468d515fb2e3cbaf52d36.jpg","text":"TemporaryFile(/tmp/multipartBody4883406710573533194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307363474,"filename":"image_16112025_15_15_33_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09024d26f4bd7c240f906942bb82b125.jpg","text":"TemporaryFile(/tmp/multipartBody1731828152831555708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307363474,"filename":"image_16112025_15_16_03_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7be105863430d8c92eba5d5d1e2a46c8.jpg","text":"TemporaryFile(/tmp/multipartBody4714015708520694206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307363474,"filename":"image_16112025_15_15_39_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8431ee0c4dadca59c81a79a9094cf1db.jpg","text":"TemporaryFile(/tmp/multipartBody6235268767524494982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307363474,"filename":"image_16112025_15_15_36_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06c38bbc61852a022e923158a6eb616e.jpg","text":"TemporaryFile(/tmp/multipartBody3475407735117291391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307363474,"filename":"image_16112025_15_15_43_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753729","file1":"1394753728","file0":"1394753726","file4":"1394753732","file5":"1394753735","file3":"1394753730"},"map_files_photo_id_array":[{"photo_id":"1394753735","filename":"file5"},{"photo_id":"1394753729","filename":"file2"},{"photo_id":"1394753732","filename":"file4"},{"photo_id":"1394753728","filename":"file1"},{"photo_id":"1394753726","filename":"file0"},{"photo_id":"1394753730","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753732":["hashtag1","hashtag2"]},{"1394753726":["hashtag1","hashtag2"]},{"1394753735":["hashtag1","hashtag2"]},{"1394753729":["hashtag1","hashtag2"]},{"1394753728":["hashtag1","hashtag2"]},{"1394753730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753732, 1394753726, 1394753735, 1394753729, 1394753728, 1394753730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68817138671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:35:42.042362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_06_2696.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_09_3564.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_25_16064.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_32_1572.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_34_1662.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_57_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_06_2696.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_09_3564.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_25_16064.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_32_1572.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_34_1662.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_57_3628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753741","1394753743","1394753737","1394753740","1394753742","1394753744"],"photo_ids_order":["1394753737","1394753740","1394753741","1394753742","1394753743","1394753744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c846fc0c2e56d22e6e1d2a380b1bfe5.jpg","text":"TemporaryFile(/tmp/multipartBody9037405566902928215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307402750,"filename":"image_16112025_15_16_25_16064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac69a2dd185a19ef3b9b61d104fd4c65.jpg","text":"TemporaryFile(/tmp/multipartBody9035158059283827684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307402750,"filename":"image_16112025_15_16_34_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/204011a98b4880ad67da8b0dd2f91a94.jpg","text":"TemporaryFile(/tmp/multipartBody4009301920793218972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307402750,"filename":"image_16112025_15_16_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/11/16/bb242c79333a4b7083014e0ded870150.jpg","text":"TemporaryFile(/tmp/multipartBody7655710107585729884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307402750,"filename":"image_16112025_15_16_09_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92aff1dd0124de5dcb91ac670cf7e377.jpg","text":"TemporaryFile(/tmp/multipartBody5373644979211087862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307402750,"filename":"image_16112025_15_16_32_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/969b6a5b89e02004a6364d64f7ea9052.jpg","text":"TemporaryFile(/tmp/multipartBody4163614445913155914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307402750,"filename":"image_16112025_15_16_57_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753741","file1":"1394753740","file0":"1394753737","file4":"1394753743","file5":"1394753744","file3":"1394753742"},"map_files_photo_id_array":[{"photo_id":"1394753744","filename":"file5"},{"photo_id":"1394753741","filename":"file2"},{"photo_id":"1394753743","filename":"file4"},{"photo_id":"1394753740","filename":"file1"},{"photo_id":"1394753737","filename":"file0"},{"photo_id":"1394753742","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753741":["hashtag1","hashtag2"]},{"1394753743":["hashtag1","hashtag2"]},{"1394753737":["hashtag1","hashtag2"]},{"1394753740":["hashtag1","hashtag2"]},{"1394753742":["hashtag1","hashtag2"]},{"1394753744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753741, 1394753743, 1394753737, 1394753740, 1394753742, 1394753744)","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 = 1394753741 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_25_16064.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1394753741 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_25_16064.jpg";
uploaded 6 photos
time to upload: 58.85175061225891 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-11-16 16:37:10.610024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 16:37:30.099226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 16:37:50.134882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 16:38:02.677690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 16:38:22.358097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 16:38:46.974874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 16:39:02.755374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_06_2696.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_09_3564.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_25_16064.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_32_1572.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_34_1662.jpg', '/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_57_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_06_2696.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_09_3564.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_25_16064.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_32_1572.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_34_1662.jpg
/home/pi/Desktop/images/16112025/15/16/image_16112025_15_16_57_3628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753773","1394753770","1394753772","1394753775","1394753777","1394753771"],"photo_ids_order":["1394753770","1394753771","1394753772","1394753773","1394753775","1394753777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1c0e4c19ee5c23fa7fd4940b53bfa7a.jpg","text":"TemporaryFile(/tmp/multipartBody2696496973928814106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307603539,"filename":"image_16112025_15_16_32_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/238eb88616bff313f29762067a55019a.jpg","text":"TemporaryFile(/tmp/multipartBody202560276200854398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307603539,"filename":"image_16112025_15_16_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/11/16/295eae647bf17a2a787e3558f14190b5.jpg","text":"TemporaryFile(/tmp/multipartBody3704226131334674200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307603539,"filename":"image_16112025_15_16_25_16064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27d4866cfd020b8ba73efdba7e5196b8.jpg","text":"TemporaryFile(/tmp/multipartBody4748704695550577204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307603539,"filename":"image_16112025_15_16_34_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2097168cca82f4fd5ac1f88fa0dc3807.jpg","text":"TemporaryFile(/tmp/multipartBody1925284058848773822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307603539,"filename":"image_16112025_15_16_57_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a175bc606d3260b072e2b544fadd2755.jpg","text":"TemporaryFile(/tmp/multipartBody8559399272141797240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307603539,"filename":"image_16112025_15_16_09_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753772","file1":"1394753771","file0":"1394753770","file4":"1394753775","file5":"1394753777","file3":"1394753773"},"map_files_photo_id_array":[{"photo_id":"1394753777","filename":"file5"},{"photo_id":"1394753772","filename":"file2"},{"photo_id":"1394753775","filename":"file4"},{"photo_id":"1394753771","filename":"file1"},{"photo_id":"1394753770","filename":"file0"},{"photo_id":"1394753773","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753773":["hashtag1","hashtag2"]},{"1394753770":["hashtag1","hashtag2"]},{"1394753772":["hashtag1","hashtag2"]},{"1394753775":["hashtag1","hashtag2"]},{"1394753777":["hashtag1","hashtag2"]},{"1394753771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753773, 1394753770, 1394753772, 1394753775, 1394753777, 1394753771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56547713279724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:39:41.992341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_05_7391.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_27_3551.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_33_2633.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_36_3672.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_48_2590.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_51_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_05_7391.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_27_3551.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_33_2633.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_36_3672.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_48_2590.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_51_3676.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.6163983345031738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:40:02.675731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_05_7391.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_27_3551.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_33_2633.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_36_3672.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_48_2590.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_51_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_05_7391.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_27_3551.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_33_2633.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_36_3672.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_48_2590.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_51_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753791","1394753788","1394753796","1394753793","1394753789","1394753786"],"photo_ids_order":["1394753786","1394753788","1394753789","1394753791","1394753793","1394753796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da694f02f99bb6e8d12cd5b5792fa53e.jpg","text":"TemporaryFile(/tmp/multipartBody2937789809120820477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307663383,"filename":"image_16112025_15_17_36_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a93570a6ab2fafd9c7e86352bba33d6b.jpg","text":"TemporaryFile(/tmp/multipartBody6314172122799795663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307663383,"filename":"image_16112025_15_17_27_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4859895c7ec47fd357ffb1fc943132fe.jpg","text":"TemporaryFile(/tmp/multipartBody7569239913098104125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307663383,"filename":"image_16112025_15_17_51_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adce4c0f9d9c3551c6ae343070440ba1.jpg","text":"TemporaryFile(/tmp/multipartBody4172031221455934373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307663383,"filename":"image_16112025_15_17_48_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5329500c4235dc7bf329d8f9b8eb105f.jpg","text":"TemporaryFile(/tmp/multipartBody4371688307217881109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307663383,"filename":"image_16112025_15_17_33_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81ab7723ab5dfe9aff34b36178c1049f.jpg","text":"TemporaryFile(/tmp/multipartBody8315965242799361267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307663383,"filename":"image_16112025_15_17_05_7391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753789","file1":"1394753788","file0":"1394753786","file4":"1394753793","file5":"1394753796","file3":"1394753791"},"map_files_photo_id_array":[{"photo_id":"1394753796","filename":"file5"},{"photo_id":"1394753789","filename":"file2"},{"photo_id":"1394753793","filename":"file4"},{"photo_id":"1394753788","filename":"file1"},{"photo_id":"1394753786","filename":"file0"},{"photo_id":"1394753791","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753791":["hashtag1","hashtag2"]},{"1394753788":["hashtag1","hashtag2"]},{"1394753796":["hashtag1","hashtag2"]},{"1394753793":["hashtag1","hashtag2"]},{"1394753789":["hashtag1","hashtag2"]},{"1394753786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753791, 1394753788, 1394753796, 1394753793, 1394753789, 1394753786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.826573848724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:40:42.132079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_57_2770.jpg', '/home/pi/Desktop/images/16112025/15/17/image_16112025_15_18_00_2873.jpg', '/home/pi/Desktop/images/16112025/15/18/image_16112025_15_18_12_3658.jpg', '/home/pi/Desktop/images/16112025/15/18/image_16112025_15_18_26_2629.jpg', '/home/pi/Desktop/images/16112025/15/18/image_16112025_15_18_57_3616.jpg', '/home/pi/Desktop/images/16112025/15/19/image_16112025_15_19_39_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_17_57_2770.jpg
/home/pi/Desktop/images/16112025/15/17/image_16112025_15_18_00_2873.jpg
/home/pi/Desktop/images/16112025/15/18/image_16112025_15_18_12_3658.jpg
/home/pi/Desktop/images/16112025/15/18/image_16112025_15_18_26_2629.jpg
/home/pi/Desktop/images/16112025/15/18/image_16112025_15_18_57_3616.jpg
/home/pi/Desktop/images/16112025/15/19/image_16112025_15_19_39_3541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753801","1394753800","1394753799","1394753803","1394753802","1394753798"],"photo_ids_order":["1394753798","1394753799","1394753800","1394753801","1394753802","1394753803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf16a6dd15a1aa22330d1292c422f5da.jpg","text":"TemporaryFile(/tmp/multipartBody5364680879492899539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307702764,"filename":"image_16112025_15_18_26_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba57234ecad9fb689304f5e0e732f77e.jpg","text":"TemporaryFile(/tmp/multipartBody4934024326242014540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307702764,"filename":"image_16112025_15_18_12_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e90ed0b37ff145f1b04c0acdc6141078.jpg","text":"TemporaryFile(/tmp/multipartBody8469785041180470314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307702764,"filename":"image_16112025_15_18_00_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d4f0a4a585fba2fb75ef40433d07828.jpg","text":"TemporaryFile(/tmp/multipartBody6018770934702325558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307702764,"filename":"image_16112025_15_19_39_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f31282ba3ced10fad98afaa82b8447bf.jpg","text":"TemporaryFile(/tmp/multipartBody2177777691706444288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307702764,"filename":"image_16112025_15_18_57_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41480fe241112a9e1fb4bffb4238b3aa.jpg","text":"TemporaryFile(/tmp/multipartBody7047906592924409274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307702764,"filename":"image_16112025_15_17_57_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753800","file1":"1394753799","file0":"1394753798","file4":"1394753802","file5":"1394753803","file3":"1394753801"},"map_files_photo_id_array":[{"photo_id":"1394753803","filename":"file5"},{"photo_id":"1394753800","filename":"file2"},{"photo_id":"1394753802","filename":"file4"},{"photo_id":"1394753799","filename":"file1"},{"photo_id":"1394753798","filename":"file0"},{"photo_id":"1394753801","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753801":["hashtag1","hashtag2"]},{"1394753800":["hashtag1","hashtag2"]},{"1394753799":["hashtag1","hashtag2"]},{"1394753803":["hashtag1","hashtag2"]},{"1394753802":["hashtag1","hashtag2"]},{"1394753798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753801, 1394753800, 1394753799, 1394753803, 1394753802, 1394753798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92187452316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:41:24.310189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/19/image_16112025_15_19_48_2566.jpg', '/home/pi/Desktop/images/16112025/15/19/image_16112025_15_19_59_2645.jpg', '/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_12_3756.jpg', '/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_21_3575.jpg', '/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_26_2583.jpg', '/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_30_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/19/image_16112025_15_19_48_2566.jpg
/home/pi/Desktop/images/16112025/15/19/image_16112025_15_19_59_2645.jpg
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_12_3756.jpg
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_21_3575.jpg
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_26_2583.jpg
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_30_3577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753813","1394753807","1394753812","1394753815","1394753809","1394753811"],"photo_ids_order":["1394753807","1394753809","1394753811","1394753812","1394753813","1394753815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a973779f80c4903a265fc9f713197e6.jpg","text":"TemporaryFile(/tmp/multipartBody749902390175360389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307744953,"filename":"image_16112025_15_20_26_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48d648c3ac5504db046ccd666dcf2053.jpg","text":"TemporaryFile(/tmp/multipartBody8818686910011296857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307744953,"filename":"image_16112025_15_19_48_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19e7fa2936c9b4ebed9297fcaf247c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5523707765389465659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307744953,"filename":"image_16112025_15_20_21_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4d8fc1c09895904418eefea9737f64b.jpg","text":"TemporaryFile(/tmp/multipartBody5384197685399718510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307744953,"filename":"image_16112025_15_20_30_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89cadfeedfe0acc5b1ccecfb5cc5c188.jpg","text":"TemporaryFile(/tmp/multipartBody7319780397638483609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307744953,"filename":"image_16112025_15_19_59_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65a82a0536cd533295d03fc099a0d005.jpg","text":"TemporaryFile(/tmp/multipartBody1268850063825043628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307744953,"filename":"image_16112025_15_20_12_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753811","file1":"1394753809","file0":"1394753807","file4":"1394753813","file5":"1394753815","file3":"1394753812"},"map_files_photo_id_array":[{"photo_id":"1394753815","filename":"file5"},{"photo_id":"1394753811","filename":"file2"},{"photo_id":"1394753813","filename":"file4"},{"photo_id":"1394753809","filename":"file1"},{"photo_id":"1394753807","filename":"file0"},{"photo_id":"1394753812","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753813":["hashtag1","hashtag2"]},{"1394753807":["hashtag1","hashtag2"]},{"1394753812":["hashtag1","hashtag2"]},{"1394753815":["hashtag1","hashtag2"]},{"1394753809":["hashtag1","hashtag2"]},{"1394753811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753813, 1394753807, 1394753812, 1394753815, 1394753809, 1394753811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.095038175582886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:42:03.213487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_39_3576.jpg', '/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_41_2500.jpg', '/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_48_2555.jpg', '/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_54_3646.jpg', '/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_57_2693.jpg', '/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_03_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_39_3576.jpg
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_41_2500.jpg
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_48_2555.jpg
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_54_3646.jpg
/home/pi/Desktop/images/16112025/15/20/image_16112025_15_20_57_2693.jpg
/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_03_3800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753825","1394753822","1394753819","1394753818","1394753820","1394753817"],"photo_ids_order":["1394753817","1394753818","1394753819","1394753820","1394753822","1394753825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/643800353b51b2b7a4f519189e4cb08d.jpg","text":"TemporaryFile(/tmp/multipartBody1037818603754642659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307783916,"filename":"image_16112025_15_21_03_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0f61ada3f07df795772c8866ae3a071.jpg","text":"TemporaryFile(/tmp/multipartBody343494772593828644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307783916,"filename":"image_16112025_15_20_57_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41c9050efd931bd3bdc2f564af444474.jpg","text":"TemporaryFile(/tmp/multipartBody2563928742595902823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307783916,"filename":"image_16112025_15_20_48_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48a7648cfee18c15dfb8097d7464af14.jpg","text":"TemporaryFile(/tmp/multipartBody4397574592046918314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307783916,"filename":"image_16112025_15_20_41_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7806d9ccebf14393f033dee6193bd7aa.jpg","text":"TemporaryFile(/tmp/multipartBody1989439437158732720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307783916,"filename":"image_16112025_15_20_54_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/092d015135add37413c3e451d4f69ef7.jpg","text":"TemporaryFile(/tmp/multipartBody7166519693894957273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307783916,"filename":"image_16112025_15_20_39_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753819","file1":"1394753818","file0":"1394753817","file4":"1394753822","file5":"1394753825","file3":"1394753820"},"map_files_photo_id_array":[{"photo_id":"1394753825","filename":"file5"},{"photo_id":"1394753819","filename":"file2"},{"photo_id":"1394753822","filename":"file4"},{"photo_id":"1394753818","filename":"file1"},{"photo_id":"1394753817","filename":"file0"},{"photo_id":"1394753820","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753825":["hashtag1","hashtag2"]},{"1394753822":["hashtag1","hashtag2"]},{"1394753819":["hashtag1","hashtag2"]},{"1394753818":["hashtag1","hashtag2"]},{"1394753820":["hashtag1","hashtag2"]},{"1394753817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753825, 1394753822, 1394753819, 1394753818, 1394753820, 1394753817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96102571487427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:42:42.599686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_08_2664.jpg', '/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_14_2607.jpg', '/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_32_2700.jpg', '/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_36_3623.jpg', '/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_39_2649.jpg', '/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_41_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_08_2664.jpg
/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_14_2607.jpg
/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_32_2700.jpg
/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_36_3623.jpg
/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_39_2649.jpg
/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_41_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753831","1394753828","1394753830","1394753833","1394753827","1394753829"],"photo_ids_order":["1394753827","1394753828","1394753829","1394753830","1394753831","1394753833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/607afa981ee2769715a298727eda4436.jpg","text":"TemporaryFile(/tmp/multipartBody3805419586089019037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307823268,"filename":"image_16112025_15_21_39_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41e156647b64fa046b9c068e22b9d6e4.jpg","text":"TemporaryFile(/tmp/multipartBody4549085168124553820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307823268,"filename":"image_16112025_15_21_14_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e62be549517c990ed99a1d8db1725b30.jpg","text":"TemporaryFile(/tmp/multipartBody414512223060155286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307823268,"filename":"image_16112025_15_21_36_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a44b92645eaddcde273cb0eed886c733.jpg","text":"TemporaryFile(/tmp/multipartBody1633817005170472040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307823268,"filename":"image_16112025_15_21_41_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b66ff0a940a04797d461bc36c9ea3f78.jpg","text":"TemporaryFile(/tmp/multipartBody7813012260261098749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307823268,"filename":"image_16112025_15_21_08_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df37553767f8ce55b2c9a995218ee765.jpg","text":"TemporaryFile(/tmp/multipartBody1345975806685897980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307823268,"filename":"image_16112025_15_21_32_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753829","file1":"1394753828","file0":"1394753827","file4":"1394753831","file5":"1394753833","file3":"1394753830"},"map_files_photo_id_array":[{"photo_id":"1394753833","filename":"file5"},{"photo_id":"1394753829","filename":"file2"},{"photo_id":"1394753831","filename":"file4"},{"photo_id":"1394753828","filename":"file1"},{"photo_id":"1394753827","filename":"file0"},{"photo_id":"1394753830","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753831":["hashtag1","hashtag2"]},{"1394753828":["hashtag1","hashtag2"]},{"1394753830":["hashtag1","hashtag2"]},{"1394753833":["hashtag1","hashtag2"]},{"1394753827":["hashtag1","hashtag2"]},{"1394753829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753831, 1394753828, 1394753830, 1394753833, 1394753827, 1394753829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00536847114563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:43:21.851311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_59_2602.jpg', '/home/pi/Desktop/images/16112025/15/22/image_16112025_15_22_03_3572.jpg', '/home/pi/Desktop/images/16112025/15/23/image_16112025_15_23_06_3602.jpg', '/home/pi/Desktop/images/16112025/15/23/image_16112025_15_23_33_3523.jpg', '/home/pi/Desktop/images/16112025/15/25/image_16112025_15_25_47_3643.jpg', '/home/pi/Desktop/images/16112025/15/27/image_16112025_15_27_02_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/21/image_16112025_15_21_59_2602.jpg
/home/pi/Desktop/images/16112025/15/22/image_16112025_15_22_03_3572.jpg
/home/pi/Desktop/images/16112025/15/23/image_16112025_15_23_06_3602.jpg
/home/pi/Desktop/images/16112025/15/23/image_16112025_15_23_33_3523.jpg
/home/pi/Desktop/images/16112025/15/25/image_16112025_15_25_47_3643.jpg
/home/pi/Desktop/images/16112025/15/27/image_16112025_15_27_02_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753840","1394753837","1394753839","1394753841","1394753838","1394753843"],"photo_ids_order":["1394753837","1394753838","1394753839","1394753840","1394753841","1394753843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfe2dfaf9b26f628c6ff0c2a71c93c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8503274275662509692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307862498,"filename":"image_16112025_15_23_33_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f6639b9ae06491f36fa3d62e434f420.jpg","text":"TemporaryFile(/tmp/multipartBody8857071657163630933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307862498,"filename":"image_16112025_15_21_59_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7d6d01da507738081abc24fa5254054.jpg","text":"TemporaryFile(/tmp/multipartBody3834851105690182849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307862498,"filename":"image_16112025_15_23_06_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0528b871fdb531802bcdea124778056d.jpg","text":"TemporaryFile(/tmp/multipartBody818878156588731273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307862498,"filename":"image_16112025_15_25_47_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69c6c2d2245a70b0dc00fe8756a21d78.jpg","text":"TemporaryFile(/tmp/multipartBody3343549266003050249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307862498,"filename":"image_16112025_15_22_03_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f0a37aca2adb9bece094220eb762fca.jpg","text":"TemporaryFile(/tmp/multipartBody8670508756244352740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307862498,"filename":"image_16112025_15_27_02_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753839","file1":"1394753838","file0":"1394753837","file4":"1394753841","file5":"1394753843","file3":"1394753840"},"map_files_photo_id_array":[{"photo_id":"1394753843","filename":"file5"},{"photo_id":"1394753839","filename":"file2"},{"photo_id":"1394753841","filename":"file4"},{"photo_id":"1394753838","filename":"file1"},{"photo_id":"1394753837","filename":"file0"},{"photo_id":"1394753840","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753840":["hashtag1","hashtag2"]},{"1394753837":["hashtag1","hashtag2"]},{"1394753839":["hashtag1","hashtag2"]},{"1394753841":["hashtag1","hashtag2"]},{"1394753838":["hashtag1","hashtag2"]},{"1394753843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753840, 1394753837, 1394753839, 1394753841, 1394753838, 1394753843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.626025438308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:44:02.822564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/27/image_16112025_15_27_38_2559.jpg', '/home/pi/Desktop/images/16112025/15/27/image_16112025_15_27_41_2826.jpg', '/home/pi/Desktop/images/16112025/15/27/image_16112025_15_27_48_1566.jpg', '/home/pi/Desktop/images/16112025/15/28/image_16112025_15_28_29_2703.jpg', '/home/pi/Desktop/images/16112025/15/28/image_16112025_15_28_41_2535.jpg', '/home/pi/Desktop/images/16112025/15/29/image_16112025_15_29_58_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/27/image_16112025_15_27_38_2559.jpg
/home/pi/Desktop/images/16112025/15/27/image_16112025_15_27_41_2826.jpg
/home/pi/Desktop/images/16112025/15/27/image_16112025_15_27_48_1566.jpg
/home/pi/Desktop/images/16112025/15/28/image_16112025_15_28_29_2703.jpg
/home/pi/Desktop/images/16112025/15/28/image_16112025_15_28_41_2535.jpg
/home/pi/Desktop/images/16112025/15/29/image_16112025_15_29_58_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753852","1394753846","1394753849","1394753848","1394753845","1394753850"],"photo_ids_order":["1394753845","1394753846","1394753848","1394753849","1394753850","1394753852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83b276b323cb69171f0b14d72fc50534.jpg","text":"TemporaryFile(/tmp/multipartBody1733752489733998672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307903530,"filename":"image_16112025_15_29_58_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/606dc3acc14582640622b3f5ee3fe225.jpg","text":"TemporaryFile(/tmp/multipartBody8137038387200302433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307903530,"filename":"image_16112025_15_27_41_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b87ed03e94b29180a7d8b03de6adcde.jpg","text":"TemporaryFile(/tmp/multipartBody6246208666016983343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307903530,"filename":"image_16112025_15_28_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/11/16/de8ca4e6263cffa55d447613c2e286b6.jpg","text":"TemporaryFile(/tmp/multipartBody174103958717845804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307903530,"filename":"image_16112025_15_27_48_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/295240abb192df446ad8610ad76618b1.jpg","text":"TemporaryFile(/tmp/multipartBody4980125800881785862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307903530,"filename":"image_16112025_15_27_38_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a082ae35769a23aca4c305594cb4f5ec.jpg","text":"TemporaryFile(/tmp/multipartBody8262727667323168556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307903530,"filename":"image_16112025_15_28_41_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753848","file1":"1394753846","file0":"1394753845","file4":"1394753850","file5":"1394753852","file3":"1394753849"},"map_files_photo_id_array":[{"photo_id":"1394753852","filename":"file5"},{"photo_id":"1394753848","filename":"file2"},{"photo_id":"1394753850","filename":"file4"},{"photo_id":"1394753846","filename":"file1"},{"photo_id":"1394753845","filename":"file0"},{"photo_id":"1394753849","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753852":["hashtag1","hashtag2"]},{"1394753846":["hashtag1","hashtag2"]},{"1394753849":["hashtag1","hashtag2"]},{"1394753848":["hashtag1","hashtag2"]},{"1394753845":["hashtag1","hashtag2"]},{"1394753850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753852, 1394753846, 1394753849, 1394753848, 1394753845, 1394753850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83643865585327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:44:42.027473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/30/image_16112025_15_30_35_2557.jpg', '/home/pi/Desktop/images/16112025/15/30/image_16112025_15_30_44_2699.jpg', '/home/pi/Desktop/images/16112025/15/30/image_16112025_15_30_56_2796.jpg', '/home/pi/Desktop/images/16112025/15/30/image_16112025_15_31_00_3702.jpg', '/home/pi/Desktop/images/16112025/15/31/image_16112025_15_31_14_2517.jpg', '/home/pi/Desktop/images/16112025/15/31/image_16112025_15_31_57_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/30/image_16112025_15_30_35_2557.jpg
/home/pi/Desktop/images/16112025/15/30/image_16112025_15_30_44_2699.jpg
/home/pi/Desktop/images/16112025/15/30/image_16112025_15_30_56_2796.jpg
/home/pi/Desktop/images/16112025/15/30/image_16112025_15_31_00_3702.jpg
/home/pi/Desktop/images/16112025/15/31/image_16112025_15_31_14_2517.jpg
/home/pi/Desktop/images/16112025/15/31/image_16112025_15_31_57_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753860","1394753854","1394753859","1394753862","1394753861","1394753858"],"photo_ids_order":["1394753854","1394753858","1394753859","1394753860","1394753861","1394753862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87ee9a7c40f0dccc4f6a315df0b9e902.jpg","text":"TemporaryFile(/tmp/multipartBody1031850708665506325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307942756,"filename":"image_16112025_15_31_00_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f14428621953b5e2f8d2676549a2d37.jpg","text":"TemporaryFile(/tmp/multipartBody325365683760930352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307942756,"filename":"image_16112025_15_30_35_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/081ba344b9380060d3bbf57ca4f47110.jpg","text":"TemporaryFile(/tmp/multipartBody5405749589838515768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307942756,"filename":"image_16112025_15_30_56_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcc0eab632c40a44450d0f5a971508aa.jpg","text":"TemporaryFile(/tmp/multipartBody1579867874062386317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307942756,"filename":"image_16112025_15_31_57_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d32f749defdcaea982d9a70cae6127c8.jpg","text":"TemporaryFile(/tmp/multipartBody3355002393382539995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307942756,"filename":"image_16112025_15_31_14_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/077307ae89d49a37c3b2760d3ebb0874.jpg","text":"TemporaryFile(/tmp/multipartBody2128322818201759448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763307942756,"filename":"image_16112025_15_30_44_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753859","file1":"1394753858","file0":"1394753854","file4":"1394753861","file5":"1394753862","file3":"1394753860"},"map_files_photo_id_array":[{"photo_id":"1394753862","filename":"file5"},{"photo_id":"1394753859","filename":"file2"},{"photo_id":"1394753861","filename":"file4"},{"photo_id":"1394753858","filename":"file1"},{"photo_id":"1394753854","filename":"file0"},{"photo_id":"1394753860","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753860":["hashtag1","hashtag2"]},{"1394753854":["hashtag1","hashtag2"]},{"1394753859":["hashtag1","hashtag2"]},{"1394753862":["hashtag1","hashtag2"]},{"1394753861":["hashtag1","hashtag2"]},{"1394753858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753860, 1394753854, 1394753859, 1394753862, 1394753861, 1394753858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.404919385910034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:45:22.237678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_06_3593.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_23_2639.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_29_2798.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_32_2725.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_38_2725.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_44_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_06_3593.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_23_2639.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_29_2798.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_32_2725.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_38_2725.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_44_2849.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.5631546974182129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:45:42.327941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_06_3593.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_23_2639.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_29_2798.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_32_2725.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_38_2725.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_44_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_06_3593.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_23_2639.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_29_2798.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_32_2725.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_38_2725.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_44_2849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753884","1394753887","1394753883","1394753886","1394753880","1394753885"],"photo_ids_order":["1394753880","1394753883","1394753884","1394753885","1394753886","1394753887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c9c2e0994ec92ef77a780added22af4.jpg","text":"TemporaryFile(/tmp/multipartBody3867592983018647140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308002963,"filename":"image_16112025_15_32_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/11/16/bbfaef1b35ffb2ea70458b1368d0ae3f.jpg","text":"TemporaryFile(/tmp/multipartBody740119978092183010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308002963,"filename":"image_16112025_15_32_44_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4b536d156d5a29009d7284bb87dfaef.jpg","text":"TemporaryFile(/tmp/multipartBody7364093048434189664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308002963,"filename":"image_16112025_15_32_23_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c017e1aef2ca34bd0a558bfd3c214087.jpg","text":"TemporaryFile(/tmp/multipartBody1006682931071502101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308002963,"filename":"image_16112025_15_32_38_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10481570b41bf95aebf1befb69dc08cc.jpg","text":"TemporaryFile(/tmp/multipartBody8166091413129398197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308002963,"filename":"image_16112025_15_32_06_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5785141578e6211d400e814852658483.jpg","text":"TemporaryFile(/tmp/multipartBody5900216899682897352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308002963,"filename":"image_16112025_15_32_32_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753884","file1":"1394753883","file0":"1394753880","file4":"1394753886","file5":"1394753887","file3":"1394753885"},"map_files_photo_id_array":[{"photo_id":"1394753887","filename":"file5"},{"photo_id":"1394753884","filename":"file2"},{"photo_id":"1394753886","filename":"file4"},{"photo_id":"1394753883","filename":"file1"},{"photo_id":"1394753880","filename":"file0"},{"photo_id":"1394753885","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753884":["hashtag1","hashtag2"]},{"1394753887":["hashtag1","hashtag2"]},{"1394753883":["hashtag1","hashtag2"]},{"1394753886":["hashtag1","hashtag2"]},{"1394753880":["hashtag1","hashtag2"]},{"1394753885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753884, 1394753887, 1394753883, 1394753886, 1394753880, 1394753885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.688385009765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:46:22.561760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_47_3574.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_50_2715.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_53_2892.jpg', '/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_57_3542.jpg', '/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_02_2787.jpg', '/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_17_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_47_3574.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_50_2715.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_53_2892.jpg
/home/pi/Desktop/images/16112025/15/32/image_16112025_15_32_57_3542.jpg
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_02_2787.jpg
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_17_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753900","1394753899","1394753896","1394753898","1394753892","1394753897"],"photo_ids_order":["1394753892","1394753896","1394753897","1394753898","1394753899","1394753900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39f2388deeb06cdc3fdf20ec6c5b3c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1020727273018211587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308043220,"filename":"image_16112025_15_33_17_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db7dd579bee1a33ea184e50926ec0129.jpg","text":"TemporaryFile(/tmp/multipartBody5042540757610505498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308043220,"filename":"image_16112025_15_33_02_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a17b7b8815e9b07fb2a0df34c18fde8f.jpg","text":"TemporaryFile(/tmp/multipartBody7157996891946895153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308043220,"filename":"image_16112025_15_32_50_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71c56cde1ed7435de6984337374f9f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2687615574893292397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308043220,"filename":"image_16112025_15_32_57_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c7b2ca4d517740d2a81bd049e2dc246.jpg","text":"TemporaryFile(/tmp/multipartBody1442967569819054356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308043220,"filename":"image_16112025_15_32_47_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f896f4d63a50dccdbf659a3621ac3db6.jpg","text":"TemporaryFile(/tmp/multipartBody271277251488808569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308043220,"filename":"image_16112025_15_32_53_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753897","file1":"1394753896","file0":"1394753892","file4":"1394753899","file5":"1394753900","file3":"1394753898"},"map_files_photo_id_array":[{"photo_id":"1394753900","filename":"file5"},{"photo_id":"1394753897","filename":"file2"},{"photo_id":"1394753899","filename":"file4"},{"photo_id":"1394753896","filename":"file1"},{"photo_id":"1394753892","filename":"file0"},{"photo_id":"1394753898","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753900":["hashtag1","hashtag2"]},{"1394753899":["hashtag1","hashtag2"]},{"1394753896":["hashtag1","hashtag2"]},{"1394753898":["hashtag1","hashtag2"]},{"1394753892":["hashtag1","hashtag2"]},{"1394753897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753900, 1394753899, 1394753896, 1394753898, 1394753892, 1394753897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65734577178955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:47:03.506660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_20_2685.jpg', '/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_23_2742.jpg', '/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_26_3592.jpg', '/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_29_2670.jpg', '/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_38_2730.jpg', '/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_47_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_20_2685.jpg
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_23_2742.jpg
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_26_3592.jpg
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_29_2670.jpg
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_38_2730.jpg
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_47_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753903","1394753905","1394753901","1394753910","1394753904","1394753907"],"photo_ids_order":["1394753901","1394753903","1394753904","1394753905","1394753907","1394753910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adc324778c1b14c91199bd614fac3074.jpg","text":"TemporaryFile(/tmp/multipartBody5931314727203679391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308084238,"filename":"image_16112025_15_33_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/11/16/5e07d16912acf96b6fd4bda2d6308dae.jpg","text":"TemporaryFile(/tmp/multipartBody4709079329311693661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308084238,"filename":"image_16112025_15_33_29_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03a88e324ec1169e6eb4ddc628eefec4.jpg","text":"TemporaryFile(/tmp/multipartBody5477934079394126240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308084238,"filename":"image_16112025_15_33_20_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e42be4ed498d5ff1ef4f1cfc182d2c2d.jpg","text":"TemporaryFile(/tmp/multipartBody6352382422394585560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308084238,"filename":"image_16112025_15_33_47_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11ab759befbbeeabece9bddc58aa719e.jpg","text":"TemporaryFile(/tmp/multipartBody5326306392259383931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308084238,"filename":"image_16112025_15_33_26_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13867cc73009e70290e0b9e7e783cdda.jpg","text":"TemporaryFile(/tmp/multipartBody2826067726208556939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308084238,"filename":"image_16112025_15_33_38_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753904","file1":"1394753903","file0":"1394753901","file4":"1394753907","file5":"1394753910","file3":"1394753905"},"map_files_photo_id_array":[{"photo_id":"1394753910","filename":"file5"},{"photo_id":"1394753904","filename":"file2"},{"photo_id":"1394753907","filename":"file4"},{"photo_id":"1394753903","filename":"file1"},{"photo_id":"1394753901","filename":"file0"},{"photo_id":"1394753905","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753903":["hashtag1","hashtag2"]},{"1394753905":["hashtag1","hashtag2"]},{"1394753901":["hashtag1","hashtag2"]},{"1394753910":["hashtag1","hashtag2"]},{"1394753904":["hashtag1","hashtag2"]},{"1394753907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753903, 1394753905, 1394753901, 1394753910, 1394753904, 1394753907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.812464475631714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:47:42.723133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_50_2787.jpg', '/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_56_3772.jpg', '/home/pi/Desktop/images/16112025/15/34/image_16112025_15_34_08_2619.jpg', '/home/pi/Desktop/images/16112025/15/34/image_16112025_15_34_15_3798.jpg', '/home/pi/Desktop/images/16112025/15/34/image_16112025_15_34_56_3686.jpg', '/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_05_2876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_50_2787.jpg
/home/pi/Desktop/images/16112025/15/33/image_16112025_15_33_56_3772.jpg
/home/pi/Desktop/images/16112025/15/34/image_16112025_15_34_08_2619.jpg
/home/pi/Desktop/images/16112025/15/34/image_16112025_15_34_15_3798.jpg
/home/pi/Desktop/images/16112025/15/34/image_16112025_15_34_56_3686.jpg
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_05_2876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753924","1394753921","1394753920","1394753922","1394753916","1394753919"],"photo_ids_order":["1394753916","1394753919","1394753920","1394753921","1394753922","1394753924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b6db725a756a88f00c0bd025c11a36e.jpg","text":"TemporaryFile(/tmp/multipartBody6271205751290605675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308123359,"filename":"image_16112025_15_35_05_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57181a30c2f7775c3f91d96a0d6c1b74.jpg","text":"TemporaryFile(/tmp/multipartBody1947105236368570204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308123359,"filename":"image_16112025_15_34_15_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/708b14e1b258d91bcd7f8d4377a9d771.jpg","text":"TemporaryFile(/tmp/multipartBody4379857339412622827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308123359,"filename":"image_16112025_15_34_08_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9033fd20953ccda9d77209c6c9c15fe.jpg","text":"TemporaryFile(/tmp/multipartBody8240899452731341936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308123359,"filename":"image_16112025_15_34_56_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/705d79980be667d65c55709b046970aa.jpg","text":"TemporaryFile(/tmp/multipartBody7287976603902222268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308123359,"filename":"image_16112025_15_33_50_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a570de7ec7fef1525485af4fe06fc797.jpg","text":"TemporaryFile(/tmp/multipartBody5821756248956797598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308123359,"filename":"image_16112025_15_33_56_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753920","file1":"1394753919","file0":"1394753916","file4":"1394753922","file5":"1394753924","file3":"1394753921"},"map_files_photo_id_array":[{"photo_id":"1394753924","filename":"file5"},{"photo_id":"1394753920","filename":"file2"},{"photo_id":"1394753922","filename":"file4"},{"photo_id":"1394753919","filename":"file1"},{"photo_id":"1394753916","filename":"file0"},{"photo_id":"1394753921","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753924":["hashtag1","hashtag2"]},{"1394753921":["hashtag1","hashtag2"]},{"1394753920":["hashtag1","hashtag2"]},{"1394753922":["hashtag1","hashtag2"]},{"1394753916":["hashtag1","hashtag2"]},{"1394753919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753924, 1394753921, 1394753920, 1394753922, 1394753916, 1394753919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14462423324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:48:22.042758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_08_3793.jpg', '/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_31_2585.jpg', '/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_35_3603.jpg', '/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_38_2580.jpg', '/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_41_3509.jpg', '/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_47_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_08_3793.jpg
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_31_2585.jpg
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_35_3603.jpg
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_38_2580.jpg
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_41_3509.jpg
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_47_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753927","1394753935","1394753929","1394753932","1394753934","1394753937"],"photo_ids_order":["1394753927","1394753929","1394753932","1394753934","1394753935","1394753937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a7be655597da24ee79ea47cedec517b.jpg","text":"TemporaryFile(/tmp/multipartBody3707987959573367675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308162699,"filename":"image_16112025_15_35_08_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e18e7fc217cbc101ec6f0c82814f7e5.jpg","text":"TemporaryFile(/tmp/multipartBody4710449119411313754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308162699,"filename":"image_16112025_15_35_41_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8eaa1240ad33851c5f54f98e21a86313.jpg","text":"TemporaryFile(/tmp/multipartBody4876149613245532253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308162699,"filename":"image_16112025_15_35_31_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4f81c783acbc8e639abc8ede96604ec.jpg","text":"TemporaryFile(/tmp/multipartBody8078758215673092018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308162699,"filename":"image_16112025_15_35_35_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2189f8f12ebe4effca77edb8ba78650c.jpg","text":"TemporaryFile(/tmp/multipartBody5092004704345368714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308162699,"filename":"image_16112025_15_35_38_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9fd3a3dfd6865af52792f4d69d6c0a8.jpg","text":"TemporaryFile(/tmp/multipartBody7875172001208327950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308162699,"filename":"image_16112025_15_35_47_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753932","file1":"1394753929","file0":"1394753927","file4":"1394753935","file5":"1394753937","file3":"1394753934"},"map_files_photo_id_array":[{"photo_id":"1394753937","filename":"file5"},{"photo_id":"1394753932","filename":"file2"},{"photo_id":"1394753935","filename":"file4"},{"photo_id":"1394753929","filename":"file1"},{"photo_id":"1394753927","filename":"file0"},{"photo_id":"1394753934","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753927":["hashtag1","hashtag2"]},{"1394753935":["hashtag1","hashtag2"]},{"1394753929":["hashtag1","hashtag2"]},{"1394753932":["hashtag1","hashtag2"]},{"1394753934":["hashtag1","hashtag2"]},{"1394753937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753927, 1394753935, 1394753929, 1394753932, 1394753934, 1394753937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54729652404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:49:02.776927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_50_3706.jpg', '/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_53_2517.jpg', '/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_56_2740.jpg', '/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_02_2793.jpg', '/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_11_2626.jpg', '/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_26_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_50_3706.jpg
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_53_2517.jpg
/home/pi/Desktop/images/16112025/15/35/image_16112025_15_35_56_2740.jpg
/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_02_2793.jpg
/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_11_2626.jpg
/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_26_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753939","1394753947","1394753941","1394753938","1394753940","1394753943"],"photo_ids_order":["1394753938","1394753939","1394753940","1394753941","1394753943","1394753947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf1793642667de37545145bfad263417.jpg","text":"TemporaryFile(/tmp/multipartBody7812163140055764362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308203557,"filename":"image_16112025_15_35_53_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66099f147b907de4c67b13e513c0bead.jpg","text":"TemporaryFile(/tmp/multipartBody108538754599934872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308203557,"filename":"image_16112025_15_36_26_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57ae1bc80ac3c1dc227f4e9991168fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2223351329179018581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308203557,"filename":"image_16112025_15_36_02_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bad8c1cea100f88d7ac4e28eaf54f9c9.jpg","text":"TemporaryFile(/tmp/multipartBody4576534455514594994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308203557,"filename":"image_16112025_15_35_50_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcfe8351809b11f1869c34d0c7d9e09a.jpg","text":"TemporaryFile(/tmp/multipartBody7598274567367040586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308203557,"filename":"image_16112025_15_35_56_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13f272d9c1b8e0a540e3d7fb708597c0.jpg","text":"TemporaryFile(/tmp/multipartBody628305322750833095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308203557,"filename":"image_16112025_15_36_11_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753940","file1":"1394753939","file0":"1394753938","file4":"1394753943","file5":"1394753947","file3":"1394753941"},"map_files_photo_id_array":[{"photo_id":"1394753947","filename":"file5"},{"photo_id":"1394753940","filename":"file2"},{"photo_id":"1394753943","filename":"file4"},{"photo_id":"1394753939","filename":"file1"},{"photo_id":"1394753938","filename":"file0"},{"photo_id":"1394753941","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753939":["hashtag1","hashtag2"]},{"1394753947":["hashtag1","hashtag2"]},{"1394753941":["hashtag1","hashtag2"]},{"1394753938":["hashtag1","hashtag2"]},{"1394753940":["hashtag1","hashtag2"]},{"1394753943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753939, 1394753947, 1394753941, 1394753938, 1394753940, 1394753943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03870105743408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:49:42.233178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_32_3525.jpg', '/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_35_2645.jpg', '/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_37_2604.jpg', '/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_50_3662.jpg', '/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_59_3649.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_02_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_32_3525.jpg
/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_35_2645.jpg
/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_37_2604.jpg
/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_50_3662.jpg
/home/pi/Desktop/images/16112025/15/36/image_16112025_15_36_59_3649.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_02_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753951","1394753954","1394753953","1394753952","1394753955","1394753949"],"photo_ids_order":["1394753949","1394753951","1394753952","1394753953","1394753954","1394753955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a34991d5643dbca85cfda78a10f54b6.jpg","text":"TemporaryFile(/tmp/multipartBody7122090696045985411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308242875,"filename":"image_16112025_15_36_35_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5efcaa425e65167a73f178795bd4d17f.jpg","text":"TemporaryFile(/tmp/multipartBody7793031526542209744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308242875,"filename":"image_16112025_15_36_59_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4263385378c56c5346ed25da4a6c0ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6020351222630597147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308242875,"filename":"image_16112025_15_36_50_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82b4ebbe6b9b855b4aa2a41fd2a2eb84.jpg","text":"TemporaryFile(/tmp/multipartBody8818140606153121363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308242875,"filename":"image_16112025_15_36_37_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b78e0654512e6a73fee5acad5bd04f7.jpg","text":"TemporaryFile(/tmp/multipartBody5733647136386954903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308242875,"filename":"image_16112025_15_37_02_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7932235ca3155256fa74236957b1f81.jpg","text":"TemporaryFile(/tmp/multipartBody6668098476134542959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308242875,"filename":"image_16112025_15_36_32_3525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753952","file1":"1394753951","file0":"1394753949","file4":"1394753954","file5":"1394753955","file3":"1394753953"},"map_files_photo_id_array":[{"photo_id":"1394753955","filename":"file5"},{"photo_id":"1394753952","filename":"file2"},{"photo_id":"1394753954","filename":"file4"},{"photo_id":"1394753951","filename":"file1"},{"photo_id":"1394753949","filename":"file0"},{"photo_id":"1394753953","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753951":["hashtag1","hashtag2"]},{"1394753954":["hashtag1","hashtag2"]},{"1394753953":["hashtag1","hashtag2"]},{"1394753952":["hashtag1","hashtag2"]},{"1394753955":["hashtag1","hashtag2"]},{"1394753949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753951, 1394753954, 1394753953, 1394753952, 1394753955, 1394753949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05077123641968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:50:22.463166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_13_2589.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_17_3805.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_20_2717.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_26_3798.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_29_2602.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_31_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_13_2589.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_17_3805.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_20_2717.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_26_3798.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_29_2602.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_31_2535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753966","1394753968","1394753959","1394753964","1394753969","1394753963"],"photo_ids_order":["1394753959","1394753963","1394753964","1394753966","1394753968","1394753969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e596ee098e29ededce99942e3e08bac.jpg","text":"TemporaryFile(/tmp/multipartBody76666562810328929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308283101,"filename":"image_16112025_15_37_26_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a89ec45788dc3ad620cfd5d3d4404fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4353772130463183160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308283101,"filename":"image_16112025_15_37_29_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4350296576174d845dea1ef7f61d185d.jpg","text":"TemporaryFile(/tmp/multipartBody5090324691172501763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308283101,"filename":"image_16112025_15_37_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/11/16/e136f3a35803d774a9598d9845d56f42.jpg","text":"TemporaryFile(/tmp/multipartBody7992094878208835705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308283101,"filename":"image_16112025_15_37_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/11/16/55738f9814aa412bd35580bff5234017.jpg","text":"TemporaryFile(/tmp/multipartBody2351082343366396292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308283101,"filename":"image_16112025_15_37_31_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/006f9a54f54509f2c7e278b1a015dbdf.jpg","text":"TemporaryFile(/tmp/multipartBody661501668984873882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308283101,"filename":"image_16112025_15_37_17_3805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753964","file1":"1394753963","file0":"1394753959","file4":"1394753968","file5":"1394753969","file3":"1394753966"},"map_files_photo_id_array":[{"photo_id":"1394753969","filename":"file5"},{"photo_id":"1394753964","filename":"file2"},{"photo_id":"1394753968","filename":"file4"},{"photo_id":"1394753963","filename":"file1"},{"photo_id":"1394753959","filename":"file0"},{"photo_id":"1394753966","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753966":["hashtag1","hashtag2"]},{"1394753968":["hashtag1","hashtag2"]},{"1394753959":["hashtag1","hashtag2"]},{"1394753964":["hashtag1","hashtag2"]},{"1394753969":["hashtag1","hashtag2"]},{"1394753963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753966, 1394753968, 1394753959, 1394753964, 1394753969, 1394753963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06078267097473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:51:03.353274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_35_3617.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_38_2639.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_40_2647.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_44_3751.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_47_2578.jpg', '/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_56_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_35_3617.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_38_2639.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_40_2647.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_44_3751.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_47_2578.jpg
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_56_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394753972","1394753971","1394753977","1394753970","1394753973","1394753975"],"photo_ids_order":["1394753970","1394753971","1394753972","1394753973","1394753975","1394753977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c0469f7610652dc564eb4e3bc5e4226.jpg","text":"TemporaryFile(/tmp/multipartBody1114690819202431179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308324091,"filename":"image_16112025_15_37_40_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e769784af109aba28df12032c7a04c0.jpg","text":"TemporaryFile(/tmp/multipartBody7737867925043089370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308324091,"filename":"image_16112025_15_37_38_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6109190769e98fcae5713dcb44e810dc.jpg","text":"TemporaryFile(/tmp/multipartBody5856764376292164261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308324091,"filename":"image_16112025_15_37_56_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/822b98da67385406b7dab0cef706a90a.jpg","text":"TemporaryFile(/tmp/multipartBody681727901366960126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308324091,"filename":"image_16112025_15_37_35_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf92d02b2cdd0f6a0fd97e085cecef68.jpg","text":"TemporaryFile(/tmp/multipartBody339010610100216458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308324091,"filename":"image_16112025_15_37_44_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f96118a278af4e4c1ce0128f1210a6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6652622420506272177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308324091,"filename":"image_16112025_15_37_47_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753972","file1":"1394753971","file0":"1394753970","file4":"1394753975","file5":"1394753977","file3":"1394753973"},"map_files_photo_id_array":[{"photo_id":"1394753977","filename":"file5"},{"photo_id":"1394753972","filename":"file2"},{"photo_id":"1394753975","filename":"file4"},{"photo_id":"1394753971","filename":"file1"},{"photo_id":"1394753970","filename":"file0"},{"photo_id":"1394753973","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753972":["hashtag1","hashtag2"]},{"1394753971":["hashtag1","hashtag2"]},{"1394753977":["hashtag1","hashtag2"]},{"1394753970":["hashtag1","hashtag2"]},{"1394753973":["hashtag1","hashtag2"]},{"1394753975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753972, 1394753971, 1394753977, 1394753970, 1394753973, 1394753975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12086224555969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:51:42.619838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_59_2733.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_02_3698.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_05_2705.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_08_2693.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_11_3575.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_14_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/37/image_16112025_15_37_59_2733.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_02_3698.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_05_2705.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_08_2693.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_11_3575.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_14_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1394753986","1394753980","1394753982","1394753985","1394753988","1394753984"],"photo_ids_order":["1394753980","1394753982","1394753984","1394753985","1394753986","1394753988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a58cb0180c909de232cfa5109e923dca.jpg","text":"TemporaryFile(/tmp/multipartBody2385397219278237960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308363340,"filename":"image_16112025_15_38_11_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/516a5f75c7f5384b9478e56240b37964.jpg","text":"TemporaryFile(/tmp/multipartBody5710421016789793028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308363340,"filename":"image_16112025_15_37_59_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f68c78adc41534b37ecd49edd1824cc9.jpg","text":"TemporaryFile(/tmp/multipartBody7381868251128869261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308363340,"filename":"image_16112025_15_38_02_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76020ae5b54b09ee70d622edf12b2e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4611158967620334836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308363340,"filename":"image_16112025_15_38_08_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/905cdd52f30152476d5d53460c7c442a.jpg","text":"TemporaryFile(/tmp/multipartBody1289492309158912596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308363340,"filename":"image_16112025_15_38_14_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7344c1deccb5a325cc1e9ded613ac686.jpg","text":"TemporaryFile(/tmp/multipartBody7839352505373162468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308363340,"filename":"image_16112025_15_38_05_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394753984","file1":"1394753982","file0":"1394753980","file4":"1394753986","file5":"1394753988","file3":"1394753985"},"map_files_photo_id_array":[{"photo_id":"1394753988","filename":"file5"},{"photo_id":"1394753984","filename":"file2"},{"photo_id":"1394753986","filename":"file4"},{"photo_id":"1394753982","filename":"file1"},{"photo_id":"1394753980","filename":"file0"},{"photo_id":"1394753985","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394753986":["hashtag1","hashtag2"]},{"1394753980":["hashtag1","hashtag2"]},{"1394753982":["hashtag1","hashtag2"]},{"1394753985":["hashtag1","hashtag2"]},{"1394753988":["hashtag1","hashtag2"]},{"1394753984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394753986, 1394753980, 1394753982, 1394753985, 1394753988, 1394753984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.69536828994751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:52:42.062470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_17_2687.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_19_2654.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_23_3653.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_26_2608.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_29_3553.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_32_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_17_2687.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_19_2654.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_23_3653.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_26_2608.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_29_3553.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_32_2510.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.5879917144775391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:53:02.779430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_17_2687.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_19_2654.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_23_3653.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_26_2608.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_29_3553.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_32_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_17_2687.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_19_2654.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_23_3653.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_26_2608.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_29_3553.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_32_2510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754002","1394754004","1394754007","1394754001","1394754003","1394754005"],"photo_ids_order":["1394754001","1394754002","1394754003","1394754004","1394754005","1394754007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d72c0e44f4b919669b50f5766462c43f.jpg","text":"TemporaryFile(/tmp/multipartBody3993528136159621005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308443561,"filename":"image_16112025_15_38_19_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fab28f87095b2acb62c30c8918595529.jpg","text":"TemporaryFile(/tmp/multipartBody3174785588402245189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308443561,"filename":"image_16112025_15_38_26_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac734ac81d041bfa50c7ce839578d726.jpg","text":"TemporaryFile(/tmp/multipartBody2065087820964298000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308443561,"filename":"image_16112025_15_38_32_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b72f055e9db5f36d79b7a60ea27de47e.jpg","text":"TemporaryFile(/tmp/multipartBody8355431939713983083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308443561,"filename":"image_16112025_15_38_17_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e1e0d55a544cef5a154e50d06eb159e.jpg","text":"TemporaryFile(/tmp/multipartBody6866905958517246017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308443561,"filename":"image_16112025_15_38_23_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e4b9160df457a67b66ce2a8df7e98e2.jpg","text":"TemporaryFile(/tmp/multipartBody9065651941595588821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308443561,"filename":"image_16112025_15_38_29_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754003","file1":"1394754002","file0":"1394754001","file4":"1394754005","file5":"1394754007","file3":"1394754004"},"map_files_photo_id_array":[{"photo_id":"1394754007","filename":"file5"},{"photo_id":"1394754003","filename":"file2"},{"photo_id":"1394754005","filename":"file4"},{"photo_id":"1394754002","filename":"file1"},{"photo_id":"1394754001","filename":"file0"},{"photo_id":"1394754004","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754002":["hashtag1","hashtag2"]},{"1394754004":["hashtag1","hashtag2"]},{"1394754007":["hashtag1","hashtag2"]},{"1394754001":["hashtag1","hashtag2"]},{"1394754003":["hashtag1","hashtag2"]},{"1394754005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754002, 1394754004, 1394754007, 1394754001, 1394754003, 1394754005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31510138511658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:53:42.198993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_34_2660.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_41_2550.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_47_2714.jpg', '/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_59_3672.jpg', '/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_01_2600.jpg', '/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_08_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_34_2660.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_41_2550.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_47_2714.jpg
/home/pi/Desktop/images/16112025/15/38/image_16112025_15_38_59_3672.jpg
/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_01_2600.jpg
/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_08_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754014","1394754010","1394754013","1394754012","1394754015","1394754009"],"photo_ids_order":["1394754009","1394754010","1394754012","1394754013","1394754014","1394754015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/434dce9fd06e113dff9bc4a996c3d58f.jpg","text":"TemporaryFile(/tmp/multipartBody1351338578653921181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308482829,"filename":"image_16112025_15_39_01_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91fdf880efe7666d7fadb3a53fa2533e.jpg","text":"TemporaryFile(/tmp/multipartBody2512350413056638855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308482829,"filename":"image_16112025_15_38_41_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efadf67409861f56600750f96c11461a.jpg","text":"TemporaryFile(/tmp/multipartBody5423620334858512383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308482829,"filename":"image_16112025_15_38_59_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41b404325fb169b1a4594d9de7d1ba1a.jpg","text":"TemporaryFile(/tmp/multipartBody6564375258451467148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308482829,"filename":"image_16112025_15_38_47_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ada3474fbc5676d026b397700b8db2d.jpg","text":"TemporaryFile(/tmp/multipartBody7490061452334690497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308482829,"filename":"image_16112025_15_39_08_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc2c677f795bb36a42f5d349c6d86b85.jpg","text":"TemporaryFile(/tmp/multipartBody7789353790399402308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308482829,"filename":"image_16112025_15_38_34_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754012","file1":"1394754010","file0":"1394754009","file4":"1394754014","file5":"1394754015","file3":"1394754013"},"map_files_photo_id_array":[{"photo_id":"1394754015","filename":"file5"},{"photo_id":"1394754012","filename":"file2"},{"photo_id":"1394754014","filename":"file4"},{"photo_id":"1394754010","filename":"file1"},{"photo_id":"1394754009","filename":"file0"},{"photo_id":"1394754013","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754014":["hashtag1","hashtag2"]},{"1394754010":["hashtag1","hashtag2"]},{"1394754013":["hashtag1","hashtag2"]},{"1394754012":["hashtag1","hashtag2"]},{"1394754015":["hashtag1","hashtag2"]},{"1394754009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754014, 1394754010, 1394754013, 1394754012, 1394754015, 1394754009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81946611404419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:54:22.477277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_16_2506.jpg', '/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_25_2549.jpg', '/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_29_3626.jpg', '/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_40_5120.jpg', '/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_13_2681.jpg', '/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_17_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_16_2506.jpg
/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_25_2549.jpg
/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_29_3626.jpg
/home/pi/Desktop/images/16112025/15/39/image_16112025_15_39_40_5120.jpg
/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_13_2681.jpg
/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_17_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754022","1394754027","1394754021","1394754024","1394754023","1394754026"],"photo_ids_order":["1394754021","1394754022","1394754023","1394754024","1394754026","1394754027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/745cbf9629268be0632e66b1640292c5.jpg","text":"TemporaryFile(/tmp/multipartBody6006837978839136038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308523122,"filename":"image_16112025_15_39_25_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f9cdf38c36b9cfa5c13089a747ca731.jpg","text":"TemporaryFile(/tmp/multipartBody9208747976907883664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308523122,"filename":"image_16112025_15_40_17_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/823cef21f326d42f20b580c50265b07b.jpg","text":"TemporaryFile(/tmp/multipartBody4436888982063596658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308523122,"filename":"image_16112025_15_39_16_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2d4492b7936f06810f55b2929d4eb95.jpg","text":"TemporaryFile(/tmp/multipartBody7113803990737710231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308523122,"filename":"image_16112025_15_39_40_5120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09dba479b462f4c153d992139726cd10.jpg","text":"TemporaryFile(/tmp/multipartBody1764612715594219447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308523122,"filename":"image_16112025_15_39_29_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/040590d02c51509ee366dbb56cd526d1.jpg","text":"TemporaryFile(/tmp/multipartBody6317801020993151702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308523122,"filename":"image_16112025_15_40_13_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754023","file1":"1394754022","file0":"1394754021","file4":"1394754026","file5":"1394754027","file3":"1394754024"},"map_files_photo_id_array":[{"photo_id":"1394754027","filename":"file5"},{"photo_id":"1394754023","filename":"file2"},{"photo_id":"1394754026","filename":"file4"},{"photo_id":"1394754022","filename":"file1"},{"photo_id":"1394754021","filename":"file0"},{"photo_id":"1394754024","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754022":["hashtag1","hashtag2"]},{"1394754027":["hashtag1","hashtag2"]},{"1394754021":["hashtag1","hashtag2"]},{"1394754024":["hashtag1","hashtag2"]},{"1394754023":["hashtag1","hashtag2"]},{"1394754026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754022, 1394754027, 1394754021, 1394754024, 1394754023, 1394754026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81266641616821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:55:03.287075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_26_2611.jpg', '/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_28_2661.jpg', '/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_37_2644.jpg', '/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_46_2706.jpg', '/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_49_2591.jpg', '/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_55_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_26_2611.jpg
/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_28_2661.jpg
/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_37_2644.jpg
/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_46_2706.jpg
/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_49_2591.jpg
/home/pi/Desktop/images/16112025/15/40/image_16112025_15_40_55_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754029","1394754034","1394754028","1394754031","1394754030","1394754036"],"photo_ids_order":["1394754028","1394754029","1394754030","1394754031","1394754034","1394754036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/531102c3bb2b6608d1b7cb37ba96d83a.jpg","text":"TemporaryFile(/tmp/multipartBody9029807423307073086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308564029,"filename":"image_16112025_15_40_28_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b80bf349ed0a5b3057fca56626a87e17.jpg","text":"TemporaryFile(/tmp/multipartBody9196660654467489177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308564029,"filename":"image_16112025_15_40_49_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/538c913f33f7d0c949a3e350095b562c.jpg","text":"TemporaryFile(/tmp/multipartBody1151176156052077711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308564029,"filename":"image_16112025_15_40_26_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c5105c6f93d4ef2cc626e9704358351.jpg","text":"TemporaryFile(/tmp/multipartBody7437271514670638279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308564029,"filename":"image_16112025_15_40_46_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fa3394c53961cb71a67fa32aca272d8.jpg","text":"TemporaryFile(/tmp/multipartBody7309663213916584509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308564029,"filename":"image_16112025_15_40_37_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa4a07ede1b6d8ea2e7390d72b628859.jpg","text":"TemporaryFile(/tmp/multipartBody3883270823505782664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308564029,"filename":"image_16112025_15_40_55_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754030","file1":"1394754029","file0":"1394754028","file4":"1394754034","file5":"1394754036","file3":"1394754031"},"map_files_photo_id_array":[{"photo_id":"1394754036","filename":"file5"},{"photo_id":"1394754030","filename":"file2"},{"photo_id":"1394754034","filename":"file4"},{"photo_id":"1394754029","filename":"file1"},{"photo_id":"1394754028","filename":"file0"},{"photo_id":"1394754031","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754029":["hashtag1","hashtag2"]},{"1394754034":["hashtag1","hashtag2"]},{"1394754028":["hashtag1","hashtag2"]},{"1394754031":["hashtag1","hashtag2"]},{"1394754030":["hashtag1","hashtag2"]},{"1394754036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754029, 1394754034, 1394754028, 1394754031, 1394754030, 1394754036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30802130699158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:55:42.671431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_01_5976.jpg', '/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_07_2630.jpg', '/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_16_2561.jpg', '/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_22_2615.jpg', '/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_25_2607.jpg', '/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_28_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_01_5976.jpg
/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_07_2630.jpg
/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_16_2561.jpg
/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_22_2615.jpg
/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_25_2607.jpg
/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_28_3566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754040","1394754043","1394754042","1394754041","1394754044","1394754038"],"photo_ids_order":["1394754038","1394754040","1394754041","1394754042","1394754043","1394754044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ca51554616127a7c5257f8c5b2e729a.jpg","text":"TemporaryFile(/tmp/multipartBody8499737731631046624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308603303,"filename":"image_16112025_15_41_07_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ad18fa86b5296e92226da82e5137dfb.jpg","text":"TemporaryFile(/tmp/multipartBody7814848239974640238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308603303,"filename":"image_16112025_15_41_25_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d58f92648b11424bcf035772c975ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7619203027594884950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308603303,"filename":"image_16112025_15_41_22_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47e7ffe83bb2197318439af913c39d93.jpg","text":"TemporaryFile(/tmp/multipartBody6105813317443817420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308603303,"filename":"image_16112025_15_41_16_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21bc363fe443936e10514da07a8d7d7c.jpg","text":"TemporaryFile(/tmp/multipartBody2249966458306700184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308603303,"filename":"image_16112025_15_41_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/11/16/ea7dd748ecdf8cacbb985a61840320fd.jpg","text":"TemporaryFile(/tmp/multipartBody6842088442447196582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308603303,"filename":"image_16112025_15_41_01_5976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754041","file1":"1394754040","file0":"1394754038","file4":"1394754043","file5":"1394754044","file3":"1394754042"},"map_files_photo_id_array":[{"photo_id":"1394754044","filename":"file5"},{"photo_id":"1394754041","filename":"file2"},{"photo_id":"1394754043","filename":"file4"},{"photo_id":"1394754040","filename":"file1"},{"photo_id":"1394754038","filename":"file0"},{"photo_id":"1394754042","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754040":["hashtag1","hashtag2"]},{"1394754043":["hashtag1","hashtag2"]},{"1394754042":["hashtag1","hashtag2"]},{"1394754041":["hashtag1","hashtag2"]},{"1394754044":["hashtag1","hashtag2"]},{"1394754038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754040, 1394754043, 1394754042, 1394754041, 1394754044, 1394754038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.506062746047974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 16:56:21.954799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_43_2719.jpg', '/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_50_3711.jpg', '/home/pi/Desktop/images/16112025/15/42/image_16112025_15_42_05_3715.jpg', '/home/pi/Desktop/images/16112025/15/42/image_16112025_15_42_10_2717.jpg', '/home/pi/Desktop/images/16112025/15/42/image_16112025_15_42_20_2814.jpg', '/home/pi/Desktop/images/16112025/15/42/image_16112025_15_42_34_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_43_2719.jpg
/home/pi/Desktop/images/16112025/15/41/image_16112025_15_41_50_3711.jpg
/home/pi/Desktop/images/16112025/15/42/image_16112025_15_42_05_3715.jpg
/home/pi/Desktop/images/16112025/15/42/image_16112025_15_42_10_2717.jpg
/home/pi/Desktop/images/16112025/15/42/image_16112025_15_42_20_2814.jpg
/home/pi/Desktop/images/16112025/15/42/image_16112025_15_42_34_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754212","1394754206","1394754209","1394754139","1394754183","1394754099"],"photo_ids_order":["1394754099","1394754139","1394754183","1394754206","1394754209","1394754212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dc8e33467fe217ecc7bd758f338c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody3547608929111793812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308642709,"filename":"image_16112025_15_42_34_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9f18089d7cb868a67648255982421c9.jpg","text":"TemporaryFile(/tmp/multipartBody1204986711173801194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308642709,"filename":"image_16112025_15_42_10_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fde81d24c284a51205eade205e6399f.jpg","text":"TemporaryFile(/tmp/multipartBody7719072437034727861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308642709,"filename":"image_16112025_15_42_20_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c06bb699d86ac81a727cab2189d89e6b.jpg","text":"TemporaryFile(/tmp/multipartBody5758590051530564071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308642709,"filename":"image_16112025_15_41_50_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ad32512f2adce5d1ea4c1c25d7b0cd8.jpg","text":"TemporaryFile(/tmp/multipartBody7383853755587914678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308642709,"filename":"image_16112025_15_42_05_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13b34211dd1c2b2e179e6232fa75d1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5160307223257795385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308642709,"filename":"image_16112025_15_41_43_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754183","file1":"1394754139","file0":"1394754099","file4":"1394754209","file5":"1394754212","file3":"1394754206"},"map_files_photo_id_array":[{"photo_id":"1394754212","filename":"file5"},{"photo_id":"1394754183","filename":"file2"},{"photo_id":"1394754209","filename":"file4"},{"photo_id":"1394754139","filename":"file1"},{"photo_id":"1394754099","filename":"file0"},{"photo_id":"1394754206","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754212":["hashtag1","hashtag2"]},{"1394754206":["hashtag1","hashtag2"]},{"1394754209":["hashtag1","hashtag2"]},{"1394754139":["hashtag1","hashtag2"]},{"1394754183":["hashtag1","hashtag2"]},{"1394754099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754212, 1394754206, 1394754209, 1394754139, 1394754183, 1394754099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.732468605041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:57:02.981576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_02_3615.jpg', '/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_13_2582.jpg', '/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_25_2632.jpg', '/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_40_2624.jpg', '/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_47_3661.jpg', '/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_52_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_02_3615.jpg
/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_13_2582.jpg
/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_25_2632.jpg
/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_40_2624.jpg
/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_47_3661.jpg
/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_52_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754298","1394754301","1394754297","1394754296","1394754299","1394754302"],"photo_ids_order":["1394754296","1394754297","1394754298","1394754299","1394754301","1394754302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbd861cdf6239c673c9a3f6e1beec6d9.jpg","text":"TemporaryFile(/tmp/multipartBody9014824505832371332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308683737,"filename":"image_16112025_15_43_25_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d696a425cef8dbea9800005409f3c60.jpg","text":"TemporaryFile(/tmp/multipartBody2821127270234784802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308683737,"filename":"image_16112025_15_43_47_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4a145b5850d478f90dbfa0e6a37cdcb.jpg","text":"TemporaryFile(/tmp/multipartBody1475423509220090978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308683737,"filename":"image_16112025_15_43_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/11/16/797d379c657adc92cd24678278ae660e.jpg","text":"TemporaryFile(/tmp/multipartBody7566288527363191198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308683737,"filename":"image_16112025_15_43_02_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/172df288fc167530bec5f2834c57ac50.jpg","text":"TemporaryFile(/tmp/multipartBody4876468336497200588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308683737,"filename":"image_16112025_15_43_40_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9210e76ab3bbe3661599b2ffc81f10a.jpg","text":"TemporaryFile(/tmp/multipartBody3703020705332981989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308683737,"filename":"image_16112025_15_43_52_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754298","file1":"1394754297","file0":"1394754296","file4":"1394754301","file5":"1394754302","file3":"1394754299"},"map_files_photo_id_array":[{"photo_id":"1394754302","filename":"file5"},{"photo_id":"1394754298","filename":"file2"},{"photo_id":"1394754301","filename":"file4"},{"photo_id":"1394754297","filename":"file1"},{"photo_id":"1394754296","filename":"file0"},{"photo_id":"1394754299","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754298":["hashtag1","hashtag2"]},{"1394754301":["hashtag1","hashtag2"]},{"1394754297":["hashtag1","hashtag2"]},{"1394754296":["hashtag1","hashtag2"]},{"1394754299":["hashtag1","hashtag2"]},{"1394754302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754298, 1394754301, 1394754297, 1394754296, 1394754299, 1394754302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7463059425354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:57:42.197588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_55_3591.jpg', '/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_07_2461.jpg', '/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_11_3616.jpg', '/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_22_2904.jpg', '/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_25_2840.jpg', '/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_28_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/43/image_16112025_15_43_55_3591.jpg
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_07_2461.jpg
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_11_3616.jpg
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_22_2904.jpg
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_25_2840.jpg
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_28_3684.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754311","1394754305","1394754313","1394754310","1394754315","1394754314"],"photo_ids_order":["1394754305","1394754310","1394754311","1394754313","1394754314","1394754315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40792affb7fc5e27d8116be035474550.jpg","text":"TemporaryFile(/tmp/multipartBody7410122910729253451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308722869,"filename":"image_16112025_15_44_11_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36715aa8f2469d879e399da2cd857682.jpg","text":"TemporaryFile(/tmp/multipartBody5380910234800884321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308722869,"filename":"image_16112025_15_43_55_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aae074c52656661cc05f2299b10296c3.jpg","text":"TemporaryFile(/tmp/multipartBody5287339718710104988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308722869,"filename":"image_16112025_15_44_22_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2d689ddc0579f78f226d73b86ac7d12.jpg","text":"TemporaryFile(/tmp/multipartBody1843014987268539264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308722869,"filename":"image_16112025_15_44_07_2461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a099d475920871d1ec67e53133ee07b7.jpg","text":"TemporaryFile(/tmp/multipartBody536625442832048967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308722869,"filename":"image_16112025_15_44_28_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d4c3244816a8cae15d3bd0521ca801b.jpg","text":"TemporaryFile(/tmp/multipartBody6692778246126512993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308722869,"filename":"image_16112025_15_44_25_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754311","file1":"1394754310","file0":"1394754305","file4":"1394754314","file5":"1394754315","file3":"1394754313"},"map_files_photo_id_array":[{"photo_id":"1394754315","filename":"file5"},{"photo_id":"1394754311","filename":"file2"},{"photo_id":"1394754314","filename":"file4"},{"photo_id":"1394754310","filename":"file1"},{"photo_id":"1394754305","filename":"file0"},{"photo_id":"1394754313","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754311":["hashtag1","hashtag2"]},{"1394754305":["hashtag1","hashtag2"]},{"1394754313":["hashtag1","hashtag2"]},{"1394754310":["hashtag1","hashtag2"]},{"1394754315":["hashtag1","hashtag2"]},{"1394754314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754311, 1394754305, 1394754313, 1394754310, 1394754315, 1394754314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.719123125076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 16:59:03.448963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_34_2653.jpg', '/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_46_3622.jpg', '/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_55_3750.jpg', '/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_58_2561.jpg', '/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_16_2618.jpg', '/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_28_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_34_2653.jpg
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_46_3622.jpg
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_55_3750.jpg
/home/pi/Desktop/images/16112025/15/44/image_16112025_15_44_58_2561.jpg
/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_16_2618.jpg
/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_28_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754343","1394754454","1394754378","1394754417","1394754318","1394754321"],"photo_ids_order":["1394754318","1394754321","1394754343","1394754378","1394754417","1394754454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cda2f86ffb87d982bb68384d24a13923.jpg","text":"TemporaryFile(/tmp/multipartBody5672960273556932869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308804234,"filename":"image_16112025_15_44_55_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/822e721fecd97d1cf52c0b6763980200.jpg","text":"TemporaryFile(/tmp/multipartBody7741084594272147427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308804234,"filename":"image_16112025_15_45_28_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85e8fb9dd0e53ca503c0d4e920e69761.jpg","text":"TemporaryFile(/tmp/multipartBody8770186858093537570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308804234,"filename":"image_16112025_15_44_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/11/16/07a20afbc22945df10836734ac7b98d8.jpg","text":"TemporaryFile(/tmp/multipartBody8370691534165051260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308804234,"filename":"image_16112025_15_45_16_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/871a83bf3a67e32fba6f5998dee28c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5839754442417503071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308804234,"filename":"image_16112025_15_44_34_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0e8e300ffd1f1b1d8f6a8c8219e42ac.jpg","text":"TemporaryFile(/tmp/multipartBody8977882569634871455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308804234,"filename":"image_16112025_15_44_46_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754343","file1":"1394754321","file0":"1394754318","file4":"1394754417","file5":"1394754454","file3":"1394754378"},"map_files_photo_id_array":[{"photo_id":"1394754454","filename":"file5"},{"photo_id":"1394754343","filename":"file2"},{"photo_id":"1394754417","filename":"file4"},{"photo_id":"1394754321","filename":"file1"},{"photo_id":"1394754318","filename":"file0"},{"photo_id":"1394754378","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754343":["hashtag1","hashtag2"]},{"1394754454":["hashtag1","hashtag2"]},{"1394754378":["hashtag1","hashtag2"]},{"1394754417":["hashtag1","hashtag2"]},{"1394754318":["hashtag1","hashtag2"]},{"1394754321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754343, 1394754454, 1394754378, 1394754417, 1394754318, 1394754321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71382260322571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 16:59:42.576214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_34_2655.jpg', '/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_43_6127.jpg', '/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_49_2657.jpg', '/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_52_3565.jpg', '/home/pi/Desktop/images/16112025/15/46/image_16112025_15_46_07_3530.jpg', '/home/pi/Desktop/images/16112025/15/46/image_16112025_15_46_23_15897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_34_2655.jpg
/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_43_6127.jpg
/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_49_2657.jpg
/home/pi/Desktop/images/16112025/15/45/image_16112025_15_45_52_3565.jpg
/home/pi/Desktop/images/16112025/15/46/image_16112025_15_46_07_3530.jpg
/home/pi/Desktop/images/16112025/15/46/image_16112025_15_46_23_15897.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754800","1394754597","1394754714","1394754677","1394754752","1394754641"],"photo_ids_order":["1394754597","1394754641","1394754677","1394754714","1394754752","1394754800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59c24732b41435291446b87e505a86e5.jpg","text":"TemporaryFile(/tmp/multipartBody4284587303393352273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308843199,"filename":"image_16112025_15_46_23_15897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b7c6750f1d76284945b3f9612d97844.jpg","text":"TemporaryFile(/tmp/multipartBody8574969683990692084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308843199,"filename":"image_16112025_15_45_34_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/678f0a566bb33a09def0d9e75227b383.jpg","text":"TemporaryFile(/tmp/multipartBody4415741544741818024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308843199,"filename":"image_16112025_15_45_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/11/16/9ebd47baf812b4cfb173856c9ff079f2.jpg","text":"TemporaryFile(/tmp/multipartBody1323502076415746701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308843199,"filename":"image_16112025_15_45_49_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84f3f2e923c69f28d7b7408b2ce70096.jpg","text":"TemporaryFile(/tmp/multipartBody9074733874101939536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308843199,"filename":"image_16112025_15_46_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/11/16/b36fb0e687d3f8dc05edb6e05841335c.jpg","text":"TemporaryFile(/tmp/multipartBody8565902633355687084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308843199,"filename":"image_16112025_15_45_43_6127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754677","file1":"1394754641","file0":"1394754597","file4":"1394754752","file5":"1394754800","file3":"1394754714"},"map_files_photo_id_array":[{"photo_id":"1394754800","filename":"file5"},{"photo_id":"1394754677","filename":"file2"},{"photo_id":"1394754752","filename":"file4"},{"photo_id":"1394754641","filename":"file1"},{"photo_id":"1394754597","filename":"file0"},{"photo_id":"1394754714","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754800":["hashtag1","hashtag2"]},{"1394754597":["hashtag1","hashtag2"]},{"1394754714":["hashtag1","hashtag2"]},{"1394754677":["hashtag1","hashtag2"]},{"1394754752":["hashtag1","hashtag2"]},{"1394754641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754800, 1394754597, 1394754714, 1394754677, 1394754752, 1394754641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30326509475708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:00:21.918434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/46/image_16112025_15_46_43_3735.jpg', '/home/pi/Desktop/images/16112025/15/47/image_16112025_15_47_07_2673.jpg', '/home/pi/Desktop/images/16112025/15/48/image_16112025_15_48_13_3620.jpg', '/home/pi/Desktop/images/16112025/15/48/image_16112025_15_48_39_2698.jpg', '/home/pi/Desktop/images/16112025/15/48/image_16112025_15_48_46_2698.jpg', '/home/pi/Desktop/images/16112025/15/48/image_16112025_15_48_55_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/46/image_16112025_15_46_43_3735.jpg
/home/pi/Desktop/images/16112025/15/47/image_16112025_15_47_07_2673.jpg
/home/pi/Desktop/images/16112025/15/48/image_16112025_15_48_13_3620.jpg
/home/pi/Desktop/images/16112025/15/48/image_16112025_15_48_39_2698.jpg
/home/pi/Desktop/images/16112025/15/48/image_16112025_15_48_46_2698.jpg
/home/pi/Desktop/images/16112025/15/48/image_16112025_15_48_55_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394754940","1394754993","1394754978","1394754992","1394754995","1394754988"],"photo_ids_order":["1394754940","1394754978","1394754988","1394754992","1394754993","1394754995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/970f78d9c55a2546c470482f684dfca3.jpg","text":"TemporaryFile(/tmp/multipartBody9103508693436018415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308882593,"filename":"image_16112025_15_46_43_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c73baa19700dd450081cb0d2f5594b75.jpg","text":"TemporaryFile(/tmp/multipartBody1724525172979411754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308882593,"filename":"image_16112025_15_48_46_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5aa4d79ec1242563a531dee1f57cbd1b.jpg","text":"TemporaryFile(/tmp/multipartBody646934265991726807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308882593,"filename":"image_16112025_15_47_07_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72a3ce9f4d7a34ba127327d14cd7b112.jpg","text":"TemporaryFile(/tmp/multipartBody3180903770247738712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308882593,"filename":"image_16112025_15_48_39_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/915e1ffc05ed74450c61817e0ab9b927.jpg","text":"TemporaryFile(/tmp/multipartBody4802294691856935546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308882593,"filename":"image_16112025_15_48_55_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9323c0bd60b566ed8a4b20d31d6c38f.jpg","text":"TemporaryFile(/tmp/multipartBody2039745659377131139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308882593,"filename":"image_16112025_15_48_13_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394754988","file1":"1394754978","file0":"1394754940","file4":"1394754993","file5":"1394754995","file3":"1394754992"},"map_files_photo_id_array":[{"photo_id":"1394754995","filename":"file5"},{"photo_id":"1394754988","filename":"file2"},{"photo_id":"1394754993","filename":"file4"},{"photo_id":"1394754978","filename":"file1"},{"photo_id":"1394754940","filename":"file0"},{"photo_id":"1394754992","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394754940":["hashtag1","hashtag2"]},{"1394754993":["hashtag1","hashtag2"]},{"1394754978":["hashtag1","hashtag2"]},{"1394754992":["hashtag1","hashtag2"]},{"1394754995":["hashtag1","hashtag2"]},{"1394754988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394754940, 1394754993, 1394754978, 1394754992, 1394754995, 1394754988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9883246421814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:01:02.698298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/49/image_16112025_15_49_19_2535.jpg', '/home/pi/Desktop/images/16112025/15/49/image_16112025_15_49_28_2721.jpg', '/home/pi/Desktop/images/16112025/15/49/image_16112025_15_49_30_2723.jpg', '/home/pi/Desktop/images/16112025/15/49/image_16112025_15_49_58_3740.jpg', '/home/pi/Desktop/images/16112025/15/50/image_16112025_15_50_03_2660.jpg', '/home/pi/Desktop/images/16112025/15/50/image_16112025_15_50_19_2971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/49/image_16112025_15_49_19_2535.jpg
/home/pi/Desktop/images/16112025/15/49/image_16112025_15_49_28_2721.jpg
/home/pi/Desktop/images/16112025/15/49/image_16112025_15_49_30_2723.jpg
/home/pi/Desktop/images/16112025/15/49/image_16112025_15_49_58_3740.jpg
/home/pi/Desktop/images/16112025/15/50/image_16112025_15_50_03_2660.jpg
/home/pi/Desktop/images/16112025/15/50/image_16112025_15_50_19_2971.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755144","1394755141","1394755135","1394755095","1394755119","1394755139"],"photo_ids_order":["1394755095","1394755119","1394755135","1394755139","1394755141","1394755144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49def037fb808e725cb605ed11ca132f.jpg","text":"TemporaryFile(/tmp/multipartBody7091261844356400782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308923433,"filename":"image_16112025_15_50_19_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf7c693a3aa58ac6030dca2cafe9b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody8833861223051115264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308923433,"filename":"image_16112025_15_50_03_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1502f7212d679b16ebff53745d779d2c.jpg","text":"TemporaryFile(/tmp/multipartBody8988538165049054757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308923433,"filename":"image_16112025_15_49_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/11/16/84e952db0a8768b7d590958ad21adc9d.jpg","text":"TemporaryFile(/tmp/multipartBody7499426644820843646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308923433,"filename":"image_16112025_15_49_19_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ae32669adfa24051474be3e367bd070.jpg","text":"TemporaryFile(/tmp/multipartBody4630706577365431077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308923433,"filename":"image_16112025_15_49_28_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a56a56c57f97088a3c62c21d8fb8f1d.jpg","text":"TemporaryFile(/tmp/multipartBody7368083888277666031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308923433,"filename":"image_16112025_15_49_58_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755135","file1":"1394755119","file0":"1394755095","file4":"1394755141","file5":"1394755144","file3":"1394755139"},"map_files_photo_id_array":[{"photo_id":"1394755144","filename":"file5"},{"photo_id":"1394755135","filename":"file2"},{"photo_id":"1394755141","filename":"file4"},{"photo_id":"1394755119","filename":"file1"},{"photo_id":"1394755095","filename":"file0"},{"photo_id":"1394755139","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755144":["hashtag1","hashtag2"]},{"1394755141":["hashtag1","hashtag2"]},{"1394755135":["hashtag1","hashtag2"]},{"1394755095":["hashtag1","hashtag2"]},{"1394755119":["hashtag1","hashtag2"]},{"1394755139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755144, 1394755141, 1394755135, 1394755095, 1394755119, 1394755139)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.21800923347473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:02:02.938219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/50/image_16112025_15_50_42_2708.jpg', '/home/pi/Desktop/images/16112025/15/50/image_16112025_15_50_45_2612.jpg', '/home/pi/Desktop/images/16112025/15/51/image_16112025_15_51_15_2573.jpg', '/home/pi/Desktop/images/16112025/15/51/image_16112025_15_51_21_2589.jpg', '/home/pi/Desktop/images/16112025/15/51/image_16112025_15_51_44_2845.jpg', '/home/pi/Desktop/images/16112025/15/51/image_16112025_15_51_49_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/50/image_16112025_15_50_42_2708.jpg
/home/pi/Desktop/images/16112025/15/50/image_16112025_15_50_45_2612.jpg
/home/pi/Desktop/images/16112025/15/51/image_16112025_15_51_15_2573.jpg
/home/pi/Desktop/images/16112025/15/51/image_16112025_15_51_21_2589.jpg
/home/pi/Desktop/images/16112025/15/51/image_16112025_15_51_44_2845.jpg
/home/pi/Desktop/images/16112025/15/51/image_16112025_15_51_49_1610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755150","1394755153","1394755147","1394755152","1394755149","1394755148"],"photo_ids_order":["1394755147","1394755148","1394755149","1394755150","1394755152","1394755153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e0589f3fc4cadbcd4a94bad86eae43c.jpg","text":"TemporaryFile(/tmp/multipartBody3549899303263167567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308983648,"filename":"image_16112025_15_51_21_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ac3a97475249d8a92a0351dd9a95db7.jpg","text":"TemporaryFile(/tmp/multipartBody7749192838733555424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308983648,"filename":"image_16112025_15_51_49_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f20b1b0c4c225dfd4b8f261026b64ff.jpg","text":"TemporaryFile(/tmp/multipartBody2990619464989513985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308983648,"filename":"image_16112025_15_50_42_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95b7651dd6028144d04ad9bab728b101.jpg","text":"TemporaryFile(/tmp/multipartBody8140903735210817446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308983648,"filename":"image_16112025_15_51_44_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82239a56433c6d38b02f5652207ab227.jpg","text":"TemporaryFile(/tmp/multipartBody5713325577424311822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308983648,"filename":"image_16112025_15_51_15_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5df4ed7ba1b1e038282b853478adfbf.jpg","text":"TemporaryFile(/tmp/multipartBody1129295706245636839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763308983648,"filename":"image_16112025_15_50_45_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755149","file1":"1394755148","file0":"1394755147","file4":"1394755152","file5":"1394755153","file3":"1394755150"},"map_files_photo_id_array":[{"photo_id":"1394755153","filename":"file5"},{"photo_id":"1394755149","filename":"file2"},{"photo_id":"1394755152","filename":"file4"},{"photo_id":"1394755148","filename":"file1"},{"photo_id":"1394755147","filename":"file0"},{"photo_id":"1394755150","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755150":["hashtag1","hashtag2"]},{"1394755153":["hashtag1","hashtag2"]},{"1394755147":["hashtag1","hashtag2"]},{"1394755152":["hashtag1","hashtag2"]},{"1394755149":["hashtag1","hashtag2"]},{"1394755148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755150, 1394755153, 1394755147, 1394755152, 1394755149, 1394755148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.936662435531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:02:42.420531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/52/image_16112025_15_52_40_1587.jpg', '/home/pi/Desktop/images/16112025/15/52/image_16112025_15_52_41_1683.jpg', '/home/pi/Desktop/images/16112025/15/52/image_16112025_15_52_43_1647.jpg', '/home/pi/Desktop/images/16112025/15/52/image_16112025_15_52_56_10430.jpg', '/home/pi/Desktop/images/16112025/15/53/image_16112025_15_53_10_6811.jpg', '/home/pi/Desktop/images/16112025/15/53/image_16112025_15_53_22_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/52/image_16112025_15_52_40_1587.jpg
/home/pi/Desktop/images/16112025/15/52/image_16112025_15_52_41_1683.jpg
/home/pi/Desktop/images/16112025/15/52/image_16112025_15_52_43_1647.jpg
/home/pi/Desktop/images/16112025/15/52/image_16112025_15_52_56_10430.jpg
/home/pi/Desktop/images/16112025/15/53/image_16112025_15_53_10_6811.jpg
/home/pi/Desktop/images/16112025/15/53/image_16112025_15_53_22_1638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755167","1394755164","1394755163","1394755166","1394755168","1394755156"],"photo_ids_order":["1394755156","1394755163","1394755164","1394755166","1394755167","1394755168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8936570d923afbb2029c4fabdc8451b2.jpg","text":"TemporaryFile(/tmp/multipartBody6114858802804633530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309023061,"filename":"image_16112025_15_53_10_6811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83f22b7b4fa75e25ecf64f8431a1d6f2.jpg","text":"TemporaryFile(/tmp/multipartBody6409082156666996096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309023061,"filename":"image_16112025_15_52_43_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c79bf4d29bd9ad4b1af41244680ba414.jpg","text":"TemporaryFile(/tmp/multipartBody5687704381896527352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309023061,"filename":"image_16112025_15_52_41_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adcd9c2a955b130ce3a8e9b34a4dff6a.jpg","text":"TemporaryFile(/tmp/multipartBody5352602840187925541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309023061,"filename":"image_16112025_15_52_56_10430.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/012ecb2d0a67a9dd7da9e2f3b783d910.jpg","text":"TemporaryFile(/tmp/multipartBody7416292253646229638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309023061,"filename":"image_16112025_15_53_22_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/391c49f2336ee346c8091bd80c1692a0.jpg","text":"TemporaryFile(/tmp/multipartBody495159437728283891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309023061,"filename":"image_16112025_15_52_40_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755164","file1":"1394755163","file0":"1394755156","file4":"1394755167","file5":"1394755168","file3":"1394755166"},"map_files_photo_id_array":[{"photo_id":"1394755168","filename":"file5"},{"photo_id":"1394755164","filename":"file2"},{"photo_id":"1394755167","filename":"file4"},{"photo_id":"1394755163","filename":"file1"},{"photo_id":"1394755156","filename":"file0"},{"photo_id":"1394755166","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755167":["hashtag1","hashtag2"]},{"1394755164":["hashtag1","hashtag2"]},{"1394755163":["hashtag1","hashtag2"]},{"1394755166":["hashtag1","hashtag2"]},{"1394755168":["hashtag1","hashtag2"]},{"1394755156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755167, 1394755164, 1394755163, 1394755166, 1394755168, 1394755156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27533721923828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:03:22.819236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/54/image_16112025_15_54_12_1762.jpg', '/home/pi/Desktop/images/16112025/15/54/image_16112025_15_54_54_2635.jpg', '/home/pi/Desktop/images/16112025/15/55/image_16112025_15_55_27_3687.jpg', '/home/pi/Desktop/images/16112025/15/55/image_16112025_15_55_54_3669.jpg', '/home/pi/Desktop/images/16112025/15/56/image_16112025_15_56_27_2616.jpg', '/home/pi/Desktop/images/16112025/15/57/image_16112025_15_57_03_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/54/image_16112025_15_54_12_1762.jpg
/home/pi/Desktop/images/16112025/15/54/image_16112025_15_54_54_2635.jpg
/home/pi/Desktop/images/16112025/15/55/image_16112025_15_55_27_3687.jpg
/home/pi/Desktop/images/16112025/15/55/image_16112025_15_55_54_3669.jpg
/home/pi/Desktop/images/16112025/15/56/image_16112025_15_56_27_2616.jpg
/home/pi/Desktop/images/16112025/15/57/image_16112025_15_57_03_1610.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.5696196556091309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:03:42.602127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/54/image_16112025_15_54_12_1762.jpg', '/home/pi/Desktop/images/16112025/15/54/image_16112025_15_54_54_2635.jpg', '/home/pi/Desktop/images/16112025/15/55/image_16112025_15_55_27_3687.jpg', '/home/pi/Desktop/images/16112025/15/55/image_16112025_15_55_54_3669.jpg', '/home/pi/Desktop/images/16112025/15/56/image_16112025_15_56_27_2616.jpg', '/home/pi/Desktop/images/16112025/15/57/image_16112025_15_57_03_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/54/image_16112025_15_54_12_1762.jpg
/home/pi/Desktop/images/16112025/15/54/image_16112025_15_54_54_2635.jpg
/home/pi/Desktop/images/16112025/15/55/image_16112025_15_55_27_3687.jpg
/home/pi/Desktop/images/16112025/15/55/image_16112025_15_55_54_3669.jpg
/home/pi/Desktop/images/16112025/15/56/image_16112025_15_56_27_2616.jpg
/home/pi/Desktop/images/16112025/15/57/image_16112025_15_57_03_1610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755185","1394755188","1394755187","1394755186","1394755189","1394755183"],"photo_ids_order":["1394755183","1394755185","1394755186","1394755187","1394755188","1394755189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb004b44027da3c789436943e6e214ea.jpg","text":"TemporaryFile(/tmp/multipartBody5542084780109178733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309083260,"filename":"image_16112025_15_54_54_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b5aecd95862a1f33b435765ea3511f9.jpg","text":"TemporaryFile(/tmp/multipartBody6510406614666554010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309083260,"filename":"image_16112025_15_56_27_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ec7d16c4a7bd702caf6845b8077fbd2.jpg","text":"TemporaryFile(/tmp/multipartBody5460616401639126328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309083260,"filename":"image_16112025_15_55_54_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32876b2c309a3415b832e0219d3300d4.jpg","text":"TemporaryFile(/tmp/multipartBody4060125307568177875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309083260,"filename":"image_16112025_15_55_27_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/334b60c89c8587d4459eb73067cb3a64.jpg","text":"TemporaryFile(/tmp/multipartBody8518323890889701859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309083260,"filename":"image_16112025_15_57_03_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/305e94deebed43f6a4cfd4426b6a5c9e.jpg","text":"TemporaryFile(/tmp/multipartBody5104668750618995634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309083260,"filename":"image_16112025_15_54_12_1762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755186","file1":"1394755185","file0":"1394755183","file4":"1394755188","file5":"1394755189","file3":"1394755187"},"map_files_photo_id_array":[{"photo_id":"1394755189","filename":"file5"},{"photo_id":"1394755186","filename":"file2"},{"photo_id":"1394755188","filename":"file4"},{"photo_id":"1394755185","filename":"file1"},{"photo_id":"1394755183","filename":"file0"},{"photo_id":"1394755187","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755185":["hashtag1","hashtag2"]},{"1394755188":["hashtag1","hashtag2"]},{"1394755187":["hashtag1","hashtag2"]},{"1394755186":["hashtag1","hashtag2"]},{"1394755189":["hashtag1","hashtag2"]},{"1394755183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755185, 1394755188, 1394755187, 1394755186, 1394755189, 1394755183)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.9822154045105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:04:41.880713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/57/image_16112025_15_57_38_3520.jpg', '/home/pi/Desktop/images/16112025/15/58/image_16112025_15_58_48_17573.jpg', '/home/pi/Desktop/images/16112025/15/58/image_16112025_15_58_54_1563.jpg', '/home/pi/Desktop/images/16112025/15/58/image_16112025_15_58_55_1602.jpg', '/home/pi/Desktop/images/16112025/15/58/image_16112025_15_58_58_1568.jpg', '/home/pi/Desktop/images/16112025/15/59/image_16112025_15_59_10_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/57/image_16112025_15_57_38_3520.jpg
/home/pi/Desktop/images/16112025/15/58/image_16112025_15_58_48_17573.jpg
/home/pi/Desktop/images/16112025/15/58/image_16112025_15_58_54_1563.jpg
/home/pi/Desktop/images/16112025/15/58/image_16112025_15_58_55_1602.jpg
/home/pi/Desktop/images/16112025/15/58/image_16112025_15_58_58_1568.jpg
/home/pi/Desktop/images/16112025/15/59/image_16112025_15_59_10_1714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755197","1394755194","1394755196","1394755199","1394755193","1394755198"],"photo_ids_order":["1394755193","1394755194","1394755196","1394755197","1394755198","1394755199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3f40998d63a1a2bc7cc3d8960bb77fc.jpg","text":"TemporaryFile(/tmp/multipartBody5260050380071640073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309142583,"filename":"image_16112025_15_58_55_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/004fefcaf4f9b4ad0545a91cf775d657.jpg","text":"TemporaryFile(/tmp/multipartBody8632496371707685217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309142583,"filename":"image_16112025_15_58_48_17573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1c626b7cf4e826223dab0e00b075c69.jpg","text":"TemporaryFile(/tmp/multipartBody4326391956942009890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309142583,"filename":"image_16112025_15_58_54_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/736cd7e9212c7b86cbcb0f04cc6a8a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1344357740274268651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309142583,"filename":"image_16112025_15_59_10_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5d55bf44d128ec85cdc9f1022be0477.jpg","text":"TemporaryFile(/tmp/multipartBody8012275306431359865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309142583,"filename":"image_16112025_15_57_38_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51a86af37ab2cdd90d897d438643ea17.jpg","text":"TemporaryFile(/tmp/multipartBody6246686380057510227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309142583,"filename":"image_16112025_15_58_58_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755196","file1":"1394755194","file0":"1394755193","file4":"1394755198","file5":"1394755199","file3":"1394755197"},"map_files_photo_id_array":[{"photo_id":"1394755199","filename":"file5"},{"photo_id":"1394755196","filename":"file2"},{"photo_id":"1394755198","filename":"file4"},{"photo_id":"1394755194","filename":"file1"},{"photo_id":"1394755193","filename":"file0"},{"photo_id":"1394755197","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755197":["hashtag1","hashtag2"]},{"1394755194":["hashtag1","hashtag2"]},{"1394755196":["hashtag1","hashtag2"]},{"1394755199":["hashtag1","hashtag2"]},{"1394755193":["hashtag1","hashtag2"]},{"1394755198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755197, 1394755194, 1394755196, 1394755199, 1394755193, 1394755198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2321457862854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:05:22.006085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/15/59/image_16112025_15_59_11_1689.jpg', '/home/pi/Desktop/images/16112025/15/59/image_16112025_15_59_39_18536.jpg', '/home/pi/Desktop/images/16112025/15/59/image_16112025_15_59_54_9915.jpg', '/home/pi/Desktop/images/16112025/16/00/image_16112025_16_00_26_1529.jpg', '/home/pi/Desktop/images/16112025/16/00/image_16112025_16_00_34_1763.jpg', '/home/pi/Desktop/images/16112025/16/01/image_16112025_16_01_56_17663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/15/59/image_16112025_15_59_11_1689.jpg
/home/pi/Desktop/images/16112025/15/59/image_16112025_15_59_39_18536.jpg
/home/pi/Desktop/images/16112025/15/59/image_16112025_15_59_54_9915.jpg
/home/pi/Desktop/images/16112025/16/00/image_16112025_16_00_26_1529.jpg
/home/pi/Desktop/images/16112025/16/00/image_16112025_16_00_34_1763.jpg
/home/pi/Desktop/images/16112025/16/01/image_16112025_16_01_56_17663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755207","1394755203","1394755212","1394755206","1394755209","1394755208"],"photo_ids_order":["1394755203","1394755206","1394755207","1394755208","1394755209","1394755212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b31e2cfe18cf131cae7bec121bf5f233.jpg","text":"TemporaryFile(/tmp/multipartBody126357314201684470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309182631,"filename":"image_16112025_15_59_54_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/524d38c98933a3847d3e8a31aedbd13b.jpg","text":"TemporaryFile(/tmp/multipartBody3800737535471358640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309182631,"filename":"image_16112025_15_59_11_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b5cdf9d10f624cf2625825c583db3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6279643284840966810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309182631,"filename":"image_16112025_16_01_56_17663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/633f3541941262ff3155420d23323870.jpg","text":"TemporaryFile(/tmp/multipartBody4416332827897215857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309182631,"filename":"image_16112025_15_59_39_18536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7fc7116c5b633ec423cf7eb8acace95.jpg","text":"TemporaryFile(/tmp/multipartBody3739476751404294553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309182631,"filename":"image_16112025_16_00_34_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62dea967a640c3cebff3425716e75f77.jpg","text":"TemporaryFile(/tmp/multipartBody904951611332474473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309182631,"filename":"image_16112025_16_00_26_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755207","file1":"1394755206","file0":"1394755203","file4":"1394755209","file5":"1394755212","file3":"1394755208"},"map_files_photo_id_array":[{"photo_id":"1394755212","filename":"file5"},{"photo_id":"1394755207","filename":"file2"},{"photo_id":"1394755209","filename":"file4"},{"photo_id":"1394755206","filename":"file1"},{"photo_id":"1394755203","filename":"file0"},{"photo_id":"1394755208","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755207":["hashtag1","hashtag2"]},{"1394755203":["hashtag1","hashtag2"]},{"1394755212":["hashtag1","hashtag2"]},{"1394755206":["hashtag1","hashtag2"]},{"1394755209":["hashtag1","hashtag2"]},{"1394755208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755207, 1394755203, 1394755212, 1394755206, 1394755209, 1394755208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59269905090332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:06:02.821428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/02/image_16112025_16_02_13_1704.jpg', '/home/pi/Desktop/images/16112025/16/02/image_16112025_16_02_49_1662.jpg', '/home/pi/Desktop/images/16112025/16/03/image_16112025_16_03_20_1595.jpg', '/home/pi/Desktop/images/16112025/16/03/image_16112025_16_03_34_2514.jpg', '/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_20_3239.jpg', '/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_37_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/02/image_16112025_16_02_13_1704.jpg
/home/pi/Desktop/images/16112025/16/02/image_16112025_16_02_49_1662.jpg
/home/pi/Desktop/images/16112025/16/03/image_16112025_16_03_20_1595.jpg
/home/pi/Desktop/images/16112025/16/03/image_16112025_16_03_34_2514.jpg
/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_20_3239.jpg
/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_37_2580.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.617896556854248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:06:22.235947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/02/image_16112025_16_02_13_1704.jpg', '/home/pi/Desktop/images/16112025/16/02/image_16112025_16_02_49_1662.jpg', '/home/pi/Desktop/images/16112025/16/03/image_16112025_16_03_20_1595.jpg', '/home/pi/Desktop/images/16112025/16/03/image_16112025_16_03_34_2514.jpg', '/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_20_3239.jpg', '/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_37_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/02/image_16112025_16_02_13_1704.jpg
/home/pi/Desktop/images/16112025/16/02/image_16112025_16_02_49_1662.jpg
/home/pi/Desktop/images/16112025/16/03/image_16112025_16_03_20_1595.jpg
/home/pi/Desktop/images/16112025/16/03/image_16112025_16_03_34_2514.jpg
/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_20_3239.jpg
/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_37_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755230","1394755224","1394755232","1394755226","1394755229","1394755220"],"photo_ids_order":["1394755220","1394755224","1394755226","1394755229","1394755230","1394755232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac2871144a078065d0fcc6a652e0bbe3.jpg","text":"TemporaryFile(/tmp/multipartBody2480666045208094821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309242975,"filename":"image_16112025_16_04_20_3239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58ccb5db8bc562e87230e2b38a819e01.jpg","text":"TemporaryFile(/tmp/multipartBody2384548259335811045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309242975,"filename":"image_16112025_16_02_49_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd72b088e412a0d4d21cf17e2ab5263f.jpg","text":"TemporaryFile(/tmp/multipartBody634186389562701914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309242975,"filename":"image_16112025_16_04_37_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9940d2939f4e7a7495172617fcfe7a26.jpg","text":"TemporaryFile(/tmp/multipartBody3480850040060947491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309242975,"filename":"image_16112025_16_03_20_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55f489dfbfef6b41582c24e50c180760.jpg","text":"TemporaryFile(/tmp/multipartBody2286350973402982217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309242975,"filename":"image_16112025_16_03_34_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ed2a4b43365c9ededf3f5c8f99a0bb2.jpg","text":"TemporaryFile(/tmp/multipartBody220900158929508189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309242975,"filename":"image_16112025_16_02_13_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755226","file1":"1394755224","file0":"1394755220","file4":"1394755230","file5":"1394755232","file3":"1394755229"},"map_files_photo_id_array":[{"photo_id":"1394755232","filename":"file5"},{"photo_id":"1394755226","filename":"file2"},{"photo_id":"1394755230","filename":"file4"},{"photo_id":"1394755224","filename":"file1"},{"photo_id":"1394755220","filename":"file0"},{"photo_id":"1394755229","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755230":["hashtag1","hashtag2"]},{"1394755224":["hashtag1","hashtag2"]},{"1394755232":["hashtag1","hashtag2"]},{"1394755226":["hashtag1","hashtag2"]},{"1394755229":["hashtag1","hashtag2"]},{"1394755220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755230, 1394755224, 1394755232, 1394755226, 1394755229, 1394755220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95546889305115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:07:02.977091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_44_3497.jpg', '/home/pi/Desktop/images/16112025/16/05/image_16112025_16_05_08_3011.jpg', '/home/pi/Desktop/images/16112025/16/05/image_16112025_16_05_35_3533.jpg', '/home/pi/Desktop/images/16112025/16/06/image_16112025_16_06_20_3532.jpg', '/home/pi/Desktop/images/16112025/16/07/image_16112025_16_07_52_2494.jpg', '/home/pi/Desktop/images/16112025/16/08/image_16112025_16_08_56_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_44_3497.jpg
/home/pi/Desktop/images/16112025/16/05/image_16112025_16_05_08_3011.jpg
/home/pi/Desktop/images/16112025/16/05/image_16112025_16_05_35_3533.jpg
/home/pi/Desktop/images/16112025/16/06/image_16112025_16_06_20_3532.jpg
/home/pi/Desktop/images/16112025/16/07/image_16112025_16_07_52_2494.jpg
/home/pi/Desktop/images/16112025/16/08/image_16112025_16_08_56_2703.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.7398004531860352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:07:22.397419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_44_3497.jpg', '/home/pi/Desktop/images/16112025/16/05/image_16112025_16_05_08_3011.jpg', '/home/pi/Desktop/images/16112025/16/05/image_16112025_16_05_35_3533.jpg', '/home/pi/Desktop/images/16112025/16/06/image_16112025_16_06_20_3532.jpg', '/home/pi/Desktop/images/16112025/16/07/image_16112025_16_07_52_2494.jpg', '/home/pi/Desktop/images/16112025/16/08/image_16112025_16_08_56_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/04/image_16112025_16_04_44_3497.jpg
/home/pi/Desktop/images/16112025/16/05/image_16112025_16_05_08_3011.jpg
/home/pi/Desktop/images/16112025/16/05/image_16112025_16_05_35_3533.jpg
/home/pi/Desktop/images/16112025/16/06/image_16112025_16_06_20_3532.jpg
/home/pi/Desktop/images/16112025/16/07/image_16112025_16_07_52_2494.jpg
/home/pi/Desktop/images/16112025/16/08/image_16112025_16_08_56_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755243","1394755246","1394755248","1394755245","1394755250","1394755247"],"photo_ids_order":["1394755243","1394755245","1394755246","1394755247","1394755248","1394755250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27091c7febedb05a41db9ce9b2c3a436.jpg","text":"TemporaryFile(/tmp/multipartBody3397553293596599816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309303029,"filename":"image_16112025_16_04_44_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/776c42ab7ee7dbe9ca4d3d903c28a0bf.jpg","text":"TemporaryFile(/tmp/multipartBody7001104802496034124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309303029,"filename":"image_16112025_16_05_35_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ffe1338199fefd9292b0d888ab2aefc.jpg","text":"TemporaryFile(/tmp/multipartBody4330325828242187099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309303029,"filename":"image_16112025_16_07_52_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e48372b7b1ed1de2080f623f5950db52.jpg","text":"TemporaryFile(/tmp/multipartBody3885690128041830047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309303029,"filename":"image_16112025_16_05_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a961c1466b93b3d2b4b709c0a103eca7.jpg","text":"TemporaryFile(/tmp/multipartBody3818486590059150612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309303029,"filename":"image_16112025_16_08_56_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1f7f04ef9a211c3a3d2473facb10e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4783032074242994172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309303029,"filename":"image_16112025_16_06_20_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755246","file1":"1394755245","file0":"1394755243","file4":"1394755248","file5":"1394755250","file3":"1394755247"},"map_files_photo_id_array":[{"photo_id":"1394755250","filename":"file5"},{"photo_id":"1394755246","filename":"file2"},{"photo_id":"1394755248","filename":"file4"},{"photo_id":"1394755245","filename":"file1"},{"photo_id":"1394755243","filename":"file0"},{"photo_id":"1394755247","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755243":["hashtag1","hashtag2"]},{"1394755246":["hashtag1","hashtag2"]},{"1394755248":["hashtag1","hashtag2"]},{"1394755245":["hashtag1","hashtag2"]},{"1394755250":["hashtag1","hashtag2"]},{"1394755247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755243, 1394755246, 1394755248, 1394755245, 1394755250, 1394755247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.119179487228394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:08:03.218888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_14_2704.jpg', '/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_16_2678.jpg', '/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_29_2558.jpg', '/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_50_3560.jpg', '/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_55_2640.jpg', '/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_14_2704.jpg
/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_16_2678.jpg
/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_29_2558.jpg
/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_50_3560.jpg
/home/pi/Desktop/images/16112025/16/09/image_16112025_16_09_55_2640.jpg
/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755252","1394755251","1394755260","1394755254","1394755257","1394755253"],"photo_ids_order":["1394755251","1394755252","1394755253","1394755254","1394755257","1394755260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ed79858cb8e3fc39d2ebff9d9c6e53a.jpg","text":"TemporaryFile(/tmp/multipartBody9016335095967468490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309343897,"filename":"image_16112025_16_09_16_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bd5bd98b10f82958ff0dad1142fa4b0.jpg","text":"TemporaryFile(/tmp/multipartBody1033114808573885867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309343897,"filename":"image_16112025_16_09_14_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1fe3fde38f5408320aeb05ef56175fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4233968016247707987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309343897,"filename":"image_16112025_16_10_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/11/16/d8ce6a4eb793d15ccb3e7e783ae00984.jpg","text":"TemporaryFile(/tmp/multipartBody5554052929185117977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309343897,"filename":"image_16112025_16_09_50_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/326edf483a1122c5c332d3bd6393a835.jpg","text":"TemporaryFile(/tmp/multipartBody8807029240176148054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309343897,"filename":"image_16112025_16_09_55_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aea45524a8198f8c8f21388a5fc4884f.jpg","text":"TemporaryFile(/tmp/multipartBody1109297567563999017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309343897,"filename":"image_16112025_16_09_29_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755253","file1":"1394755252","file0":"1394755251","file4":"1394755257","file5":"1394755260","file3":"1394755254"},"map_files_photo_id_array":[{"photo_id":"1394755260","filename":"file5"},{"photo_id":"1394755253","filename":"file2"},{"photo_id":"1394755257","filename":"file4"},{"photo_id":"1394755252","filename":"file1"},{"photo_id":"1394755251","filename":"file0"},{"photo_id":"1394755254","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755252":["hashtag1","hashtag2"]},{"1394755251":["hashtag1","hashtag2"]},{"1394755260":["hashtag1","hashtag2"]},{"1394755254":["hashtag1","hashtag2"]},{"1394755257":["hashtag1","hashtag2"]},{"1394755253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755252, 1394755251, 1394755260, 1394755254, 1394755257, 1394755253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.614988565444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:08:42.588370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_28_2758.jpg', '/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_31_2660.jpg', '/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_43_2901.jpg', '/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_46_3676.jpg', '/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_49_2676.jpg', '/home/pi/Desktop/images/16112025/16/11/image_16112025_16_11_34_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_28_2758.jpg
/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_31_2660.jpg
/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_43_2901.jpg
/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_46_3676.jpg
/home/pi/Desktop/images/16112025/16/10/image_16112025_16_10_49_2676.jpg
/home/pi/Desktop/images/16112025/16/11/image_16112025_16_11_34_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755270","1394755272","1394755269","1394755271","1394755265","1394755273"],"photo_ids_order":["1394755265","1394755269","1394755270","1394755271","1394755272","1394755273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/727e6173a948333cd15931d8b8d77a46.jpg","text":"TemporaryFile(/tmp/multipartBody8830542359670756960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309383216,"filename":"image_16112025_16_10_43_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c851eb5fdf615e9db8d80804b8ff6f6.jpg","text":"TemporaryFile(/tmp/multipartBody4732111342166725900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309383216,"filename":"image_16112025_16_10_49_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/706b35a0c1e0190fb10b92cde4dbd037.jpg","text":"TemporaryFile(/tmp/multipartBody4820754027831182616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309383216,"filename":"image_16112025_16_10_31_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3064dfaadc033aefead10abe2748e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8206332336413333881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309383216,"filename":"image_16112025_16_10_46_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/451ee1e1595827c8e8ca5e3d393b8187.jpg","text":"TemporaryFile(/tmp/multipartBody4305979061648346655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309383216,"filename":"image_16112025_16_10_28_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9f1d0717abdecff6e11874d23c78a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4661218519015904466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309383216,"filename":"image_16112025_16_11_34_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755270","file1":"1394755269","file0":"1394755265","file4":"1394755272","file5":"1394755273","file3":"1394755271"},"map_files_photo_id_array":[{"photo_id":"1394755273","filename":"file5"},{"photo_id":"1394755270","filename":"file2"},{"photo_id":"1394755272","filename":"file4"},{"photo_id":"1394755269","filename":"file1"},{"photo_id":"1394755265","filename":"file0"},{"photo_id":"1394755271","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755270":["hashtag1","hashtag2"]},{"1394755272":["hashtag1","hashtag2"]},{"1394755269":["hashtag1","hashtag2"]},{"1394755271":["hashtag1","hashtag2"]},{"1394755265":["hashtag1","hashtag2"]},{"1394755273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755270, 1394755272, 1394755269, 1394755271, 1394755265, 1394755273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38905930519104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:09:22.786597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/11/image_16112025_16_11_43_2709.jpg', '/home/pi/Desktop/images/16112025/16/12/image_16112025_16_12_04_3509.jpg', '/home/pi/Desktop/images/16112025/16/12/image_16112025_16_12_25_3666.jpg', '/home/pi/Desktop/images/16112025/16/13/image_16112025_16_13_06_2527.jpg', '/home/pi/Desktop/images/16112025/16/13/image_16112025_16_13_31_2784.jpg', '/home/pi/Desktop/images/16112025/16/14/image_16112025_16_14_19_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/11/image_16112025_16_11_43_2709.jpg
/home/pi/Desktop/images/16112025/16/12/image_16112025_16_12_04_3509.jpg
/home/pi/Desktop/images/16112025/16/12/image_16112025_16_12_25_3666.jpg
/home/pi/Desktop/images/16112025/16/13/image_16112025_16_13_06_2527.jpg
/home/pi/Desktop/images/16112025/16/13/image_16112025_16_13_31_2784.jpg
/home/pi/Desktop/images/16112025/16/14/image_16112025_16_14_19_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755279","1394755284","1394755278","1394755281","1394755277","1394755282"],"photo_ids_order":["1394755277","1394755278","1394755279","1394755281","1394755282","1394755284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0a214cd6b322b44490855e5d55a3ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2943267202114132427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309423443,"filename":"image_16112025_16_12_25_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d8de1b75dffbfb17bd3fdf2fc077a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6301461089798885014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309423443,"filename":"image_16112025_16_14_19_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13d5c70994abd01cb7302ba57b681057.jpg","text":"TemporaryFile(/tmp/multipartBody9033755049364229560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309423443,"filename":"image_16112025_16_12_04_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd01608d93fe397c423726018291688b.jpg","text":"TemporaryFile(/tmp/multipartBody1570487854127206403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309423443,"filename":"image_16112025_16_13_06_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06b0bce86d8c9da8b4cd063200afa764.jpg","text":"TemporaryFile(/tmp/multipartBody8815787866342815076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309423443,"filename":"image_16112025_16_11_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/11/16/6d3223822697d20505cea7b8e5f6d07e.jpg","text":"TemporaryFile(/tmp/multipartBody61565474229769606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309423443,"filename":"image_16112025_16_13_31_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755279","file1":"1394755278","file0":"1394755277","file4":"1394755282","file5":"1394755284","file3":"1394755281"},"map_files_photo_id_array":[{"photo_id":"1394755284","filename":"file5"},{"photo_id":"1394755279","filename":"file2"},{"photo_id":"1394755282","filename":"file4"},{"photo_id":"1394755278","filename":"file1"},{"photo_id":"1394755277","filename":"file0"},{"photo_id":"1394755281","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755279":["hashtag1","hashtag2"]},{"1394755284":["hashtag1","hashtag2"]},{"1394755278":["hashtag1","hashtag2"]},{"1394755281":["hashtag1","hashtag2"]},{"1394755277":["hashtag1","hashtag2"]},{"1394755282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755279, 1394755284, 1394755278, 1394755281, 1394755277, 1394755282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99660015106201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:10:02.375258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/14/image_16112025_16_14_36_2818.jpg', '/home/pi/Desktop/images/16112025/16/15/image_16112025_16_15_13_2612.jpg', '/home/pi/Desktop/images/16112025/16/15/image_16112025_16_15_53_2695.jpg', '/home/pi/Desktop/images/16112025/16/15/image_16112025_16_15_55_2672.jpg', '/home/pi/Desktop/images/16112025/16/16/image_16112025_16_16_26_3600.jpg', '/home/pi/Desktop/images/16112025/16/17/image_16112025_16_17_04_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/14/image_16112025_16_14_36_2818.jpg
/home/pi/Desktop/images/16112025/16/15/image_16112025_16_15_13_2612.jpg
/home/pi/Desktop/images/16112025/16/15/image_16112025_16_15_53_2695.jpg
/home/pi/Desktop/images/16112025/16/15/image_16112025_16_15_55_2672.jpg
/home/pi/Desktop/images/16112025/16/16/image_16112025_16_16_26_3600.jpg
/home/pi/Desktop/images/16112025/16/17/image_16112025_16_17_04_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755290","1394755287","1394755292","1394755286","1394755285","1394755288"],"photo_ids_order":["1394755285","1394755286","1394755287","1394755288","1394755290","1394755292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87ecb22ecd75cc62965915964742b0e2.jpg","text":"TemporaryFile(/tmp/multipartBody1164351430845540083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309463066,"filename":"image_16112025_16_16_26_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/080ec7958b5d220306a801134cb0cdff.jpg","text":"TemporaryFile(/tmp/multipartBody4579414394977162602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309463066,"filename":"image_16112025_16_15_53_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e70c1a3a2eccd1140bbccb8012f8769c.jpg","text":"TemporaryFile(/tmp/multipartBody5744593743380973090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309463066,"filename":"image_16112025_16_17_04_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af4af9babfec9fa38c08b3a8d7312cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3919144333613045866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309463066,"filename":"image_16112025_16_15_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/11/16/06e6e89161a66292f7de7c9f9b0dd149.jpg","text":"TemporaryFile(/tmp/multipartBody784809529185527479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309463066,"filename":"image_16112025_16_14_36_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd09cda38a8dcc1d5b771de8ece2733c.jpg","text":"TemporaryFile(/tmp/multipartBody8918206334845732817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309463066,"filename":"image_16112025_16_15_55_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755287","file1":"1394755286","file0":"1394755285","file4":"1394755290","file5":"1394755292","file3":"1394755288"},"map_files_photo_id_array":[{"photo_id":"1394755292","filename":"file5"},{"photo_id":"1394755287","filename":"file2"},{"photo_id":"1394755290","filename":"file4"},{"photo_id":"1394755286","filename":"file1"},{"photo_id":"1394755285","filename":"file0"},{"photo_id":"1394755288","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755290":["hashtag1","hashtag2"]},{"1394755287":["hashtag1","hashtag2"]},{"1394755292":["hashtag1","hashtag2"]},{"1394755286":["hashtag1","hashtag2"]},{"1394755285":["hashtag1","hashtag2"]},{"1394755288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755290, 1394755287, 1394755292, 1394755286, 1394755285, 1394755288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57501482963562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:10:41.929756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/17/image_16112025_16_17_56_3013.jpg', '/home/pi/Desktop/images/16112025/16/18/image_16112025_16_18_46_2787.jpg', '/home/pi/Desktop/images/16112025/16/18/image_16112025_16_18_53_3748.jpg', '/home/pi/Desktop/images/16112025/16/19/image_16112025_16_19_04_2599.jpg', '/home/pi/Desktop/images/16112025/16/19/image_16112025_16_19_07_2554.jpg', '/home/pi/Desktop/images/16112025/16/19/image_16112025_16_19_58_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/17/image_16112025_16_17_56_3013.jpg
/home/pi/Desktop/images/16112025/16/18/image_16112025_16_18_46_2787.jpg
/home/pi/Desktop/images/16112025/16/18/image_16112025_16_18_53_3748.jpg
/home/pi/Desktop/images/16112025/16/19/image_16112025_16_19_04_2599.jpg
/home/pi/Desktop/images/16112025/16/19/image_16112025_16_19_07_2554.jpg
/home/pi/Desktop/images/16112025/16/19/image_16112025_16_19_58_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755300","1394755299","1394755295","1394755298","1394755301","1394755297"],"photo_ids_order":["1394755295","1394755297","1394755298","1394755299","1394755300","1394755301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca22458839aec5d775d0e1c419db94dc.jpg","text":"TemporaryFile(/tmp/multipartBody3289841257848206016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309502552,"filename":"image_16112025_16_19_07_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a983e04a0fe80674b7f58030d4d7cce1.jpg","text":"TemporaryFile(/tmp/multipartBody2369527936380534179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309502552,"filename":"image_16112025_16_19_04_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7de44803a50976399aa8467e1e1144ae.jpg","text":"TemporaryFile(/tmp/multipartBody5695303391616980674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309502552,"filename":"image_16112025_16_17_56_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe2e92b51225ae8ca93e2c652478a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody6986846690879734945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309502552,"filename":"image_16112025_16_18_53_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0972185a7f2d9a38eff970c063354c62.jpg","text":"TemporaryFile(/tmp/multipartBody4604609077134045145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309502552,"filename":"image_16112025_16_19_58_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c215f7f3a933250e7bdf5270bf71d7c.jpg","text":"TemporaryFile(/tmp/multipartBody6365533195638295114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309502552,"filename":"image_16112025_16_18_46_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755298","file1":"1394755297","file0":"1394755295","file4":"1394755300","file5":"1394755301","file3":"1394755299"},"map_files_photo_id_array":[{"photo_id":"1394755301","filename":"file5"},{"photo_id":"1394755298","filename":"file2"},{"photo_id":"1394755300","filename":"file4"},{"photo_id":"1394755297","filename":"file1"},{"photo_id":"1394755295","filename":"file0"},{"photo_id":"1394755299","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755300":["hashtag1","hashtag2"]},{"1394755299":["hashtag1","hashtag2"]},{"1394755295":["hashtag1","hashtag2"]},{"1394755298":["hashtag1","hashtag2"]},{"1394755301":["hashtag1","hashtag2"]},{"1394755297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755300, 1394755299, 1394755295, 1394755298, 1394755301, 1394755297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95984506607056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:11:22.178381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/20/image_16112025_16_20_17_3585.jpg', '/home/pi/Desktop/images/16112025/16/20/image_16112025_16_20_38_3728.jpg', '/home/pi/Desktop/images/16112025/16/20/image_16112025_16_20_44_2628.jpg', '/home/pi/Desktop/images/16112025/16/21/image_16112025_16_21_17_2640.jpg', '/home/pi/Desktop/images/16112025/16/21/image_16112025_16_21_29_3598.jpg', '/home/pi/Desktop/images/16112025/16/21/image_16112025_16_21_49_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/20/image_16112025_16_20_17_3585.jpg
/home/pi/Desktop/images/16112025/16/20/image_16112025_16_20_38_3728.jpg
/home/pi/Desktop/images/16112025/16/20/image_16112025_16_20_44_2628.jpg
/home/pi/Desktop/images/16112025/16/21/image_16112025_16_21_17_2640.jpg
/home/pi/Desktop/images/16112025/16/21/image_16112025_16_21_29_3598.jpg
/home/pi/Desktop/images/16112025/16/21/image_16112025_16_21_49_2547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755303","1394755315","1394755309","1394755311","1394755305","1394755310"],"photo_ids_order":["1394755303","1394755305","1394755309","1394755310","1394755311","1394755315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bea37f3fbd9a963683695dc77c97245.jpg","text":"TemporaryFile(/tmp/multipartBody407725134173606027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309542849,"filename":"image_16112025_16_20_17_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e269164a0dff4a428842829c9120bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2243684694323843090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309542849,"filename":"image_16112025_16_21_49_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5192ffcfdbf23f0e437c03eb17e19ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6246215138063647794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309542849,"filename":"image_16112025_16_20_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/11/16/24b4668ce7fce4e8d481b11e814f51ab.jpg","text":"TemporaryFile(/tmp/multipartBody8378908873554383720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309542849,"filename":"image_16112025_16_21_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/11/16/a5b9a937308ec9985f131ebfc3a2efd0.jpg","text":"TemporaryFile(/tmp/multipartBody2526153235064503583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309542849,"filename":"image_16112025_16_20_38_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3a66d0d2d4c22d2b85845b50d6deeee.jpg","text":"TemporaryFile(/tmp/multipartBody3893993784705809378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309542849,"filename":"image_16112025_16_21_17_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755309","file1":"1394755305","file0":"1394755303","file4":"1394755311","file5":"1394755315","file3":"1394755310"},"map_files_photo_id_array":[{"photo_id":"1394755315","filename":"file5"},{"photo_id":"1394755309","filename":"file2"},{"photo_id":"1394755311","filename":"file4"},{"photo_id":"1394755305","filename":"file1"},{"photo_id":"1394755303","filename":"file0"},{"photo_id":"1394755310","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755303":["hashtag1","hashtag2"]},{"1394755315":["hashtag1","hashtag2"]},{"1394755309":["hashtag1","hashtag2"]},{"1394755311":["hashtag1","hashtag2"]},{"1394755305":["hashtag1","hashtag2"]},{"1394755310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755303, 1394755315, 1394755309, 1394755311, 1394755305, 1394755310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65526723861694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:12:02.859156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/22/image_16112025_16_22_05_3509.jpg', '/home/pi/Desktop/images/16112025/16/22/image_16112025_16_22_40_2672.jpg', '/home/pi/Desktop/images/16112025/16/22/image_16112025_16_22_44_3053.jpg', '/home/pi/Desktop/images/16112025/16/22/image_16112025_16_22_59_3668.jpg', '/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_04_2616.jpg', '/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_41_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/22/image_16112025_16_22_05_3509.jpg
/home/pi/Desktop/images/16112025/16/22/image_16112025_16_22_40_2672.jpg
/home/pi/Desktop/images/16112025/16/22/image_16112025_16_22_44_3053.jpg
/home/pi/Desktop/images/16112025/16/22/image_16112025_16_22_59_3668.jpg
/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_04_2616.jpg
/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_41_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755321","1394755318","1394755320","1394755323","1394755326","1394755319"],"photo_ids_order":["1394755318","1394755319","1394755320","1394755321","1394755323","1394755326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae2551fd44def830cb5939eaf98920fe.jpg","text":"TemporaryFile(/tmp/multipartBody8852772262208636799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309583614,"filename":"image_16112025_16_22_59_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/522f1cece3ee4e4957d3f4d717e05a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3202008182917567341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309583614,"filename":"image_16112025_16_22_05_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3013eaec7e5c0e7b6b4dba30cdb34266.jpg","text":"TemporaryFile(/tmp/multipartBody2025261105197681285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309583614,"filename":"image_16112025_16_22_44_3053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec34ebc371f2f57640c7cd2517ac54ae.jpg","text":"TemporaryFile(/tmp/multipartBody6502172643891348486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309583614,"filename":"image_16112025_16_23_04_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50fdb678236bc161c8be2c1dfad30fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1380254017916724645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309583614,"filename":"image_16112025_16_23_41_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/428844c3efe194bc686ace52a0f4ce60.jpg","text":"TemporaryFile(/tmp/multipartBody3219405544831694713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309583614,"filename":"image_16112025_16_22_40_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755320","file1":"1394755319","file0":"1394755318","file4":"1394755323","file5":"1394755326","file3":"1394755321"},"map_files_photo_id_array":[{"photo_id":"1394755326","filename":"file5"},{"photo_id":"1394755320","filename":"file2"},{"photo_id":"1394755323","filename":"file4"},{"photo_id":"1394755319","filename":"file1"},{"photo_id":"1394755318","filename":"file0"},{"photo_id":"1394755321","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755321":["hashtag1","hashtag2"]},{"1394755318":["hashtag1","hashtag2"]},{"1394755320":["hashtag1","hashtag2"]},{"1394755323":["hashtag1","hashtag2"]},{"1394755326":["hashtag1","hashtag2"]},{"1394755319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755321, 1394755318, 1394755320, 1394755323, 1394755326, 1394755319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64671277999878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:12:42.332406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_47_3696.jpg', '/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_49_2621.jpg', '/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_56_2615.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_10_2652.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_25_2664.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_28_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_47_3696.jpg
/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_49_2621.jpg
/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_56_2615.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_10_2652.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_25_2664.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_28_2663.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.5788905620574951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:13:03.378322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_47_3696.jpg', '/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_49_2621.jpg', '/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_56_2615.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_10_2652.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_25_2664.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_28_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_47_3696.jpg
/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_49_2621.jpg
/home/pi/Desktop/images/16112025/16/23/image_16112025_16_23_56_2615.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_10_2652.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_25_2664.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_28_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755342","1394755339","1394755347","1394755344","1394755338","1394755340"],"photo_ids_order":["1394755338","1394755339","1394755340","1394755342","1394755344","1394755347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c33dbb80d313fdbdfd9fe8a0e2b0a5b8.jpg","text":"TemporaryFile(/tmp/multipartBody4184532282973540108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309644099,"filename":"image_16112025_16_24_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/11/16/fab8862a156d36d90eea42391c3d8f88.jpg","text":"TemporaryFile(/tmp/multipartBody6006112973187240242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309644099,"filename":"image_16112025_16_23_49_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a6178092411663b19847c1ee8961195.jpg","text":"TemporaryFile(/tmp/multipartBody6913782282313488202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309644099,"filename":"image_16112025_16_24_28_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1400c15b7c6b9cf0b44aea85e1ff151d.jpg","text":"TemporaryFile(/tmp/multipartBody8490624121197473837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309644099,"filename":"image_16112025_16_24_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/11/16/ab0dca9313cf65d97ddafa40c5155164.jpg","text":"TemporaryFile(/tmp/multipartBody1874113626645792709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309644099,"filename":"image_16112025_16_23_47_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dafd1528cfd5bfcffbbe97ba2319c34b.jpg","text":"TemporaryFile(/tmp/multipartBody6240082695800594045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309644099,"filename":"image_16112025_16_23_56_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755340","file1":"1394755339","file0":"1394755338","file4":"1394755344","file5":"1394755347","file3":"1394755342"},"map_files_photo_id_array":[{"photo_id":"1394755347","filename":"file5"},{"photo_id":"1394755340","filename":"file2"},{"photo_id":"1394755344","filename":"file4"},{"photo_id":"1394755339","filename":"file1"},{"photo_id":"1394755338","filename":"file0"},{"photo_id":"1394755342","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755342":["hashtag1","hashtag2"]},{"1394755339":["hashtag1","hashtag2"]},{"1394755347":["hashtag1","hashtag2"]},{"1394755344":["hashtag1","hashtag2"]},{"1394755338":["hashtag1","hashtag2"]},{"1394755340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755342, 1394755339, 1394755347, 1394755344, 1394755338, 1394755340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.007965326309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:13:42.625111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_32_3483.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_41_2596.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_47_3672.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_50_2641.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_52_2696.jpg', '/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_56_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_32_3483.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_41_2596.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_47_3672.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_50_2641.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_52_2696.jpg
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_56_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755351","1394755353","1394755356","1394755352","1394755355","1394755354"],"photo_ids_order":["1394755351","1394755352","1394755353","1394755354","1394755355","1394755356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/556d11fe14703d1256512939d60a993b.jpg","text":"TemporaryFile(/tmp/multipartBody4717703519511932187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309683261,"filename":"image_16112025_16_24_32_3483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/121b6f481ed19adfed9b9d916b8c8cd3.jpg","text":"TemporaryFile(/tmp/multipartBody537329275692709512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309683261,"filename":"image_16112025_16_24_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/11/16/1666014bc690d8f1931e9cc60f6bbad2.jpg","text":"TemporaryFile(/tmp/multipartBody8231086425481380157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309683261,"filename":"image_16112025_16_24_56_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/631b47fa8999c502b9453d12c467924d.jpg","text":"TemporaryFile(/tmp/multipartBody5889705138731098434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309683261,"filename":"image_16112025_16_24_41_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da8430fe766ff61bf3ed74ea52c166b4.jpg","text":"TemporaryFile(/tmp/multipartBody6957279803101336988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309683261,"filename":"image_16112025_16_24_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/11/16/c739a6c6aa4a1f37841f85c33a3afbe2.jpg","text":"TemporaryFile(/tmp/multipartBody3502726084086497848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309683261,"filename":"image_16112025_16_24_50_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755353","file1":"1394755352","file0":"1394755351","file4":"1394755355","file5":"1394755356","file3":"1394755354"},"map_files_photo_id_array":[{"photo_id":"1394755356","filename":"file5"},{"photo_id":"1394755353","filename":"file2"},{"photo_id":"1394755355","filename":"file4"},{"photo_id":"1394755352","filename":"file1"},{"photo_id":"1394755351","filename":"file0"},{"photo_id":"1394755354","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755351":["hashtag1","hashtag2"]},{"1394755353":["hashtag1","hashtag2"]},{"1394755356":["hashtag1","hashtag2"]},{"1394755352":["hashtag1","hashtag2"]},{"1394755355":["hashtag1","hashtag2"]},{"1394755354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755351, 1394755353, 1394755356, 1394755352, 1394755355, 1394755354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89836597442627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:14:21.888953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_59_2572.jpg', '/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_07_3011.jpg', '/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_14_2531.jpg', '/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_32_2614.jpg', '/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_35_3702.jpg', '/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_38_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/24/image_16112025_16_24_59_2572.jpg
/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_07_3011.jpg
/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_14_2531.jpg
/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_32_2614.jpg
/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_35_3702.jpg
/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_38_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755371","1394755365","1394755359","1394755362","1394755367","1394755369"],"photo_ids_order":["1394755359","1394755362","1394755365","1394755367","1394755369","1394755371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d800d2b9269dd8addf1162fa829f314a.jpg","text":"TemporaryFile(/tmp/multipartBody5310240585974908421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309722550,"filename":"image_16112025_16_26_38_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3815452df7c7d6cffc2d8dc7030175b1.jpg","text":"TemporaryFile(/tmp/multipartBody6394488208542835140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309722550,"filename":"image_16112025_16_26_14_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43d0a967a8093ff949ea93902a3b4934.jpg","text":"TemporaryFile(/tmp/multipartBody9129917105584727152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309722550,"filename":"image_16112025_16_24_59_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05f1cac6be57066d21272243f5358308.jpg","text":"TemporaryFile(/tmp/multipartBody218956996905184254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309722550,"filename":"image_16112025_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/11/16/7ab229017b58ce0db406fea224e02f9a.jpg","text":"TemporaryFile(/tmp/multipartBody6563857951683983402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309722550,"filename":"image_16112025_16_26_32_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a8081a8cf21240a33ab3203fc7b6bf5.jpg","text":"TemporaryFile(/tmp/multipartBody9064298079491534001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309722550,"filename":"image_16112025_16_26_35_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755365","file1":"1394755362","file0":"1394755359","file4":"1394755369","file5":"1394755371","file3":"1394755367"},"map_files_photo_id_array":[{"photo_id":"1394755371","filename":"file5"},{"photo_id":"1394755365","filename":"file2"},{"photo_id":"1394755369","filename":"file4"},{"photo_id":"1394755362","filename":"file1"},{"photo_id":"1394755359","filename":"file0"},{"photo_id":"1394755367","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755371":["hashtag1","hashtag2"]},{"1394755365":["hashtag1","hashtag2"]},{"1394755359":["hashtag1","hashtag2"]},{"1394755362":["hashtag1","hashtag2"]},{"1394755367":["hashtag1","hashtag2"]},{"1394755369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755371, 1394755365, 1394755359, 1394755362, 1394755367, 1394755369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.050926208496094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:15:02.746360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_53_3628.jpg', '/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_59_2654.jpg', '/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_02_2690.jpg', '/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_05_3708.jpg', '/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_08_2849.jpg', '/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_20_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_53_3628.jpg
/home/pi/Desktop/images/16112025/16/26/image_16112025_16_26_59_2654.jpg
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_02_2690.jpg
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_05_3708.jpg
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_08_2849.jpg
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_20_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755378","1394755374","1394755373","1394755376","1394755381","1394755375"],"photo_ids_order":["1394755373","1394755374","1394755375","1394755376","1394755378","1394755381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b52df83458d41a4a01ac0ddd5089a827.jpg","text":"TemporaryFile(/tmp/multipartBody3705682770422966194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309763492,"filename":"image_16112025_16_27_08_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/290467f0a082d2c53cb182d098840c88.jpg","text":"TemporaryFile(/tmp/multipartBody8774856746184329261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309763492,"filename":"image_16112025_16_26_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/11/16/e65e7999bb2b58913a92f2810bf9ebbf.jpg","text":"TemporaryFile(/tmp/multipartBody1803471887013704766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309763492,"filename":"image_16112025_16_26_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/11/16/fc275bb9394c334b2acccab37fcdfae0.jpg","text":"TemporaryFile(/tmp/multipartBody7400296382031503020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309763492,"filename":"image_16112025_16_27_05_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c10430686addb611a4fcc9c7b8de2d99.jpg","text":"TemporaryFile(/tmp/multipartBody491264790492834443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309763492,"filename":"image_16112025_16_27_20_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45642b0f39498afbdd380e4707bdb417.jpg","text":"TemporaryFile(/tmp/multipartBody514734303731067318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309763492,"filename":"image_16112025_16_27_02_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755375","file1":"1394755374","file0":"1394755373","file4":"1394755378","file5":"1394755381","file3":"1394755376"},"map_files_photo_id_array":[{"photo_id":"1394755381","filename":"file5"},{"photo_id":"1394755375","filename":"file2"},{"photo_id":"1394755378","filename":"file4"},{"photo_id":"1394755374","filename":"file1"},{"photo_id":"1394755373","filename":"file0"},{"photo_id":"1394755376","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755378":["hashtag1","hashtag2"]},{"1394755374":["hashtag1","hashtag2"]},{"1394755373":["hashtag1","hashtag2"]},{"1394755376":["hashtag1","hashtag2"]},{"1394755381":["hashtag1","hashtag2"]},{"1394755375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755378, 1394755374, 1394755373, 1394755376, 1394755381, 1394755375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.601314306259155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:15:42.163099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_23_2843.jpg', '/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_29_2591.jpg', '/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_38_2644.jpg', '/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_43_2659.jpg', '/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_56_3667.jpg', '/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_14_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_23_2843.jpg
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_29_2591.jpg
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_38_2644.jpg
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_43_2659.jpg
/home/pi/Desktop/images/16112025/16/27/image_16112025_16_27_56_3667.jpg
/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_14_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755392","1394755391","1394755388","1394755385","1394755390","1394755387"],"photo_ids_order":["1394755385","1394755387","1394755388","1394755390","1394755391","1394755392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1975a51ae4a7afa0efff915145758ebb.jpg","text":"TemporaryFile(/tmp/multipartBody8752309349871841118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309802794,"filename":"image_16112025_16_28_14_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91368fc4f0d61f4f5787ac28383f56a5.jpg","text":"TemporaryFile(/tmp/multipartBody6276095702803005406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309802794,"filename":"image_16112025_16_27_56_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1a35e7766ba3ec548e978d6934b85b9.jpg","text":"TemporaryFile(/tmp/multipartBody4599851930269273318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309802794,"filename":"image_16112025_16_27_38_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec86a8e64eb9c46022ee1aac72abaaa2.jpg","text":"TemporaryFile(/tmp/multipartBody7736975210341696651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309802794,"filename":"image_16112025_16_27_23_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/212c8220e715bb75b2c8b50d81926b84.jpg","text":"TemporaryFile(/tmp/multipartBody6666735163911237024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309802794,"filename":"image_16112025_16_27_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/11/16/5ecf31ede4c3f089d3b37513eb9b27e7.jpg","text":"TemporaryFile(/tmp/multipartBody2115487181673516835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309802794,"filename":"image_16112025_16_27_29_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755388","file1":"1394755387","file0":"1394755385","file4":"1394755391","file5":"1394755392","file3":"1394755390"},"map_files_photo_id_array":[{"photo_id":"1394755392","filename":"file5"},{"photo_id":"1394755388","filename":"file2"},{"photo_id":"1394755391","filename":"file4"},{"photo_id":"1394755387","filename":"file1"},{"photo_id":"1394755385","filename":"file0"},{"photo_id":"1394755390","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755392":["hashtag1","hashtag2"]},{"1394755391":["hashtag1","hashtag2"]},{"1394755388":["hashtag1","hashtag2"]},{"1394755385":["hashtag1","hashtag2"]},{"1394755390":["hashtag1","hashtag2"]},{"1394755387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755392, 1394755391, 1394755388, 1394755385, 1394755390, 1394755387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82117772102356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:16:22.471250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_17_2583.jpg', '/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_32_3526.jpg', '/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_41_3577.jpg', '/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_43_2666.jpg', '/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_05_2661.jpg', '/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_08_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_17_2583.jpg
/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_32_3526.jpg
/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_41_3577.jpg
/home/pi/Desktop/images/16112025/16/28/image_16112025_16_28_43_2666.jpg
/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_05_2661.jpg
/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_08_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755395","1394755398","1394755401","1394755394","1394755399","1394755396"],"photo_ids_order":["1394755394","1394755395","1394755396","1394755398","1394755399","1394755401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ca4246c2e9c9f1ec7e3baac5042eede.jpg","text":"TemporaryFile(/tmp/multipartBody976868263072190115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309843134,"filename":"image_16112025_16_28_32_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26ab3702195d772ff798a9857fcaa793.jpg","text":"TemporaryFile(/tmp/multipartBody178208884540131769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309843134,"filename":"image_16112025_16_28_43_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c5dd8351f09618c15f9887843e64c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2759616515483272558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309843134,"filename":"image_16112025_16_29_08_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b49c0a534da65a538874603e14f77cd4.jpg","text":"TemporaryFile(/tmp/multipartBody3277998900848257233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309843134,"filename":"image_16112025_16_28_17_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd4582df1baa96c26690aafd75bd098d.jpg","text":"TemporaryFile(/tmp/multipartBody9125396193533657378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309843134,"filename":"image_16112025_16_29_05_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec7e992a5b18e6018cdfa863295333d4.jpg","text":"TemporaryFile(/tmp/multipartBody5748522626596923396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309843134,"filename":"image_16112025_16_28_41_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755396","file1":"1394755395","file0":"1394755394","file4":"1394755399","file5":"1394755401","file3":"1394755398"},"map_files_photo_id_array":[{"photo_id":"1394755401","filename":"file5"},{"photo_id":"1394755396","filename":"file2"},{"photo_id":"1394755399","filename":"file4"},{"photo_id":"1394755395","filename":"file1"},{"photo_id":"1394755394","filename":"file0"},{"photo_id":"1394755398","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755395":["hashtag1","hashtag2"]},{"1394755398":["hashtag1","hashtag2"]},{"1394755401":["hashtag1","hashtag2"]},{"1394755394":["hashtag1","hashtag2"]},{"1394755399":["hashtag1","hashtag2"]},{"1394755396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755395, 1394755398, 1394755401, 1394755394, 1394755399, 1394755396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.705466985702515 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-11-16 17:17:22.959095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_20_2777.jpg', '/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_31_2514.jpg', '/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_46_2651.jpg', '/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_50_3700.jpg', '/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_53_2611.jpg', '/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_59_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_20_2777.jpg
/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_31_2514.jpg
/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_46_2651.jpg
/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_50_3700.jpg
/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_53_2611.jpg
/home/pi/Desktop/images/16112025/16/29/image_16112025_16_29_59_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755405","1394755408","1394755413","1394755410","1394755407","1394755409"],"photo_ids_order":["1394755405","1394755407","1394755408","1394755409","1394755410","1394755413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/486151f24cf7d414facbb680ed13adfe.jpg","text":"TemporaryFile(/tmp/multipartBody3098516714724392779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309903629,"filename":"image_16112025_16_29_20_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c0a3c788a63d98f4079758b78a8b878.jpg","text":"TemporaryFile(/tmp/multipartBody8384329888006446265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309903629,"filename":"image_16112025_16_29_46_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c4d6268a42c48ef321ca5cfeee76743.jpg","text":"TemporaryFile(/tmp/multipartBody3330049255479302173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309903629,"filename":"image_16112025_16_29_59_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/906f4050100ddf79153e76295d367a1e.jpg","text":"TemporaryFile(/tmp/multipartBody1251093625893714848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309903629,"filename":"image_16112025_16_29_53_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dd8e29f34e0058e376062acbb4ad36c.jpg","text":"TemporaryFile(/tmp/multipartBody6985130410478780427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309903629,"filename":"image_16112025_16_29_31_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46a93ffb528640b0c01e0620e092785b.jpg","text":"TemporaryFile(/tmp/multipartBody5614565772708628203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309903629,"filename":"image_16112025_16_29_50_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755408","file1":"1394755407","file0":"1394755405","file4":"1394755410","file5":"1394755413","file3":"1394755409"},"map_files_photo_id_array":[{"photo_id":"1394755413","filename":"file5"},{"photo_id":"1394755408","filename":"file2"},{"photo_id":"1394755410","filename":"file4"},{"photo_id":"1394755407","filename":"file1"},{"photo_id":"1394755405","filename":"file0"},{"photo_id":"1394755409","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755405":["hashtag1","hashtag2"]},{"1394755408":["hashtag1","hashtag2"]},{"1394755413":["hashtag1","hashtag2"]},{"1394755410":["hashtag1","hashtag2"]},{"1394755407":["hashtag1","hashtag2"]},{"1394755409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755405, 1394755408, 1394755413, 1394755410, 1394755407, 1394755409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71942210197449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:18:02.582813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_14_2580.jpg', '/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_20_2700.jpg', '/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_29_2676.jpg', '/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_38_2577.jpg', '/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_44_2556.jpg', '/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_56_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_14_2580.jpg
/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_20_2700.jpg
/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_29_2676.jpg
/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_38_2577.jpg
/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_44_2556.jpg
/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_56_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755420","1394755423","1394755417","1394755416","1394755418","1394755415"],"photo_ids_order":["1394755415","1394755416","1394755417","1394755418","1394755420","1394755423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99fd1797e5a96012fef3c0e80ed9b46d.jpg","text":"TemporaryFile(/tmp/multipartBody584977583957610421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309943527,"filename":"image_16112025_16_30_44_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8b172927e6316662be632a4b966e3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3327048620140283657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309943527,"filename":"image_16112025_16_30_56_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e8b03e36fa4cf36f7afe060562ba729.jpg","text":"TemporaryFile(/tmp/multipartBody7838643141904389108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309943527,"filename":"image_16112025_16_30_29_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5a8c42a07b0129d9cfaf70406ce1a35.jpg","text":"TemporaryFile(/tmp/multipartBody5662106697366044836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309943527,"filename":"image_16112025_16_30_20_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efc1d9cc56e8cc1a5c9e3818410f8d71.jpg","text":"TemporaryFile(/tmp/multipartBody8146307934737840550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309943527,"filename":"image_16112025_16_30_38_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b021f4d1e1d852a7da58da46c2d7366a.jpg","text":"TemporaryFile(/tmp/multipartBody3648702364153246907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309943527,"filename":"image_16112025_16_30_14_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755417","file1":"1394755416","file0":"1394755415","file4":"1394755420","file5":"1394755423","file3":"1394755418"},"map_files_photo_id_array":[{"photo_id":"1394755423","filename":"file5"},{"photo_id":"1394755417","filename":"file2"},{"photo_id":"1394755420","filename":"file4"},{"photo_id":"1394755416","filename":"file1"},{"photo_id":"1394755415","filename":"file0"},{"photo_id":"1394755418","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755420":["hashtag1","hashtag2"]},{"1394755423":["hashtag1","hashtag2"]},{"1394755417":["hashtag1","hashtag2"]},{"1394755416":["hashtag1","hashtag2"]},{"1394755418":["hashtag1","hashtag2"]},{"1394755415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755420, 1394755423, 1394755417, 1394755416, 1394755418, 1394755415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60271978378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:18:42.138771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_59_2721.jpg', '/home/pi/Desktop/images/16112025/16/31/image_16112025_16_31_02_2755.jpg', '/home/pi/Desktop/images/16112025/16/31/image_16112025_16_31_17_2684.jpg', '/home/pi/Desktop/images/16112025/16/31/image_16112025_16_31_19_2631.jpg', '/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_17_2678.jpg', '/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_19_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/30/image_16112025_16_30_59_2721.jpg
/home/pi/Desktop/images/16112025/16/31/image_16112025_16_31_02_2755.jpg
/home/pi/Desktop/images/16112025/16/31/image_16112025_16_31_17_2684.jpg
/home/pi/Desktop/images/16112025/16/31/image_16112025_16_31_19_2631.jpg
/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_17_2678.jpg
/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_19_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755435","1394755434","1394755436","1394755430","1394755433","1394755427"],"photo_ids_order":["1394755427","1394755430","1394755433","1394755434","1394755435","1394755436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74d31a1ce67b4721ea76c949e5589fe2.jpg","text":"TemporaryFile(/tmp/multipartBody1370773128458965752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309982971,"filename":"image_16112025_16_32_17_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/364a1ce8634dff456d436f5a98f8fdf7.jpg","text":"TemporaryFile(/tmp/multipartBody195945689578788124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309982971,"filename":"image_16112025_16_31_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/11/16/0a92beb63286a8e353cafdd559daba12.jpg","text":"TemporaryFile(/tmp/multipartBody7800214647874135822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309982971,"filename":"image_16112025_16_32_19_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11730c39288f153fd043f41180468518.jpg","text":"TemporaryFile(/tmp/multipartBody720639377451406574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309982971,"filename":"image_16112025_16_31_02_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e11ae430f36503769983acabc2d5bd27.jpg","text":"TemporaryFile(/tmp/multipartBody1180973655287943120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309982971,"filename":"image_16112025_16_31_17_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b38fe642f5c4e662cc04dc8d00a82791.jpg","text":"TemporaryFile(/tmp/multipartBody6103893696628562686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763309982971,"filename":"image_16112025_16_30_59_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755433","file1":"1394755430","file0":"1394755427","file4":"1394755435","file5":"1394755436","file3":"1394755434"},"map_files_photo_id_array":[{"photo_id":"1394755436","filename":"file5"},{"photo_id":"1394755433","filename":"file2"},{"photo_id":"1394755435","filename":"file4"},{"photo_id":"1394755430","filename":"file1"},{"photo_id":"1394755427","filename":"file0"},{"photo_id":"1394755434","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755435":["hashtag1","hashtag2"]},{"1394755434":["hashtag1","hashtag2"]},{"1394755436":["hashtag1","hashtag2"]},{"1394755430":["hashtag1","hashtag2"]},{"1394755433":["hashtag1","hashtag2"]},{"1394755427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755435, 1394755434, 1394755436, 1394755430, 1394755433, 1394755427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69815802574158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:19:22.357899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_38_3630.jpg', '/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_47_3534.jpg', '/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_52_2627.jpg', '/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_56_3607.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_14_2684.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_17_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_38_3630.jpg
/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_47_3534.jpg
/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_52_2627.jpg
/home/pi/Desktop/images/16112025/16/32/image_16112025_16_32_56_3607.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_14_2684.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_17_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":["1394755450","1394755444","1394755452","1394755451","1394755448","1394755453"],"photo_ids_order":["1394755444","1394755448","1394755450","1394755451","1394755452","1394755453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68ba3aa0742b296f52729526fdfd95d7.jpg","text":"TemporaryFile(/tmp/multipartBody6749664806648108296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310028608,"filename":"image_16112025_16_32_52_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b85852621b992051b2a3d8f34a5f3590.jpg","text":"TemporaryFile(/tmp/multipartBody962977686328243322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310028608,"filename":"image_16112025_16_32_38_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0eb66366f1b2126866ffb6f5047316eb.jpg","text":"TemporaryFile(/tmp/multipartBody3253745327320977116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310028608,"filename":"image_16112025_16_33_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/11/16/e703d8bf8193d94f916aafe4afe61d0f.jpg","text":"TemporaryFile(/tmp/multipartBody1791593473213988347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310028608,"filename":"image_16112025_16_32_56_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/317dbfa8c76c17b76c99b6ba7add8dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7964951000199449646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310028608,"filename":"image_16112025_16_32_47_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f44fedc2e0a052cbc53ebdf2afaeeda.jpg","text":"TemporaryFile(/tmp/multipartBody7465313010871343047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310028608,"filename":"image_16112025_16_33_17_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755450","file1":"1394755448","file0":"1394755444","file4":"1394755452","file5":"1394755453","file3":"1394755451"},"map_files_photo_id_array":[{"photo_id":"1394755453","filename":"file5"},{"photo_id":"1394755450","filename":"file2"},{"photo_id":"1394755452","filename":"file4"},{"photo_id":"1394755448","filename":"file1"},{"photo_id":"1394755444","filename":"file0"},{"photo_id":"1394755451","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755450":["hashtag1","hashtag2"]},{"1394755444":["hashtag1","hashtag2"]},{"1394755452":["hashtag1","hashtag2"]},{"1394755451":["hashtag1","hashtag2"]},{"1394755448":["hashtag1","hashtag2"]},{"1394755453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755450, 1394755444, 1394755452, 1394755451, 1394755448, 1394755453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12139701843262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:20:22.692623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_22_2625.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_25_2817.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_29_3648.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_34_2647.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_41_2661.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_43_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_22_2625.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_25_2817.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_29_3648.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_34_2647.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_41_2661.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_43_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755458","1394755467","1394755461","1394755469","1394755463","1394755465"],"photo_ids_order":["1394755458","1394755461","1394755463","1394755465","1394755467","1394755469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05ce6e38a834f0b34b102bc15e5892bd.jpg","text":"TemporaryFile(/tmp/multipartBody3253427760167978181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310083392,"filename":"image_16112025_16_33_22_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71beccf9d8028be5900c28e25086857e.jpg","text":"TemporaryFile(/tmp/multipartBody1062460512322067808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310083392,"filename":"image_16112025_16_33_41_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0006d559e7ecdda27e41c8c3ce2798f.jpg","text":"TemporaryFile(/tmp/multipartBody2134694068490992160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310083392,"filename":"image_16112025_16_33_25_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a5c0ca8c24ecedd41dee0bb8c3b8625.jpg","text":"TemporaryFile(/tmp/multipartBody2681368791051576564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310083392,"filename":"image_16112025_16_33_43_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f095d795c3fe8608ca92a800c84de2c8.jpg","text":"TemporaryFile(/tmp/multipartBody2531012167687669831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310083392,"filename":"image_16112025_16_33_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/11/16/f6cc0a0386360197d5020467395bca13.jpg","text":"TemporaryFile(/tmp/multipartBody1274161208548181588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310083392,"filename":"image_16112025_16_33_34_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755463","file1":"1394755461","file0":"1394755458","file4":"1394755467","file5":"1394755469","file3":"1394755465"},"map_files_photo_id_array":[{"photo_id":"1394755469","filename":"file5"},{"photo_id":"1394755463","filename":"file2"},{"photo_id":"1394755467","filename":"file4"},{"photo_id":"1394755461","filename":"file1"},{"photo_id":"1394755458","filename":"file0"},{"photo_id":"1394755465","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755458":["hashtag1","hashtag2"]},{"1394755467":["hashtag1","hashtag2"]},{"1394755461":["hashtag1","hashtag2"]},{"1394755469":["hashtag1","hashtag2"]},{"1394755463":["hashtag1","hashtag2"]},{"1394755465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755458, 1394755467, 1394755461, 1394755469, 1394755463, 1394755465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97326397895813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:21:03.522429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_47_3685.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_49_2605.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_56_3776.jpg', '/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_59_2740.jpg', '/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_19_2590.jpg', '/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_31_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_47_3685.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_49_2605.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_56_3776.jpg
/home/pi/Desktop/images/16112025/16/33/image_16112025_16_33_59_2740.jpg
/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_19_2590.jpg
/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_31_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755476","1394755473","1394755478","1394755471","1394755480","1394755474"],"photo_ids_order":["1394755471","1394755473","1394755474","1394755476","1394755478","1394755480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb28c30f5c400a28ef4f916b7f4ef73a.jpg","text":"TemporaryFile(/tmp/multipartBody7152621912290223382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310124262,"filename":"image_16112025_16_33_59_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1efb8066562f31b427830c3e57d07052.jpg","text":"TemporaryFile(/tmp/multipartBody817838652170453401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310124262,"filename":"image_16112025_16_33_49_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46daf6f48d4ce9b93dc7745d4bc1237b.jpg","text":"TemporaryFile(/tmp/multipartBody8896680581994896037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310124262,"filename":"image_16112025_16_34_19_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a02b1bf4fafbfd511a786f8a67c8848.jpg","text":"TemporaryFile(/tmp/multipartBody2000005237647362502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310124262,"filename":"image_16112025_16_33_47_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de2e968132b9aab7884e9b6d50cb6914.jpg","text":"TemporaryFile(/tmp/multipartBody140581519351073468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310124262,"filename":"image_16112025_16_34_31_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6dbe7adb06cb3f04608c1f7b47f92c4.jpg","text":"TemporaryFile(/tmp/multipartBody3474607675242646890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310124262,"filename":"image_16112025_16_33_56_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755474","file1":"1394755473","file0":"1394755471","file4":"1394755478","file5":"1394755480","file3":"1394755476"},"map_files_photo_id_array":[{"photo_id":"1394755480","filename":"file5"},{"photo_id":"1394755474","filename":"file2"},{"photo_id":"1394755478","filename":"file4"},{"photo_id":"1394755473","filename":"file1"},{"photo_id":"1394755471","filename":"file0"},{"photo_id":"1394755476","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755476":["hashtag1","hashtag2"]},{"1394755473":["hashtag1","hashtag2"]},{"1394755478":["hashtag1","hashtag2"]},{"1394755471":["hashtag1","hashtag2"]},{"1394755480":["hashtag1","hashtag2"]},{"1394755474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755476, 1394755473, 1394755478, 1394755471, 1394755480, 1394755474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89893579483032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:21:42.767629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_35_3605.jpg', '/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_41_3627.jpg', '/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_47_3499.jpg', '/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_58_2636.jpg', '/home/pi/Desktop/images/16112025/16/35/image_16112025_16_35_11_3611.jpg', '/home/pi/Desktop/images/16112025/16/35/image_16112025_16_35_16_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_35_3605.jpg
/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_41_3627.jpg
/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_47_3499.jpg
/home/pi/Desktop/images/16112025/16/34/image_16112025_16_34_58_2636.jpg
/home/pi/Desktop/images/16112025/16/35/image_16112025_16_35_11_3611.jpg
/home/pi/Desktop/images/16112025/16/35/image_16112025_16_35_16_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755488","1394755497","1394755491","1394755500","1394755496","1394755489"],"photo_ids_order":["1394755488","1394755489","1394755491","1394755496","1394755497","1394755500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/819ef8e931cf19d2d3ba71b08e8299a1.jpg","text":"TemporaryFile(/tmp/multipartBody6819556809754586044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310163468,"filename":"image_16112025_16_34_35_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8972ee85cba59b41bf668b808eb6c10b.jpg","text":"TemporaryFile(/tmp/multipartBody2844424008293123525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310163468,"filename":"image_16112025_16_35_11_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e0fc83f346168043eb44eb13536493d.jpg","text":"TemporaryFile(/tmp/multipartBody3996228239810543441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310163468,"filename":"image_16112025_16_34_47_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd461f077ac99e5564f795306dce93d0.jpg","text":"TemporaryFile(/tmp/multipartBody134928412321686507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310163468,"filename":"image_16112025_16_35_16_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9576b17d2ff660baf117f7cf33f25eb1.jpg","text":"TemporaryFile(/tmp/multipartBody6251322481321230135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310163468,"filename":"image_16112025_16_34_58_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b0d615caed472b948ea21636d02e63e.jpg","text":"TemporaryFile(/tmp/multipartBody4487162591568110677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310163468,"filename":"image_16112025_16_34_41_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755491","file1":"1394755489","file0":"1394755488","file4":"1394755497","file5":"1394755500","file3":"1394755496"},"map_files_photo_id_array":[{"photo_id":"1394755500","filename":"file5"},{"photo_id":"1394755491","filename":"file2"},{"photo_id":"1394755497","filename":"file4"},{"photo_id":"1394755489","filename":"file1"},{"photo_id":"1394755488","filename":"file0"},{"photo_id":"1394755496","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755488":["hashtag1","hashtag2"]},{"1394755497":["hashtag1","hashtag2"]},{"1394755491":["hashtag1","hashtag2"]},{"1394755500":["hashtag1","hashtag2"]},{"1394755496":["hashtag1","hashtag2"]},{"1394755489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755488, 1394755497, 1394755491, 1394755500, 1394755496, 1394755489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2371621131897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:22:22.026198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/35/image_16112025_16_35_38_3735.jpg', '/home/pi/Desktop/images/16112025/16/35/image_16112025_16_35_47_3634.jpg', '/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_35_2741.jpg', '/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_37_2580.jpg', '/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_41_3786.jpg', '/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_44_2886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/35/image_16112025_16_35_38_3735.jpg
/home/pi/Desktop/images/16112025/16/35/image_16112025_16_35_47_3634.jpg
/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_35_2741.jpg
/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_37_2580.jpg
/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_41_3786.jpg
/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_44_2886.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755513","1394755533","1394755515","1394755509","1394755544","1394755511"],"photo_ids_order":["1394755509","1394755511","1394755513","1394755515","1394755533","1394755544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c942c76f3e832716ebb026aa426b50bd.jpg","text":"TemporaryFile(/tmp/multipartBody3073559987329892875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310202734,"filename":"image_16112025_16_36_35_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58a4a4047751a998e6f0642e110e4732.jpg","text":"TemporaryFile(/tmp/multipartBody87592066917987516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310202734,"filename":"image_16112025_16_36_41_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/017fccfc318d2da3429361962376fe1b.jpg","text":"TemporaryFile(/tmp/multipartBody3029917827554490088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310202734,"filename":"image_16112025_16_36_37_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b20ba86923972cf3d666d5146e68583.jpg","text":"TemporaryFile(/tmp/multipartBody4488778627517766812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310202734,"filename":"image_16112025_16_35_38_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb26cd4ed806e9a0d157574950aadf94.jpg","text":"TemporaryFile(/tmp/multipartBody8364058479010540589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310202734,"filename":"image_16112025_16_36_44_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b21c4e8aa29e49334c6f235954453e8c.jpg","text":"TemporaryFile(/tmp/multipartBody5649515223412368688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310202734,"filename":"image_16112025_16_35_47_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755513","file1":"1394755511","file0":"1394755509","file4":"1394755533","file5":"1394755544","file3":"1394755515"},"map_files_photo_id_array":[{"photo_id":"1394755544","filename":"file5"},{"photo_id":"1394755513","filename":"file2"},{"photo_id":"1394755533","filename":"file4"},{"photo_id":"1394755511","filename":"file1"},{"photo_id":"1394755509","filename":"file0"},{"photo_id":"1394755515","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755513":["hashtag1","hashtag2"]},{"1394755533":["hashtag1","hashtag2"]},{"1394755515":["hashtag1","hashtag2"]},{"1394755509":["hashtag1","hashtag2"]},{"1394755544":["hashtag1","hashtag2"]},{"1394755511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755513, 1394755533, 1394755515, 1394755509, 1394755544, 1394755511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.296600103378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:23:03.035009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_59_3549.jpg', '/home/pi/Desktop/images/16112025/16/37/image_16112025_16_37_27_3193.jpg', '/home/pi/Desktop/images/16112025/16/37/image_16112025_16_37_50_1870.jpg', '/home/pi/Desktop/images/16112025/16/38/image_16112025_16_38_13_1652.jpg', '/home/pi/Desktop/images/16112025/16/38/image_16112025_16_38_31_9691.jpg', '/home/pi/Desktop/images/16112025/16/38/image_16112025_16_38_37_5788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/36/image_16112025_16_36_59_3549.jpg
/home/pi/Desktop/images/16112025/16/37/image_16112025_16_37_27_3193.jpg
/home/pi/Desktop/images/16112025/16/37/image_16112025_16_37_50_1870.jpg
/home/pi/Desktop/images/16112025/16/38/image_16112025_16_38_13_1652.jpg
/home/pi/Desktop/images/16112025/16/38/image_16112025_16_38_31_9691.jpg
/home/pi/Desktop/images/16112025/16/38/image_16112025_16_38_37_5788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755561","1394755555","1394755557","1394755554","1394755556","1394755559"],"photo_ids_order":["1394755554","1394755555","1394755556","1394755557","1394755559","1394755561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90a4814a356a5a679226cb171806fb68.jpg","text":"TemporaryFile(/tmp/multipartBody7409759593595245900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310243746,"filename":"image_16112025_16_38_37_5788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed490ab485f5c8ec16253420185079a7.jpg","text":"TemporaryFile(/tmp/multipartBody663143899816329926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310243746,"filename":"image_16112025_16_37_27_3193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7783a9669fc55d54174c762114b494f7.jpg","text":"TemporaryFile(/tmp/multipartBody7234174600193988515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310243746,"filename":"image_16112025_16_38_13_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2c683b56d8b092510bd28a801c8c92e.jpg","text":"TemporaryFile(/tmp/multipartBody4653412859957717610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310243746,"filename":"image_16112025_16_36_59_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/122bda1e30567dce158be8c2501f458b.jpg","text":"TemporaryFile(/tmp/multipartBody1386915554803976779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310243746,"filename":"image_16112025_16_37_50_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f43f90dbbeaa39d923b7216e6a1316a.jpg","text":"TemporaryFile(/tmp/multipartBody1326696529845925050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310243746,"filename":"image_16112025_16_38_31_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755556","file1":"1394755555","file0":"1394755554","file4":"1394755559","file5":"1394755561","file3":"1394755557"},"map_files_photo_id_array":[{"photo_id":"1394755561","filename":"file5"},{"photo_id":"1394755556","filename":"file2"},{"photo_id":"1394755559","filename":"file4"},{"photo_id":"1394755555","filename":"file1"},{"photo_id":"1394755554","filename":"file0"},{"photo_id":"1394755557","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755561":["hashtag1","hashtag2"]},{"1394755555":["hashtag1","hashtag2"]},{"1394755557":["hashtag1","hashtag2"]},{"1394755554":["hashtag1","hashtag2"]},{"1394755556":["hashtag1","hashtag2"]},{"1394755559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755561, 1394755555, 1394755557, 1394755554, 1394755556, 1394755559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.259634256362915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:23:42.215288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/39/image_16112025_16_39_01_2689.jpg', '/home/pi/Desktop/images/16112025/16/39/image_16112025_16_39_20_1617.jpg', '/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_07_3010.jpg', '/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_10_2981.jpg', '/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_19_2723.jpg', '/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_52_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/39/image_16112025_16_39_01_2689.jpg
/home/pi/Desktop/images/16112025/16/39/image_16112025_16_39_20_1617.jpg
/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_07_3010.jpg
/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_10_2981.jpg
/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_19_2723.jpg
/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_52_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755569","1394755566","1394755568","1394755570","1394755564","1394755567"],"photo_ids_order":["1394755564","1394755566","1394755567","1394755568","1394755569","1394755570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e812093f3fecf60b729277c4c08f3ce.jpg","text":"TemporaryFile(/tmp/multipartBody2139667462062572188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310282837,"filename":"image_16112025_16_41_19_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aeb4825c1d4c7ea2bee652f168c539a8.jpg","text":"TemporaryFile(/tmp/multipartBody5917620480929665135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310282837,"filename":"image_16112025_16_39_20_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e80eb45f6de7ad29689676d5fb1e9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7214645374114951172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310282837,"filename":"image_16112025_16_41_10_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e95e388ca31746569e17994afdd6c91.jpg","text":"TemporaryFile(/tmp/multipartBody5878658268627456523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310282837,"filename":"image_16112025_16_41_52_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d6e69f86ca5a81131aea7842ae43f21.jpg","text":"TemporaryFile(/tmp/multipartBody7778838277240401236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310282837,"filename":"image_16112025_16_39_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/11/16/a9dd5d3351983a6f21bf421d9620ec87.jpg","text":"TemporaryFile(/tmp/multipartBody1607543954082859322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310282837,"filename":"image_16112025_16_41_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755567","file1":"1394755566","file0":"1394755564","file4":"1394755569","file5":"1394755570","file3":"1394755568"},"map_files_photo_id_array":[{"photo_id":"1394755570","filename":"file5"},{"photo_id":"1394755567","filename":"file2"},{"photo_id":"1394755569","filename":"file4"},{"photo_id":"1394755566","filename":"file1"},{"photo_id":"1394755564","filename":"file0"},{"photo_id":"1394755568","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755569":["hashtag1","hashtag2"]},{"1394755566":["hashtag1","hashtag2"]},{"1394755568":["hashtag1","hashtag2"]},{"1394755570":["hashtag1","hashtag2"]},{"1394755564":["hashtag1","hashtag2"]},{"1394755567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755569, 1394755566, 1394755568, 1394755570, 1394755564, 1394755567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34849238395691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:24:22.421505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_58_2499.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_10_5849.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_15_1550.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_16_1623.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_19_2640.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_22_2500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_58_2499.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_10_5849.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_15_1550.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_16_1623.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_19_2640.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_22_2500.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.6857118606567383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:24:42.541851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_58_2499.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_10_5849.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_15_1550.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_16_1623.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_19_2640.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_22_2500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/41/image_16112025_16_41_58_2499.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_10_5849.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_15_1550.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_16_1623.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_19_2640.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_22_2500.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755593","1394755590","1394755592","1394755595","1394755591","1394755588"],"photo_ids_order":["1394755588","1394755590","1394755591","1394755592","1394755593","1394755595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf463929c9b72278822df39c9775c757.jpg","text":"TemporaryFile(/tmp/multipartBody8905235274451374351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310343197,"filename":"image_16112025_16_42_19_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c922c458bd14864de6fe98475f0732b.jpg","text":"TemporaryFile(/tmp/multipartBody7665087570626348509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310343197,"filename":"image_16112025_16_42_10_5849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7248c904594fa335204bc9cdc7a29f9b.jpg","text":"TemporaryFile(/tmp/multipartBody8201409814418379158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310343197,"filename":"image_16112025_16_42_16_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c24d53354d6e194fb6ad46ea4eb7c47.jpg","text":"TemporaryFile(/tmp/multipartBody2913421057875622495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310343197,"filename":"image_16112025_16_42_22_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8388dc1a7b796f6f8bb977626bb2086.jpg","text":"TemporaryFile(/tmp/multipartBody7042921128060292104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310343197,"filename":"image_16112025_16_42_15_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17e1ca3313a763ac387264fb02300789.jpg","text":"TemporaryFile(/tmp/multipartBody5447274706922974725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310343197,"filename":"image_16112025_16_41_58_2499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755591","file1":"1394755590","file0":"1394755588","file4":"1394755593","file5":"1394755595","file3":"1394755592"},"map_files_photo_id_array":[{"photo_id":"1394755595","filename":"file5"},{"photo_id":"1394755591","filename":"file2"},{"photo_id":"1394755593","filename":"file4"},{"photo_id":"1394755590","filename":"file1"},{"photo_id":"1394755588","filename":"file0"},{"photo_id":"1394755592","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755593":["hashtag1","hashtag2"]},{"1394755590":["hashtag1","hashtag2"]},{"1394755592":["hashtag1","hashtag2"]},{"1394755595":["hashtag1","hashtag2"]},{"1394755591":["hashtag1","hashtag2"]},{"1394755588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755593, 1394755590, 1394755592, 1394755595, 1394755591, 1394755588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39558506011963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:25:22.881711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_25_3694.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_28_2653.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_31_2656.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_34_3642.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_42_2705.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_49_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_25_3694.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_28_2653.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_31_2656.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_34_3642.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_42_2705.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_49_2597.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.6032845973968506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:25:42.802846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_25_3694.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_28_2653.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_31_2656.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_34_3642.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_42_2705.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_49_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_25_3694.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_28_2653.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_31_2656.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_34_3642.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_42_2705.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_49_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755609","1394755612","1394755611","1394755608","1394755610","1394755607"],"photo_ids_order":["1394755607","1394755608","1394755609","1394755610","1394755611","1394755612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c05d75dbd64e5c60ced736982cdd69f.jpg","text":"TemporaryFile(/tmp/multipartBody291228304237885265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310403438,"filename":"image_16112025_16_42_31_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3be954e4734bfcc337f3fada2c9d37b4.jpg","text":"TemporaryFile(/tmp/multipartBody7853588356418164503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310403438,"filename":"image_16112025_16_42_49_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18727832cf3218914e9df023d3fc4d67.jpg","text":"TemporaryFile(/tmp/multipartBody2519090654046703258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310403438,"filename":"image_16112025_16_42_42_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93d0a7e93bb89dc4306de1b1328996b5.jpg","text":"TemporaryFile(/tmp/multipartBody127840947680572350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310403438,"filename":"image_16112025_16_42_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/11/16/f9a622571f671462a41577bf0f771cf1.jpg","text":"TemporaryFile(/tmp/multipartBody6578093380999001722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310403438,"filename":"image_16112025_16_42_34_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89bed46bb6b436f6e316a417414bcd31.jpg","text":"TemporaryFile(/tmp/multipartBody4369283289045472532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310403438,"filename":"image_16112025_16_42_25_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755609","file1":"1394755608","file0":"1394755607","file4":"1394755611","file5":"1394755612","file3":"1394755610"},"map_files_photo_id_array":[{"photo_id":"1394755612","filename":"file5"},{"photo_id":"1394755609","filename":"file2"},{"photo_id":"1394755611","filename":"file4"},{"photo_id":"1394755608","filename":"file1"},{"photo_id":"1394755607","filename":"file0"},{"photo_id":"1394755610","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755609":["hashtag1","hashtag2"]},{"1394755612":["hashtag1","hashtag2"]},{"1394755611":["hashtag1","hashtag2"]},{"1394755608":["hashtag1","hashtag2"]},{"1394755610":["hashtag1","hashtag2"]},{"1394755607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755609, 1394755612, 1394755611, 1394755608, 1394755610, 1394755607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79403829574585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:26:21.988867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_52_3574.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_55_2784.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_58_2565.jpg', '/home/pi/Desktop/images/16112025/16/42/image_16112025_16_43_01_3733.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_04_2713.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_07_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_52_3574.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_55_2784.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_42_58_2565.jpg
/home/pi/Desktop/images/16112025/16/42/image_16112025_16_43_01_3733.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_04_2713.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_07_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755621","1394755624","1394755620","1394755617","1394755622","1394755619"],"photo_ids_order":["1394755617","1394755619","1394755620","1394755621","1394755622","1394755624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba720300d9262433dbd64bd36258f6b5.jpg","text":"TemporaryFile(/tmp/multipartBody4233064982188564219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310442657,"filename":"image_16112025_16_43_01_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2cf06c0c874a2c683ab84688378910d.jpg","text":"TemporaryFile(/tmp/multipartBody6634104726312931756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310442657,"filename":"image_16112025_16_43_07_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6965607d992ca84d1c6101f1a62a8ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2493556486709118318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310442657,"filename":"image_16112025_16_42_58_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a0ae5aabb3918049decd8c9315841a6.jpg","text":"TemporaryFile(/tmp/multipartBody6191307113431187165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310442657,"filename":"image_16112025_16_42_52_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44440c89ce0b1438b6bd423f877aa528.jpg","text":"TemporaryFile(/tmp/multipartBody4504212524267835108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310442657,"filename":"image_16112025_16_43_04_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afb3d07a79aaa03db4a463b804c341c7.jpg","text":"TemporaryFile(/tmp/multipartBody8823886370832468759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310442657,"filename":"image_16112025_16_42_55_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755620","file1":"1394755619","file0":"1394755617","file4":"1394755622","file5":"1394755624","file3":"1394755621"},"map_files_photo_id_array":[{"photo_id":"1394755624","filename":"file5"},{"photo_id":"1394755620","filename":"file2"},{"photo_id":"1394755622","filename":"file4"},{"photo_id":"1394755619","filename":"file1"},{"photo_id":"1394755617","filename":"file0"},{"photo_id":"1394755621","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755621":["hashtag1","hashtag2"]},{"1394755624":["hashtag1","hashtag2"]},{"1394755620":["hashtag1","hashtag2"]},{"1394755617":["hashtag1","hashtag2"]},{"1394755622":["hashtag1","hashtag2"]},{"1394755619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755621, 1394755624, 1394755620, 1394755617, 1394755622, 1394755619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95237421989441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:27:02.821401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_09_2754.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_12_2943.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_16_3674.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_19_2606.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_22_3672.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_25_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_09_2754.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_12_2943.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_16_3674.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_19_2606.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_22_3672.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_25_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755638","1394755632","1394755629","1394755634","1394755631","1394755628"],"photo_ids_order":["1394755628","1394755629","1394755631","1394755632","1394755634","1394755638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc6671c47996d2053583d613768af500.jpg","text":"TemporaryFile(/tmp/multipartBody4663163708538579331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310483544,"filename":"image_16112025_16_43_25_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d54cf146b0a3e8027c405e4db49498c9.jpg","text":"TemporaryFile(/tmp/multipartBody3520601811346666414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310483544,"filename":"image_16112025_16_43_19_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c9dae62c741abf6b29a6fe37dc97fef.jpg","text":"TemporaryFile(/tmp/multipartBody3037952013019268867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310483544,"filename":"image_16112025_16_43_12_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c110147c2902a45472daded57094ad01.jpg","text":"TemporaryFile(/tmp/multipartBody858614246898305871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310483544,"filename":"image_16112025_16_43_22_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3e5790dfb772e9703456475860e6fe0.jpg","text":"TemporaryFile(/tmp/multipartBody7342128380842536294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310483544,"filename":"image_16112025_16_43_16_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9316f5f5f95d0a5e7f667dbc134c74ed.jpg","text":"TemporaryFile(/tmp/multipartBody4690128417421891099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310483544,"filename":"image_16112025_16_43_09_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755631","file1":"1394755629","file0":"1394755628","file4":"1394755634","file5":"1394755638","file3":"1394755632"},"map_files_photo_id_array":[{"photo_id":"1394755638","filename":"file5"},{"photo_id":"1394755631","filename":"file2"},{"photo_id":"1394755634","filename":"file4"},{"photo_id":"1394755629","filename":"file1"},{"photo_id":"1394755628","filename":"file0"},{"photo_id":"1394755632","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755638":["hashtag1","hashtag2"]},{"1394755632":["hashtag1","hashtag2"]},{"1394755629":["hashtag1","hashtag2"]},{"1394755634":["hashtag1","hashtag2"]},{"1394755631":["hashtag1","hashtag2"]},{"1394755628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755638, 1394755632, 1394755629, 1394755634, 1394755631, 1394755628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84490466117859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:27:42.231736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_28_2760.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_30_2654.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_34_3685.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_37_2570.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_40_3557.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_43_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_28_2760.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_30_2654.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_34_3685.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_37_2570.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_40_3557.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_43_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755648","1394755647","1394755649","1394755643","1394755646","1394755645"],"photo_ids_order":["1394755643","1394755645","1394755646","1394755647","1394755648","1394755649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f132de220d769b527947a3d25eb30c8.jpg","text":"TemporaryFile(/tmp/multipartBody1683115938865843376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310522890,"filename":"image_16112025_16_43_40_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75b34e3667732d97789ed5790e81d154.jpg","text":"TemporaryFile(/tmp/multipartBody9050786495309726761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310522890,"filename":"image_16112025_16_43_37_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb241c99902f6061325f26f03edfc15e.jpg","text":"TemporaryFile(/tmp/multipartBody4513893502790089772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310522890,"filename":"image_16112025_16_43_43_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a84cef4430c4e9309db01481e284ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8155508476653043205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310522890,"filename":"image_16112025_16_43_28_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e57f10bb7bb36d256a63014a4bf4e6e2.jpg","text":"TemporaryFile(/tmp/multipartBody1292180298286765176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310522890,"filename":"image_16112025_16_43_34_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d797c0c98443cb1edca3bacb6efb372.jpg","text":"TemporaryFile(/tmp/multipartBody9195736237116446643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310522890,"filename":"image_16112025_16_43_30_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755646","file1":"1394755645","file0":"1394755643","file4":"1394755648","file5":"1394755649","file3":"1394755647"},"map_files_photo_id_array":[{"photo_id":"1394755649","filename":"file5"},{"photo_id":"1394755646","filename":"file2"},{"photo_id":"1394755648","filename":"file4"},{"photo_id":"1394755645","filename":"file1"},{"photo_id":"1394755643","filename":"file0"},{"photo_id":"1394755647","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755648":["hashtag1","hashtag2"]},{"1394755647":["hashtag1","hashtag2"]},{"1394755649":["hashtag1","hashtag2"]},{"1394755643":["hashtag1","hashtag2"]},{"1394755646":["hashtag1","hashtag2"]},{"1394755645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755648, 1394755647, 1394755649, 1394755643, 1394755646, 1394755645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.549079179763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:28:22.473585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_55_2786.jpg', '/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_58_3631.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_01_2512.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_03_2718.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_07_3640.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_12_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_55_2786.jpg
/home/pi/Desktop/images/16112025/16/43/image_16112025_16_43_58_3631.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_01_2512.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_03_2718.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_07_3640.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_12_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755660","1394755654","1394755662","1394755656","1394755652","1394755658"],"photo_ids_order":["1394755652","1394755654","1394755656","1394755658","1394755660","1394755662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b02d80335d300ed4312b53901977a04.jpg","text":"TemporaryFile(/tmp/multipartBody7360064701031032249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310563122,"filename":"image_16112025_16_44_07_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b20d1880359b7bc949ab1fd3bb928f84.jpg","text":"TemporaryFile(/tmp/multipartBody1299093347145948282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310563122,"filename":"image_16112025_16_43_58_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd98889140a41063ce13fe37b3ec63dd.jpg","text":"TemporaryFile(/tmp/multipartBody5163318354346105877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310563122,"filename":"image_16112025_16_44_12_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dfe9c30ec2163b5e3d4eb17adaf9dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5080925786346363937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310563122,"filename":"image_16112025_16_44_01_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02d8b94485a91056730339e3ea052f1f.jpg","text":"TemporaryFile(/tmp/multipartBody8203585954985889171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310563122,"filename":"image_16112025_16_43_55_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f7e6ba755141b3ed257fcfdbd17f936.jpg","text":"TemporaryFile(/tmp/multipartBody3268526429776241906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310563122,"filename":"image_16112025_16_44_03_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755656","file1":"1394755654","file0":"1394755652","file4":"1394755660","file5":"1394755662","file3":"1394755658"},"map_files_photo_id_array":[{"photo_id":"1394755662","filename":"file5"},{"photo_id":"1394755656","filename":"file2"},{"photo_id":"1394755660","filename":"file4"},{"photo_id":"1394755654","filename":"file1"},{"photo_id":"1394755652","filename":"file0"},{"photo_id":"1394755658","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755660":["hashtag1","hashtag2"]},{"1394755654":["hashtag1","hashtag2"]},{"1394755662":["hashtag1","hashtag2"]},{"1394755656":["hashtag1","hashtag2"]},{"1394755652":["hashtag1","hashtag2"]},{"1394755658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755660, 1394755654, 1394755662, 1394755656, 1394755652, 1394755658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71713733673096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:29:03.463866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_16_3716.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_19_2646.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_21_2528.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_25_3687.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_30_2817.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_34_3787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_16_3716.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_19_2646.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_21_2528.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_25_3687.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_30_2817.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_34_3787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755665","1394755670","1394755667","1394755663","1394755672","1394755666"],"photo_ids_order":["1394755663","1394755665","1394755666","1394755667","1394755670","1394755672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68582752913c8578f524b252cb8a29ad.jpg","text":"TemporaryFile(/tmp/multipartBody3956173162407609365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310604183,"filename":"image_16112025_16_44_19_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b8ba08e34975fa286288e4319b25549.jpg","text":"TemporaryFile(/tmp/multipartBody5297482057968344035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310604183,"filename":"image_16112025_16_44_30_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c355c816f0655cd66cdb1167c7d477f5.jpg","text":"TemporaryFile(/tmp/multipartBody1208506350072803239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310604183,"filename":"image_16112025_16_44_25_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8827987179a5963a76732b36e1d68d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1743100064293990780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310604183,"filename":"image_16112025_16_44_16_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af2f6ed5ff38e8c8a8b3cf661bef66b9.jpg","text":"TemporaryFile(/tmp/multipartBody2319552623571518233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310604183,"filename":"image_16112025_16_44_34_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/867dc26a41b9793315c850e551bc6a6b.jpg","text":"TemporaryFile(/tmp/multipartBody6048686266429894855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310604183,"filename":"image_16112025_16_44_21_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755666","file1":"1394755665","file0":"1394755663","file4":"1394755670","file5":"1394755672","file3":"1394755667"},"map_files_photo_id_array":[{"photo_id":"1394755672","filename":"file5"},{"photo_id":"1394755666","filename":"file2"},{"photo_id":"1394755670","filename":"file4"},{"photo_id":"1394755665","filename":"file1"},{"photo_id":"1394755663","filename":"file0"},{"photo_id":"1394755667","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755665":["hashtag1","hashtag2"]},{"1394755670":["hashtag1","hashtag2"]},{"1394755667":["hashtag1","hashtag2"]},{"1394755663":["hashtag1","hashtag2"]},{"1394755672":["hashtag1","hashtag2"]},{"1394755666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755665, 1394755670, 1394755667, 1394755663, 1394755672, 1394755666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56972551345825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:29:42.752956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_39_2646.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_43_3673.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_46_2599.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_48_2684.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_52_3661.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_55_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_39_2646.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_43_3673.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_46_2599.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_48_2684.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_52_3661.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_55_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755708","1394755705","1394755695","1394755713","1394755707","1394755706"],"photo_ids_order":["1394755695","1394755705","1394755706","1394755707","1394755708","1394755713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1840580fe15f967faeeeb9d1da8dcebd.jpg","text":"TemporaryFile(/tmp/multipartBody1058624053880797011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310643391,"filename":"image_16112025_16_44_52_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/872963cc803cf1f6e25a4b486a738185.jpg","text":"TemporaryFile(/tmp/multipartBody5721410212341361117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310643391,"filename":"image_16112025_16_44_43_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2233a1d87a30dd2b3b22dc0735b8b97d.jpg","text":"TemporaryFile(/tmp/multipartBody1965284451897760804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310643391,"filename":"image_16112025_16_44_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/11/16/f03dc232662bbcbb79d9c51b34867822.jpg","text":"TemporaryFile(/tmp/multipartBody1960393609530162660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310643391,"filename":"image_16112025_16_44_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/11/16/599825fc9e5113f9e269bd950bf0fc27.jpg","text":"TemporaryFile(/tmp/multipartBody1160055684292208174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310643391,"filename":"image_16112025_16_44_48_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/363ee3c15d74c27602493bdc67ed77c8.jpg","text":"TemporaryFile(/tmp/multipartBody3539616022875055438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310643391,"filename":"image_16112025_16_44_46_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755706","file1":"1394755705","file0":"1394755695","file4":"1394755708","file5":"1394755713","file3":"1394755707"},"map_files_photo_id_array":[{"photo_id":"1394755713","filename":"file5"},{"photo_id":"1394755706","filename":"file2"},{"photo_id":"1394755708","filename":"file4"},{"photo_id":"1394755705","filename":"file1"},{"photo_id":"1394755695","filename":"file0"},{"photo_id":"1394755707","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755708":["hashtag1","hashtag2"]},{"1394755705":["hashtag1","hashtag2"]},{"1394755695":["hashtag1","hashtag2"]},{"1394755713":["hashtag1","hashtag2"]},{"1394755707":["hashtag1","hashtag2"]},{"1394755706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755708, 1394755705, 1394755695, 1394755713, 1394755707, 1394755706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66270899772644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:30:22.011847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_57_2740.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_45_00_2793.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_07_3014.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_10_3665.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_13_2609.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_16_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_57_2740.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_45_00_2793.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_07_3014.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_10_3665.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_13_2609.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_16_2763.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.5894613265991211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:30:42.030960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_57_2740.jpg', '/home/pi/Desktop/images/16112025/16/44/image_16112025_16_45_00_2793.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_07_3014.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_10_3665.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_13_2609.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_16_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_44_57_2740.jpg
/home/pi/Desktop/images/16112025/16/44/image_16112025_16_45_00_2793.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_07_3014.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_10_3665.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_13_2609.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_16_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755726","1394755729","1394755722","1394755725","1394755728","1394755727"],"photo_ids_order":["1394755722","1394755725","1394755726","1394755727","1394755728","1394755729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ebd07faa8481a91baeb75303dd4e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6836814055740102032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310702674,"filename":"image_16112025_16_45_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/11/16/fe1d4faf8f3d5be1cf715b3792c890ee.jpg","text":"TemporaryFile(/tmp/multipartBody7389244347017443254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310702674,"filename":"image_16112025_16_45_16_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a515f2cfbc16d0cf19a23225264f3015.jpg","text":"TemporaryFile(/tmp/multipartBody1088899052246840681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310702674,"filename":"image_16112025_16_44_57_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcca4f7bcc1a04eb54525fc01cfae09f.jpg","text":"TemporaryFile(/tmp/multipartBody3108885455727541445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310702674,"filename":"image_16112025_16_45_00_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e45a40a8c8e2b6db8aff58eacc30562.jpg","text":"TemporaryFile(/tmp/multipartBody5957028978647422131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310702674,"filename":"image_16112025_16_45_13_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18bbd517948c23d55a6650e338dcec32.jpg","text":"TemporaryFile(/tmp/multipartBody4963942097657763574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310702674,"filename":"image_16112025_16_45_10_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755726","file1":"1394755725","file0":"1394755722","file4":"1394755728","file5":"1394755729","file3":"1394755727"},"map_files_photo_id_array":[{"photo_id":"1394755729","filename":"file5"},{"photo_id":"1394755726","filename":"file2"},{"photo_id":"1394755728","filename":"file4"},{"photo_id":"1394755725","filename":"file1"},{"photo_id":"1394755722","filename":"file0"},{"photo_id":"1394755727","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755726":["hashtag1","hashtag2"]},{"1394755729":["hashtag1","hashtag2"]},{"1394755722":["hashtag1","hashtag2"]},{"1394755725":["hashtag1","hashtag2"]},{"1394755728":["hashtag1","hashtag2"]},{"1394755727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755726, 1394755729, 1394755722, 1394755725, 1394755728, 1394755727)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.233487367630005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:31:42.351289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_19_3569.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_22_2794.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_26_3522.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_28_2726.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_31_2767.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_34_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_19_3569.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_22_2794.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_26_3522.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_28_2726.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_31_2767.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_34_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755732","1394755734","1394755733","1394755742","1394755745","1394755739"],"photo_ids_order":["1394755732","1394755733","1394755734","1394755739","1394755742","1394755745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/249f764df07c82f7c891d702668da0d0.jpg","text":"TemporaryFile(/tmp/multipartBody7489296994249189130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310763042,"filename":"image_16112025_16_45_19_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a57f358c348555cd46d89872f6341515.jpg","text":"TemporaryFile(/tmp/multipartBody8151249826200630376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310763042,"filename":"image_16112025_16_45_26_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42078a9416ea4fb2339b48297e57b7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5898016979657246469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310763042,"filename":"image_16112025_16_45_22_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4325714b3491dbc744f107eadda4562.jpg","text":"TemporaryFile(/tmp/multipartBody7081851595369938167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310763042,"filename":"image_16112025_16_45_31_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03a0cbdcc06a19c22c5e1ac0942a55e4.jpg","text":"TemporaryFile(/tmp/multipartBody7544070660172012658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310763042,"filename":"image_16112025_16_45_34_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66e51e19ae6c68ed2a820bd10db43860.jpg","text":"TemporaryFile(/tmp/multipartBody5751398495113789163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310763042,"filename":"image_16112025_16_45_28_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755734","file1":"1394755733","file0":"1394755732","file4":"1394755742","file5":"1394755745","file3":"1394755739"},"map_files_photo_id_array":[{"photo_id":"1394755745","filename":"file5"},{"photo_id":"1394755734","filename":"file2"},{"photo_id":"1394755742","filename":"file4"},{"photo_id":"1394755733","filename":"file1"},{"photo_id":"1394755732","filename":"file0"},{"photo_id":"1394755739","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755732":["hashtag1","hashtag2"]},{"1394755734":["hashtag1","hashtag2"]},{"1394755733":["hashtag1","hashtag2"]},{"1394755742":["hashtag1","hashtag2"]},{"1394755745":["hashtag1","hashtag2"]},{"1394755739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755732, 1394755734, 1394755733, 1394755742, 1394755745, 1394755739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2975640296936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:32:22.644695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_43_2704.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_52_2723.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_55_3604.jpg', '/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_58_2718.jpg', '/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_01_2646.jpg', '/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_05_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_43_2704.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_52_2723.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_55_3604.jpg
/home/pi/Desktop/images/16112025/16/45/image_16112025_16_45_58_2718.jpg
/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_01_2646.jpg
/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_05_3749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755753","1394755755","1394755758","1394755751","1394755754","1394755756"],"photo_ids_order":["1394755751","1394755753","1394755754","1394755755","1394755756","1394755758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/959fe23b78d27aeb958a1442ca7acf27.jpg","text":"TemporaryFile(/tmp/multipartBody2660878501768885095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310803543,"filename":"image_16112025_16_45_52_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46194b9bcec54c76fb6445af1c3c272e.jpg","text":"TemporaryFile(/tmp/multipartBody6457315644363468257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310803543,"filename":"image_16112025_16_45_58_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9349b904bcfba35eeee2cd779d5d400.jpg","text":"TemporaryFile(/tmp/multipartBody5128071781134804762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310803543,"filename":"image_16112025_16_46_05_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/066014037e2c97905f75ee35979116e8.jpg","text":"TemporaryFile(/tmp/multipartBody6694886315287099162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310803543,"filename":"image_16112025_16_45_43_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e9f028957b6793ae70daf111fd71d32.jpg","text":"TemporaryFile(/tmp/multipartBody5332167566906441693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310803543,"filename":"image_16112025_16_45_55_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc35849e77ca800082efc277df7a1c4e.jpg","text":"TemporaryFile(/tmp/multipartBody8904036265597184877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310803543,"filename":"image_16112025_16_46_01_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755754","file1":"1394755753","file0":"1394755751","file4":"1394755756","file5":"1394755758","file3":"1394755755"},"map_files_photo_id_array":[{"photo_id":"1394755758","filename":"file5"},{"photo_id":"1394755754","filename":"file2"},{"photo_id":"1394755756","filename":"file4"},{"photo_id":"1394755753","filename":"file1"},{"photo_id":"1394755751","filename":"file0"},{"photo_id":"1394755755","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755753":["hashtag1","hashtag2"]},{"1394755755":["hashtag1","hashtag2"]},{"1394755758":["hashtag1","hashtag2"]},{"1394755751":["hashtag1","hashtag2"]},{"1394755754":["hashtag1","hashtag2"]},{"1394755756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755753, 1394755755, 1394755758, 1394755751, 1394755754, 1394755756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.397502183914185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:33:02.467576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_07_2598.jpg', '/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_19_2784.jpg', '/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_34_3659.jpg', '/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_37_2761.jpg', '/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_40_2682.jpg', '/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_43_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_07_2598.jpg
/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_19_2784.jpg
/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_34_3659.jpg
/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_37_2761.jpg
/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_40_2682.jpg
/home/pi/Desktop/images/16112025/16/46/image_16112025_16_46_43_2784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755768","1394755761","1394755760","1394755763","1394755762","1394755765"],"photo_ids_order":["1394755760","1394755761","1394755762","1394755763","1394755765","1394755768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd315f36ada8db019cf6fd5fda810e2e.jpg","text":"TemporaryFile(/tmp/multipartBody7205107262086650771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310843235,"filename":"image_16112025_16_46_43_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bee60c17b76bd68ab91aa4d915ad2c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1884626449150416191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310843235,"filename":"image_16112025_16_46_19_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb2a66e2b48e4be8c6d4845e850c566f.jpg","text":"TemporaryFile(/tmp/multipartBody353579665358831566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310843235,"filename":"image_16112025_16_46_07_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc87f054b0b99331479a44c3cb050ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7262873186793983018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310843235,"filename":"image_16112025_16_46_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/11/16/32db646f52581e669eefbc81f53d5ef8.jpg","text":"TemporaryFile(/tmp/multipartBody5582790760029012816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310843235,"filename":"image_16112025_16_46_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/11/16/b46f061caec8f4a0b6d80b818fb9da03.jpg","text":"TemporaryFile(/tmp/multipartBody3166905182250220145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310843235,"filename":"image_16112025_16_46_40_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755762","file1":"1394755761","file0":"1394755760","file4":"1394755765","file5":"1394755768","file3":"1394755763"},"map_files_photo_id_array":[{"photo_id":"1394755768","filename":"file5"},{"photo_id":"1394755762","filename":"file2"},{"photo_id":"1394755765","filename":"file4"},{"photo_id":"1394755761","filename":"file1"},{"photo_id":"1394755760","filename":"file0"},{"photo_id":"1394755763","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755768":["hashtag1","hashtag2"]},{"1394755761":["hashtag1","hashtag2"]},{"1394755760":["hashtag1","hashtag2"]},{"1394755763":["hashtag1","hashtag2"]},{"1394755762":["hashtag1","hashtag2"]},{"1394755765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755768, 1394755761, 1394755760, 1394755763, 1394755762, 1394755765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45796298980713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:33:41.899274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_13_2675.jpg', '/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_16_3588.jpg', '/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_25_3694.jpg', '/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_28_2596.jpg', '/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_34_3535.jpg', '/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_48_4341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_13_2675.jpg
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_16_3588.jpg
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_25_3694.jpg
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_28_2596.jpg
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_34_3535.jpg
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_48_4341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755773","1394755776","1394755775","1394755774","1394755777","1394755771"],"photo_ids_order":["1394755771","1394755773","1394755774","1394755775","1394755776","1394755777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9be57de350dc68c2f6cadbbd17078b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1028646051776220707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310882561,"filename":"image_16112025_16_47_16_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c347a7c4e93179d8809f6eeede683f83.jpg","text":"TemporaryFile(/tmp/multipartBody5963189809609571656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310882561,"filename":"image_16112025_16_47_34_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d41515ff7be0746136727da42836ebaa.jpg","text":"TemporaryFile(/tmp/multipartBody1785719630966758245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310882561,"filename":"image_16112025_16_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/11/16/753bcfc4c78970ffda030670af473b0d.jpg","text":"TemporaryFile(/tmp/multipartBody6449532484026727406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310882561,"filename":"image_16112025_16_47_25_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2373e2bf2011c7e885934e012a9da08.jpg","text":"TemporaryFile(/tmp/multipartBody3958809677340957114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310882561,"filename":"image_16112025_16_47_48_4341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ed202ebf9a390955a65184934961bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2389548850210881810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310882561,"filename":"image_16112025_16_47_13_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755774","file1":"1394755773","file0":"1394755771","file4":"1394755776","file5":"1394755777","file3":"1394755775"},"map_files_photo_id_array":[{"photo_id":"1394755777","filename":"file5"},{"photo_id":"1394755774","filename":"file2"},{"photo_id":"1394755776","filename":"file4"},{"photo_id":"1394755773","filename":"file1"},{"photo_id":"1394755771","filename":"file0"},{"photo_id":"1394755775","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755773":["hashtag1","hashtag2"]},{"1394755776":["hashtag1","hashtag2"]},{"1394755775":["hashtag1","hashtag2"]},{"1394755774":["hashtag1","hashtag2"]},{"1394755777":["hashtag1","hashtag2"]},{"1394755771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755773, 1394755776, 1394755775, 1394755774, 1394755777, 1394755771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7694251537323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:34:22.154592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_52_2664.jpg', '/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_55_3630.jpg', '/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_58_2716.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_01_3305.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_04_2562.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_13_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_52_2664.jpg
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_55_3630.jpg
/home/pi/Desktop/images/16112025/16/47/image_16112025_16_47_58_2716.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_01_3305.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_04_2562.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_13_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755782","1394755784","1394755781","1394755780","1394755783","1394755786"],"photo_ids_order":["1394755780","1394755781","1394755782","1394755783","1394755784","1394755786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d53c97758878b3f4f65b5693efbc375.jpg","text":"TemporaryFile(/tmp/multipartBody8909322358510078719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310922795,"filename":"image_16112025_16_47_58_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dde334ad877fbeae2328c6f4f100221c.jpg","text":"TemporaryFile(/tmp/multipartBody6477986990260398613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310922795,"filename":"image_16112025_16_48_04_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ef34bfa72883379d5db1ead4b53f586.jpg","text":"TemporaryFile(/tmp/multipartBody338756555594342219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310922795,"filename":"image_16112025_16_47_55_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d98826cb258cbce4064949a50d9c4be.jpg","text":"TemporaryFile(/tmp/multipartBody1555272864539314616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310922795,"filename":"image_16112025_16_47_52_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6afd8842540c35f9e5063439de59aa4b.jpg","text":"TemporaryFile(/tmp/multipartBody541587820317809028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310922795,"filename":"image_16112025_16_48_01_3305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a47172192eece5f94f4e33423e1a5fe.jpg","text":"TemporaryFile(/tmp/multipartBody1221885644698404148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310922795,"filename":"image_16112025_16_48_13_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755782","file1":"1394755781","file0":"1394755780","file4":"1394755784","file5":"1394755786","file3":"1394755783"},"map_files_photo_id_array":[{"photo_id":"1394755786","filename":"file5"},{"photo_id":"1394755782","filename":"file2"},{"photo_id":"1394755784","filename":"file4"},{"photo_id":"1394755781","filename":"file1"},{"photo_id":"1394755780","filename":"file0"},{"photo_id":"1394755783","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755782":["hashtag1","hashtag2"]},{"1394755784":["hashtag1","hashtag2"]},{"1394755781":["hashtag1","hashtag2"]},{"1394755780":["hashtag1","hashtag2"]},{"1394755783":["hashtag1","hashtag2"]},{"1394755786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755782, 1394755784, 1394755781, 1394755780, 1394755783, 1394755786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0334587097168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:35:03.175761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_16_2642.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_19_3684.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_22_2691.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_25_2581.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_28_2921.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_34_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_16_2642.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_19_3684.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_22_2691.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_25_2581.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_28_2921.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_34_2502.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755791","1394755794","1394755788","1394755797","1394755790","1394755789"],"photo_ids_order":["1394755788","1394755789","1394755790","1394755791","1394755794","1394755797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c8a45ec041ef008870c6756186725fa.jpg","text":"TemporaryFile(/tmp/multipartBody8395269486829744040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310963945,"filename":"image_16112025_16_48_25_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e76e5ad22326aad035d2ffd476d49ac.jpg","text":"TemporaryFile(/tmp/multipartBody5673003729415978102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310963945,"filename":"image_16112025_16_48_28_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f99cca82cad63d756784ce16f9043e2.jpg","text":"TemporaryFile(/tmp/multipartBody8556532443170281183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310963945,"filename":"image_16112025_16_48_16_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/370fa2dca82f73e72dbd2a2015b7697a.jpg","text":"TemporaryFile(/tmp/multipartBody2892472581084166973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310963945,"filename":"image_16112025_16_48_34_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/613383bad251d70e5f258a294d36cd9b.jpg","text":"TemporaryFile(/tmp/multipartBody6866881000935610450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310963945,"filename":"image_16112025_16_48_22_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a4526bdb87baa000780b74f4b064850.jpg","text":"TemporaryFile(/tmp/multipartBody6513856732074954663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763310963945,"filename":"image_16112025_16_48_19_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755790","file1":"1394755789","file0":"1394755788","file4":"1394755794","file5":"1394755797","file3":"1394755791"},"map_files_photo_id_array":[{"photo_id":"1394755797","filename":"file5"},{"photo_id":"1394755790","filename":"file2"},{"photo_id":"1394755794","filename":"file4"},{"photo_id":"1394755789","filename":"file1"},{"photo_id":"1394755788","filename":"file0"},{"photo_id":"1394755791","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755791":["hashtag1","hashtag2"]},{"1394755794":["hashtag1","hashtag2"]},{"1394755788":["hashtag1","hashtag2"]},{"1394755797":["hashtag1","hashtag2"]},{"1394755790":["hashtag1","hashtag2"]},{"1394755789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755791, 1394755794, 1394755788, 1394755797, 1394755790, 1394755789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90386939048767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:35:42.496487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_39_2761.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_43_3669.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_46_2685.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_48_2666.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_52_3651.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_55_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_39_2761.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_43_3669.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_46_2685.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_48_2666.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_52_3651.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_55_2616.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.541407585144043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:36:02.725752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_39_2761.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_43_3669.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_46_2685.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_48_2666.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_52_3651.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_55_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_39_2761.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_43_3669.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_46_2685.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_48_2666.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_52_3651.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_55_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755813","1394755807","1394755806","1394755809","1394755811","1394755808"],"photo_ids_order":["1394755806","1394755807","1394755808","1394755809","1394755811","1394755813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/940288f726f87115ad2bcdd94ce6c6da.jpg","text":"TemporaryFile(/tmp/multipartBody7562990517219741875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311023473,"filename":"image_16112025_16_48_55_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6496388cba2949065e112d1216bde09b.jpg","text":"TemporaryFile(/tmp/multipartBody1488282515740489627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311023473,"filename":"image_16112025_16_48_43_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39a4f15b3afa9bb2b9733d5ccfb2a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody2349724553729643107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311023473,"filename":"image_16112025_16_48_39_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe8ee545d1fbe5f0f86762239b25b276.jpg","text":"TemporaryFile(/tmp/multipartBody6023189180050719346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311023473,"filename":"image_16112025_16_48_48_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19a02e92686c0b097157fdc6e1ef483b.jpg","text":"TemporaryFile(/tmp/multipartBody3366016180595198813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311023473,"filename":"image_16112025_16_48_52_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8550bc7867cebc044d06ea5df71e064.jpg","text":"TemporaryFile(/tmp/multipartBody8106281184750031729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311023473,"filename":"image_16112025_16_48_46_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755808","file1":"1394755807","file0":"1394755806","file4":"1394755811","file5":"1394755813","file3":"1394755809"},"map_files_photo_id_array":[{"photo_id":"1394755813","filename":"file5"},{"photo_id":"1394755808","filename":"file2"},{"photo_id":"1394755811","filename":"file4"},{"photo_id":"1394755807","filename":"file1"},{"photo_id":"1394755806","filename":"file0"},{"photo_id":"1394755809","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755813":["hashtag1","hashtag2"]},{"1394755807":["hashtag1","hashtag2"]},{"1394755806":["hashtag1","hashtag2"]},{"1394755809":["hashtag1","hashtag2"]},{"1394755811":["hashtag1","hashtag2"]},{"1394755808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755813, 1394755807, 1394755806, 1394755809, 1394755811, 1394755808)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.400416135787964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:37:02.438512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_57_2690.jpg', '/home/pi/Desktop/images/16112025/16/48/image_16112025_16_49_01_3632.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_06_2699.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_10_3716.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_13_2600.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_22_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_48_57_2690.jpg
/home/pi/Desktop/images/16112025/16/48/image_16112025_16_49_01_3632.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_06_2699.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_10_3716.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_13_2600.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_22_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755825","1394755828","1394755822","1394755821","1394755820","1394755823"],"photo_ids_order":["1394755820","1394755821","1394755822","1394755823","1394755825","1394755828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0cc4b9f6f4886794b05be358e83b3df.jpg","text":"TemporaryFile(/tmp/multipartBody519924298386192013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311083244,"filename":"image_16112025_16_49_13_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b69e5d7224aa01a48de5ab9f3dc947f.jpg","text":"TemporaryFile(/tmp/multipartBody581479895025280252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311083244,"filename":"image_16112025_16_49_22_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/895e0a206df4f3a6f407a0a86b51b15a.jpg","text":"TemporaryFile(/tmp/multipartBody4869022285646948861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311083244,"filename":"image_16112025_16_49_06_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72a1de9c2c1068771ef2946bae23e573.jpg","text":"TemporaryFile(/tmp/multipartBody487887028675509083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311083244,"filename":"image_16112025_16_49_01_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9fa9e9ee5187abb5d5e8db1f46438fb.jpg","text":"TemporaryFile(/tmp/multipartBody3608011037140270320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311083244,"filename":"image_16112025_16_48_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/11/16/8b366bd09296ddd82b3b9905bdba5878.jpg","text":"TemporaryFile(/tmp/multipartBody7071062385555485069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311083244,"filename":"image_16112025_16_49_10_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755822","file1":"1394755821","file0":"1394755820","file4":"1394755825","file5":"1394755828","file3":"1394755823"},"map_files_photo_id_array":[{"photo_id":"1394755828","filename":"file5"},{"photo_id":"1394755822","filename":"file2"},{"photo_id":"1394755825","filename":"file4"},{"photo_id":"1394755821","filename":"file1"},{"photo_id":"1394755820","filename":"file0"},{"photo_id":"1394755823","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755825":["hashtag1","hashtag2"]},{"1394755828":["hashtag1","hashtag2"]},{"1394755822":["hashtag1","hashtag2"]},{"1394755821":["hashtag1","hashtag2"]},{"1394755820":["hashtag1","hashtag2"]},{"1394755823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755825, 1394755828, 1394755822, 1394755821, 1394755820, 1394755823)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.019187688827515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:38:04.245140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_24_2777.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_28_3584.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_34_3616.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_37_2616.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_40_2778.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_42_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_24_2777.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_28_3584.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_34_3616.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_37_2616.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_40_2778.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_42_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755831","1394755834","1394755830","1394755833","1394755832","1394755835"],"photo_ids_order":["1394755830","1394755831","1394755832","1394755833","1394755834","1394755835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52c393f9a0fb07cfbac06b1027652e63.jpg","text":"TemporaryFile(/tmp/multipartBody1241557652907723145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311144948,"filename":"image_16112025_16_49_28_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/211a812ea81632a96befe9a61a348e34.jpg","text":"TemporaryFile(/tmp/multipartBody620455398313132491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311144948,"filename":"image_16112025_16_49_40_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bbf8ed2f873705fa7d4b7cc46546950.jpg","text":"TemporaryFile(/tmp/multipartBody1528057785678493922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311144948,"filename":"image_16112025_16_49_24_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/beedebabe20ea2db28b609fd3f56b1ce.jpg","text":"TemporaryFile(/tmp/multipartBody5355542125210525606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311144948,"filename":"image_16112025_16_49_37_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08774a5ed3ceccb8b13d6497c04a5904.jpg","text":"TemporaryFile(/tmp/multipartBody6195050077827599192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311144948,"filename":"image_16112025_16_49_34_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87d9693ac3591e1db0497b41a07339a2.jpg","text":"TemporaryFile(/tmp/multipartBody6515217044441051540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311144948,"filename":"image_16112025_16_49_42_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755832","file1":"1394755831","file0":"1394755830","file4":"1394755834","file5":"1394755835","file3":"1394755833"},"map_files_photo_id_array":[{"photo_id":"1394755835","filename":"file5"},{"photo_id":"1394755832","filename":"file2"},{"photo_id":"1394755834","filename":"file4"},{"photo_id":"1394755831","filename":"file1"},{"photo_id":"1394755830","filename":"file0"},{"photo_id":"1394755833","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755831":["hashtag1","hashtag2"]},{"1394755834":["hashtag1","hashtag2"]},{"1394755830":["hashtag1","hashtag2"]},{"1394755833":["hashtag1","hashtag2"]},{"1394755832":["hashtag1","hashtag2"]},{"1394755835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755831, 1394755834, 1394755830, 1394755833, 1394755832, 1394755835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44999361038208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:38:43.820729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_46_3590.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_49_2619.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_52_3677.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_55_2749.jpg', '/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_58_2605.jpg', '/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_46_3590.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_49_2619.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_52_3677.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_55_2749.jpg
/home/pi/Desktop/images/16112025/16/49/image_16112025_16_49_58_2605.jpg
/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755842","1394755845","1394755839","1394755841","1394755844","1394755843"],"photo_ids_order":["1394755839","1394755841","1394755842","1394755843","1394755844","1394755845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/815ecf59a8b99d3a4fc7246a5087e74e.jpg","text":"TemporaryFile(/tmp/multipartBody7721713031881937645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311184811,"filename":"image_16112025_16_49_52_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1718db9b987f2fd4d2a7d6f22ec89bf.jpg","text":"TemporaryFile(/tmp/multipartBody8472808934794511062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311184811,"filename":"image_16112025_16_51_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/11/16/6f99049beddcdeb115f01e21271bc210.jpg","text":"TemporaryFile(/tmp/multipartBody62990943752064467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311184811,"filename":"image_16112025_16_49_46_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfd7c2e95366f08003862ac39cfd46b9.jpg","text":"TemporaryFile(/tmp/multipartBody7598901277128964445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311184811,"filename":"image_16112025_16_49_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/11/16/a55f93dd8ee2453846177a996f014eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4196620340682140191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311184811,"filename":"image_16112025_16_49_58_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0340b727e76c13b55368c93e3d2e1f0.jpg","text":"TemporaryFile(/tmp/multipartBody1158165985565601873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311184811,"filename":"image_16112025_16_49_55_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755842","file1":"1394755841","file0":"1394755839","file4":"1394755844","file5":"1394755845","file3":"1394755843"},"map_files_photo_id_array":[{"photo_id":"1394755845","filename":"file5"},{"photo_id":"1394755842","filename":"file2"},{"photo_id":"1394755844","filename":"file4"},{"photo_id":"1394755841","filename":"file1"},{"photo_id":"1394755839","filename":"file0"},{"photo_id":"1394755843","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755842":["hashtag1","hashtag2"]},{"1394755845":["hashtag1","hashtag2"]},{"1394755839":["hashtag1","hashtag2"]},{"1394755841":["hashtag1","hashtag2"]},{"1394755844":["hashtag1","hashtag2"]},{"1394755843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755842, 1394755845, 1394755839, 1394755841, 1394755844, 1394755843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.659663677215576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:39:25.676118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_10_3776.jpg', '/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_13_2534.jpg', '/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_16_2756.jpg', '/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_25_2814.jpg', '/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_34_2563.jpg', '/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_43_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_10_3776.jpg
/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_13_2534.jpg
/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_16_2756.jpg
/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_25_2814.jpg
/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_34_2563.jpg
/home/pi/Desktop/images/16112025/16/51/image_16112025_16_51_43_1572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755849","1394755854","1394755851","1394755850","1394755853","1394755847"],"photo_ids_order":["1394755847","1394755849","1394755850","1394755851","1394755853","1394755854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e484ab36fdfcd5b0ea4ad2ca877d61c.jpg","text":"TemporaryFile(/tmp/multipartBody3266132547692270487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311226299,"filename":"image_16112025_16_51_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/11/16/0d10c3459b4e26ddaa4547190f7c264e.jpg","text":"TemporaryFile(/tmp/multipartBody6718717350670786121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311226299,"filename":"image_16112025_16_51_43_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94c8f0799dd895203afdd5ca4dc3a88f.jpg","text":"TemporaryFile(/tmp/multipartBody4639867738832366460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311226299,"filename":"image_16112025_16_51_25_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4fe58095f4bec242ddb942d2fa69f6d.jpg","text":"TemporaryFile(/tmp/multipartBody8608394978761371829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311226299,"filename":"image_16112025_16_51_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/11/16/aedbfdbc12ee94fab680de29b4f80f8c.jpg","text":"TemporaryFile(/tmp/multipartBody6639274444645733081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311226299,"filename":"image_16112025_16_51_34_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95a3e84147d583949ee366e53c35e3ab.jpg","text":"TemporaryFile(/tmp/multipartBody9068071202077941369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311226299,"filename":"image_16112025_16_51_10_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755850","file1":"1394755849","file0":"1394755847","file4":"1394755853","file5":"1394755854","file3":"1394755851"},"map_files_photo_id_array":[{"photo_id":"1394755854","filename":"file5"},{"photo_id":"1394755850","filename":"file2"},{"photo_id":"1394755853","filename":"file4"},{"photo_id":"1394755849","filename":"file1"},{"photo_id":"1394755847","filename":"file0"},{"photo_id":"1394755851","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755849":["hashtag1","hashtag2"]},{"1394755854":["hashtag1","hashtag2"]},{"1394755851":["hashtag1","hashtag2"]},{"1394755850":["hashtag1","hashtag2"]},{"1394755853":["hashtag1","hashtag2"]},{"1394755847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755849, 1394755854, 1394755851, 1394755850, 1394755853, 1394755847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48118615150452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:40:02.733400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/52/image_16112025_16_52_22_3651.jpg', '/home/pi/Desktop/images/16112025/16/52/image_16112025_16_52_34_2552.jpg', '/home/pi/Desktop/images/16112025/16/52/image_16112025_16_52_37_3713.jpg', '/home/pi/Desktop/images/16112025/16/52/image_16112025_16_52_55_2582.jpg', '/home/pi/Desktop/images/16112025/16/53/image_16112025_16_53_27_20062.jpg', '/home/pi/Desktop/images/16112025/16/53/image_16112025_16_53_39_1477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/52/image_16112025_16_52_22_3651.jpg
/home/pi/Desktop/images/16112025/16/52/image_16112025_16_52_34_2552.jpg
/home/pi/Desktop/images/16112025/16/52/image_16112025_16_52_37_3713.jpg
/home/pi/Desktop/images/16112025/16/52/image_16112025_16_52_55_2582.jpg
/home/pi/Desktop/images/16112025/16/53/image_16112025_16_53_27_20062.jpg
/home/pi/Desktop/images/16112025/16/53/image_16112025_16_53_39_1477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755857","1394755862","1394755856","1394755861","1394755855","1394755858"],"photo_ids_order":["1394755855","1394755856","1394755857","1394755858","1394755861","1394755862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74ff6ad9e3b7fccd16636531b5a89779.jpg","text":"TemporaryFile(/tmp/multipartBody8720426591591874704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311265720,"filename":"image_16112025_16_52_37_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15da28f87333b6b21bf3b6305e0943ed.jpg","text":"TemporaryFile(/tmp/multipartBody7696553641468083157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311265720,"filename":"image_16112025_16_53_39_1477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b4855b6286d2105fccc8b2a640f4d4f.jpg","text":"TemporaryFile(/tmp/multipartBody8578622041823130665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311265720,"filename":"image_16112025_16_52_34_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ff9f9f7171f093299db137b49370f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5543013420087652085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311265720,"filename":"image_16112025_16_53_27_20062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e598d643fca40878ea74bb2e126803e1.jpg","text":"TemporaryFile(/tmp/multipartBody3629266811154327513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311265720,"filename":"image_16112025_16_52_22_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e972060d5d48647e22076dc9228db9d0.jpg","text":"TemporaryFile(/tmp/multipartBody6265741018449551111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311265720,"filename":"image_16112025_16_52_55_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755857","file1":"1394755856","file0":"1394755855","file4":"1394755861","file5":"1394755862","file3":"1394755858"},"map_files_photo_id_array":[{"photo_id":"1394755862","filename":"file5"},{"photo_id":"1394755857","filename":"file2"},{"photo_id":"1394755861","filename":"file4"},{"photo_id":"1394755856","filename":"file1"},{"photo_id":"1394755855","filename":"file0"},{"photo_id":"1394755858","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755857":["hashtag1","hashtag2"]},{"1394755862":["hashtag1","hashtag2"]},{"1394755856":["hashtag1","hashtag2"]},{"1394755861":["hashtag1","hashtag2"]},{"1394755855":["hashtag1","hashtag2"]},{"1394755858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755857, 1394755862, 1394755856, 1394755861, 1394755855, 1394755858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19067668914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:40:42.241861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/53/image_16112025_16_53_44_1682.jpg', '/home/pi/Desktop/images/16112025/16/53/image_16112025_16_53_55_2781.jpg', '/home/pi/Desktop/images/16112025/16/54/image_16112025_16_54_42_2570.jpg', '/home/pi/Desktop/images/16112025/16/54/image_16112025_16_54_49_2600.jpg', '/home/pi/Desktop/images/16112025/16/54/image_16112025_16_54_52_3504.jpg', '/home/pi/Desktop/images/16112025/16/54/image_16112025_16_54_58_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/53/image_16112025_16_53_44_1682.jpg
/home/pi/Desktop/images/16112025/16/53/image_16112025_16_53_55_2781.jpg
/home/pi/Desktop/images/16112025/16/54/image_16112025_16_54_42_2570.jpg
/home/pi/Desktop/images/16112025/16/54/image_16112025_16_54_49_2600.jpg
/home/pi/Desktop/images/16112025/16/54/image_16112025_16_54_52_3504.jpg
/home/pi/Desktop/images/16112025/16/54/image_16112025_16_54_58_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755872","1394755869","1394755871","1394755865","1394755868","1394755870"],"photo_ids_order":["1394755865","1394755868","1394755869","1394755870","1394755871","1394755872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33193a85f2051d7cfb139c44977804ca.jpg","text":"TemporaryFile(/tmp/multipartBody122628621804493508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311302845,"filename":"image_16112025_16_54_58_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50df61374b48cd0fd44e9737eee9cc6c.jpg","text":"TemporaryFile(/tmp/multipartBody7019982996098399420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311302845,"filename":"image_16112025_16_54_42_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/822aaffb8ab9a9111f16ed9dbf16b281.jpg","text":"TemporaryFile(/tmp/multipartBody6547971381921868518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311302845,"filename":"image_16112025_16_54_52_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65ae57ea289c0897e83dae329a44163a.jpg","text":"TemporaryFile(/tmp/multipartBody6051751819545191029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311302845,"filename":"image_16112025_16_53_44_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1353bb4287ef8999ef1eec0cc9963fb8.jpg","text":"TemporaryFile(/tmp/multipartBody555925068197786734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311302845,"filename":"image_16112025_16_53_55_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d8ed08f4a05501de6d87213793fd473.jpg","text":"TemporaryFile(/tmp/multipartBody229584296999364128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311302845,"filename":"image_16112025_16_54_49_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755869","file1":"1394755868","file0":"1394755865","file4":"1394755871","file5":"1394755872","file3":"1394755870"},"map_files_photo_id_array":[{"photo_id":"1394755872","filename":"file5"},{"photo_id":"1394755869","filename":"file2"},{"photo_id":"1394755871","filename":"file4"},{"photo_id":"1394755868","filename":"file1"},{"photo_id":"1394755865","filename":"file0"},{"photo_id":"1394755870","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755872":["hashtag1","hashtag2"]},{"1394755869":["hashtag1","hashtag2"]},{"1394755871":["hashtag1","hashtag2"]},{"1394755865":["hashtag1","hashtag2"]},{"1394755868":["hashtag1","hashtag2"]},{"1394755870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755872, 1394755869, 1394755871, 1394755865, 1394755868, 1394755870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.877716302871704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:41:22.329941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_07_3011.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_13_2615.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_18_4368.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_20_2917.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_22_1746.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_28_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_07_3011.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_13_2615.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_18_4368.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_20_2917.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_22_1746.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_28_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755875","1394755878","1394755883","1394755877","1394755876","1394755879"],"photo_ids_order":["1394755875","1394755876","1394755877","1394755878","1394755879","1394755883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15f385529de75a1fe8a748ba60667776.jpg","text":"TemporaryFile(/tmp/multipartBody5878267118223125424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311342968,"filename":"image_16112025_16_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/11/16/8a0fec7d30477792cdddaa1f579af1fc.jpg","text":"TemporaryFile(/tmp/multipartBody6002672954556145688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311342968,"filename":"image_16112025_16_55_20_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a132abfcdf8cdd0e98435a474810717e.jpg","text":"TemporaryFile(/tmp/multipartBody599506012933319223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311342968,"filename":"image_16112025_16_55_28_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a007fa7e3175ad867b3988bfae4c5a1c.jpg","text":"TemporaryFile(/tmp/multipartBody8865931113923876538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311342968,"filename":"image_16112025_16_55_18_4368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bd15c25845b133a0c94d5187ab180c3.jpg","text":"TemporaryFile(/tmp/multipartBody4549882142732488103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311342968,"filename":"image_16112025_16_55_13_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9754dd776c7ff5018755b003c80b1b27.jpg","text":"TemporaryFile(/tmp/multipartBody4037656359173279992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311342968,"filename":"image_16112025_16_55_22_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755877","file1":"1394755876","file0":"1394755875","file4":"1394755879","file5":"1394755883","file3":"1394755878"},"map_files_photo_id_array":[{"photo_id":"1394755883","filename":"file5"},{"photo_id":"1394755877","filename":"file2"},{"photo_id":"1394755879","filename":"file4"},{"photo_id":"1394755876","filename":"file1"},{"photo_id":"1394755875","filename":"file0"},{"photo_id":"1394755878","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755875":["hashtag1","hashtag2"]},{"1394755878":["hashtag1","hashtag2"]},{"1394755883":["hashtag1","hashtag2"]},{"1394755877":["hashtag1","hashtag2"]},{"1394755876":["hashtag1","hashtag2"]},{"1394755879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755875, 1394755878, 1394755883, 1394755877, 1394755876, 1394755879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.798611879348755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:42:03.142503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_31_2739.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_34_2762.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_38_3565.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_40_2648.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_44_3694.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_46_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_31_2739.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_34_2762.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_38_3565.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_40_2648.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_44_3694.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_46_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755884","1394755893","1394755887","1394755886","1394755891","1394755888"],"photo_ids_order":["1394755884","1394755886","1394755887","1394755888","1394755891","1394755893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e024a227549fe8c5b0fb59e5b9470bed.jpg","text":"TemporaryFile(/tmp/multipartBody4123718473373094405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311383845,"filename":"image_16112025_16_55_31_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c56827e093f0716a44ffc7839b75ffd7.jpg","text":"TemporaryFile(/tmp/multipartBody5450407637391064316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311383845,"filename":"image_16112025_16_55_46_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01d531c94658182bfee0b849e8472b60.jpg","text":"TemporaryFile(/tmp/multipartBody5580847810148682035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311383845,"filename":"image_16112025_16_55_38_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b67ba1da64fe116d0855f105dca053f.jpg","text":"TemporaryFile(/tmp/multipartBody1988944462078089194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311383845,"filename":"image_16112025_16_55_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/11/16/46a139d12cff98d4769ecdf5a5efa425.jpg","text":"TemporaryFile(/tmp/multipartBody7800762880185108713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311383845,"filename":"image_16112025_16_55_44_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46120f734feeaddf1bea1bbbd2980936.jpg","text":"TemporaryFile(/tmp/multipartBody2106092351021690822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311383845,"filename":"image_16112025_16_55_40_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755887","file1":"1394755886","file0":"1394755884","file4":"1394755891","file5":"1394755893","file3":"1394755888"},"map_files_photo_id_array":[{"photo_id":"1394755893","filename":"file5"},{"photo_id":"1394755887","filename":"file2"},{"photo_id":"1394755891","filename":"file4"},{"photo_id":"1394755886","filename":"file1"},{"photo_id":"1394755884","filename":"file0"},{"photo_id":"1394755888","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755884":["hashtag1","hashtag2"]},{"1394755893":["hashtag1","hashtag2"]},{"1394755887":["hashtag1","hashtag2"]},{"1394755886":["hashtag1","hashtag2"]},{"1394755891":["hashtag1","hashtag2"]},{"1394755888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755884, 1394755893, 1394755887, 1394755886, 1394755891, 1394755888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40164828300476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:42:42.539118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_49_2772.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_56_3751.jpg', '/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_59_2852.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_01_2672.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_04_2603.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_08_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_49_2772.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_56_3751.jpg
/home/pi/Desktop/images/16112025/16/55/image_16112025_16_55_59_2852.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_01_2672.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_04_2603.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_08_3700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755900","1394755899","1394755903","1394755902","1394755905","1394755901"],"photo_ids_order":["1394755899","1394755900","1394755901","1394755902","1394755903","1394755905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08ace3ca091e6ff64be17b08ea7bff4e.jpg","text":"TemporaryFile(/tmp/multipartBody5116675134716743178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311423276,"filename":"image_16112025_16_55_56_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e23bc16f35747f989c9a5eac9cc5b71.jpg","text":"TemporaryFile(/tmp/multipartBody5591071552887383316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311423276,"filename":"image_16112025_16_55_49_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d46468d9324c5c114c4ae4d169ac8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2106318078823011460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311423276,"filename":"image_16112025_16_56_04_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa8a746260de6b4f880508ef0811d869.jpg","text":"TemporaryFile(/tmp/multipartBody4525823165521937932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311423276,"filename":"image_16112025_16_56_01_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36bfd1640548cab68705f06257014ff1.jpg","text":"TemporaryFile(/tmp/multipartBody266178039169010016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311423276,"filename":"image_16112025_16_56_08_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b1b4393bf9f22ec8dc7af9f99bf6eeb.jpg","text":"TemporaryFile(/tmp/multipartBody6674652967575871427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311423276,"filename":"image_16112025_16_55_59_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755901","file1":"1394755900","file0":"1394755899","file4":"1394755903","file5":"1394755905","file3":"1394755902"},"map_files_photo_id_array":[{"photo_id":"1394755905","filename":"file5"},{"photo_id":"1394755901","filename":"file2"},{"photo_id":"1394755903","filename":"file4"},{"photo_id":"1394755900","filename":"file1"},{"photo_id":"1394755899","filename":"file0"},{"photo_id":"1394755902","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755900":["hashtag1","hashtag2"]},{"1394755899":["hashtag1","hashtag2"]},{"1394755903":["hashtag1","hashtag2"]},{"1394755902":["hashtag1","hashtag2"]},{"1394755905":["hashtag1","hashtag2"]},{"1394755901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755900, 1394755899, 1394755903, 1394755902, 1394755905, 1394755901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69246959686279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:43:22.834885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_13_2620.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_17_3717.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_19_2651.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_22_2721.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_26_3540.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_31_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_13_2620.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_17_3717.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_19_2651.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_22_2721.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_26_3540.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_31_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755912","1394755915","1394755920","1394755917","1394755919","1394755910"],"photo_ids_order":["1394755910","1394755912","1394755915","1394755917","1394755919","1394755920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecd8aa57787bd972b603fb9d94dca405.jpg","text":"TemporaryFile(/tmp/multipartBody5666724348923021293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311463561,"filename":"image_16112025_16_56_17_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec3bcaca8041921a6e66e4136e5976c9.jpg","text":"TemporaryFile(/tmp/multipartBody5606248741244462375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311463561,"filename":"image_16112025_16_56_19_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd0f88eb95026516e6fa484b208507fa.jpg","text":"TemporaryFile(/tmp/multipartBody4523260665111388347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311463561,"filename":"image_16112025_16_56_31_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0b122dfdab391b89e5ef0ba49bd2b0c.jpg","text":"TemporaryFile(/tmp/multipartBody6692165579998986176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311463561,"filename":"image_16112025_16_56_22_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c4776e7460d3010a1faa5f26fd0d083.jpg","text":"TemporaryFile(/tmp/multipartBody8036450449223353934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311463561,"filename":"image_16112025_16_56_26_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27640cbcb8c7cf34dcaf43961f91887e.jpg","text":"TemporaryFile(/tmp/multipartBody2603333659173623955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311463561,"filename":"image_16112025_16_56_13_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755915","file1":"1394755912","file0":"1394755910","file4":"1394755919","file5":"1394755920","file3":"1394755917"},"map_files_photo_id_array":[{"photo_id":"1394755920","filename":"file5"},{"photo_id":"1394755915","filename":"file2"},{"photo_id":"1394755919","filename":"file4"},{"photo_id":"1394755912","filename":"file1"},{"photo_id":"1394755910","filename":"file0"},{"photo_id":"1394755917","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755912":["hashtag1","hashtag2"]},{"1394755915":["hashtag1","hashtag2"]},{"1394755920":["hashtag1","hashtag2"]},{"1394755917":["hashtag1","hashtag2"]},{"1394755919":["hashtag1","hashtag2"]},{"1394755910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755912, 1394755915, 1394755920, 1394755917, 1394755919, 1394755910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54788398742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:44:02.786597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_37_2680.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_46_2566.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_49_2624.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_52_3203.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_55_2748.jpg', '/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_59_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_37_2680.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_46_2566.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_49_2624.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_52_3203.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_55_2748.jpg
/home/pi/Desktop/images/16112025/16/56/image_16112025_16_56_59_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755930","1394755924","1394755927","1394755921","1394755923","1394755922"],"photo_ids_order":["1394755921","1394755922","1394755923","1394755924","1394755927","1394755930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1aea52ab1f79c2e6defc14bc2f8bad1.jpg","text":"TemporaryFile(/tmp/multipartBody5489278452325181438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311503489,"filename":"image_16112025_16_56_59_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/180590788c808e5c8315b42468977f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5294741046412623519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311503489,"filename":"image_16112025_16_56_52_3203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/812fd51b0b74bc20582038715f740c89.jpg","text":"TemporaryFile(/tmp/multipartBody4118410406468200456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311503489,"filename":"image_16112025_16_56_55_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96b8151c1285f46c329ae0b1f54e9a72.jpg","text":"TemporaryFile(/tmp/multipartBody7189644655488056342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311503489,"filename":"image_16112025_16_56_37_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a10c85dcf56c20558d2854d8d2c30f29.jpg","text":"TemporaryFile(/tmp/multipartBody4651990798024045810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311503489,"filename":"image_16112025_16_56_49_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee60883567dc87a08739d9648b7fdc2d.jpg","text":"TemporaryFile(/tmp/multipartBody3053856731830585140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311503489,"filename":"image_16112025_16_56_46_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755923","file1":"1394755922","file0":"1394755921","file4":"1394755927","file5":"1394755930","file3":"1394755924"},"map_files_photo_id_array":[{"photo_id":"1394755930","filename":"file5"},{"photo_id":"1394755923","filename":"file2"},{"photo_id":"1394755927","filename":"file4"},{"photo_id":"1394755922","filename":"file1"},{"photo_id":"1394755921","filename":"file0"},{"photo_id":"1394755924","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755930":["hashtag1","hashtag2"]},{"1394755924":["hashtag1","hashtag2"]},{"1394755927":["hashtag1","hashtag2"]},{"1394755921":["hashtag1","hashtag2"]},{"1394755923":["hashtag1","hashtag2"]},{"1394755922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755930, 1394755924, 1394755927, 1394755921, 1394755923, 1394755922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98256731033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:44:42.146354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_01_2570.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_04_2729.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_08_3695.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_16_2780.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_20_3789.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_22_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_01_2570.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_04_2729.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_08_3695.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_16_2780.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_20_3789.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_22_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755939","1394755941","1394755938","1394755932","1394755940","1394755937"],"photo_ids_order":["1394755932","1394755937","1394755938","1394755939","1394755940","1394755941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49fbb1a758c26fb7fab5e6028efa39e1.jpg","text":"TemporaryFile(/tmp/multipartBody4337945042372294438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311542776,"filename":"image_16112025_16_57_16_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34358ea5077f01d953fd792da9671e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3060176763428580016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311542776,"filename":"image_16112025_16_57_22_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b93be1d6bde687ecf75f66edf568ce30.jpg","text":"TemporaryFile(/tmp/multipartBody6698352793770093847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311542776,"filename":"image_16112025_16_57_08_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64a4efd007097db8e3218db9eb569e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4331496442018873070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311542776,"filename":"image_16112025_16_57_01_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6676c64f9322cdc49d74809692e4215.jpg","text":"TemporaryFile(/tmp/multipartBody8015731385066398895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311542776,"filename":"image_16112025_16_57_20_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b8b778e80e70c028f257d836d6f57bf.jpg","text":"TemporaryFile(/tmp/multipartBody7951585510724637222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311542776,"filename":"image_16112025_16_57_04_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755938","file1":"1394755937","file0":"1394755932","file4":"1394755940","file5":"1394755941","file3":"1394755939"},"map_files_photo_id_array":[{"photo_id":"1394755941","filename":"file5"},{"photo_id":"1394755938","filename":"file2"},{"photo_id":"1394755940","filename":"file4"},{"photo_id":"1394755937","filename":"file1"},{"photo_id":"1394755932","filename":"file0"},{"photo_id":"1394755939","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755939":["hashtag1","hashtag2"]},{"1394755941":["hashtag1","hashtag2"]},{"1394755938":["hashtag1","hashtag2"]},{"1394755932":["hashtag1","hashtag2"]},{"1394755940":["hashtag1","hashtag2"]},{"1394755937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755939, 1394755941, 1394755938, 1394755932, 1394755940, 1394755937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37543058395386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:45:22.376984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_29_3624.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_31_2635.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_40_1602.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_43_1612.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_46_2642.jpg', '/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_52_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_29_3624.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_31_2635.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_40_1602.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_43_1612.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_46_2642.jpg
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_52_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755951","1394755950","1394755946","1394755955","1394755949","1394755954"],"photo_ids_order":["1394755946","1394755949","1394755950","1394755951","1394755954","1394755955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1309e5b4ad0895f065df25886d33f76.jpg","text":"TemporaryFile(/tmp/multipartBody3115890168952186662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311583035,"filename":"image_16112025_16_57_43_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cc783bb6a933764df47b720f715db91.jpg","text":"TemporaryFile(/tmp/multipartBody4017317100165609332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311583035,"filename":"image_16112025_16_57_40_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3fde8e587fc0f41ea8d75b36b1c17b1.jpg","text":"TemporaryFile(/tmp/multipartBody357494560025057383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311583035,"filename":"image_16112025_16_57_29_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9057525c34b7dc7888fb00f20c0acb92.jpg","text":"TemporaryFile(/tmp/multipartBody4790773434232484738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311583035,"filename":"image_16112025_16_57_52_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f4a7193b6d1991359df7a0dec08d7e6.jpg","text":"TemporaryFile(/tmp/multipartBody744920647112683567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311583035,"filename":"image_16112025_16_57_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/11/16/1190ff3f4ea863e0823ec469b0a5a726.jpg","text":"TemporaryFile(/tmp/multipartBody7440721572228190302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311583035,"filename":"image_16112025_16_57_46_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755950","file1":"1394755949","file0":"1394755946","file4":"1394755954","file5":"1394755955","file3":"1394755951"},"map_files_photo_id_array":[{"photo_id":"1394755955","filename":"file5"},{"photo_id":"1394755950","filename":"file2"},{"photo_id":"1394755954","filename":"file4"},{"photo_id":"1394755949","filename":"file1"},{"photo_id":"1394755946","filename":"file0"},{"photo_id":"1394755951","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755951":["hashtag1","hashtag2"]},{"1394755950":["hashtag1","hashtag2"]},{"1394755946":["hashtag1","hashtag2"]},{"1394755955":["hashtag1","hashtag2"]},{"1394755949":["hashtag1","hashtag2"]},{"1394755954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755951, 1394755950, 1394755946, 1394755955, 1394755949, 1394755954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8650758266449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:46:02.967288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_59_3692.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_01_2481.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_04_2653.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_07_3600.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_10_2721.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_17_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/57/image_16112025_16_57_59_3692.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_01_2481.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_04_2653.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_07_3600.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_10_2721.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_17_3742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755956","1394755959","1394755958","1394755961","1394755963","1394755957"],"photo_ids_order":["1394755956","1394755957","1394755958","1394755959","1394755961","1394755963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a3324ced79505a23cf858fbd33ddc5a.jpg","text":"TemporaryFile(/tmp/multipartBody8518893914845393204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311623661,"filename":"image_16112025_16_57_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/11/16/1a20d326c5c32f8eec7c1408a9f19bbb.jpg","text":"TemporaryFile(/tmp/multipartBody1368098686759635840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311623661,"filename":"image_16112025_16_58_07_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a9b996111ef1f12a13a76920f1d0eef.jpg","text":"TemporaryFile(/tmp/multipartBody4735006449864240076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311623661,"filename":"image_16112025_16_58_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/11/16/d7781e529ff16199ed017e6ee9706c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4696996237869509852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311623661,"filename":"image_16112025_16_58_10_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be2219db59e1a1647bdd8f2b5b1bb2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7280705065324194489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311623661,"filename":"image_16112025_16_58_17_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/017d97dfd78166e038e90f6ea3da8ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5190725870468239205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311623661,"filename":"image_16112025_16_58_01_2481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755958","file1":"1394755957","file0":"1394755956","file4":"1394755961","file5":"1394755963","file3":"1394755959"},"map_files_photo_id_array":[{"photo_id":"1394755963","filename":"file5"},{"photo_id":"1394755958","filename":"file2"},{"photo_id":"1394755961","filename":"file4"},{"photo_id":"1394755957","filename":"file1"},{"photo_id":"1394755956","filename":"file0"},{"photo_id":"1394755959","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755956":["hashtag1","hashtag2"]},{"1394755959":["hashtag1","hashtag2"]},{"1394755958":["hashtag1","hashtag2"]},{"1394755961":["hashtag1","hashtag2"]},{"1394755963":["hashtag1","hashtag2"]},{"1394755957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755956, 1394755959, 1394755958, 1394755961, 1394755963, 1394755957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53168439865112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:46:42.635976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_19_2777.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_22_2700.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_25_2644.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_29_3830.jpg', '/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_46_3611.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_01_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_19_2777.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_22_2700.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_25_2644.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_29_3830.jpg
/home/pi/Desktop/images/16112025/16/58/image_16112025_16_58_46_3611.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_01_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755971","1394755970","1394755973","1394755967","1394755972","1394755969"],"photo_ids_order":["1394755967","1394755969","1394755970","1394755971","1394755972","1394755973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/683083c7ab3e5ffeb206e41a2973c464.jpg","text":"TemporaryFile(/tmp/multipartBody785068448316183993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311663258,"filename":"image_16112025_16_58_29_3830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1ae22baf9e8e85d69c1349c10673aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1483498819404005964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311663258,"filename":"image_16112025_16_58_25_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4cbc779f1e9118fdcf4430ade8f83e6.jpg","text":"TemporaryFile(/tmp/multipartBody5041797275754665176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311663258,"filename":"image_16112025_16_59_01_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a207a132a5a531def3c80f746417a514.jpg","text":"TemporaryFile(/tmp/multipartBody7841628426787884653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311663258,"filename":"image_16112025_16_58_19_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fbe5a19a08f5bac848efadef94ddb74.jpg","text":"TemporaryFile(/tmp/multipartBody4652364355015508267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311663258,"filename":"image_16112025_16_58_46_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ba96f20cedb197cdd7b5342c45c2c66.jpg","text":"TemporaryFile(/tmp/multipartBody2853189708827143020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311663258,"filename":"image_16112025_16_58_22_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755970","file1":"1394755969","file0":"1394755967","file4":"1394755972","file5":"1394755973","file3":"1394755971"},"map_files_photo_id_array":[{"photo_id":"1394755973","filename":"file5"},{"photo_id":"1394755970","filename":"file2"},{"photo_id":"1394755972","filename":"file4"},{"photo_id":"1394755969","filename":"file1"},{"photo_id":"1394755967","filename":"file0"},{"photo_id":"1394755971","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755971":["hashtag1","hashtag2"]},{"1394755970":["hashtag1","hashtag2"]},{"1394755973":["hashtag1","hashtag2"]},{"1394755967":["hashtag1","hashtag2"]},{"1394755972":["hashtag1","hashtag2"]},{"1394755969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755971, 1394755970, 1394755973, 1394755967, 1394755972, 1394755969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.689247131347656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:47:21.920814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_05_3737.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_13_2806.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_19_2609.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_25_3675.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_28_2673.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_31_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_05_3737.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_13_2806.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_19_2609.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_25_3675.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_28_2673.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_31_2554.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.556328296661377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:47:41.854290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_05_3737.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_13_2806.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_19_2609.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_25_3675.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_28_2673.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_31_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_05_3737.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_13_2806.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_19_2609.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_25_3675.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_28_2673.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_31_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394755986","1394755988","1394755982","1394755985","1394755987","1394755984"],"photo_ids_order":["1394755982","1394755984","1394755985","1394755986","1394755987","1394755988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2678beff5c5bc756f3ee30d8f874b25f.jpg","text":"TemporaryFile(/tmp/multipartBody6334309540214699844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311722478,"filename":"image_16112025_16_59_25_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56faa8001207206bf5497a99ebbd673e.jpg","text":"TemporaryFile(/tmp/multipartBody1647897765076523461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311722478,"filename":"image_16112025_16_59_31_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10091e72970d623cd20d46def29df401.jpg","text":"TemporaryFile(/tmp/multipartBody8962331547797969285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311722478,"filename":"image_16112025_16_59_05_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2037cf8b05e8b056bad4aff43aabe5a.jpg","text":"TemporaryFile(/tmp/multipartBody7186180266217118977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311722478,"filename":"image_16112025_16_59_19_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d275f6df9f5640032cb0c4d8daeaba54.jpg","text":"TemporaryFile(/tmp/multipartBody5437238764021509832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311722478,"filename":"image_16112025_16_59_28_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/765941c409db23da9980f3d8ef8e5d39.jpg","text":"TemporaryFile(/tmp/multipartBody3048390555949236316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311722478,"filename":"image_16112025_16_59_13_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394755985","file1":"1394755984","file0":"1394755982","file4":"1394755987","file5":"1394755988","file3":"1394755986"},"map_files_photo_id_array":[{"photo_id":"1394755988","filename":"file5"},{"photo_id":"1394755985","filename":"file2"},{"photo_id":"1394755987","filename":"file4"},{"photo_id":"1394755984","filename":"file1"},{"photo_id":"1394755982","filename":"file0"},{"photo_id":"1394755986","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394755986":["hashtag1","hashtag2"]},{"1394755988":["hashtag1","hashtag2"]},{"1394755982":["hashtag1","hashtag2"]},{"1394755985":["hashtag1","hashtag2"]},{"1394755987":["hashtag1","hashtag2"]},{"1394755984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394755986, 1394755988, 1394755982, 1394755985, 1394755987, 1394755984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43973112106323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:48:22.106550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_34_3697.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_37_2629.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_40_2535.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_43_3767.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_49_2492.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_52_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_34_3697.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_37_2629.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_40_2535.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_43_3767.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_49_2492.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_52_3585.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.6436872482299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:48:42.090010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_34_3697.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_37_2629.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_40_2535.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_43_3767.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_49_2492.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_52_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_34_3697.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_37_2629.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_40_2535.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_43_3767.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_49_2492.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_52_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756008","1394756001","1394756004","1394756007","1394756009","1394756006"],"photo_ids_order":["1394756001","1394756004","1394756006","1394756007","1394756008","1394756009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0a062304ece676304e3cc24d8d64bea.jpg","text":"TemporaryFile(/tmp/multipartBody1369133117503087100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311782785,"filename":"image_16112025_16_59_49_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e727e9fc079de9e36296f323df77fcb.jpg","text":"TemporaryFile(/tmp/multipartBody7562522577350597746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311782785,"filename":"image_16112025_16_59_34_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41b94b00a2ac55730666b579ff80489c.jpg","text":"TemporaryFile(/tmp/multipartBody5998577979925219723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311782785,"filename":"image_16112025_16_59_37_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8197982ebd92314366a156666c089dc.jpg","text":"TemporaryFile(/tmp/multipartBody5701241893414118035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311782785,"filename":"image_16112025_16_59_43_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5b7d6ec1b40b11f8be2422d95a2d528.jpg","text":"TemporaryFile(/tmp/multipartBody5047016012094585954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311782785,"filename":"image_16112025_16_59_52_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5ccde1fa26bda904290563f99e5f29c.jpg","text":"TemporaryFile(/tmp/multipartBody2132794513619873291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311782785,"filename":"image_16112025_16_59_40_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756006","file1":"1394756004","file0":"1394756001","file4":"1394756008","file5":"1394756009","file3":"1394756007"},"map_files_photo_id_array":[{"photo_id":"1394756009","filename":"file5"},{"photo_id":"1394756006","filename":"file2"},{"photo_id":"1394756008","filename":"file4"},{"photo_id":"1394756004","filename":"file1"},{"photo_id":"1394756001","filename":"file0"},{"photo_id":"1394756007","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756008":["hashtag1","hashtag2"]},{"1394756001":["hashtag1","hashtag2"]},{"1394756004":["hashtag1","hashtag2"]},{"1394756007":["hashtag1","hashtag2"]},{"1394756009":["hashtag1","hashtag2"]},{"1394756006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756008, 1394756001, 1394756004, 1394756007, 1394756009, 1394756006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73986625671387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:49:22.384062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_55_2545.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_58_3566.jpg', '/home/pi/Desktop/images/16112025/16/59/image_16112025_17_00_01_2593.jpg', '/home/pi/Desktop/images/16112025/17/00/image_16112025_17_00_12_3697.jpg', '/home/pi/Desktop/images/16112025/17/00/image_16112025_17_00_54_3531.jpg', '/home/pi/Desktop/images/16112025/17/01/image_16112025_17_01_11_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_55_2545.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_16_59_58_3566.jpg
/home/pi/Desktop/images/16112025/16/59/image_16112025_17_00_01_2593.jpg
/home/pi/Desktop/images/16112025/17/00/image_16112025_17_00_12_3697.jpg
/home/pi/Desktop/images/16112025/17/00/image_16112025_17_00_54_3531.jpg
/home/pi/Desktop/images/16112025/17/01/image_16112025_17_01_11_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756020","1394756022","1394756016","1394756019","1394756013","1394756018"],"photo_ids_order":["1394756013","1394756016","1394756018","1394756019","1394756020","1394756022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/101599773606cbf1ea3783e783ec2a13.jpg","text":"TemporaryFile(/tmp/multipartBody6872624560578251843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311823015,"filename":"image_16112025_17_00_54_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c20636f1d94ee871d8fa60ad42be5ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4089171711230378349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311823015,"filename":"image_16112025_17_01_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/11/16/791aec008dd0afe2816352a4eae0bcc4.jpg","text":"TemporaryFile(/tmp/multipartBody8970579373942363713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311823015,"filename":"image_16112025_16_59_58_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26c02644410d452c61e223c706ca5e40.jpg","text":"TemporaryFile(/tmp/multipartBody2631007159428302115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311823015,"filename":"image_16112025_17_00_12_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58ef3a085b77dd9e055f0eea7ecf0e35.jpg","text":"TemporaryFile(/tmp/multipartBody6644376501641404989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311823015,"filename":"image_16112025_16_59_55_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04c7bb2cc9e92022f0eacec5b7c65227.jpg","text":"TemporaryFile(/tmp/multipartBody6928477720560101053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311823015,"filename":"image_16112025_17_00_01_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756018","file1":"1394756016","file0":"1394756013","file4":"1394756020","file5":"1394756022","file3":"1394756019"},"map_files_photo_id_array":[{"photo_id":"1394756022","filename":"file5"},{"photo_id":"1394756018","filename":"file2"},{"photo_id":"1394756020","filename":"file4"},{"photo_id":"1394756016","filename":"file1"},{"photo_id":"1394756013","filename":"file0"},{"photo_id":"1394756019","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756020":["hashtag1","hashtag2"]},{"1394756022":["hashtag1","hashtag2"]},{"1394756016":["hashtag1","hashtag2"]},{"1394756019":["hashtag1","hashtag2"]},{"1394756013":["hashtag1","hashtag2"]},{"1394756018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756020, 1394756022, 1394756016, 1394756019, 1394756013, 1394756018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26615834236145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:50:03.036929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/01/image_16112025_17_01_20_3637.jpg', '/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_11_3595.jpg', '/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_21_3722.jpg', '/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_47_2542.jpg', '/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_08_2580.jpg', '/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_11_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/01/image_16112025_17_01_20_3637.jpg
/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_11_3595.jpg
/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_21_3722.jpg
/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_47_2542.jpg
/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_08_2580.jpg
/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_11_2687.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.6701273918151855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:50:22.568238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/01/image_16112025_17_01_20_3637.jpg', '/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_11_3595.jpg', '/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_21_3722.jpg', '/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_47_2542.jpg', '/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_08_2580.jpg', '/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_11_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/01/image_16112025_17_01_20_3637.jpg
/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_11_3595.jpg
/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_21_3722.jpg
/home/pi/Desktop/images/16112025/17/02/image_16112025_17_02_47_2542.jpg
/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_08_2580.jpg
/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_11_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756040","1394756039","1394756033","1394756036","1394756041","1394756038"],"photo_ids_order":["1394756033","1394756036","1394756038","1394756039","1394756040","1394756041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/390106b401b4cfa98e43d0235ed23454.jpg","text":"TemporaryFile(/tmp/multipartBody1781733951078474001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311883208,"filename":"image_16112025_17_03_08_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48f2f232c579f605724f3ee088c79f3b.jpg","text":"TemporaryFile(/tmp/multipartBody7965961523415061809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311883208,"filename":"image_16112025_17_02_47_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8bc66c4f9d88a4cda48d333f1b86a153.jpg","text":"TemporaryFile(/tmp/multipartBody6503709246800751169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311883208,"filename":"image_16112025_17_01_20_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8aefbce3c2b6d77ef39c25e08f7b7764.jpg","text":"TemporaryFile(/tmp/multipartBody6389131236502695424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311883208,"filename":"image_16112025_17_02_11_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/225ee5da34a42222d6d1ebda2a1819a8.jpg","text":"TemporaryFile(/tmp/multipartBody7313579530514972672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311883208,"filename":"image_16112025_17_03_11_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13e6f79379d5d7b2ad967915cbddab54.jpg","text":"TemporaryFile(/tmp/multipartBody5383170854023450604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311883208,"filename":"image_16112025_17_02_21_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756038","file1":"1394756036","file0":"1394756033","file4":"1394756040","file5":"1394756041","file3":"1394756039"},"map_files_photo_id_array":[{"photo_id":"1394756041","filename":"file5"},{"photo_id":"1394756038","filename":"file2"},{"photo_id":"1394756040","filename":"file4"},{"photo_id":"1394756036","filename":"file1"},{"photo_id":"1394756033","filename":"file0"},{"photo_id":"1394756039","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756040":["hashtag1","hashtag2"]},{"1394756039":["hashtag1","hashtag2"]},{"1394756033":["hashtag1","hashtag2"]},{"1394756036":["hashtag1","hashtag2"]},{"1394756041":["hashtag1","hashtag2"]},{"1394756038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756040, 1394756039, 1394756033, 1394756036, 1394756041, 1394756038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.010220527648926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:51:03.551786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_20_2662.jpg', '/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_32_3789.jpg', '/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_08_3489.jpg', '/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_14_3649.jpg', '/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_20_3485.jpg', '/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_29_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_20_2662.jpg
/home/pi/Desktop/images/16112025/17/03/image_16112025_17_03_32_3789.jpg
/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_08_3489.jpg
/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_14_3649.jpg
/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_20_3485.jpg
/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_29_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756052","1394756049","1394756057","1394756051","1394756054","1394756050"],"photo_ids_order":["1394756049","1394756050","1394756051","1394756052","1394756054","1394756057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35460c0adb6dcceaaaca94f8812fa811.jpg","text":"TemporaryFile(/tmp/multipartBody6138893100130274127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311924254,"filename":"image_16112025_17_04_14_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/774e2d4c92f710485175a106b8fd699d.jpg","text":"TemporaryFile(/tmp/multipartBody4904130068934686007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311924254,"filename":"image_16112025_17_03_20_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afce23fd0eb880aacab0ddc32169424a.jpg","text":"TemporaryFile(/tmp/multipartBody1019790364765617086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311924254,"filename":"image_16112025_17_04_29_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92bd7b5b56ed7a04c2a9399d9216ada9.jpg","text":"TemporaryFile(/tmp/multipartBody3293603759145389004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311924254,"filename":"image_16112025_17_04_08_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/037bc15e4b2ad129c1c1b1fc5b5671dc.jpg","text":"TemporaryFile(/tmp/multipartBody3585661296449173173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311924254,"filename":"image_16112025_17_04_20_3485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed71b945244d3c2f9aa8b737c7d060dd.jpg","text":"TemporaryFile(/tmp/multipartBody7930675460011654536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311924254,"filename":"image_16112025_17_03_32_3789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756051","file1":"1394756050","file0":"1394756049","file4":"1394756054","file5":"1394756057","file3":"1394756052"},"map_files_photo_id_array":[{"photo_id":"1394756057","filename":"file5"},{"photo_id":"1394756051","filename":"file2"},{"photo_id":"1394756054","filename":"file4"},{"photo_id":"1394756050","filename":"file1"},{"photo_id":"1394756049","filename":"file0"},{"photo_id":"1394756052","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756052":["hashtag1","hashtag2"]},{"1394756049":["hashtag1","hashtag2"]},{"1394756057":["hashtag1","hashtag2"]},{"1394756051":["hashtag1","hashtag2"]},{"1394756054":["hashtag1","hashtag2"]},{"1394756050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756052, 1394756049, 1394756057, 1394756051, 1394756054, 1394756050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73841714859009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:51:42.829737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_32_2651.jpg', '/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_38_2614.jpg', '/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_07_3011.jpg', '/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_10_3699.jpg', '/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_25_3586.jpg', '/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_43_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_32_2651.jpg
/home/pi/Desktop/images/16112025/17/04/image_16112025_17_04_38_2614.jpg
/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_07_3011.jpg
/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_10_3699.jpg
/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_25_3586.jpg
/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_43_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756070","1394756076","1394756069","1394756072","1394756074","1394756068"],"photo_ids_order":["1394756068","1394756069","1394756070","1394756072","1394756074","1394756076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a26de301eb878dd346a35c34cba99794.jpg","text":"TemporaryFile(/tmp/multipartBody4244872530909125681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311963424,"filename":"image_16112025_17_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/11/16/cffc2865d685bc00eec5587fd5a5ec45.jpg","text":"TemporaryFile(/tmp/multipartBody8948015429966004728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311963424,"filename":"image_16112025_17_06_43_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f8cc1640eaa5ab0e0a29d19e32ba77c.jpg","text":"TemporaryFile(/tmp/multipartBody3000041724532156430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311963424,"filename":"image_16112025_17_04_38_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33e08512b9aa28b9203a995bfd5c85ee.jpg","text":"TemporaryFile(/tmp/multipartBody8689646632558817774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311963424,"filename":"image_16112025_17_06_10_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02f4a164730f5125143ec415f2713421.jpg","text":"TemporaryFile(/tmp/multipartBody1617067383014454374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311963424,"filename":"image_16112025_17_06_25_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc7e95f2538aaeceaea9f306f6c709e6.jpg","text":"TemporaryFile(/tmp/multipartBody8722876166172961899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763311963424,"filename":"image_16112025_17_04_32_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756070","file1":"1394756069","file0":"1394756068","file4":"1394756074","file5":"1394756076","file3":"1394756072"},"map_files_photo_id_array":[{"photo_id":"1394756076","filename":"file5"},{"photo_id":"1394756070","filename":"file2"},{"photo_id":"1394756074","filename":"file4"},{"photo_id":"1394756069","filename":"file1"},{"photo_id":"1394756068","filename":"file0"},{"photo_id":"1394756072","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756070":["hashtag1","hashtag2"]},{"1394756076":["hashtag1","hashtag2"]},{"1394756069":["hashtag1","hashtag2"]},{"1394756072":["hashtag1","hashtag2"]},{"1394756074":["hashtag1","hashtag2"]},{"1394756068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756070, 1394756076, 1394756069, 1394756072, 1394756074, 1394756068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88844585418701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:52:22.103016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_55_3142.jpg', '/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_58_2543.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_01_3505.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_04_2703.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_07_3617.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_10_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_55_3142.jpg
/home/pi/Desktop/images/16112025/17/06/image_16112025_17_06_58_2543.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_01_3505.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_04_2703.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_07_3617.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_10_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756091","1394756085","1394756093","1394756081","1394756092","1394756089"],"photo_ids_order":["1394756081","1394756085","1394756089","1394756091","1394756092","1394756093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3beb9689e32a942f9c943d016be45d15.jpg","text":"TemporaryFile(/tmp/multipartBody7233714544883396594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312002797,"filename":"image_16112025_17_07_04_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8f63b1f53cdccc94efb016fe3cc5f0b.jpg","text":"TemporaryFile(/tmp/multipartBody1194812713478764298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312002797,"filename":"image_16112025_17_06_58_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9bc4d9567eb1daace68c7aed33f8b6c4.jpg","text":"TemporaryFile(/tmp/multipartBody5367262248105200023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312002797,"filename":"image_16112025_17_07_10_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c147cc2a34e274bedcec95c1f778bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2935957080859148043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312002797,"filename":"image_16112025_17_06_55_3142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7483fdf7827ebbfb187b4ae4aa7077e.jpg","text":"TemporaryFile(/tmp/multipartBody3949734237173141758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312002797,"filename":"image_16112025_17_07_07_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38b3d19f180b259d225972b6bec81bbc.jpg","text":"TemporaryFile(/tmp/multipartBody5593334418051317051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312002797,"filename":"image_16112025_17_07_01_3505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756089","file1":"1394756085","file0":"1394756081","file4":"1394756092","file5":"1394756093","file3":"1394756091"},"map_files_photo_id_array":[{"photo_id":"1394756093","filename":"file5"},{"photo_id":"1394756089","filename":"file2"},{"photo_id":"1394756092","filename":"file4"},{"photo_id":"1394756085","filename":"file1"},{"photo_id":"1394756081","filename":"file0"},{"photo_id":"1394756091","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756091":["hashtag1","hashtag2"]},{"1394756085":["hashtag1","hashtag2"]},{"1394756093":["hashtag1","hashtag2"]},{"1394756081":["hashtag1","hashtag2"]},{"1394756092":["hashtag1","hashtag2"]},{"1394756089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756091, 1394756085, 1394756093, 1394756081, 1394756092, 1394756089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61791133880615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:53:02.910746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_13_2720.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_24_2666.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_31_2472.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_34_3778.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_37_2648.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_40_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_13_2720.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_24_2666.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_31_2472.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_34_3778.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_37_2648.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_40_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756097","1394756100","1394756103","1394756096","1394756098","1394756095"],"photo_ids_order":["1394756095","1394756096","1394756097","1394756098","1394756100","1394756103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44f7fc6929b41ca6f6b59f8c462fa247.jpg","text":"TemporaryFile(/tmp/multipartBody80697143719762442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312043624,"filename":"image_16112025_17_07_31_2472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ac6336f1433cb95b90a987adeec259b.jpg","text":"TemporaryFile(/tmp/multipartBody9085909009337528820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312043624,"filename":"image_16112025_17_07_37_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61edd556b0e960db1ee5687a15de2cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7164575790476967028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312043624,"filename":"image_16112025_17_07_40_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70968835a23baa916aff3ceded8adfe3.jpg","text":"TemporaryFile(/tmp/multipartBody3552648216349116145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312043624,"filename":"image_16112025_17_07_24_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/718e0c5be62c0745a15e020c4365179a.jpg","text":"TemporaryFile(/tmp/multipartBody5596927429772664057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312043624,"filename":"image_16112025_17_07_34_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/387f52489468909738497eb5b9f677ed.jpg","text":"TemporaryFile(/tmp/multipartBody4335576180234862437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312043624,"filename":"image_16112025_17_07_13_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756097","file1":"1394756096","file0":"1394756095","file4":"1394756100","file5":"1394756103","file3":"1394756098"},"map_files_photo_id_array":[{"photo_id":"1394756103","filename":"file5"},{"photo_id":"1394756097","filename":"file2"},{"photo_id":"1394756100","filename":"file4"},{"photo_id":"1394756096","filename":"file1"},{"photo_id":"1394756095","filename":"file0"},{"photo_id":"1394756098","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756097":["hashtag1","hashtag2"]},{"1394756100":["hashtag1","hashtag2"]},{"1394756103":["hashtag1","hashtag2"]},{"1394756096":["hashtag1","hashtag2"]},{"1394756098":["hashtag1","hashtag2"]},{"1394756095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756097, 1394756100, 1394756103, 1394756096, 1394756098, 1394756095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79650330543518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:53:42.314905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_43_3736.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_46_2646.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_49_2568.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_51_2871.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_55_3624.jpg', '/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_58_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_43_3736.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_46_2646.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_49_2568.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_51_2871.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_55_3624.jpg
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_07_58_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756124","1394756120","1394756108","1394756117","1394756122","1394756119"],"photo_ids_order":["1394756108","1394756117","1394756119","1394756120","1394756122","1394756124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/980be1d6394b7c41b4885239f2a011f2.jpg","text":"TemporaryFile(/tmp/multipartBody2728898913899554972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312082938,"filename":"image_16112025_17_07_58_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/126ce112e5ad06cc7589b1eb4bee5603.jpg","text":"TemporaryFile(/tmp/multipartBody6901361565554158833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312082938,"filename":"image_16112025_17_07_51_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df41f9f3a50d00c88f0dcf936a2837e9.jpg","text":"TemporaryFile(/tmp/multipartBody1031463538977240375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312082938,"filename":"image_16112025_17_07_43_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06f2a48648f8029abf815976bbf80b05.jpg","text":"TemporaryFile(/tmp/multipartBody8956988399771580779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312082938,"filename":"image_16112025_17_07_46_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d44c30aaba362409ab98ebf8b12b291c.jpg","text":"TemporaryFile(/tmp/multipartBody659418318622363360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312082938,"filename":"image_16112025_17_07_55_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b25e9c9699a0f8892af94572bd38053e.jpg","text":"TemporaryFile(/tmp/multipartBody6078354304237358907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312082938,"filename":"image_16112025_17_07_49_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756119","file1":"1394756117","file0":"1394756108","file4":"1394756122","file5":"1394756124","file3":"1394756120"},"map_files_photo_id_array":[{"photo_id":"1394756124","filename":"file5"},{"photo_id":"1394756119","filename":"file2"},{"photo_id":"1394756122","filename":"file4"},{"photo_id":"1394756117","filename":"file1"},{"photo_id":"1394756108","filename":"file0"},{"photo_id":"1394756120","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756124":["hashtag1","hashtag2"]},{"1394756120":["hashtag1","hashtag2"]},{"1394756108":["hashtag1","hashtag2"]},{"1394756117":["hashtag1","hashtag2"]},{"1394756122":["hashtag1","hashtag2"]},{"1394756119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756124, 1394756120, 1394756108, 1394756117, 1394756122, 1394756119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87149524688721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:54:22.684228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/07/image_16112025_17_08_01_3683.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_04_2540.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_06_2612.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_10_3661.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_13_2671.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_15_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/07/image_16112025_17_08_01_3683.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_04_2540.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_06_2612.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_10_3661.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_13_2671.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_15_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756127","1394756136","1394756150","1394756132","1394756134","1394756131"],"photo_ids_order":["1394756127","1394756131","1394756132","1394756134","1394756136","1394756150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74ed31dbb5c610ef8469667668c25b17.jpg","text":"TemporaryFile(/tmp/multipartBody1704020902126886583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312123348,"filename":"image_16112025_17_08_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/11/16/fce72bf3459a01f0391d31b5567f473f.jpg","text":"TemporaryFile(/tmp/multipartBody4493690093150896729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312123348,"filename":"image_16112025_17_08_13_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83f5bf6c942a15e10e0b84cd07a130b7.jpg","text":"TemporaryFile(/tmp/multipartBody3602168159952858843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312123348,"filename":"image_16112025_17_08_15_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47854fb8464df8bce486837a8f1703c8.jpg","text":"TemporaryFile(/tmp/multipartBody328974124447637377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312123348,"filename":"image_16112025_17_08_06_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c07b509583d575a6e49fc4d23f5d7977.jpg","text":"TemporaryFile(/tmp/multipartBody5665951214725130141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312123348,"filename":"image_16112025_17_08_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/11/16/792ab96775cd923e57335f65383693a3.jpg","text":"TemporaryFile(/tmp/multipartBody3992170190009407365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312123348,"filename":"image_16112025_17_08_04_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756132","file1":"1394756131","file0":"1394756127","file4":"1394756136","file5":"1394756150","file3":"1394756134"},"map_files_photo_id_array":[{"photo_id":"1394756150","filename":"file5"},{"photo_id":"1394756132","filename":"file2"},{"photo_id":"1394756136","filename":"file4"},{"photo_id":"1394756131","filename":"file1"},{"photo_id":"1394756127","filename":"file0"},{"photo_id":"1394756134","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756127":["hashtag1","hashtag2"]},{"1394756136":["hashtag1","hashtag2"]},{"1394756150":["hashtag1","hashtag2"]},{"1394756132":["hashtag1","hashtag2"]},{"1394756134":["hashtag1","hashtag2"]},{"1394756131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756127, 1394756136, 1394756150, 1394756132, 1394756134, 1394756131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.947678565979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:55:03.402599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_19_3530.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_22_2650.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_24_2651.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_28_3722.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_31_2605.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_33_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_19_3530.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_22_2650.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_24_2651.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_28_3722.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_31_2605.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_33_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756160","1394756154","1394756156","1394756153","1394756155","1394756158"],"photo_ids_order":["1394756153","1394756154","1394756155","1394756156","1394756158","1394756160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70ec25ca94914b3e3ce916e49489f19a.jpg","text":"TemporaryFile(/tmp/multipartBody9148032512506737636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312164103,"filename":"image_16112025_17_08_33_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fee8cb4cff3a91a0ca8dde565f7b489f.jpg","text":"TemporaryFile(/tmp/multipartBody1128254309914770595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312164103,"filename":"image_16112025_17_08_22_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6637d72b9a9938cfa7a10271ec34d358.jpg","text":"TemporaryFile(/tmp/multipartBody6650208849296757980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312164103,"filename":"image_16112025_17_08_28_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ef533bb1e262f3afef1feb627d4e013.jpg","text":"TemporaryFile(/tmp/multipartBody5532784010440716256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312164103,"filename":"image_16112025_17_08_19_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d214fccd71b29ce8202a75a62dfebf82.jpg","text":"TemporaryFile(/tmp/multipartBody7967156628999171125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312164103,"filename":"image_16112025_17_08_24_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5379cf5f66df03b5397e9f9f5dc263dc.jpg","text":"TemporaryFile(/tmp/multipartBody4091405826143363452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312164103,"filename":"image_16112025_17_08_31_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756155","file1":"1394756154","file0":"1394756153","file4":"1394756158","file5":"1394756160","file3":"1394756156"},"map_files_photo_id_array":[{"photo_id":"1394756160","filename":"file5"},{"photo_id":"1394756155","filename":"file2"},{"photo_id":"1394756158","filename":"file4"},{"photo_id":"1394756154","filename":"file1"},{"photo_id":"1394756153","filename":"file0"},{"photo_id":"1394756156","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756160":["hashtag1","hashtag2"]},{"1394756154":["hashtag1","hashtag2"]},{"1394756156":["hashtag1","hashtag2"]},{"1394756153":["hashtag1","hashtag2"]},{"1394756155":["hashtag1","hashtag2"]},{"1394756158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756160, 1394756154, 1394756156, 1394756153, 1394756155, 1394756158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25921297073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:55:42.874424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_37_3702.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_40_2685.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_42_2735.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_46_3702.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_49_2538.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_51_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_37_3702.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_40_2685.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_42_2735.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_46_3702.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_49_2538.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_51_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756163","1394756162","1394756165","1394756167","1394756161","1394756164"],"photo_ids_order":["1394756161","1394756162","1394756163","1394756164","1394756165","1394756167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58247d0e26885e946da910062eff563c.jpg","text":"TemporaryFile(/tmp/multipartBody1679987122708984774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312203523,"filename":"image_16112025_17_08_42_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bafc13af58f645e771609578c0dbea11.jpg","text":"TemporaryFile(/tmp/multipartBody1471547311791816312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312203523,"filename":"image_16112025_17_08_40_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cf311cc86430302d24fb1fa685209c6.jpg","text":"TemporaryFile(/tmp/multipartBody8076603265308129183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312203523,"filename":"image_16112025_17_08_49_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea34b1ec28fa3c3d48c3e6070bb578ab.jpg","text":"TemporaryFile(/tmp/multipartBody8203208272437516472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312203523,"filename":"image_16112025_17_08_51_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b70e7f8d2b5515e27223451c5b1e1d5.jpg","text":"TemporaryFile(/tmp/multipartBody6086727158529932122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312203523,"filename":"image_16112025_17_08_37_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e74626181da783b881fc80d1318609a2.jpg","text":"TemporaryFile(/tmp/multipartBody1811975933336023482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312203523,"filename":"image_16112025_17_08_46_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756163","file1":"1394756162","file0":"1394756161","file4":"1394756165","file5":"1394756167","file3":"1394756164"},"map_files_photo_id_array":[{"photo_id":"1394756167","filename":"file5"},{"photo_id":"1394756163","filename":"file2"},{"photo_id":"1394756165","filename":"file4"},{"photo_id":"1394756162","filename":"file1"},{"photo_id":"1394756161","filename":"file0"},{"photo_id":"1394756164","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756163":["hashtag1","hashtag2"]},{"1394756162":["hashtag1","hashtag2"]},{"1394756165":["hashtag1","hashtag2"]},{"1394756167":["hashtag1","hashtag2"]},{"1394756161":["hashtag1","hashtag2"]},{"1394756164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756163, 1394756162, 1394756165, 1394756167, 1394756161, 1394756164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.325302839279175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 17:56:22.079502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_55_3620.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_58_2651.jpg', '/home/pi/Desktop/images/16112025/17/08/image_16112025_17_09_00_2659.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_04_3709.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_07_2571.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_09_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_55_3620.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_08_58_2651.jpg
/home/pi/Desktop/images/16112025/17/08/image_16112025_17_09_00_2659.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_04_3709.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_07_2571.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_09_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756175","1394756177","1394756171","1394756179","1394756173","1394756176"],"photo_ids_order":["1394756171","1394756173","1394756175","1394756176","1394756177","1394756179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e9df50da8143eae64251e4526496624.jpg","text":"TemporaryFile(/tmp/multipartBody4668882356529216123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312242744,"filename":"image_16112025_17_09_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/11/16/0cc11409bce41caaed9004d514164921.jpg","text":"TemporaryFile(/tmp/multipartBody8070479455729067741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312242744,"filename":"image_16112025_17_09_07_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38cc1feff715123a5503725cffc06b37.jpg","text":"TemporaryFile(/tmp/multipartBody7730611358042077322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312242744,"filename":"image_16112025_17_08_55_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ab1027bc0982531dd30302e4e85044f.jpg","text":"TemporaryFile(/tmp/multipartBody5017201856384171557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312242744,"filename":"image_16112025_17_09_09_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26f1b73a2f150b2c56af66f5aac98a28.jpg","text":"TemporaryFile(/tmp/multipartBody4257182603103637029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312242744,"filename":"image_16112025_17_08_58_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63ee2cee2c12068ce719805428b94844.jpg","text":"TemporaryFile(/tmp/multipartBody7079578854206964841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312242744,"filename":"image_16112025_17_09_04_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756175","file1":"1394756173","file0":"1394756171","file4":"1394756177","file5":"1394756179","file3":"1394756176"},"map_files_photo_id_array":[{"photo_id":"1394756179","filename":"file5"},{"photo_id":"1394756175","filename":"file2"},{"photo_id":"1394756177","filename":"file4"},{"photo_id":"1394756173","filename":"file1"},{"photo_id":"1394756171","filename":"file0"},{"photo_id":"1394756176","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756175":["hashtag1","hashtag2"]},{"1394756177":["hashtag1","hashtag2"]},{"1394756171":["hashtag1","hashtag2"]},{"1394756179":["hashtag1","hashtag2"]},{"1394756173":["hashtag1","hashtag2"]},{"1394756176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756175, 1394756177, 1394756171, 1394756179, 1394756173, 1394756176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33050727844238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:57:03.092853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_13_3662.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_16_2669.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_18_2599.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_22_3577.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_25_2604.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_27_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_13_3662.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_16_2669.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_18_2599.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_22_3577.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_25_2604.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_27_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756181","1394756184","1394756187","1394756189","1394756183","1394756182"],"photo_ids_order":["1394756181","1394756182","1394756183","1394756184","1394756187","1394756189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13685baccbc265f6381e378480a28ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1129619041768092622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312283831,"filename":"image_16112025_17_09_13_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f40b9f738f2cb75dc43dde877e83befd.jpg","text":"TemporaryFile(/tmp/multipartBody8381709439889176010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312283831,"filename":"image_16112025_17_09_22_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ad94ba4cb479c54d19cb451d76fcf16.jpg","text":"TemporaryFile(/tmp/multipartBody8746147346179063312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312283831,"filename":"image_16112025_17_09_25_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1920007e7645abed628f64efdd9a7ced.jpg","text":"TemporaryFile(/tmp/multipartBody6547238976791004856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312283831,"filename":"image_16112025_17_09_27_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8e7ce088aa856082a88c15f23b26832.jpg","text":"TemporaryFile(/tmp/multipartBody7611029506914626036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312283831,"filename":"image_16112025_17_09_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/11/16/88334d13cb74ec26ccea1a54ef433bf4.jpg","text":"TemporaryFile(/tmp/multipartBody7553293288381213824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312283831,"filename":"image_16112025_17_09_16_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756183","file1":"1394756182","file0":"1394756181","file4":"1394756187","file5":"1394756189","file3":"1394756184"},"map_files_photo_id_array":[{"photo_id":"1394756189","filename":"file5"},{"photo_id":"1394756183","filename":"file2"},{"photo_id":"1394756187","filename":"file4"},{"photo_id":"1394756182","filename":"file1"},{"photo_id":"1394756181","filename":"file0"},{"photo_id":"1394756184","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756181":["hashtag1","hashtag2"]},{"1394756184":["hashtag1","hashtag2"]},{"1394756187":["hashtag1","hashtag2"]},{"1394756189":["hashtag1","hashtag2"]},{"1394756183":["hashtag1","hashtag2"]},{"1394756182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756181, 1394756184, 1394756187, 1394756189, 1394756183, 1394756182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73147678375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:57:42.479191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_31_3564.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_33_2554.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_37_3674.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_40_2493.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_43_3595.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_46_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_31_3564.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_33_2554.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_37_3674.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_40_2493.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_43_3595.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_46_2597.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756196","1394756193","1394756192","1394756195","1394756197","1394756194"],"photo_ids_order":["1394756192","1394756193","1394756194","1394756195","1394756196","1394756197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ec510e34781e71e6c3c36510962d206.jpg","text":"TemporaryFile(/tmp/multipartBody5692628069560113812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312323118,"filename":"image_16112025_17_09_43_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d80e7b10f86010ff2bc76a99ffa0ea3.jpg","text":"TemporaryFile(/tmp/multipartBody1030384461663114327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312323118,"filename":"image_16112025_17_09_33_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76930a9cecd0eacfea8660bdaf26939b.jpg","text":"TemporaryFile(/tmp/multipartBody7750538526855952615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312323118,"filename":"image_16112025_17_09_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/11/16/6e54774221459004bdf42e9618df69e2.jpg","text":"TemporaryFile(/tmp/multipartBody5532237558117806241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312323118,"filename":"image_16112025_17_09_40_2493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11bf3072238a6c97971acac959ce0f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8880099964477630677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312323118,"filename":"image_16112025_17_09_46_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26ed4eed6a87f3647b94f7d467bb17b4.jpg","text":"TemporaryFile(/tmp/multipartBody4731952060627805307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312323118,"filename":"image_16112025_17_09_37_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756194","file1":"1394756193","file0":"1394756192","file4":"1394756196","file5":"1394756197","file3":"1394756195"},"map_files_photo_id_array":[{"photo_id":"1394756197","filename":"file5"},{"photo_id":"1394756194","filename":"file2"},{"photo_id":"1394756196","filename":"file4"},{"photo_id":"1394756193","filename":"file1"},{"photo_id":"1394756192","filename":"file0"},{"photo_id":"1394756195","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756196":["hashtag1","hashtag2"]},{"1394756193":["hashtag1","hashtag2"]},{"1394756192":["hashtag1","hashtag2"]},{"1394756195":["hashtag1","hashtag2"]},{"1394756197":["hashtag1","hashtag2"]},{"1394756194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756196, 1394756193, 1394756192, 1394756195, 1394756197, 1394756194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.151684522628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 17:59:02.838714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_48_2758.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_52_3619.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_55_2580.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_57_2715.jpg', '/home/pi/Desktop/images/16112025/17/09/image_16112025_17_10_00_2792.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_08_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_48_2758.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_52_3619.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_55_2580.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_09_57_2715.jpg
/home/pi/Desktop/images/16112025/17/09/image_16112025_17_10_00_2792.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_08_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756212","1394756199","1394756207","1394756216","1394756218","1394756203"],"photo_ids_order":["1394756199","1394756203","1394756207","1394756212","1394756216","1394756218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd5ff07658c0c6ddb23612fe50888339.jpg","text":"TemporaryFile(/tmp/multipartBody727158928605596168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312403653,"filename":"image_16112025_17_09_57_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53596899f92ed7c2bd819d0df1344673.jpg","text":"TemporaryFile(/tmp/multipartBody599906012332401893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312403653,"filename":"image_16112025_17_09_48_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3a5e6c8e8fb47e8fd64a12fc0a77627.jpg","text":"TemporaryFile(/tmp/multipartBody8640830876031907826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312403653,"filename":"image_16112025_17_09_55_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fef101d4db76cc2ea1c48c43452ce317.jpg","text":"TemporaryFile(/tmp/multipartBody4799439930886182564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312403653,"filename":"image_16112025_17_10_00_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d75304aa07f20acb026167a66d7fc505.jpg","text":"TemporaryFile(/tmp/multipartBody1922642542339315908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312403653,"filename":"image_16112025_17_10_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/11/16/dce5e1d3d1efb84cac21435309a7fb70.jpg","text":"TemporaryFile(/tmp/multipartBody7404095812435021601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312403653,"filename":"image_16112025_17_09_52_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756207","file1":"1394756203","file0":"1394756199","file4":"1394756216","file5":"1394756218","file3":"1394756212"},"map_files_photo_id_array":[{"photo_id":"1394756218","filename":"file5"},{"photo_id":"1394756207","filename":"file2"},{"photo_id":"1394756216","filename":"file4"},{"photo_id":"1394756203","filename":"file1"},{"photo_id":"1394756199","filename":"file0"},{"photo_id":"1394756212","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756212":["hashtag1","hashtag2"]},{"1394756199":["hashtag1","hashtag2"]},{"1394756207":["hashtag1","hashtag2"]},{"1394756216":["hashtag1","hashtag2"]},{"1394756218":["hashtag1","hashtag2"]},{"1394756203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756212, 1394756199, 1394756207, 1394756216, 1394756218, 1394756203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98400640487671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 17:59:41.803726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_11_3664.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_14_2717.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_17_2760.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_20_3709.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_23_2615.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_26_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_11_3664.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_14_2717.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_17_2760.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_20_3709.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_23_2615.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_26_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756227","1394756232","1394756231","1394756221","1394756230","1394756224"],"photo_ids_order":["1394756221","1394756224","1394756227","1394756230","1394756231","1394756232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce112bc30d3ce690777bb113da1908ae.jpg","text":"TemporaryFile(/tmp/multipartBody3966380522064088374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312442441,"filename":"image_16112025_17_10_17_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/783f011c31334d69309ccc7730f6846a.jpg","text":"TemporaryFile(/tmp/multipartBody4636507262782735747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312442441,"filename":"image_16112025_17_10_26_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c942a0726a2b2854e40c0ae50dec6e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3579376000375999956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312442441,"filename":"image_16112025_17_10_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/11/16/3b975057c95dca6d96e8154f191357c3.jpg","text":"TemporaryFile(/tmp/multipartBody7483786062609327453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312442441,"filename":"image_16112025_17_10_11_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c81171e1d8b5965970ee64756aeff31b.jpg","text":"TemporaryFile(/tmp/multipartBody7055775525639982567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312442441,"filename":"image_16112025_17_10_20_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7870b8bddda833a96b5a7eb09b160fc.jpg","text":"TemporaryFile(/tmp/multipartBody2954627649116199918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312442441,"filename":"image_16112025_17_10_14_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756227","file1":"1394756224","file0":"1394756221","file4":"1394756231","file5":"1394756232","file3":"1394756230"},"map_files_photo_id_array":[{"photo_id":"1394756232","filename":"file5"},{"photo_id":"1394756227","filename":"file2"},{"photo_id":"1394756231","filename":"file4"},{"photo_id":"1394756224","filename":"file1"},{"photo_id":"1394756221","filename":"file0"},{"photo_id":"1394756230","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756227":["hashtag1","hashtag2"]},{"1394756232":["hashtag1","hashtag2"]},{"1394756231":["hashtag1","hashtag2"]},{"1394756221":["hashtag1","hashtag2"]},{"1394756230":["hashtag1","hashtag2"]},{"1394756224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756227, 1394756232, 1394756231, 1394756221, 1394756230, 1394756224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47240900993347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:00:22.216818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_29_3806.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_32_2563.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_35_2773.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_39_3734.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_41_2741.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_44_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_29_3806.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_32_2563.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_35_2773.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_39_3734.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_41_2741.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_44_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756244","1394756238","1394756241","1394756243","1394756236","1394756239"],"photo_ids_order":["1394756236","1394756238","1394756239","1394756241","1394756243","1394756244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33e079476558316776b510f62150c1b7.jpg","text":"TemporaryFile(/tmp/multipartBody5710640464229151928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312483014,"filename":"image_16112025_17_10_44_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f07940d45da211a0f78a22d09cae53d.jpg","text":"TemporaryFile(/tmp/multipartBody2822268151072201834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312483014,"filename":"image_16112025_17_10_32_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/125a655b2cb13933aa060757c29298f4.jpg","text":"TemporaryFile(/tmp/multipartBody8443111492265739951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312483014,"filename":"image_16112025_17_10_39_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7edd7a3d948cde1d4fb6cbc6d3bfe19c.jpg","text":"TemporaryFile(/tmp/multipartBody1143433813259165163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312483014,"filename":"image_16112025_17_10_41_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14d69c07d53c226129df30d6cf4fcfc1.jpg","text":"TemporaryFile(/tmp/multipartBody5743880995262440569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312483014,"filename":"image_16112025_17_10_29_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9789ea38234c97a1e9fb03f2a99c0e8.jpg","text":"TemporaryFile(/tmp/multipartBody6241001105397244007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312483014,"filename":"image_16112025_17_10_35_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756239","file1":"1394756238","file0":"1394756236","file4":"1394756243","file5":"1394756244","file3":"1394756241"},"map_files_photo_id_array":[{"photo_id":"1394756244","filename":"file5"},{"photo_id":"1394756239","filename":"file2"},{"photo_id":"1394756243","filename":"file4"},{"photo_id":"1394756238","filename":"file1"},{"photo_id":"1394756236","filename":"file0"},{"photo_id":"1394756241","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756244":["hashtag1","hashtag2"]},{"1394756238":["hashtag1","hashtag2"]},{"1394756241":["hashtag1","hashtag2"]},{"1394756243":["hashtag1","hashtag2"]},{"1394756236":["hashtag1","hashtag2"]},{"1394756239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756244, 1394756238, 1394756241, 1394756243, 1394756236, 1394756239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52311706542969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:01:03.114780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_47_2672.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_50_3635.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_53_2706.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_56_2707.jpg', '/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_59_3572.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_02_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_47_2672.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_50_3635.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_53_2706.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_56_2707.jpg
/home/pi/Desktop/images/16112025/17/10/image_16112025_17_10_59_3572.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_02_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756247","1394756249","1394756251","1394756254","1394756248","1394756245"],"photo_ids_order":["1394756245","1394756247","1394756248","1394756249","1394756251","1394756254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe7b9fe0d7ed11f42b9b6b9634129c13.jpg","text":"TemporaryFile(/tmp/multipartBody7828891152888993372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312523853,"filename":"image_16112025_17_10_50_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b509dfc54142f78215378c7b548e2cf4.jpg","text":"TemporaryFile(/tmp/multipartBody2555241691853071202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312523853,"filename":"image_16112025_17_10_56_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de4696b60c611df6f7350688605da680.jpg","text":"TemporaryFile(/tmp/multipartBody7215011835921126188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312523853,"filename":"image_16112025_17_10_59_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12af8116e75ac3febea51109d20ea51a.jpg","text":"TemporaryFile(/tmp/multipartBody2797687494852815566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312523853,"filename":"image_16112025_17_11_02_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02bde24352b86a5d357766f7172a69d1.jpg","text":"TemporaryFile(/tmp/multipartBody4146806728331446451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312523853,"filename":"image_16112025_17_10_53_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48c8edcee47e0464b0f9f5a791b3ee72.jpg","text":"TemporaryFile(/tmp/multipartBody6730351188501043397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312523853,"filename":"image_16112025_17_10_47_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756248","file1":"1394756247","file0":"1394756245","file4":"1394756251","file5":"1394756254","file3":"1394756249"},"map_files_photo_id_array":[{"photo_id":"1394756254","filename":"file5"},{"photo_id":"1394756248","filename":"file2"},{"photo_id":"1394756251","filename":"file4"},{"photo_id":"1394756247","filename":"file1"},{"photo_id":"1394756245","filename":"file0"},{"photo_id":"1394756249","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756247":["hashtag1","hashtag2"]},{"1394756249":["hashtag1","hashtag2"]},{"1394756251":["hashtag1","hashtag2"]},{"1394756254":["hashtag1","hashtag2"]},{"1394756248":["hashtag1","hashtag2"]},{"1394756245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756247, 1394756249, 1394756251, 1394756254, 1394756248, 1394756245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.938714027404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:01:42.416472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_05_2764.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_08_3582.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_11_2663.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_14_2638.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_17_3754.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_20_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_05_2764.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_08_3582.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_11_2663.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_14_2638.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_17_3754.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_20_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756262","1394756259","1394756261","1394756258","1394756260","1394756263"],"photo_ids_order":["1394756258","1394756259","1394756260","1394756261","1394756262","1394756263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1e77abfaf5ec4e0c49ac0d4c3c7c599.jpg","text":"TemporaryFile(/tmp/multipartBody3888219756468706998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312563047,"filename":"image_16112025_17_11_17_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b60ae33c2b7e004f80b50fbfb3a8186f.jpg","text":"TemporaryFile(/tmp/multipartBody5689156429751387610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312563047,"filename":"image_16112025_17_11_08_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1735f0ae0b7fcb08e35866eb70a29fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3123532449023193608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312563047,"filename":"image_16112025_17_11_14_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2bc79496dfe95f42afc3532a1253cf12.jpg","text":"TemporaryFile(/tmp/multipartBody7216636933820296369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312563047,"filename":"image_16112025_17_11_05_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bab44e5462711401e4bc91c5ba2eecf.jpg","text":"TemporaryFile(/tmp/multipartBody1061938536483725386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312563047,"filename":"image_16112025_17_11_11_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6eb451dc6955a4ea52b46f6ffa67ca46.jpg","text":"TemporaryFile(/tmp/multipartBody366409685716271492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312563047,"filename":"image_16112025_17_11_20_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756260","file1":"1394756259","file0":"1394756258","file4":"1394756262","file5":"1394756263","file3":"1394756261"},"map_files_photo_id_array":[{"photo_id":"1394756263","filename":"file5"},{"photo_id":"1394756260","filename":"file2"},{"photo_id":"1394756262","filename":"file4"},{"photo_id":"1394756259","filename":"file1"},{"photo_id":"1394756258","filename":"file0"},{"photo_id":"1394756261","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756262":["hashtag1","hashtag2"]},{"1394756259":["hashtag1","hashtag2"]},{"1394756261":["hashtag1","hashtag2"]},{"1394756258":["hashtag1","hashtag2"]},{"1394756260":["hashtag1","hashtag2"]},{"1394756263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756262, 1394756259, 1394756261, 1394756258, 1394756260, 1394756263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4281370639801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:02:22.704989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_23_2692.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_26_2752.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_29_3702.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_32_2574.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_35_2599.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_38_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_23_2692.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_26_2752.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_29_3702.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_32_2574.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_35_2599.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_38_3699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756280","1394756273","1394756267","1394756276","1394756270","1394756278"],"photo_ids_order":["1394756267","1394756270","1394756273","1394756276","1394756278","1394756280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23f051364309c63b3cca850a02c50432.jpg","text":"TemporaryFile(/tmp/multipartBody7454114005243009843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312603366,"filename":"image_16112025_17_11_38_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14250f86f7ebee77abe67709026b870c.jpg","text":"TemporaryFile(/tmp/multipartBody1054011309487767221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312603366,"filename":"image_16112025_17_11_29_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b8720ba6fe785ec1878761e19873a53.jpg","text":"TemporaryFile(/tmp/multipartBody7535721849298908011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312603366,"filename":"image_16112025_17_11_23_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b672ac61eca5ff4f47c94c1b01b315a.jpg","text":"TemporaryFile(/tmp/multipartBody4559608014005285884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312603366,"filename":"image_16112025_17_11_32_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b5ce946a0e1fe335af2493241ec0042.jpg","text":"TemporaryFile(/tmp/multipartBody3534638783844962141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312603366,"filename":"image_16112025_17_11_26_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cf419d4dc50bb51d2513ae84dd6c329.jpg","text":"TemporaryFile(/tmp/multipartBody7600059737562639972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312603366,"filename":"image_16112025_17_11_35_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756273","file1":"1394756270","file0":"1394756267","file4":"1394756278","file5":"1394756280","file3":"1394756276"},"map_files_photo_id_array":[{"photo_id":"1394756280","filename":"file5"},{"photo_id":"1394756273","filename":"file2"},{"photo_id":"1394756278","filename":"file4"},{"photo_id":"1394756270","filename":"file1"},{"photo_id":"1394756267","filename":"file0"},{"photo_id":"1394756276","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756280":["hashtag1","hashtag2"]},{"1394756273":["hashtag1","hashtag2"]},{"1394756267":["hashtag1","hashtag2"]},{"1394756276":["hashtag1","hashtag2"]},{"1394756270":["hashtag1","hashtag2"]},{"1394756278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756280, 1394756273, 1394756267, 1394756276, 1394756270, 1394756278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.595181703567505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:03:02.587110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_41_2675.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_44_2613.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_47_3636.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_50_2651.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_53_2707.jpg', '/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_56_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_41_2675.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_44_2613.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_47_3636.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_50_2651.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_53_2707.jpg
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_56_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756289","1394756283","1394756286","1394756282","1394756284","1394756281"],"photo_ids_order":["1394756281","1394756282","1394756283","1394756284","1394756286","1394756289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f4a2afc386f3fc6aeb6542bbdbe92f8.jpg","text":"TemporaryFile(/tmp/multipartBody2872125776716235563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312643310,"filename":"image_16112025_17_11_56_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70eeefcbc7a6c5f9ec06e0a138c7afbe.jpg","text":"TemporaryFile(/tmp/multipartBody8638619757446309056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312643310,"filename":"image_16112025_17_11_47_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa7eeed278a07eaafb54477ed674f9ef.jpg","text":"TemporaryFile(/tmp/multipartBody5677739977878365641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312643310,"filename":"image_16112025_17_11_53_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a34ff493f634e0aab001a6635435b1d.jpg","text":"TemporaryFile(/tmp/multipartBody255486455074487203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312643310,"filename":"image_16112025_17_11_44_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/581ddf315411f86ded132254bbc9b2cb.jpg","text":"TemporaryFile(/tmp/multipartBody3283678629497804839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312643310,"filename":"image_16112025_17_11_50_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d016e4b5d7834adf79e4012019eabde.jpg","text":"TemporaryFile(/tmp/multipartBody1607031928782028289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312643310,"filename":"image_16112025_17_11_41_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756283","file1":"1394756282","file0":"1394756281","file4":"1394756286","file5":"1394756289","file3":"1394756284"},"map_files_photo_id_array":[{"photo_id":"1394756289","filename":"file5"},{"photo_id":"1394756283","filename":"file2"},{"photo_id":"1394756286","filename":"file4"},{"photo_id":"1394756282","filename":"file1"},{"photo_id":"1394756281","filename":"file0"},{"photo_id":"1394756284","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756289":["hashtag1","hashtag2"]},{"1394756283":["hashtag1","hashtag2"]},{"1394756286":["hashtag1","hashtag2"]},{"1394756282":["hashtag1","hashtag2"]},{"1394756284":["hashtag1","hashtag2"]},{"1394756281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756289, 1394756283, 1394756286, 1394756282, 1394756284, 1394756281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92393255233765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:03:41.812039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_59_2655.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_02_2727.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_05_3640.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_08_2594.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_11_2712.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_14_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/11/image_16112025_17_11_59_2655.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_02_2727.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_05_3640.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_08_2594.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_11_2712.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_14_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756295","1394756304","1394756297","1394756300","1394756299","1394756302"],"photo_ids_order":["1394756295","1394756297","1394756299","1394756300","1394756302","1394756304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/114f270ada513fc60e072b9fa2c9745e.jpg","text":"TemporaryFile(/tmp/multipartBody6511062498171082407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312682442,"filename":"image_16112025_17_11_59_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc83298114665468fe20c34178579e69.jpg","text":"TemporaryFile(/tmp/multipartBody6602014187319395071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312682442,"filename":"image_16112025_17_12_14_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f704abb250ce5ddf8fab3cabc768d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8776811406628476636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312682442,"filename":"image_16112025_17_12_02_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c67d298a69e5cf10e2e9fec978a3a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7804875354679760548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312682442,"filename":"image_16112025_17_12_08_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbcf31ded15b226e84e72f1fc911ca69.jpg","text":"TemporaryFile(/tmp/multipartBody5739899425559635287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312682442,"filename":"image_16112025_17_12_05_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f676a5e3b62d0a74a9f18e0114065d89.jpg","text":"TemporaryFile(/tmp/multipartBody1184784839047165439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312682442,"filename":"image_16112025_17_12_11_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756299","file1":"1394756297","file0":"1394756295","file4":"1394756302","file5":"1394756304","file3":"1394756300"},"map_files_photo_id_array":[{"photo_id":"1394756304","filename":"file5"},{"photo_id":"1394756299","filename":"file2"},{"photo_id":"1394756302","filename":"file4"},{"photo_id":"1394756297","filename":"file1"},{"photo_id":"1394756295","filename":"file0"},{"photo_id":"1394756300","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756295":["hashtag1","hashtag2"]},{"1394756304":["hashtag1","hashtag2"]},{"1394756297":["hashtag1","hashtag2"]},{"1394756300":["hashtag1","hashtag2"]},{"1394756299":["hashtag1","hashtag2"]},{"1394756302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756295, 1394756304, 1394756297, 1394756300, 1394756299, 1394756302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6468985080719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:04:22.039009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_17_2729.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_20_2590.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_23_3732.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_26_2550.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_29_2770.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_32_3124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_17_2729.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_20_2590.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_23_3732.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_26_2550.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_29_2770.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_32_3124.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756311","1394756313","1394756318","1394756306","1394756315","1394756309"],"photo_ids_order":["1394756306","1394756309","1394756311","1394756313","1394756315","1394756318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2988d5b699835c82548e60d4152998c4.jpg","text":"TemporaryFile(/tmp/multipartBody2587484473009754963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312722701,"filename":"image_16112025_17_12_23_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1ccf6ab6f924bfa86d72f2b28fff1a6.jpg","text":"TemporaryFile(/tmp/multipartBody2168522186844271115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312722701,"filename":"image_16112025_17_12_26_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74a25602b06720c7926cc33de1452fde.jpg","text":"TemporaryFile(/tmp/multipartBody5845133457138583503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312722701,"filename":"image_16112025_17_12_32_3124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a32854b29685c020bdb4df5caef88d9.jpg","text":"TemporaryFile(/tmp/multipartBody5753232425942910990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312722701,"filename":"image_16112025_17_12_17_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/618de8b583493b1d6ebf5d075e788274.jpg","text":"TemporaryFile(/tmp/multipartBody2903665100133562238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312722701,"filename":"image_16112025_17_12_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/11/16/0b3c2ad0898b7f3f24bead500cb6b2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7019847221428248695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312722701,"filename":"image_16112025_17_12_20_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756311","file1":"1394756309","file0":"1394756306","file4":"1394756315","file5":"1394756318","file3":"1394756313"},"map_files_photo_id_array":[{"photo_id":"1394756318","filename":"file5"},{"photo_id":"1394756311","filename":"file2"},{"photo_id":"1394756315","filename":"file4"},{"photo_id":"1394756309","filename":"file1"},{"photo_id":"1394756306","filename":"file0"},{"photo_id":"1394756313","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756311":["hashtag1","hashtag2"]},{"1394756313":["hashtag1","hashtag2"]},{"1394756318":["hashtag1","hashtag2"]},{"1394756306":["hashtag1","hashtag2"]},{"1394756315":["hashtag1","hashtag2"]},{"1394756309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756311, 1394756313, 1394756318, 1394756306, 1394756315, 1394756309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.978859663009644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:05:03.007162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_34_2701.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_38_3628.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_41_2658.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_44_3604.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_47_2703.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_50_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_34_2701.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_38_3628.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_41_2658.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_44_3604.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_47_2703.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_50_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756325","1394756319","1394756322","1394756321","1394756329","1394756320"],"photo_ids_order":["1394756319","1394756320","1394756321","1394756322","1394756325","1394756329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d97ae4cb927dac1f67c6535d13deb67d.jpg","text":"TemporaryFile(/tmp/multipartBody5541731855353257745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312763736,"filename":"image_16112025_17_12_47_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/186d0cc1d6dc7d6ba9db427eaafe8591.jpg","text":"TemporaryFile(/tmp/multipartBody6870113036280096709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312763736,"filename":"image_16112025_17_12_34_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ecea8304cfa6eb4e2555e7240dddaff.jpg","text":"TemporaryFile(/tmp/multipartBody8613540173844796497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312763736,"filename":"image_16112025_17_12_44_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bb642c28da085147ab96b5a21b80eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3399132255340548569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312763736,"filename":"image_16112025_17_12_41_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/909a0a4d50b9ad447b7e29e99a519c29.jpg","text":"TemporaryFile(/tmp/multipartBody2937806622201194730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312763736,"filename":"image_16112025_17_12_50_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b7357c4d400103006c61426a495f04d.jpg","text":"TemporaryFile(/tmp/multipartBody710218560912014800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312763736,"filename":"image_16112025_17_12_38_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756321","file1":"1394756320","file0":"1394756319","file4":"1394756325","file5":"1394756329","file3":"1394756322"},"map_files_photo_id_array":[{"photo_id":"1394756329","filename":"file5"},{"photo_id":"1394756321","filename":"file2"},{"photo_id":"1394756325","filename":"file4"},{"photo_id":"1394756320","filename":"file1"},{"photo_id":"1394756319","filename":"file0"},{"photo_id":"1394756322","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756325":["hashtag1","hashtag2"]},{"1394756319":["hashtag1","hashtag2"]},{"1394756322":["hashtag1","hashtag2"]},{"1394756321":["hashtag1","hashtag2"]},{"1394756329":["hashtag1","hashtag2"]},{"1394756320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756325, 1394756319, 1394756322, 1394756321, 1394756329, 1394756320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8696825504303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:05:42.359700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_53_3639.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_56_2798.jpg', '/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_59_2626.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_01_2653.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_05_3595.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_08_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_53_3639.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_56_2798.jpg
/home/pi/Desktop/images/16112025/17/12/image_16112025_17_12_59_2626.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_01_2653.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_05_3595.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_08_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756337","1394756331","1394756334","1394756336","1394756335","1394756338"],"photo_ids_order":["1394756331","1394756334","1394756335","1394756336","1394756337","1394756338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7348b034576529319c0dc9d5778ec55.jpg","text":"TemporaryFile(/tmp/multipartBody1856907565210126172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312802987,"filename":"image_16112025_17_13_05_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6fa87ff70fb95fc26ad434b90b4dad4.jpg","text":"TemporaryFile(/tmp/multipartBody6979651896365855712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312802987,"filename":"image_16112025_17_12_53_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d362522b0a06dddbca6157f634d846e.jpg","text":"TemporaryFile(/tmp/multipartBody7825874655221736225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312802987,"filename":"image_16112025_17_12_56_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0449c70bae730ef6ac6fcef09a8d8971.jpg","text":"TemporaryFile(/tmp/multipartBody993177906665928133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312802987,"filename":"image_16112025_17_13_01_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d613c2cf39da2a02bad5481494213330.jpg","text":"TemporaryFile(/tmp/multipartBody7672833513565450992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312802987,"filename":"image_16112025_17_12_59_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1572b8c490c26855c1030772801e5c6.jpg","text":"TemporaryFile(/tmp/multipartBody5307063352365410042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312802987,"filename":"image_16112025_17_13_08_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756335","file1":"1394756334","file0":"1394756331","file4":"1394756337","file5":"1394756338","file3":"1394756336"},"map_files_photo_id_array":[{"photo_id":"1394756338","filename":"file5"},{"photo_id":"1394756335","filename":"file2"},{"photo_id":"1394756337","filename":"file4"},{"photo_id":"1394756334","filename":"file1"},{"photo_id":"1394756331","filename":"file0"},{"photo_id":"1394756336","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756337":["hashtag1","hashtag2"]},{"1394756331":["hashtag1","hashtag2"]},{"1394756334":["hashtag1","hashtag2"]},{"1394756336":["hashtag1","hashtag2"]},{"1394756335":["hashtag1","hashtag2"]},{"1394756338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756337, 1394756331, 1394756334, 1394756336, 1394756335, 1394756338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55871295928955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:06:22.721234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_11_3614.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_14_2729.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_17_2544.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_20_3747.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_23_2600.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_26_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_11_3614.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_14_2729.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_17_2544.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_20_3747.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_23_2600.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_26_2709.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.5630147457122803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:06:42.687409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_11_3614.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_14_2729.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_17_2544.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_20_3747.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_23_2600.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_26_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_11_3614.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_14_2729.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_17_2544.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_20_3747.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_23_2600.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_26_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756361","1394756358","1394756360","1394756357","1394756359","1394756356"],"photo_ids_order":["1394756356","1394756357","1394756358","1394756359","1394756360","1394756361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a02d3c8d31c1aab3ff8ddeac748321d.jpg","text":"TemporaryFile(/tmp/multipartBody6511670448020292321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312863364,"filename":"image_16112025_17_13_26_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24b053b4ccb1c279423b205033a6d008.jpg","text":"TemporaryFile(/tmp/multipartBody7928431779618203077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312863364,"filename":"image_16112025_17_13_17_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33bb228cd5b6ee9d898edbf1f46a2ea4.jpg","text":"TemporaryFile(/tmp/multipartBody5408747535354191147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312863364,"filename":"image_16112025_17_13_23_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33b49e2aa3d138fd99a08bcd702480c8.jpg","text":"TemporaryFile(/tmp/multipartBody3560945324172493596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312863364,"filename":"image_16112025_17_13_14_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b04ee3c7e6987cf2a6e87cc8f4a1945.jpg","text":"TemporaryFile(/tmp/multipartBody8950222958837847925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312863364,"filename":"image_16112025_17_13_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/11/16/82f8b75189766f37c78d309b7b61ce36.jpg","text":"TemporaryFile(/tmp/multipartBody2897390460754351592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312863364,"filename":"image_16112025_17_13_11_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756358","file1":"1394756357","file0":"1394756356","file4":"1394756360","file5":"1394756361","file3":"1394756359"},"map_files_photo_id_array":[{"photo_id":"1394756361","filename":"file5"},{"photo_id":"1394756358","filename":"file2"},{"photo_id":"1394756360","filename":"file4"},{"photo_id":"1394756357","filename":"file1"},{"photo_id":"1394756356","filename":"file0"},{"photo_id":"1394756359","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756361":["hashtag1","hashtag2"]},{"1394756358":["hashtag1","hashtag2"]},{"1394756360":["hashtag1","hashtag2"]},{"1394756357":["hashtag1","hashtag2"]},{"1394756359":["hashtag1","hashtag2"]},{"1394756356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756361, 1394756358, 1394756360, 1394756357, 1394756359, 1394756356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.517258405685425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:07:21.880041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_29_3631.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_32_2636.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_34_2614.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_38_3678.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_41_2990.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_44_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_29_3631.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_32_2636.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_34_2614.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_38_3678.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_41_2990.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_44_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756373","1394756370","1394756366","1394756369","1394756365","1394756368"],"photo_ids_order":["1394756365","1394756366","1394756368","1394756369","1394756370","1394756373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50b46bec497fd4a358becf85af600caf.jpg","text":"TemporaryFile(/tmp/multipartBody8273307187289742169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312902533,"filename":"image_16112025_17_13_44_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c42a1a87f330e4504944385bfeca322d.jpg","text":"TemporaryFile(/tmp/multipartBody7730404194199225501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312902533,"filename":"image_16112025_17_13_41_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b82037a399820b2c47e6969a73cb7a85.jpg","text":"TemporaryFile(/tmp/multipartBody4411439901718663114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312902533,"filename":"image_16112025_17_13_32_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf8e96fdcfba76cff009cd6295ed5efe.jpg","text":"TemporaryFile(/tmp/multipartBody4934452192484194198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312902533,"filename":"image_16112025_17_13_38_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2de2759c3f9be1c36b5006af90afc09.jpg","text":"TemporaryFile(/tmp/multipartBody5307139778552791263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312902533,"filename":"image_16112025_17_13_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/11/16/f1dbad6c26a88cab0f3be82ee7275118.jpg","text":"TemporaryFile(/tmp/multipartBody8100962412082154394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312902533,"filename":"image_16112025_17_13_34_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756368","file1":"1394756366","file0":"1394756365","file4":"1394756370","file5":"1394756373","file3":"1394756369"},"map_files_photo_id_array":[{"photo_id":"1394756373","filename":"file5"},{"photo_id":"1394756368","filename":"file2"},{"photo_id":"1394756370","filename":"file4"},{"photo_id":"1394756366","filename":"file1"},{"photo_id":"1394756365","filename":"file0"},{"photo_id":"1394756369","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756373":["hashtag1","hashtag2"]},{"1394756370":["hashtag1","hashtag2"]},{"1394756366":["hashtag1","hashtag2"]},{"1394756369":["hashtag1","hashtag2"]},{"1394756365":["hashtag1","hashtag2"]},{"1394756368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756373, 1394756370, 1394756366, 1394756369, 1394756365, 1394756368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92293357849121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:08:02.646185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_46_2655.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_50_3734.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_53_2696.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_56_2722.jpg', '/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_58_2663.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_02_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_46_2655.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_50_3734.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_53_2696.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_56_2722.jpg
/home/pi/Desktop/images/16112025/17/13/image_16112025_17_13_58_2663.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_02_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756376","1394756375","1394756383","1394756377","1394756380","1394756374"],"photo_ids_order":["1394756374","1394756375","1394756376","1394756377","1394756380","1394756383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0d83faba0c1ef749092c40da1c80c19.jpg","text":"TemporaryFile(/tmp/multipartBody6811747201936299876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312943355,"filename":"image_16112025_17_13_53_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/207c2fe2e51a63ca24b3e1cb12a7eda3.jpg","text":"TemporaryFile(/tmp/multipartBody6064185291405960630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312943355,"filename":"image_16112025_17_13_50_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2de1c83c920e5fb6b2157cfe0ab690eb.jpg","text":"TemporaryFile(/tmp/multipartBody4277894689911952011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312943355,"filename":"image_16112025_17_14_02_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97baf86fe4ecb02ee3ecfa826134e763.jpg","text":"TemporaryFile(/tmp/multipartBody5631656765720994186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312943355,"filename":"image_16112025_17_13_56_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f996b96b6e2f5786d6e4ee84949b3dad.jpg","text":"TemporaryFile(/tmp/multipartBody6348597735665474715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312943355,"filename":"image_16112025_17_13_58_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1070fea4fdee73c22ae7f51b1a0eca0a.jpg","text":"TemporaryFile(/tmp/multipartBody566645802857506617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312943355,"filename":"image_16112025_17_13_46_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756376","file1":"1394756375","file0":"1394756374","file4":"1394756380","file5":"1394756383","file3":"1394756377"},"map_files_photo_id_array":[{"photo_id":"1394756383","filename":"file5"},{"photo_id":"1394756376","filename":"file2"},{"photo_id":"1394756380","filename":"file4"},{"photo_id":"1394756375","filename":"file1"},{"photo_id":"1394756374","filename":"file0"},{"photo_id":"1394756377","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756376":["hashtag1","hashtag2"]},{"1394756375":["hashtag1","hashtag2"]},{"1394756383":["hashtag1","hashtag2"]},{"1394756377":["hashtag1","hashtag2"]},{"1394756380":["hashtag1","hashtag2"]},{"1394756374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756376, 1394756375, 1394756383, 1394756377, 1394756380, 1394756374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64593720436096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:08:42.155853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_05_2796.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_07_2586.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_11_3800.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_14_2694.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_17_2759.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_20_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_05_2796.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_07_2586.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_11_3800.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_14_2694.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_17_2759.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_20_3644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756388","1394756390","1394756393","1394756389","1394756392","1394756391"],"photo_ids_order":["1394756388","1394756389","1394756390","1394756391","1394756392","1394756393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0350abe923af5d383dd36afb6faec1f.jpg","text":"TemporaryFile(/tmp/multipartBody9131640721082591723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312982845,"filename":"image_16112025_17_14_05_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b95f03160b7d6a29ad22775a2dcb60f.jpg","text":"TemporaryFile(/tmp/multipartBody7568271834756875145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312982845,"filename":"image_16112025_17_14_11_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0b3223245a43f9a1b23b0669208ef73.jpg","text":"TemporaryFile(/tmp/multipartBody1165319427208092404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312982845,"filename":"image_16112025_17_14_20_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cdea6686236ef84c82183d681f1e6e39.jpg","text":"TemporaryFile(/tmp/multipartBody3139625276956114326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312982845,"filename":"image_16112025_17_14_07_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3186baffbf84e26f51f17cc307d49ef.jpg","text":"TemporaryFile(/tmp/multipartBody1881400690782768741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312982845,"filename":"image_16112025_17_14_17_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03069b341e0fa8209462f246bb9f99b0.jpg","text":"TemporaryFile(/tmp/multipartBody6034069860710981637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763312982845,"filename":"image_16112025_17_14_14_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756390","file1":"1394756389","file0":"1394756388","file4":"1394756392","file5":"1394756393","file3":"1394756391"},"map_files_photo_id_array":[{"photo_id":"1394756393","filename":"file5"},{"photo_id":"1394756390","filename":"file2"},{"photo_id":"1394756392","filename":"file4"},{"photo_id":"1394756389","filename":"file1"},{"photo_id":"1394756388","filename":"file0"},{"photo_id":"1394756391","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756388":["hashtag1","hashtag2"]},{"1394756390":["hashtag1","hashtag2"]},{"1394756393":["hashtag1","hashtag2"]},{"1394756389":["hashtag1","hashtag2"]},{"1394756392":["hashtag1","hashtag2"]},{"1394756391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756388, 1394756390, 1394756393, 1394756389, 1394756392, 1394756391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.540881395339966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:09:22.330969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_23_2734.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_26_2636.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_28_2675.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_32_3523.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_34_2580.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_38_3722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_23_2734.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_26_2636.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_28_2675.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_32_3523.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_34_2580.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_38_3722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756404","1394756407","1394756400","1394756403","1394756402","1394756405"],"photo_ids_order":["1394756400","1394756402","1394756403","1394756404","1394756405","1394756407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee1ddb03fce8957bf6763d0fc7d86553.jpg","text":"TemporaryFile(/tmp/multipartBody1476602320180650011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313023001,"filename":"image_16112025_17_14_32_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec096c411a58bf48a1381de5467b1817.jpg","text":"TemporaryFile(/tmp/multipartBody7674399271493337159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313023001,"filename":"image_16112025_17_14_38_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfcf9c20948bbbad8692756f2e0219e2.jpg","text":"TemporaryFile(/tmp/multipartBody5733069236597729271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313023001,"filename":"image_16112025_17_14_23_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecd25cbd76b2a458c3eda26532862eaf.jpg","text":"TemporaryFile(/tmp/multipartBody6406662601881297154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313023001,"filename":"image_16112025_17_14_28_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34f279634e6cacca55005efe46f64c5a.jpg","text":"TemporaryFile(/tmp/multipartBody7839465555283390201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313023001,"filename":"image_16112025_17_14_26_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a70142f83b474d3dfe623a45aa8ded56.jpg","text":"TemporaryFile(/tmp/multipartBody7530358557583520354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313023001,"filename":"image_16112025_17_14_34_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756403","file1":"1394756402","file0":"1394756400","file4":"1394756405","file5":"1394756407","file3":"1394756404"},"map_files_photo_id_array":[{"photo_id":"1394756407","filename":"file5"},{"photo_id":"1394756403","filename":"file2"},{"photo_id":"1394756405","filename":"file4"},{"photo_id":"1394756402","filename":"file1"},{"photo_id":"1394756400","filename":"file0"},{"photo_id":"1394756404","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756404":["hashtag1","hashtag2"]},{"1394756407":["hashtag1","hashtag2"]},{"1394756400":["hashtag1","hashtag2"]},{"1394756403":["hashtag1","hashtag2"]},{"1394756402":["hashtag1","hashtag2"]},{"1394756405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756404, 1394756407, 1394756400, 1394756403, 1394756402, 1394756405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.797598361968994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:10:03.112475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_41_2498.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_43_2888.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_47_3723.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_50_2570.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_53_2817.jpg', '/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_55_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_41_2498.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_43_2888.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_47_3723.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_50_2570.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_53_2817.jpg
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_55_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756410","1394756418","1394756412","1394756415","1394756409","1394756411"],"photo_ids_order":["1394756409","1394756410","1394756411","1394756412","1394756415","1394756418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/300b5594f8cf8127f7083ce15ab6cb88.jpg","text":"TemporaryFile(/tmp/multipartBody898344492522303519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313063802,"filename":"image_16112025_17_14_43_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21367f8ab502af5030a119347b9f83b7.jpg","text":"TemporaryFile(/tmp/multipartBody7181089179758386897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313063802,"filename":"image_16112025_17_14_55_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7dc3d3f99450d4ff908896dc0c67158b.jpg","text":"TemporaryFile(/tmp/multipartBody8184580942671352282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313063802,"filename":"image_16112025_17_14_50_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92b690fe01096fb155306135e8512155.jpg","text":"TemporaryFile(/tmp/multipartBody7945637000033845313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313063802,"filename":"image_16112025_17_14_53_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/287240fe0cc9ba862e3fff2c2d6aabe0.jpg","text":"TemporaryFile(/tmp/multipartBody296428231910706416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313063802,"filename":"image_16112025_17_14_41_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49728704f70d930aa39369c11c25a2a3.jpg","text":"TemporaryFile(/tmp/multipartBody2342982076223124332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313063802,"filename":"image_16112025_17_14_47_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756411","file1":"1394756410","file0":"1394756409","file4":"1394756415","file5":"1394756418","file3":"1394756412"},"map_files_photo_id_array":[{"photo_id":"1394756418","filename":"file5"},{"photo_id":"1394756411","filename":"file2"},{"photo_id":"1394756415","filename":"file4"},{"photo_id":"1394756410","filename":"file1"},{"photo_id":"1394756409","filename":"file0"},{"photo_id":"1394756412","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756410":["hashtag1","hashtag2"]},{"1394756418":["hashtag1","hashtag2"]},{"1394756412":["hashtag1","hashtag2"]},{"1394756415":["hashtag1","hashtag2"]},{"1394756409":["hashtag1","hashtag2"]},{"1394756411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756410, 1394756418, 1394756412, 1394756415, 1394756409, 1394756411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98326134681702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:10:42.599365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_59_3717.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_06_3011.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_10_3542.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_13_2632.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_16_3712.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_19_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/14/image_16112025_17_14_59_3717.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_06_3011.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_10_3542.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_13_2632.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_16_3712.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_19_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756425","1394756424","1394756427","1394756423","1394756426","1394756428"],"photo_ids_order":["1394756423","1394756424","1394756425","1394756426","1394756427","1394756428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87f77394889eddeb6a7d5a8aebba2e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3539494807529207227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313103231,"filename":"image_16112025_17_15_10_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a33028c426bcec1b38f0df704ec90620.jpg","text":"TemporaryFile(/tmp/multipartBody8793738608708077288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313103231,"filename":"image_16112025_17_15_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/11/16/9c1bf53ba80638e35efd8c5be4bb4a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3428295742920791231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313103231,"filename":"image_16112025_17_15_16_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd5a6e6001b22078a57c15e0650d66c7.jpg","text":"TemporaryFile(/tmp/multipartBody928670596491637336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313103231,"filename":"image_16112025_17_14_59_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b74c6b20262f30e937ccf58468730a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6973567463743058601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313103231,"filename":"image_16112025_17_15_13_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f41d037b2d58930a41b0b014f161ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7140967574890730122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313103231,"filename":"image_16112025_17_15_19_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756425","file1":"1394756424","file0":"1394756423","file4":"1394756427","file5":"1394756428","file3":"1394756426"},"map_files_photo_id_array":[{"photo_id":"1394756428","filename":"file5"},{"photo_id":"1394756425","filename":"file2"},{"photo_id":"1394756427","filename":"file4"},{"photo_id":"1394756424","filename":"file1"},{"photo_id":"1394756423","filename":"file0"},{"photo_id":"1394756426","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756425":["hashtag1","hashtag2"]},{"1394756424":["hashtag1","hashtag2"]},{"1394756427":["hashtag1","hashtag2"]},{"1394756423":["hashtag1","hashtag2"]},{"1394756426":["hashtag1","hashtag2"]},{"1394756428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756425, 1394756424, 1394756427, 1394756423, 1394756426, 1394756428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20030856132507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:11:21.824654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_22_2728.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_25_3578.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_28_2675.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_31_2758.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_34_3686.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_37_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_22_2728.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_25_3578.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_28_2675.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_31_2758.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_34_3686.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_37_2792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756436","1394756433","1394756435","1394756438","1394756431","1394756434"],"photo_ids_order":["1394756431","1394756433","1394756434","1394756435","1394756436","1394756438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ddbaf6f54aebb94380c943bf22d43c7.jpg","text":"TemporaryFile(/tmp/multipartBody7698832691605024266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313142479,"filename":"image_16112025_17_15_34_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e7d9fa29f1c630e9b7d4a3a5e5654a2.jpg","text":"TemporaryFile(/tmp/multipartBody5295705839551788378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313142479,"filename":"image_16112025_17_15_25_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88c8f677ed7c20fc84994105a05e0fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8220938506873469820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313142479,"filename":"image_16112025_17_15_31_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f9729276145dfb6ee535931b6c06ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7659398995903891118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313142479,"filename":"image_16112025_17_15_37_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd4fb3c509558c2bb6a4b21d97971b32.jpg","text":"TemporaryFile(/tmp/multipartBody2534352104116423301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313142479,"filename":"image_16112025_17_15_22_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e0503b0415c39272610ae05b5a5f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody402163562126055600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313142479,"filename":"image_16112025_17_15_28_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756434","file1":"1394756433","file0":"1394756431","file4":"1394756436","file5":"1394756438","file3":"1394756435"},"map_files_photo_id_array":[{"photo_id":"1394756438","filename":"file5"},{"photo_id":"1394756434","filename":"file2"},{"photo_id":"1394756436","filename":"file4"},{"photo_id":"1394756433","filename":"file1"},{"photo_id":"1394756431","filename":"file0"},{"photo_id":"1394756435","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756436":["hashtag1","hashtag2"]},{"1394756433":["hashtag1","hashtag2"]},{"1394756435":["hashtag1","hashtag2"]},{"1394756438":["hashtag1","hashtag2"]},{"1394756431":["hashtag1","hashtag2"]},{"1394756434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756436, 1394756433, 1394756435, 1394756438, 1394756431, 1394756434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64054322242737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:12:02.599727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_40_2602.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_43_3606.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_46_2800.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_49_2648.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_52_2775.jpg', '/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_55_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_40_2602.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_43_3606.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_46_2800.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_49_2648.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_52_2775.jpg
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_55_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756442","1394756448","1394756441","1394756446","1394756440","1394756443"],"photo_ids_order":["1394756440","1394756441","1394756442","1394756443","1394756446","1394756448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ceba0c9f529a0113ed077310e981511.jpg","text":"TemporaryFile(/tmp/multipartBody4913478568575872631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313183291,"filename":"image_16112025_17_15_46_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c2c95e0104141325a0507f961fe71e2.jpg","text":"TemporaryFile(/tmp/multipartBody1530773470563752633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313183291,"filename":"image_16112025_17_15_55_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/130e8de0f18ba5cc29256e8cbea96d87.jpg","text":"TemporaryFile(/tmp/multipartBody868388366348970961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313183291,"filename":"image_16112025_17_15_43_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2aead6db318821a320848a8fa882ab4.jpg","text":"TemporaryFile(/tmp/multipartBody450297355356075056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313183291,"filename":"image_16112025_17_15_52_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92b111d951a655f1275e4a58fced4eab.jpg","text":"TemporaryFile(/tmp/multipartBody3801403478416359400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313183291,"filename":"image_16112025_17_15_40_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5df49d0ea338dd507addf2142d7a4f6.jpg","text":"TemporaryFile(/tmp/multipartBody7137710337868402127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313183291,"filename":"image_16112025_17_15_49_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756442","file1":"1394756441","file0":"1394756440","file4":"1394756446","file5":"1394756448","file3":"1394756443"},"map_files_photo_id_array":[{"photo_id":"1394756448","filename":"file5"},{"photo_id":"1394756442","filename":"file2"},{"photo_id":"1394756446","filename":"file4"},{"photo_id":"1394756441","filename":"file1"},{"photo_id":"1394756440","filename":"file0"},{"photo_id":"1394756443","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756442":["hashtag1","hashtag2"]},{"1394756448":["hashtag1","hashtag2"]},{"1394756441":["hashtag1","hashtag2"]},{"1394756446":["hashtag1","hashtag2"]},{"1394756440":["hashtag1","hashtag2"]},{"1394756443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756442, 1394756448, 1394756441, 1394756446, 1394756440, 1394756443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.031970739364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:12:42.033954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_58_2862.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_04_3543.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_07_2552.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_09_2659.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_13_3704.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_16_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/15/image_16112025_17_15_58_2862.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_04_3543.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_07_2552.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_09_2659.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_13_3704.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_16_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756460","1394756463","1394756462","1394756464","1394756458","1394756455"],"photo_ids_order":["1394756455","1394756458","1394756460","1394756462","1394756463","1394756464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b655f45d25bfb9bcf64b6ecde8e13ba.jpg","text":"TemporaryFile(/tmp/multipartBody927373246795962940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313222662,"filename":"image_16112025_17_16_07_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a664c7f2c102d5b001e14092d260b80c.jpg","text":"TemporaryFile(/tmp/multipartBody1067910407149181856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313222662,"filename":"image_16112025_17_16_13_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e98ed2c0abd87611ba5b1f589b177f3f.jpg","text":"TemporaryFile(/tmp/multipartBody7767232621587914965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313222662,"filename":"image_16112025_17_16_09_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec8dc0768742cc1b1afed68a549f14ce.jpg","text":"TemporaryFile(/tmp/multipartBody2003433031026369036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313222662,"filename":"image_16112025_17_16_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/11/16/0ed468fe84b7dacee6a97201c9d2224c.jpg","text":"TemporaryFile(/tmp/multipartBody5009113354184642098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313222662,"filename":"image_16112025_17_16_04_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb7a1066d0704f389c39a768909991af.jpg","text":"TemporaryFile(/tmp/multipartBody4178111030814842293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313222662,"filename":"image_16112025_17_15_58_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756460","file1":"1394756458","file0":"1394756455","file4":"1394756463","file5":"1394756464","file3":"1394756462"},"map_files_photo_id_array":[{"photo_id":"1394756464","filename":"file5"},{"photo_id":"1394756460","filename":"file2"},{"photo_id":"1394756463","filename":"file4"},{"photo_id":"1394756458","filename":"file1"},{"photo_id":"1394756455","filename":"file0"},{"photo_id":"1394756462","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756460":["hashtag1","hashtag2"]},{"1394756463":["hashtag1","hashtag2"]},{"1394756462":["hashtag1","hashtag2"]},{"1394756464":["hashtag1","hashtag2"]},{"1394756458":["hashtag1","hashtag2"]},{"1394756455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756460, 1394756463, 1394756462, 1394756464, 1394756458, 1394756455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36905765533447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:13:22.343586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_19_2687.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_22_3738.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_25_2607.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_28_2852.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_30_2762.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_34_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_19_2687.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_22_3738.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_25_2607.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_28_2852.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_30_2762.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_34_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756472","1394756475","1394756474","1394756476","1394756470","1394756467"],"photo_ids_order":["1394756467","1394756470","1394756472","1394756474","1394756475","1394756476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fcb560ad236879b9b3014c7fdeae4c8.jpg","text":"TemporaryFile(/tmp/multipartBody1813457597282317824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313262989,"filename":"image_16112025_17_16_25_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1c6e249b8ef943ee1542e73b55840b2.jpg","text":"TemporaryFile(/tmp/multipartBody7991257434460050922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313262989,"filename":"image_16112025_17_16_30_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae0a853e9604fa77d3a31ef0a21c1c82.jpg","text":"TemporaryFile(/tmp/multipartBody8980321919495866010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313262989,"filename":"image_16112025_17_16_28_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d77bb0b1a77a95d05eef3ba37401720f.jpg","text":"TemporaryFile(/tmp/multipartBody2914658823135899799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313262989,"filename":"image_16112025_17_16_34_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74b1bc6016573fb93a116cbb60c8f4f7.jpg","text":"TemporaryFile(/tmp/multipartBody6626011568029858744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313262989,"filename":"image_16112025_17_16_22_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0dd12d6ddf8444832a411d3f011eda1.jpg","text":"TemporaryFile(/tmp/multipartBody7762990783274142063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313262989,"filename":"image_16112025_17_16_19_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756472","file1":"1394756470","file0":"1394756467","file4":"1394756475","file5":"1394756476","file3":"1394756474"},"map_files_photo_id_array":[{"photo_id":"1394756476","filename":"file5"},{"photo_id":"1394756472","filename":"file2"},{"photo_id":"1394756475","filename":"file4"},{"photo_id":"1394756470","filename":"file1"},{"photo_id":"1394756467","filename":"file0"},{"photo_id":"1394756474","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756472":["hashtag1","hashtag2"]},{"1394756475":["hashtag1","hashtag2"]},{"1394756474":["hashtag1","hashtag2"]},{"1394756476":["hashtag1","hashtag2"]},{"1394756470":["hashtag1","hashtag2"]},{"1394756467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756472, 1394756475, 1394756474, 1394756476, 1394756470, 1394756467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34497427940369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:14:03.177447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_37_2856.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_40_2614.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_43_3614.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_46_2678.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_49_2736.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_52_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_37_2856.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_40_2614.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_43_3614.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_46_2678.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_49_2736.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_52_3594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756484","1394756483","1394756486","1394756482","1394756491","1394756479"],"photo_ids_order":["1394756479","1394756482","1394756483","1394756484","1394756486","1394756491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/977752ab72ffebe54ad8ae4f9a0bd282.jpg","text":"TemporaryFile(/tmp/multipartBody2897497845879070420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313303898,"filename":"image_16112025_17_16_46_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4564a8b46079707a1d388889349b4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2158852027536660064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313303898,"filename":"image_16112025_17_16_43_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1749238ad5d1a19100b638a4ed5e5083.jpg","text":"TemporaryFile(/tmp/multipartBody306366884242115457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313303898,"filename":"image_16112025_17_16_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/11/16/26247a3907ca1bd6d1211f40609013d2.jpg","text":"TemporaryFile(/tmp/multipartBody8680947145166448191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313303898,"filename":"image_16112025_17_16_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/11/16/20233e7cc9112bf04cb6401f17d0bbb5.jpg","text":"TemporaryFile(/tmp/multipartBody2664399339502430020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313303898,"filename":"image_16112025_17_16_52_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb0dbf1f12c40834795333deec438196.jpg","text":"TemporaryFile(/tmp/multipartBody3280431567033690710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313303898,"filename":"image_16112025_17_16_37_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756483","file1":"1394756482","file0":"1394756479","file4":"1394756486","file5":"1394756491","file3":"1394756484"},"map_files_photo_id_array":[{"photo_id":"1394756491","filename":"file5"},{"photo_id":"1394756483","filename":"file2"},{"photo_id":"1394756486","filename":"file4"},{"photo_id":"1394756482","filename":"file1"},{"photo_id":"1394756479","filename":"file0"},{"photo_id":"1394756484","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756484":["hashtag1","hashtag2"]},{"1394756483":["hashtag1","hashtag2"]},{"1394756486":["hashtag1","hashtag2"]},{"1394756482":["hashtag1","hashtag2"]},{"1394756491":["hashtag1","hashtag2"]},{"1394756479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756484, 1394756483, 1394756486, 1394756482, 1394756491, 1394756479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.277626752853394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:14:42.521192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_55_2657.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_58_2626.jpg', '/home/pi/Desktop/images/16112025/17/16/image_16112025_17_17_01_3708.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_04_2772.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_07_2517.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_10_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_55_2657.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_16_58_2626.jpg
/home/pi/Desktop/images/16112025/17/16/image_16112025_17_17_01_3708.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_04_2772.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_07_2517.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_10_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756498","1394756502","1394756501","1394756497","1394756500","1394756499"],"photo_ids_order":["1394756497","1394756498","1394756499","1394756500","1394756501","1394756502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b877abed4b79828024b761aa3b29d273.jpg","text":"TemporaryFile(/tmp/multipartBody5769281477454390106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313343155,"filename":"image_16112025_17_16_58_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a756ce57968c5b2e6e81a46d9ff368d8.jpg","text":"TemporaryFile(/tmp/multipartBody9109736489603294455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313343155,"filename":"image_16112025_17_17_10_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5af005d6f8553f09cee828457fbbbb74.jpg","text":"TemporaryFile(/tmp/multipartBody4750514173627474601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313343155,"filename":"image_16112025_17_17_07_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2233bd8f40bb42d73c06a251f4a219e4.jpg","text":"TemporaryFile(/tmp/multipartBody110680114167521977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313343155,"filename":"image_16112025_17_16_55_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b94a1365095414fa3552e01479889394.jpg","text":"TemporaryFile(/tmp/multipartBody2478278460548771773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313343155,"filename":"image_16112025_17_17_04_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/707bca3f64baae6ebeced03a0d2495e2.jpg","text":"TemporaryFile(/tmp/multipartBody4986355541041317349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313343155,"filename":"image_16112025_17_17_01_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756499","file1":"1394756498","file0":"1394756497","file4":"1394756501","file5":"1394756502","file3":"1394756500"},"map_files_photo_id_array":[{"photo_id":"1394756502","filename":"file5"},{"photo_id":"1394756499","filename":"file2"},{"photo_id":"1394756501","filename":"file4"},{"photo_id":"1394756498","filename":"file1"},{"photo_id":"1394756497","filename":"file0"},{"photo_id":"1394756500","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756498":["hashtag1","hashtag2"]},{"1394756502":["hashtag1","hashtag2"]},{"1394756501":["hashtag1","hashtag2"]},{"1394756497":["hashtag1","hashtag2"]},{"1394756500":["hashtag1","hashtag2"]},{"1394756499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756498, 1394756502, 1394756501, 1394756497, 1394756500, 1394756499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35326266288757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:15:22.748598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_13_2739.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_21_8538.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_23_1669.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_25_1598.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_26_1682.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_28_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_13_2739.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_21_8538.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_23_1669.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_25_1598.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_26_1682.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_28_1633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756511","1394756516","1394756513","1394756507","1394756506","1394756509"],"photo_ids_order":["1394756506","1394756507","1394756509","1394756511","1394756513","1394756516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/444acba31326fbf7df9258c7d07e1d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5976810821962415486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313383395,"filename":"image_16112025_17_17_25_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a5a769d520ceb1009ffc6adc8555cb2.jpg","text":"TemporaryFile(/tmp/multipartBody781985575789091187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313383395,"filename":"image_16112025_17_17_28_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89e12e924800e667c147b6186f5ccc7b.jpg","text":"TemporaryFile(/tmp/multipartBody2556089008181473640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313383395,"filename":"image_16112025_17_17_26_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a33aeef184b2f00f77b5461359485cb9.jpg","text":"TemporaryFile(/tmp/multipartBody143812792513550324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313383395,"filename":"image_16112025_17_17_21_8538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/727ce3a64b5172d6e9093e545a6ab169.jpg","text":"TemporaryFile(/tmp/multipartBody5300187092935387972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313383395,"filename":"image_16112025_17_17_13_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8680829235edd4c9ed3473f0c32a3640.jpg","text":"TemporaryFile(/tmp/multipartBody1075501581187546385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313383395,"filename":"image_16112025_17_17_23_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756509","file1":"1394756507","file0":"1394756506","file4":"1394756513","file5":"1394756516","file3":"1394756511"},"map_files_photo_id_array":[{"photo_id":"1394756516","filename":"file5"},{"photo_id":"1394756509","filename":"file2"},{"photo_id":"1394756513","filename":"file4"},{"photo_id":"1394756507","filename":"file1"},{"photo_id":"1394756506","filename":"file0"},{"photo_id":"1394756511","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756511":["hashtag1","hashtag2"]},{"1394756516":["hashtag1","hashtag2"]},{"1394756513":["hashtag1","hashtag2"]},{"1394756507":["hashtag1","hashtag2"]},{"1394756506":["hashtag1","hashtag2"]},{"1394756509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756511, 1394756516, 1394756513, 1394756507, 1394756506, 1394756509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41795349121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:16:02.410056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_31_2622.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_33_2636.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_37_3555.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_39_2644.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_43_3604.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_46_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_31_2622.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_33_2636.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_37_3555.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_39_2644.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_43_3604.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_46_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756523","1394756532","1394756520","1394756528","1394756525","1394756521"],"photo_ids_order":["1394756520","1394756521","1394756523","1394756525","1394756528","1394756532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02f897a26e0e45f8eec54162c5e4cbf6.jpg","text":"TemporaryFile(/tmp/multipartBody1552820844760733296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313423131,"filename":"image_16112025_17_17_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/11/16/85e187a5eecffa8301fb906f3dafc008.jpg","text":"TemporaryFile(/tmp/multipartBody8466306682605605625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313423131,"filename":"image_16112025_17_17_46_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1517791fc6edff0b3ca48d43b6ecafd.jpg","text":"TemporaryFile(/tmp/multipartBody6804426387301244798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313423131,"filename":"image_16112025_17_17_31_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0c4510b21fd9693399db8641d653a7a.jpg","text":"TemporaryFile(/tmp/multipartBody5421208435351466085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313423131,"filename":"image_16112025_17_17_43_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f47453252171c1e7ed042a806cd39c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1996313479485310773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313423131,"filename":"image_16112025_17_17_39_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4891b36093b24b62aa271fd4953c6c3.jpg","text":"TemporaryFile(/tmp/multipartBody7849531513273554185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313423131,"filename":"image_16112025_17_17_33_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756523","file1":"1394756521","file0":"1394756520","file4":"1394756528","file5":"1394756532","file3":"1394756525"},"map_files_photo_id_array":[{"photo_id":"1394756532","filename":"file5"},{"photo_id":"1394756523","filename":"file2"},{"photo_id":"1394756528","filename":"file4"},{"photo_id":"1394756521","filename":"file1"},{"photo_id":"1394756520","filename":"file0"},{"photo_id":"1394756525","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756523":["hashtag1","hashtag2"]},{"1394756532":["hashtag1","hashtag2"]},{"1394756520":["hashtag1","hashtag2"]},{"1394756528":["hashtag1","hashtag2"]},{"1394756525":["hashtag1","hashtag2"]},{"1394756521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756523, 1394756532, 1394756520, 1394756528, 1394756525, 1394756521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3289475440979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:16:42.038953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_51_2734.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_55_3666.jpg', '/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_58_2812.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_03_4822.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_04_1668.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_07_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_51_2734.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_55_3666.jpg
/home/pi/Desktop/images/16112025/17/17/image_16112025_17_17_58_2812.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_03_4822.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_04_1668.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_07_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756541","1394756535","1394756538","1394756540","1394756537","1394756539"],"photo_ids_order":["1394756535","1394756537","1394756538","1394756539","1394756540","1394756541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9f38edd8e8123c729e21ad0e102c712.jpg","text":"TemporaryFile(/tmp/multipartBody5161489401890585311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313462656,"filename":"image_16112025_17_18_07_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1cfb4212ed3bb46f1d0d380748212d2.jpg","text":"TemporaryFile(/tmp/multipartBody7927585330261207883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313462656,"filename":"image_16112025_17_17_51_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b8085912c34ba134d244bbb1d668afa.jpg","text":"TemporaryFile(/tmp/multipartBody5491978868340221592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313462656,"filename":"image_16112025_17_17_58_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8668c12211ddf3bacfe97d2ee922a41a.jpg","text":"TemporaryFile(/tmp/multipartBody8127155440716467675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313462656,"filename":"image_16112025_17_18_04_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b4ba9368e16093f225a4ac1857d061a.jpg","text":"TemporaryFile(/tmp/multipartBody8153365089103902003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313462656,"filename":"image_16112025_17_17_55_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88a7e278a3e4e4476a171eb756dd1400.jpg","text":"TemporaryFile(/tmp/multipartBody4323056370944558035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313462656,"filename":"image_16112025_17_18_03_4822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756538","file1":"1394756537","file0":"1394756535","file4":"1394756540","file5":"1394756541","file3":"1394756539"},"map_files_photo_id_array":[{"photo_id":"1394756541","filename":"file5"},{"photo_id":"1394756538","filename":"file2"},{"photo_id":"1394756540","filename":"file4"},{"photo_id":"1394756537","filename":"file1"},{"photo_id":"1394756535","filename":"file0"},{"photo_id":"1394756539","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756541":["hashtag1","hashtag2"]},{"1394756535":["hashtag1","hashtag2"]},{"1394756538":["hashtag1","hashtag2"]},{"1394756540":["hashtag1","hashtag2"]},{"1394756537":["hashtag1","hashtag2"]},{"1394756539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756541, 1394756535, 1394756538, 1394756540, 1394756537, 1394756539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.946266412734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:17:22.278064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_10_2691.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_12_2604.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_16_3759.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_19_2690.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_22_3204.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_25_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_10_2691.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_12_2604.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_16_3759.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_19_2690.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_22_3204.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_25_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756553","1394756556","1394756550","1394756546","1394756554","1394756548"],"photo_ids_order":["1394756546","1394756548","1394756550","1394756553","1394756554","1394756556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54c0705034dbf71ac7887ed384b0c3e3.jpg","text":"TemporaryFile(/tmp/multipartBody5204959703511908898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313502916,"filename":"image_16112025_17_18_19_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a75e90674080c2966008db9d9fccd9c2.jpg","text":"TemporaryFile(/tmp/multipartBody6364420707920656840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313502916,"filename":"image_16112025_17_18_25_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2535dcfe7b2c171b818d494b81d899e6.jpg","text":"TemporaryFile(/tmp/multipartBody5828714577016590441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313502916,"filename":"image_16112025_17_18_16_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce9c4888ba39e4483ab741190edc85af.jpg","text":"TemporaryFile(/tmp/multipartBody6118159240255751347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313502916,"filename":"image_16112025_17_18_10_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81e61669eb599e1499ea07ecaee8b35e.jpg","text":"TemporaryFile(/tmp/multipartBody7729306196496230307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313502916,"filename":"image_16112025_17_18_22_3204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05b43754fc73f51e03b6f7d3b2465aea.jpg","text":"TemporaryFile(/tmp/multipartBody3329459419799489476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313502916,"filename":"image_16112025_17_18_12_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756550","file1":"1394756548","file0":"1394756546","file4":"1394756554","file5":"1394756556","file3":"1394756553"},"map_files_photo_id_array":[{"photo_id":"1394756556","filename":"file5"},{"photo_id":"1394756550","filename":"file2"},{"photo_id":"1394756554","filename":"file4"},{"photo_id":"1394756548","filename":"file1"},{"photo_id":"1394756546","filename":"file0"},{"photo_id":"1394756553","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756553":["hashtag1","hashtag2"]},{"1394756556":["hashtag1","hashtag2"]},{"1394756550":["hashtag1","hashtag2"]},{"1394756546":["hashtag1","hashtag2"]},{"1394756554":["hashtag1","hashtag2"]},{"1394756548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756553, 1394756556, 1394756550, 1394756546, 1394756554, 1394756548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70746922492981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:18:03.039674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_27_2535.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_31_3636.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_33_2501.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_37_3624.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_39_2627.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_43_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_27_2535.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_31_3636.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_33_2501.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_37_3624.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_39_2627.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_43_3544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756559","1394756564","1394756558","1394756567","1394756561","1394756560"],"photo_ids_order":["1394756558","1394756559","1394756560","1394756561","1394756564","1394756567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/214ffbdf8b3e9d27293640f062a1a235.jpg","text":"TemporaryFile(/tmp/multipartBody6412213043808919361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313543765,"filename":"image_16112025_17_18_31_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/edf23e9314b83d8be71dd9b61278bef4.jpg","text":"TemporaryFile(/tmp/multipartBody5711662332256265828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313543765,"filename":"image_16112025_17_18_39_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbacab81f121b1dc4802fefcb98f202a.jpg","text":"TemporaryFile(/tmp/multipartBody1259212969688642221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313543765,"filename":"image_16112025_17_18_27_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/260a11219cef137dbaa3564851cc8184.jpg","text":"TemporaryFile(/tmp/multipartBody598563052845057346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313543765,"filename":"image_16112025_17_18_43_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f94afe0c564836dfea0e143ba9a7f434.jpg","text":"TemporaryFile(/tmp/multipartBody941562777431766692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313543765,"filename":"image_16112025_17_18_37_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7fbb16c2557455839e889d0cb48ff1e.jpg","text":"TemporaryFile(/tmp/multipartBody302314801483359441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313543765,"filename":"image_16112025_17_18_33_2501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756560","file1":"1394756559","file0":"1394756558","file4":"1394756564","file5":"1394756567","file3":"1394756561"},"map_files_photo_id_array":[{"photo_id":"1394756567","filename":"file5"},{"photo_id":"1394756560","filename":"file2"},{"photo_id":"1394756564","filename":"file4"},{"photo_id":"1394756559","filename":"file1"},{"photo_id":"1394756558","filename":"file0"},{"photo_id":"1394756561","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756559":["hashtag1","hashtag2"]},{"1394756564":["hashtag1","hashtag2"]},{"1394756558":["hashtag1","hashtag2"]},{"1394756567":["hashtag1","hashtag2"]},{"1394756561":["hashtag1","hashtag2"]},{"1394756560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756559, 1394756564, 1394756558, 1394756567, 1394756561, 1394756560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86857843399048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:18:42.518878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_46_2648.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_48_2773.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_51_2723.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_55_3996.jpg', '/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_58_2537.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_01_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_46_2648.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_48_2773.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_51_2723.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_55_3996.jpg
/home/pi/Desktop/images/16112025/17/18/image_16112025_17_18_58_2537.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_01_2864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756586","1394756585","1394756587","1394756581","1394756584","1394756578"],"photo_ids_order":["1394756578","1394756581","1394756584","1394756585","1394756586","1394756587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f11f80ebb4697bc7fe8e454e4e4edb2.jpg","text":"TemporaryFile(/tmp/multipartBody3177451608892558023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313583142,"filename":"image_16112025_17_18_58_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0cf470d9b6586804beedc411459af53.jpg","text":"TemporaryFile(/tmp/multipartBody4087853771334993630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313583142,"filename":"image_16112025_17_18_55_3996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/931aa14101101cc391936de84ecaf068.jpg","text":"TemporaryFile(/tmp/multipartBody102886128645292357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313583142,"filename":"image_16112025_17_19_01_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de2ec2dcf5c1615239eed52febe64a15.jpg","text":"TemporaryFile(/tmp/multipartBody8799674056396425518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313583142,"filename":"image_16112025_17_18_48_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd67324a45faa5206086b93b40afa23f.jpg","text":"TemporaryFile(/tmp/multipartBody2732795012949634623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313583142,"filename":"image_16112025_17_18_51_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4199975b2bf4c5277a0939ab57f792e6.jpg","text":"TemporaryFile(/tmp/multipartBody2677800017629231788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313583142,"filename":"image_16112025_17_18_46_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756584","file1":"1394756581","file0":"1394756578","file4":"1394756586","file5":"1394756587","file3":"1394756585"},"map_files_photo_id_array":[{"photo_id":"1394756587","filename":"file5"},{"photo_id":"1394756584","filename":"file2"},{"photo_id":"1394756586","filename":"file4"},{"photo_id":"1394756581","filename":"file1"},{"photo_id":"1394756578","filename":"file0"},{"photo_id":"1394756585","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756586":["hashtag1","hashtag2"]},{"1394756585":["hashtag1","hashtag2"]},{"1394756587":["hashtag1","hashtag2"]},{"1394756581":["hashtag1","hashtag2"]},{"1394756584":["hashtag1","hashtag2"]},{"1394756578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756586, 1394756585, 1394756587, 1394756581, 1394756584, 1394756578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50299620628357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:19:22.682709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_03_2830.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_07_3599.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_10_2697.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_12_2644.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_15_2681.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_19_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_03_2830.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_07_3599.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_10_2697.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_12_2644.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_15_2681.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_19_3780.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.5757975578308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:19:42.749292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_03_2830.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_07_3599.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_10_2697.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_12_2644.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_15_2681.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_19_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_03_2830.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_07_3599.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_10_2697.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_12_2644.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_15_2681.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_19_3780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756602","1394756610","1394756607","1394756609","1394756611","1394756605"],"photo_ids_order":["1394756602","1394756605","1394756607","1394756609","1394756610","1394756611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06547b3858440cbaad9e2a960a27b2ed.jpg","text":"TemporaryFile(/tmp/multipartBody4991716689994440649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313643381,"filename":"image_16112025_17_19_03_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1de426f95d24a4e2327bba682581e62.jpg","text":"TemporaryFile(/tmp/multipartBody1366185842944116651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313643381,"filename":"image_16112025_17_19_15_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bb54c11e7d8a864e01e132103895d75.jpg","text":"TemporaryFile(/tmp/multipartBody4427586671568226127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313643381,"filename":"image_16112025_17_19_10_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69b0ad3311ebd4c7310159d8a450a113.jpg","text":"TemporaryFile(/tmp/multipartBody6668327329482410806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313643381,"filename":"image_16112025_17_19_12_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3dc898720d4ee2f3976fd73a6f251cd3.jpg","text":"TemporaryFile(/tmp/multipartBody635160163978928571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313643381,"filename":"image_16112025_17_19_19_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28c263b3e200b71b2384e32d62f72077.jpg","text":"TemporaryFile(/tmp/multipartBody4124606345990347950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313643381,"filename":"image_16112025_17_19_07_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756607","file1":"1394756605","file0":"1394756602","file4":"1394756610","file5":"1394756611","file3":"1394756609"},"map_files_photo_id_array":[{"photo_id":"1394756611","filename":"file5"},{"photo_id":"1394756607","filename":"file2"},{"photo_id":"1394756610","filename":"file4"},{"photo_id":"1394756605","filename":"file1"},{"photo_id":"1394756602","filename":"file0"},{"photo_id":"1394756609","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756602":["hashtag1","hashtag2"]},{"1394756610":["hashtag1","hashtag2"]},{"1394756607":["hashtag1","hashtag2"]},{"1394756609":["hashtag1","hashtag2"]},{"1394756611":["hashtag1","hashtag2"]},{"1394756605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756602, 1394756610, 1394756607, 1394756609, 1394756611, 1394756605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13159918785095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:20:21.967154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_21_2588.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_24_2656.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_28_3680.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_30_2664.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_33_2610.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_37_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_21_2588.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_24_2656.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_28_3680.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_30_2664.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_33_2610.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_37_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756617","1394756622","1394756624","1394756626","1394756629","1394756620"],"photo_ids_order":["1394756617","1394756620","1394756622","1394756624","1394756626","1394756629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f3ed8ac3f1e7fb6519804a5dfdd9866.jpg","text":"TemporaryFile(/tmp/multipartBody8262617510232865268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313682588,"filename":"image_16112025_17_19_21_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca34fa145f12bf02d9522ba84b7d1d32.jpg","text":"TemporaryFile(/tmp/multipartBody4145134486987754588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313682588,"filename":"image_16112025_17_19_28_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ed2391305a6131ec6e8de0e3ea2b494.jpg","text":"TemporaryFile(/tmp/multipartBody8096407238615246622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313682588,"filename":"image_16112025_17_19_30_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0a4bf8c89129961b3b6b3f505280b6f.jpg","text":"TemporaryFile(/tmp/multipartBody2679807950600438327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313682588,"filename":"image_16112025_17_19_33_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43b7875bb5be6baa642d7cfd9bf80992.jpg","text":"TemporaryFile(/tmp/multipartBody7549292372047725227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313682588,"filename":"image_16112025_17_19_37_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cb86533942b9fb3b3ce62f01d8ebdc0.jpg","text":"TemporaryFile(/tmp/multipartBody7095351882358108846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313682588,"filename":"image_16112025_17_19_24_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756622","file1":"1394756620","file0":"1394756617","file4":"1394756626","file5":"1394756629","file3":"1394756624"},"map_files_photo_id_array":[{"photo_id":"1394756629","filename":"file5"},{"photo_id":"1394756622","filename":"file2"},{"photo_id":"1394756626","filename":"file4"},{"photo_id":"1394756620","filename":"file1"},{"photo_id":"1394756617","filename":"file0"},{"photo_id":"1394756624","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756617":["hashtag1","hashtag2"]},{"1394756622":["hashtag1","hashtag2"]},{"1394756624":["hashtag1","hashtag2"]},{"1394756626":["hashtag1","hashtag2"]},{"1394756629":["hashtag1","hashtag2"]},{"1394756620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756617, 1394756622, 1394756624, 1394756626, 1394756629, 1394756620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54094886779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:21:03.039294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_39_2764.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_42_2673.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_46_3713.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_48_2567.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_52_3597.jpg', '/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_54_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_39_2764.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_42_2673.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_46_3713.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_48_2567.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_52_3597.jpg
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_54_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756634","1394756637","1394756633","1394756630","1394756641","1394756632"],"photo_ids_order":["1394756630","1394756632","1394756633","1394756634","1394756637","1394756641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a84880684c26e656018a1464368c3d1.jpg","text":"TemporaryFile(/tmp/multipartBody7036455464083688595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313723761,"filename":"image_16112025_17_19_48_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd9c29138177c2615d782175d4d9f883.jpg","text":"TemporaryFile(/tmp/multipartBody1044688487941598622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313723761,"filename":"image_16112025_17_19_52_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a32ddf3d6968e62353b9f8a4c79df1cc.jpg","text":"TemporaryFile(/tmp/multipartBody4346479535194561903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313723761,"filename":"image_16112025_17_19_46_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ff40b697562e770e5cde01d7eb740a7.jpg","text":"TemporaryFile(/tmp/multipartBody540142718151265520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313723761,"filename":"image_16112025_17_19_39_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b260697620a84042106bc03947a4f444.jpg","text":"TemporaryFile(/tmp/multipartBody6169183438086321915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313723761,"filename":"image_16112025_17_19_54_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36dafbbaab2867548fe50c4b1d58900d.jpg","text":"TemporaryFile(/tmp/multipartBody1433913874941811790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313723761,"filename":"image_16112025_17_19_42_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756633","file1":"1394756632","file0":"1394756630","file4":"1394756637","file5":"1394756641","file3":"1394756634"},"map_files_photo_id_array":[{"photo_id":"1394756641","filename":"file5"},{"photo_id":"1394756633","filename":"file2"},{"photo_id":"1394756637","filename":"file4"},{"photo_id":"1394756632","filename":"file1"},{"photo_id":"1394756630","filename":"file0"},{"photo_id":"1394756634","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756634":["hashtag1","hashtag2"]},{"1394756637":["hashtag1","hashtag2"]},{"1394756633":["hashtag1","hashtag2"]},{"1394756630":["hashtag1","hashtag2"]},{"1394756641":["hashtag1","hashtag2"]},{"1394756632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756634, 1394756637, 1394756633, 1394756630, 1394756641, 1394756632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.427239418029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:21:42.246730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_57_2738.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_07_3012.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_11_3724.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_14_2660.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_16_2715.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_20_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/19/image_16112025_17_19_57_2738.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_07_3012.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_11_3724.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_14_2660.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_16_2715.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_20_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756652","1394756651","1394756654","1394756650","1394756653","1394756647"],"photo_ids_order":["1394756647","1394756650","1394756651","1394756652","1394756653","1394756654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28da307bd47d95ef90345a46728c09b8.jpg","text":"TemporaryFile(/tmp/multipartBody8133921404997618909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313762924,"filename":"image_16112025_17_20_14_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99658dc259c8d246dbb7e9e2baefb346.jpg","text":"TemporaryFile(/tmp/multipartBody9080024178841412509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313762924,"filename":"image_16112025_17_20_11_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b68eedfb56386df5b1c8ccf682f736b3.jpg","text":"TemporaryFile(/tmp/multipartBody4550530044723249574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313762924,"filename":"image_16112025_17_20_20_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4e5641dde38b9c6d8e3831b88e0acfc5.jpg","text":"TemporaryFile(/tmp/multipartBody7056796436134250941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313762924,"filename":"image_16112025_17_20_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7384abd49c63e5cefa534c0cca7c84f.jpg","text":"TemporaryFile(/tmp/multipartBody7541770158893210158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313762924,"filename":"image_16112025_17_20_16_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62c538bb4867677e739c57d55eb4953d.jpg","text":"TemporaryFile(/tmp/multipartBody5826273227739146276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313762924,"filename":"image_16112025_17_19_57_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756651","file1":"1394756650","file0":"1394756647","file4":"1394756653","file5":"1394756654","file3":"1394756652"},"map_files_photo_id_array":[{"photo_id":"1394756654","filename":"file5"},{"photo_id":"1394756651","filename":"file2"},{"photo_id":"1394756653","filename":"file4"},{"photo_id":"1394756650","filename":"file1"},{"photo_id":"1394756647","filename":"file0"},{"photo_id":"1394756652","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756652":["hashtag1","hashtag2"]},{"1394756651":["hashtag1","hashtag2"]},{"1394756654":["hashtag1","hashtag2"]},{"1394756650":["hashtag1","hashtag2"]},{"1394756653":["hashtag1","hashtag2"]},{"1394756647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756652, 1394756651, 1394756654, 1394756650, 1394756653, 1394756647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.987820625305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:22:22.573581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_23_2816.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_25_2580.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_29_3663.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_32_2705.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_34_2666.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_37_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_23_2816.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_25_2580.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_29_3663.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_32_2705.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_34_2666.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_37_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756661","1394756664","1394756658","1394756663","1394756669","1394756665"],"photo_ids_order":["1394756658","1394756661","1394756663","1394756664","1394756665","1394756669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/782b257fc414aad8b2e584714d47d06b.jpg","text":"TemporaryFile(/tmp/multipartBody2242006976679518903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313803236,"filename":"image_16112025_17_20_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/11/16/a9cddfe479d20196600df2391efb3cde.jpg","text":"TemporaryFile(/tmp/multipartBody8942741427773791456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313803236,"filename":"image_16112025_17_20_32_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14a411ba2387e7047080a70a3f5cf2fe.jpg","text":"TemporaryFile(/tmp/multipartBody1293652834892538524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313803236,"filename":"image_16112025_17_20_23_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b8e03e70f8ea63d809515322e0951b6.jpg","text":"TemporaryFile(/tmp/multipartBody4832378203965592635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313803236,"filename":"image_16112025_17_20_29_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13ed15ea38c554606cf9e8cfbe040fbc.jpg","text":"TemporaryFile(/tmp/multipartBody1845210702306498300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313803236,"filename":"image_16112025_17_20_37_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55a50ff07a25a6feec3ae73e5c09d728.jpg","text":"TemporaryFile(/tmp/multipartBody2006795180290458903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313803236,"filename":"image_16112025_17_20_34_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756663","file1":"1394756661","file0":"1394756658","file4":"1394756665","file5":"1394756669","file3":"1394756664"},"map_files_photo_id_array":[{"photo_id":"1394756669","filename":"file5"},{"photo_id":"1394756663","filename":"file2"},{"photo_id":"1394756665","filename":"file4"},{"photo_id":"1394756661","filename":"file1"},{"photo_id":"1394756658","filename":"file0"},{"photo_id":"1394756664","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756661":["hashtag1","hashtag2"]},{"1394756664":["hashtag1","hashtag2"]},{"1394756658":["hashtag1","hashtag2"]},{"1394756663":["hashtag1","hashtag2"]},{"1394756669":["hashtag1","hashtag2"]},{"1394756665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756661, 1394756664, 1394756658, 1394756663, 1394756669, 1394756665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6513729095459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:23:05.574403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_41_3546.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_43_2484.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_47_3795.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_50_2602.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_52_2808.jpg', '/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_56_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_41_3546.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_43_2484.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_47_3795.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_50_2602.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_52_2808.jpg
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_56_3633.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":["1394756673","1394756682","1394756676","1394756681","1394756678","1394756674"],"photo_ids_order":["1394756673","1394756674","1394756676","1394756678","1394756681","1394756682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40134b245d8e83d7b2589dc1ca90af93.jpg","text":"TemporaryFile(/tmp/multipartBody893216544560608346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313848690,"filename":"image_16112025_17_20_41_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbb85049c0e92bb6e0d37a09fe68b341.jpg","text":"TemporaryFile(/tmp/multipartBody2056263135059856742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313848690,"filename":"image_16112025_17_20_56_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ad9128edee157b8f416d617dacc7a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5646962981879211142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313848690,"filename":"image_16112025_17_20_47_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db70ece773440470d0f530fe16f75ce6.jpg","text":"TemporaryFile(/tmp/multipartBody2550752470047985077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313848690,"filename":"image_16112025_17_20_52_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c25321b646563442968c3399dbd09ff.jpg","text":"TemporaryFile(/tmp/multipartBody6289537863941471108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313848690,"filename":"image_16112025_17_20_50_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7efc084d5d3b767520e6fb92ab78a090.jpg","text":"TemporaryFile(/tmp/multipartBody6303424703012376006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313848690,"filename":"image_16112025_17_20_43_2484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756676","file1":"1394756674","file0":"1394756673","file4":"1394756681","file5":"1394756682","file3":"1394756678"},"map_files_photo_id_array":[{"photo_id":"1394756682","filename":"file5"},{"photo_id":"1394756676","filename":"file2"},{"photo_id":"1394756681","filename":"file4"},{"photo_id":"1394756674","filename":"file1"},{"photo_id":"1394756673","filename":"file0"},{"photo_id":"1394756678","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756673":["hashtag1","hashtag2"]},{"1394756682":["hashtag1","hashtag2"]},{"1394756676":["hashtag1","hashtag2"]},{"1394756681":["hashtag1","hashtag2"]},{"1394756678":["hashtag1","hashtag2"]},{"1394756674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756673, 1394756682, 1394756676, 1394756681, 1394756678, 1394756674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.34194731712341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:24:03.352300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_59_2588.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_01_2671.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_05_3688.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_07_2500.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_10_2686.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_14_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/20/image_16112025_17_20_59_2588.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_01_2671.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_05_3688.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_07_2500.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_10_2686.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_14_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756688","1394756693","1394756690","1394756687","1394756695","1394756689"],"photo_ids_order":["1394756687","1394756688","1394756689","1394756690","1394756693","1394756695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44a810e8d408a4d1e05f9ac13eccd107.jpg","text":"TemporaryFile(/tmp/multipartBody4811500907538695446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313904092,"filename":"image_16112025_17_21_01_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/332c7f89ca22a1245de4bc000a1c48b9.jpg","text":"TemporaryFile(/tmp/multipartBody1899923397344945874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313904092,"filename":"image_16112025_17_21_10_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/32a0b9e98988de10aed27ae7c8444aea.jpg","text":"TemporaryFile(/tmp/multipartBody5791893150999513314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313904092,"filename":"image_16112025_17_21_07_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/289961a0773fbdfb449741eeb2a98f71.jpg","text":"TemporaryFile(/tmp/multipartBody6351310794419825831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313904092,"filename":"image_16112025_17_20_59_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd0672a07864b474826175ff03eddce7.jpg","text":"TemporaryFile(/tmp/multipartBody992635069666112037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313904092,"filename":"image_16112025_17_21_14_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7db4af6d60187ecf1178c61ca950803.jpg","text":"TemporaryFile(/tmp/multipartBody4939884655250560858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313904092,"filename":"image_16112025_17_21_05_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756689","file1":"1394756688","file0":"1394756687","file4":"1394756693","file5":"1394756695","file3":"1394756690"},"map_files_photo_id_array":[{"photo_id":"1394756695","filename":"file5"},{"photo_id":"1394756689","filename":"file2"},{"photo_id":"1394756693","filename":"file4"},{"photo_id":"1394756688","filename":"file1"},{"photo_id":"1394756687","filename":"file0"},{"photo_id":"1394756690","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756688":["hashtag1","hashtag2"]},{"1394756693":["hashtag1","hashtag2"]},{"1394756690":["hashtag1","hashtag2"]},{"1394756687":["hashtag1","hashtag2"]},{"1394756695":["hashtag1","hashtag2"]},{"1394756689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756688, 1394756693, 1394756690, 1394756687, 1394756695, 1394756689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39304733276367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:24:42.642102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_19_2677.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_23_3720.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_26_2711.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_28_2552.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_32_3670.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_34_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_19_2677.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_23_3720.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_26_2711.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_28_2552.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_32_3670.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_34_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756701","1394756706","1394756709","1394756711","1394756704","1394756707"],"photo_ids_order":["1394756701","1394756704","1394756706","1394756707","1394756709","1394756711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/687b3c7e2164a78bc057c6d90039c6af.jpg","text":"TemporaryFile(/tmp/multipartBody7967974924726761268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313943295,"filename":"image_16112025_17_21_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/11/16/e8d0444373e2b83aaa374550d9f4ba9d.jpg","text":"TemporaryFile(/tmp/multipartBody4013825250176607350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313943295,"filename":"image_16112025_17_21_26_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c94d1a7c1d808617d5fbb96c70a1bcfe.jpg","text":"TemporaryFile(/tmp/multipartBody6128730411164005227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313943295,"filename":"image_16112025_17_21_32_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cebf9fa092cf4b909a7a22843a8c98f3.jpg","text":"TemporaryFile(/tmp/multipartBody3703366002675450660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313943295,"filename":"image_16112025_17_21_34_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a6316a441aa30b18de096568baf1aaee.jpg","text":"TemporaryFile(/tmp/multipartBody582083494932041018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313943295,"filename":"image_16112025_17_21_23_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d851a8d175cf24d09f34d33ec6efce21.jpg","text":"TemporaryFile(/tmp/multipartBody1415295149696758830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313943295,"filename":"image_16112025_17_21_28_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756706","file1":"1394756704","file0":"1394756701","file4":"1394756709","file5":"1394756711","file3":"1394756707"},"map_files_photo_id_array":[{"photo_id":"1394756711","filename":"file5"},{"photo_id":"1394756706","filename":"file2"},{"photo_id":"1394756709","filename":"file4"},{"photo_id":"1394756704","filename":"file1"},{"photo_id":"1394756701","filename":"file0"},{"photo_id":"1394756707","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756701":["hashtag1","hashtag2"]},{"1394756706":["hashtag1","hashtag2"]},{"1394756709":["hashtag1","hashtag2"]},{"1394756711":["hashtag1","hashtag2"]},{"1394756704":["hashtag1","hashtag2"]},{"1394756707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756701, 1394756706, 1394756709, 1394756711, 1394756704, 1394756707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20737862586975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:25:21.806101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_37_2663.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_40_2907.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_44_3774.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_47_2694.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_49_2840.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_52_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_37_2663.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_40_2907.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_44_3774.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_47_2694.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_49_2840.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_52_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756716","1394756721","1394756718","1394756720","1394756717","1394756719"],"photo_ids_order":["1394756716","1394756717","1394756718","1394756719","1394756720","1394756721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cc4594f25aba0cef39de31b0f8467bf.jpg","text":"TemporaryFile(/tmp/multipartBody3807850429200335794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313982470,"filename":"image_16112025_17_21_37_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbc95af2e628ae882313c1c808f8d7d9.jpg","text":"TemporaryFile(/tmp/multipartBody2044662865998959490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313982470,"filename":"image_16112025_17_21_52_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/acf97a385bc99aba12043aa91772345e.jpg","text":"TemporaryFile(/tmp/multipartBody6570808946459814124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313982470,"filename":"image_16112025_17_21_44_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7a2acd9953c7591ed8ff4dd573e98ef.jpg","text":"TemporaryFile(/tmp/multipartBody6328412352546016028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313982470,"filename":"image_16112025_17_21_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/11/16/75bbc291456ca1ade118d0e9fe175eef.jpg","text":"TemporaryFile(/tmp/multipartBody2531706249236365809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313982470,"filename":"image_16112025_17_21_40_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f53d0a92f4c1126db657c8df59c84db2.jpg","text":"TemporaryFile(/tmp/multipartBody6491898121786096521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763313982470,"filename":"image_16112025_17_21_47_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756718","file1":"1394756717","file0":"1394756716","file4":"1394756720","file5":"1394756721","file3":"1394756719"},"map_files_photo_id_array":[{"photo_id":"1394756721","filename":"file5"},{"photo_id":"1394756718","filename":"file2"},{"photo_id":"1394756720","filename":"file4"},{"photo_id":"1394756717","filename":"file1"},{"photo_id":"1394756716","filename":"file0"},{"photo_id":"1394756719","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756716":["hashtag1","hashtag2"]},{"1394756721":["hashtag1","hashtag2"]},{"1394756718":["hashtag1","hashtag2"]},{"1394756720":["hashtag1","hashtag2"]},{"1394756717":["hashtag1","hashtag2"]},{"1394756719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756716, 1394756721, 1394756718, 1394756720, 1394756717, 1394756719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66709637641907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:26:02.446717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_56_3710.jpg', '/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_58_2742.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_01_2587.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_05_3750.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_07_2666.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_10_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_56_3710.jpg
/home/pi/Desktop/images/16112025/17/21/image_16112025_17_21_58_2742.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_01_2587.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_05_3750.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_07_2666.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_10_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756724","1394756723","1394756722","1394756731","1394756725","1394756728"],"photo_ids_order":["1394756722","1394756723","1394756724","1394756725","1394756728","1394756731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2bba0c27464ae4be7feab3322d5014a.jpg","text":"TemporaryFile(/tmp/multipartBody3769232652545882930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314023161,"filename":"image_16112025_17_22_01_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f15a2e84bca7af7b56e2efc88cb95036.jpg","text":"TemporaryFile(/tmp/multipartBody8188830398857346631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314023161,"filename":"image_16112025_17_21_58_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/add9a573f98eb737f630edc2fbe4af6d.jpg","text":"TemporaryFile(/tmp/multipartBody3125215696881564300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314023161,"filename":"image_16112025_17_21_56_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a79545ad5360b0b5d8e27b595691e59.jpg","text":"TemporaryFile(/tmp/multipartBody4927116325577528150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314023161,"filename":"image_16112025_17_22_10_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ac58f12a98be668717595f4f9c9c191.jpg","text":"TemporaryFile(/tmp/multipartBody1120255728047016093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314023161,"filename":"image_16112025_17_22_05_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/926593f85c6dc1e8f92ac6b7e8a878f4.jpg","text":"TemporaryFile(/tmp/multipartBody8600095620005895175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314023161,"filename":"image_16112025_17_22_07_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756724","file1":"1394756723","file0":"1394756722","file4":"1394756728","file5":"1394756731","file3":"1394756725"},"map_files_photo_id_array":[{"photo_id":"1394756731","filename":"file5"},{"photo_id":"1394756724","filename":"file2"},{"photo_id":"1394756728","filename":"file4"},{"photo_id":"1394756723","filename":"file1"},{"photo_id":"1394756722","filename":"file0"},{"photo_id":"1394756725","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756724":["hashtag1","hashtag2"]},{"1394756723":["hashtag1","hashtag2"]},{"1394756722":["hashtag1","hashtag2"]},{"1394756731":["hashtag1","hashtag2"]},{"1394756725":["hashtag1","hashtag2"]},{"1394756728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756724, 1394756723, 1394756722, 1394756731, 1394756725, 1394756728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97388219833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:26:42.148064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_14_3534.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_17_2854.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_19_2627.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_23_3695.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_26_2713.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_28_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_14_3534.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_17_2854.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_19_2627.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_23_3695.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_26_2713.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_28_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756739","1394756738","1394756741","1394756735","1394756740","1394756737"],"photo_ids_order":["1394756735","1394756737","1394756738","1394756739","1394756740","1394756741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2dfe7763cf65c04c444fb9d441da911.jpg","text":"TemporaryFile(/tmp/multipartBody1958177900699124699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314062787,"filename":"image_16112025_17_22_23_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5eaa085e3901c96f18d65239989bb34.jpg","text":"TemporaryFile(/tmp/multipartBody7010589345414039356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314062787,"filename":"image_16112025_17_22_19_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b83b83367f0a31978ac6dd44c26b5207.jpg","text":"TemporaryFile(/tmp/multipartBody7855592221405111935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314062787,"filename":"image_16112025_17_22_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/11/16/dbd2aa02ebbec64f61d9fc2f17f9aff6.jpg","text":"TemporaryFile(/tmp/multipartBody5853366087199352465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314062787,"filename":"image_16112025_17_22_14_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6a9df871cbca0db005c7c9ed5e76da7.jpg","text":"TemporaryFile(/tmp/multipartBody4796313954367112741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314062787,"filename":"image_16112025_17_22_26_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f496139607f8957daa5ac614997a5ff.jpg","text":"TemporaryFile(/tmp/multipartBody2780879665100186603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314062787,"filename":"image_16112025_17_22_17_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756738","file1":"1394756737","file0":"1394756735","file4":"1394756740","file5":"1394756741","file3":"1394756739"},"map_files_photo_id_array":[{"photo_id":"1394756741","filename":"file5"},{"photo_id":"1394756738","filename":"file2"},{"photo_id":"1394756740","filename":"file4"},{"photo_id":"1394756737","filename":"file1"},{"photo_id":"1394756735","filename":"file0"},{"photo_id":"1394756739","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756739":["hashtag1","hashtag2"]},{"1394756738":["hashtag1","hashtag2"]},{"1394756741":["hashtag1","hashtag2"]},{"1394756735":["hashtag1","hashtag2"]},{"1394756740":["hashtag1","hashtag2"]},{"1394756737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756739, 1394756738, 1394756741, 1394756735, 1394756740, 1394756737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65579795837402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:27:22.385031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_32_3696.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_35_2659.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_37_2688.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_41_3570.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_43_2569.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_46_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_32_3696.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_35_2659.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_37_2688.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_41_3570.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_43_2569.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_46_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756748","1394756745","1394756747","1394756749","1394756752","1394756746"],"photo_ids_order":["1394756745","1394756746","1394756747","1394756748","1394756749","1394756752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01d9511f55d7db298775341d35d78181.jpg","text":"TemporaryFile(/tmp/multipartBody4787099552611717703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314103064,"filename":"image_16112025_17_22_41_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24fc5b3f2bdf3acbb093cb6f969192ac.jpg","text":"TemporaryFile(/tmp/multipartBody4517157275670467425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314103064,"filename":"image_16112025_17_22_32_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e555869e16eb90d06734b6277e33413.jpg","text":"TemporaryFile(/tmp/multipartBody4841868567013770602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314103064,"filename":"image_16112025_17_22_37_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58d29106530c479384ebd6a22ef3df29.jpg","text":"TemporaryFile(/tmp/multipartBody5985128802232245162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314103064,"filename":"image_16112025_17_22_43_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00cbb55ecf5dc2f42e0dde6c84be6434.jpg","text":"TemporaryFile(/tmp/multipartBody310838573535385574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314103064,"filename":"image_16112025_17_22_46_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57c8ed17b35760c95d2aef7f54798f50.jpg","text":"TemporaryFile(/tmp/multipartBody5432709395188668787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314103064,"filename":"image_16112025_17_22_35_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756747","file1":"1394756746","file0":"1394756745","file4":"1394756749","file5":"1394756752","file3":"1394756748"},"map_files_photo_id_array":[{"photo_id":"1394756752","filename":"file5"},{"photo_id":"1394756747","filename":"file2"},{"photo_id":"1394756749","filename":"file4"},{"photo_id":"1394756746","filename":"file1"},{"photo_id":"1394756745","filename":"file0"},{"photo_id":"1394756748","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756748":["hashtag1","hashtag2"]},{"1394756745":["hashtag1","hashtag2"]},{"1394756747":["hashtag1","hashtag2"]},{"1394756749":["hashtag1","hashtag2"]},{"1394756752":["hashtag1","hashtag2"]},{"1394756746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756748, 1394756745, 1394756747, 1394756749, 1394756752, 1394756746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70168852806091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:28:03.067509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_50_3563.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_52_2904.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_55_2670.jpg', '/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_59_3623.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_01_2679.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_04_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_50_3563.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_52_2904.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_55_2670.jpg
/home/pi/Desktop/images/16112025/17/22/image_16112025_17_22_59_3623.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_01_2679.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_04_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756754","1394756757","1394756756","1394756759","1394756761","1394756755"],"photo_ids_order":["1394756754","1394756755","1394756756","1394756757","1394756759","1394756761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98f1206bc8674f7d2ed66bf347b5e287.jpg","text":"TemporaryFile(/tmp/multipartBody5045069560110530606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314143761,"filename":"image_16112025_17_22_50_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e5b7aa359e27facc0eb458aa214302b.jpg","text":"TemporaryFile(/tmp/multipartBody7823902688336610666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314143761,"filename":"image_16112025_17_22_59_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4acc6a8856c358d3a1c7d07c06b976a4.jpg","text":"TemporaryFile(/tmp/multipartBody2402437256105091875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314143761,"filename":"image_16112025_17_22_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/11/16/b0d1bd775e3e5f9d01c75ff03d7630de.jpg","text":"TemporaryFile(/tmp/multipartBody5938772667255900815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314143761,"filename":"image_16112025_17_23_01_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cde230a6e049574b5abcec2ece0010b.jpg","text":"TemporaryFile(/tmp/multipartBody5693200298562330717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314143761,"filename":"image_16112025_17_23_04_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b5df1636136f28e7ea7f877a01edafa.jpg","text":"TemporaryFile(/tmp/multipartBody2655872805432901707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314143761,"filename":"image_16112025_17_22_52_2904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756756","file1":"1394756755","file0":"1394756754","file4":"1394756759","file5":"1394756761","file3":"1394756757"},"map_files_photo_id_array":[{"photo_id":"1394756761","filename":"file5"},{"photo_id":"1394756756","filename":"file2"},{"photo_id":"1394756759","filename":"file4"},{"photo_id":"1394756755","filename":"file1"},{"photo_id":"1394756754","filename":"file0"},{"photo_id":"1394756757","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756754":["hashtag1","hashtag2"]},{"1394756757":["hashtag1","hashtag2"]},{"1394756756":["hashtag1","hashtag2"]},{"1394756759":["hashtag1","hashtag2"]},{"1394756761":["hashtag1","hashtag2"]},{"1394756755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756754, 1394756757, 1394756756, 1394756759, 1394756761, 1394756755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07490348815918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:28:42.576758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_08_3709.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_10_2662.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_13_2929.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_16_2754.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_19_2727.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_22_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_08_3709.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_10_2662.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_13_2929.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_16_2754.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_19_2727.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_22_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756766","1394756769","1394756765","1394756768","1394756767","1394756770"],"photo_ids_order":["1394756765","1394756766","1394756767","1394756768","1394756769","1394756770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fed1b0642f8623227658fd5b81bb6c3.jpg","text":"TemporaryFile(/tmp/multipartBody1519978287755268140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314183232,"filename":"image_16112025_17_23_10_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f582cdf59f94963b5340130c6e0cdd9.jpg","text":"TemporaryFile(/tmp/multipartBody748410336297632899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314183232,"filename":"image_16112025_17_23_19_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/005b6443ef7dd094f24767874e9ef58b.jpg","text":"TemporaryFile(/tmp/multipartBody7743091977408113624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314183232,"filename":"image_16112025_17_23_08_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a619d1b8de60d955383223beafd7adb4.jpg","text":"TemporaryFile(/tmp/multipartBody1474476683246180802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314183232,"filename":"image_16112025_17_23_16_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53194843ba0a30991ebbd89c9cef2643.jpg","text":"TemporaryFile(/tmp/multipartBody4970838434301383707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314183232,"filename":"image_16112025_17_23_13_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e72bc4d28481e7b6895e5a444785f64.jpg","text":"TemporaryFile(/tmp/multipartBody4752762043164070954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314183232,"filename":"image_16112025_17_23_22_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756767","file1":"1394756766","file0":"1394756765","file4":"1394756769","file5":"1394756770","file3":"1394756768"},"map_files_photo_id_array":[{"photo_id":"1394756770","filename":"file5"},{"photo_id":"1394756767","filename":"file2"},{"photo_id":"1394756769","filename":"file4"},{"photo_id":"1394756766","filename":"file1"},{"photo_id":"1394756765","filename":"file0"},{"photo_id":"1394756768","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756766":["hashtag1","hashtag2"]},{"1394756769":["hashtag1","hashtag2"]},{"1394756765":["hashtag1","hashtag2"]},{"1394756768":["hashtag1","hashtag2"]},{"1394756767":["hashtag1","hashtag2"]},{"1394756770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756766, 1394756769, 1394756765, 1394756768, 1394756767, 1394756770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9955575466156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:29:21.911886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_25_2715.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_29_3672.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_31_2496.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_34_2554.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_38_3719.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_40_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_25_2715.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_29_3672.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_31_2496.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_34_2554.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_38_3719.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_40_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756784","1394756780","1394756774","1394756777","1394756782","1394756779"],"photo_ids_order":["1394756774","1394756777","1394756779","1394756780","1394756782","1394756784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94355ff3a5b960ae9f1037fac794cebf.jpg","text":"TemporaryFile(/tmp/multipartBody3043426472602426986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314222574,"filename":"image_16112025_17_23_40_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6cc2f7a12b9413db47ff29cf38db747.jpg","text":"TemporaryFile(/tmp/multipartBody2686627275879365873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314222574,"filename":"image_16112025_17_23_34_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/404cfaf4f4f48038994e47e674593cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3061843607906820941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314222574,"filename":"image_16112025_17_23_25_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81111155f1bd45e32fb4354cecefdeb3.jpg","text":"TemporaryFile(/tmp/multipartBody5392364495234026466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314222574,"filename":"image_16112025_17_23_29_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e407207f72beb5f379cd3a04470ebe2.jpg","text":"TemporaryFile(/tmp/multipartBody4206161689003297166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314222574,"filename":"image_16112025_17_23_38_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1435fa2990b5def33b6c6124ddb03c19.jpg","text":"TemporaryFile(/tmp/multipartBody2433309845453944342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314222574,"filename":"image_16112025_17_23_31_2496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756779","file1":"1394756777","file0":"1394756774","file4":"1394756782","file5":"1394756784","file3":"1394756780"},"map_files_photo_id_array":[{"photo_id":"1394756784","filename":"file5"},{"photo_id":"1394756779","filename":"file2"},{"photo_id":"1394756782","filename":"file4"},{"photo_id":"1394756777","filename":"file1"},{"photo_id":"1394756774","filename":"file0"},{"photo_id":"1394756780","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756784":["hashtag1","hashtag2"]},{"1394756780":["hashtag1","hashtag2"]},{"1394756774":["hashtag1","hashtag2"]},{"1394756777":["hashtag1","hashtag2"]},{"1394756782":["hashtag1","hashtag2"]},{"1394756779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756784, 1394756780, 1394756774, 1394756777, 1394756782, 1394756779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85484218597412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:30:02.497651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_43_2690.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_49_2628.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_52_2647.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_56_3654.jpg', '/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_58_2762.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_01_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_43_2690.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_49_2628.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_52_2647.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_56_3654.jpg
/home/pi/Desktop/images/16112025/17/23/image_16112025_17_23_58_2762.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_01_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756790","1394756787","1394756789","1394756786","1394756791","1394756788"],"photo_ids_order":["1394756786","1394756787","1394756788","1394756789","1394756790","1394756791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1f33207f37cd3858db92fe4c44976d6.jpg","text":"TemporaryFile(/tmp/multipartBody1890723219013472570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314263251,"filename":"image_16112025_17_23_58_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d2ba2710339ca225c0536b64b7a501e.jpg","text":"TemporaryFile(/tmp/multipartBody6137571191821176354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314263251,"filename":"image_16112025_17_23_49_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bb166d299be85d51db3ac421b97f823.jpg","text":"TemporaryFile(/tmp/multipartBody3479987982935532947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314263251,"filename":"image_16112025_17_23_56_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8ad1c7488ddcdefd7cfa628eb00d683.jpg","text":"TemporaryFile(/tmp/multipartBody5865343599736902441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314263251,"filename":"image_16112025_17_23_43_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4aa7965ee005b8fa4cbd2484996af15.jpg","text":"TemporaryFile(/tmp/multipartBody5460006764914942200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314263251,"filename":"image_16112025_17_24_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/11/16/0daa11a7bd97fcf608950e5732e8c2b6.jpg","text":"TemporaryFile(/tmp/multipartBody7062456484374781803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314263251,"filename":"image_16112025_17_23_52_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756788","file1":"1394756787","file0":"1394756786","file4":"1394756790","file5":"1394756791","file3":"1394756789"},"map_files_photo_id_array":[{"photo_id":"1394756791","filename":"file5"},{"photo_id":"1394756788","filename":"file2"},{"photo_id":"1394756790","filename":"file4"},{"photo_id":"1394756787","filename":"file1"},{"photo_id":"1394756786","filename":"file0"},{"photo_id":"1394756789","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756790":["hashtag1","hashtag2"]},{"1394756787":["hashtag1","hashtag2"]},{"1394756789":["hashtag1","hashtag2"]},{"1394756786":["hashtag1","hashtag2"]},{"1394756791":["hashtag1","hashtag2"]},{"1394756788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756790, 1394756787, 1394756789, 1394756786, 1394756791, 1394756788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03794288635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:30:42.054178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_05_3629.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_07_2586.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_10_2674.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_14_3760.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_16_2657.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_19_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_05_3629.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_07_2586.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_10_2674.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_14_3760.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_16_2657.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_19_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756799","1394756793","1394756798","1394756801","1394756794","1394756796"],"photo_ids_order":["1394756793","1394756794","1394756796","1394756798","1394756799","1394756801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d0c01c7aa46407dcecb549fb6a1fc70.jpg","text":"TemporaryFile(/tmp/multipartBody6080773355129169841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314302703,"filename":"image_16112025_17_24_16_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f4b64648d32e321acaaf26c100af010.jpg","text":"TemporaryFile(/tmp/multipartBody4680858754988169230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314302703,"filename":"image_16112025_17_24_05_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe53e5c0eafc0293bac9f9bc19b9c517.jpg","text":"TemporaryFile(/tmp/multipartBody7325013518769361319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314302703,"filename":"image_16112025_17_24_14_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01a1c201908646cec4683e65bfd27e99.jpg","text":"TemporaryFile(/tmp/multipartBody1812784105332675153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314302703,"filename":"image_16112025_17_24_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/11/16/0f7043c3b38c4e508dc85a1f46d5ee97.jpg","text":"TemporaryFile(/tmp/multipartBody427026017965575102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314302703,"filename":"image_16112025_17_24_07_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a1608588c1f88f297ab5899c1f7f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody3753502246415964250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314302703,"filename":"image_16112025_17_24_10_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756796","file1":"1394756794","file0":"1394756793","file4":"1394756799","file5":"1394756801","file3":"1394756798"},"map_files_photo_id_array":[{"photo_id":"1394756801","filename":"file5"},{"photo_id":"1394756796","filename":"file2"},{"photo_id":"1394756799","filename":"file4"},{"photo_id":"1394756794","filename":"file1"},{"photo_id":"1394756793","filename":"file0"},{"photo_id":"1394756798","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756799":["hashtag1","hashtag2"]},{"1394756793":["hashtag1","hashtag2"]},{"1394756798":["hashtag1","hashtag2"]},{"1394756801":["hashtag1","hashtag2"]},{"1394756794":["hashtag1","hashtag2"]},{"1394756796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756799, 1394756793, 1394756798, 1394756801, 1394756794, 1394756796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02394914627075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:31:22.309433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_23_3673.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_25_2720.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_28_2724.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_31_2652.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_34_3694.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_37_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_23_3673.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_25_2720.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_28_2724.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_31_2652.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_34_3694.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_37_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756809","1394756808","1394756811","1394756810","1394756807","1394756806"],"photo_ids_order":["1394756806","1394756807","1394756808","1394756809","1394756810","1394756811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b8810a56cf7b6169416c8804e402a53.jpg","text":"TemporaryFile(/tmp/multipartBody7636156500216417203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314342971,"filename":"image_16112025_17_24_31_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3842a8ee5250e715ffbfa0fa5eefe5cb.jpg","text":"TemporaryFile(/tmp/multipartBody2328067451334831693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314342971,"filename":"image_16112025_17_24_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/11/16/a369a0304b677e5ddf07a63b91427519.jpg","text":"TemporaryFile(/tmp/multipartBody1636404384922007917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314342971,"filename":"image_16112025_17_24_37_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bd065f18a45947a04c124a9dac08bb9.jpg","text":"TemporaryFile(/tmp/multipartBody3473560283457993361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314342971,"filename":"image_16112025_17_24_34_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe8c3d5f0ac8141a0c2f1c8a4dd2ee1b.jpg","text":"TemporaryFile(/tmp/multipartBody5378183709571973356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314342971,"filename":"image_16112025_17_24_25_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/770c02ccca12e50db15b944e602031f5.jpg","text":"TemporaryFile(/tmp/multipartBody7097260783248458329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314342971,"filename":"image_16112025_17_24_23_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756808","file1":"1394756807","file0":"1394756806","file4":"1394756810","file5":"1394756811","file3":"1394756809"},"map_files_photo_id_array":[{"photo_id":"1394756811","filename":"file5"},{"photo_id":"1394756808","filename":"file2"},{"photo_id":"1394756810","filename":"file4"},{"photo_id":"1394756807","filename":"file1"},{"photo_id":"1394756806","filename":"file0"},{"photo_id":"1394756809","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756809":["hashtag1","hashtag2"]},{"1394756808":["hashtag1","hashtag2"]},{"1394756811":["hashtag1","hashtag2"]},{"1394756810":["hashtag1","hashtag2"]},{"1394756807":["hashtag1","hashtag2"]},{"1394756806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756809, 1394756808, 1394756811, 1394756810, 1394756807, 1394756806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43100452423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:32:02.977175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_41_3634.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_43_2554.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_46_2536.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_49_3581.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_52_2669.jpg', '/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_55_2882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_41_3634.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_43_2554.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_46_2536.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_49_3581.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_52_2669.jpg
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_55_2882.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756815","1394756814","1394756813","1394756821","1394756818","1394756812"],"photo_ids_order":["1394756812","1394756813","1394756814","1394756815","1394756818","1394756821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ad6b3a6a48c152c6f1183ab89e3b642.jpg","text":"TemporaryFile(/tmp/multipartBody3592010826044596923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314383665,"filename":"image_16112025_17_24_49_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c27a1887440a37ed65b607c4127e809.jpg","text":"TemporaryFile(/tmp/multipartBody5533278684413589909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314383665,"filename":"image_16112025_17_24_46_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/749fed2caddaa6887c034a99d138daf9.jpg","text":"TemporaryFile(/tmp/multipartBody276489520414283272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314383665,"filename":"image_16112025_17_24_43_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d71536eb94e290e2d80f8d2ef189f02.jpg","text":"TemporaryFile(/tmp/multipartBody3013650519507912018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314383665,"filename":"image_16112025_17_24_55_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/880742babf21f2049a6f981ed961c4a6.jpg","text":"TemporaryFile(/tmp/multipartBody3064444045496489954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314383665,"filename":"image_16112025_17_24_52_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72bc93ea0c33b6c3128ab3fbcdd716d8.jpg","text":"TemporaryFile(/tmp/multipartBody8450599602433143541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314383665,"filename":"image_16112025_17_24_41_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756814","file1":"1394756813","file0":"1394756812","file4":"1394756818","file5":"1394756821","file3":"1394756815"},"map_files_photo_id_array":[{"photo_id":"1394756821","filename":"file5"},{"photo_id":"1394756814","filename":"file2"},{"photo_id":"1394756818","filename":"file4"},{"photo_id":"1394756813","filename":"file1"},{"photo_id":"1394756812","filename":"file0"},{"photo_id":"1394756815","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756815":["hashtag1","hashtag2"]},{"1394756814":["hashtag1","hashtag2"]},{"1394756813":["hashtag1","hashtag2"]},{"1394756821":["hashtag1","hashtag2"]},{"1394756818":["hashtag1","hashtag2"]},{"1394756812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756815, 1394756814, 1394756813, 1394756821, 1394756818, 1394756812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.938822746276855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:32:42.487728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_59_3606.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_07_3011.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_11_3684.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_13_2613.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_17_3594.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_19_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/24/image_16112025_17_24_59_3606.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_07_3011.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_11_3684.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_13_2613.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_17_3594.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_19_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756826","1394756823","1394756825","1394756828","1394756824","1394756827"],"photo_ids_order":["1394756823","1394756824","1394756825","1394756826","1394756827","1394756828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d80b53da717fc26d54b9df3574942100.jpg","text":"TemporaryFile(/tmp/multipartBody654843718599789717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314423119,"filename":"image_16112025_17_25_13_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/171dd0c314caa025b997e745d58fab18.jpg","text":"TemporaryFile(/tmp/multipartBody7845729641615819416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314423119,"filename":"image_16112025_17_24_59_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29ae08f963365e66316e15282decdb1c.jpg","text":"TemporaryFile(/tmp/multipartBody6964679845619152174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314423119,"filename":"image_16112025_17_25_11_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb460c56c5fd346e7c39439207b1f73e.jpg","text":"TemporaryFile(/tmp/multipartBody4703875882320107682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314423119,"filename":"image_16112025_17_25_19_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d817afadd6bfbb78ee359e4d736acaa.jpg","text":"TemporaryFile(/tmp/multipartBody787782998139627824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314423119,"filename":"image_16112025_17_25_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/11/16/2bfb1cb607b64ffddb81be728757791d.jpg","text":"TemporaryFile(/tmp/multipartBody9217044670396152293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314423119,"filename":"image_16112025_17_25_17_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756825","file1":"1394756824","file0":"1394756823","file4":"1394756827","file5":"1394756828","file3":"1394756826"},"map_files_photo_id_array":[{"photo_id":"1394756828","filename":"file5"},{"photo_id":"1394756825","filename":"file2"},{"photo_id":"1394756827","filename":"file4"},{"photo_id":"1394756824","filename":"file1"},{"photo_id":"1394756823","filename":"file0"},{"photo_id":"1394756826","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756826":["hashtag1","hashtag2"]},{"1394756823":["hashtag1","hashtag2"]},{"1394756825":["hashtag1","hashtag2"]},{"1394756828":["hashtag1","hashtag2"]},{"1394756824":["hashtag1","hashtag2"]},{"1394756827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756826, 1394756823, 1394756825, 1394756828, 1394756824, 1394756827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78251004219055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:33:22.721882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_22_2638.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_26_3638.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_28_2639.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_31_2610.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_35_3819.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_37_2486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_22_2638.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_26_3638.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_28_2639.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_31_2610.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_35_3819.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_37_2486.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756832","1394756835","1394756838","1394756834","1394756836","1394756830"],"photo_ids_order":["1394756830","1394756832","1394756834","1394756835","1394756836","1394756838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8de8a18ed29c32189a27d720a0de0f8.jpg","text":"TemporaryFile(/tmp/multipartBody3621124139259825072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314463365,"filename":"image_16112025_17_25_26_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e66e719e0bc4110a937a166c356b7b1.jpg","text":"TemporaryFile(/tmp/multipartBody4137991891842698574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314463365,"filename":"image_16112025_17_25_31_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8761838920bf33f06de1502002dde54c.jpg","text":"TemporaryFile(/tmp/multipartBody8343263203339865341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314463365,"filename":"image_16112025_17_25_37_2486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce387bf91788e4bcec3e2e552114e37b.jpg","text":"TemporaryFile(/tmp/multipartBody1504696139063704790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314463365,"filename":"image_16112025_17_25_28_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8961389ee4f9c8ce5451db930d8638e.jpg","text":"TemporaryFile(/tmp/multipartBody7551470300850227948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314463365,"filename":"image_16112025_17_25_35_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4d80460572031a2475daba1d7b63293.jpg","text":"TemporaryFile(/tmp/multipartBody2138959405983605662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314463365,"filename":"image_16112025_17_25_22_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756834","file1":"1394756832","file0":"1394756830","file4":"1394756836","file5":"1394756838","file3":"1394756835"},"map_files_photo_id_array":[{"photo_id":"1394756838","filename":"file5"},{"photo_id":"1394756834","filename":"file2"},{"photo_id":"1394756836","filename":"file4"},{"photo_id":"1394756832","filename":"file1"},{"photo_id":"1394756830","filename":"file0"},{"photo_id":"1394756835","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756832":["hashtag1","hashtag2"]},{"1394756835":["hashtag1","hashtag2"]},{"1394756838":["hashtag1","hashtag2"]},{"1394756834":["hashtag1","hashtag2"]},{"1394756836":["hashtag1","hashtag2"]},{"1394756830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756832, 1394756835, 1394756838, 1394756834, 1394756836, 1394756830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13764405250549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:34:02.689704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_41_3587.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_43_2587.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_46_2750.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_50_3594.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_53_2797.jpg', '/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_55_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_41_3587.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_43_2587.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_46_2750.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_50_3594.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_53_2797.jpg
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_55_2783.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":["1394756844","1394756841","1394756846","1394756849","1394756840","1394756842"],"photo_ids_order":["1394756840","1394756841","1394756842","1394756844","1394756846","1394756849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed3c93a2fee72e9e328e749e4c3be464.jpg","text":"TemporaryFile(/tmp/multipartBody1080203892842341922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314503455,"filename":"image_16112025_17_25_50_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a93a598cf8844a2d69639f1c0253ccae.jpg","text":"TemporaryFile(/tmp/multipartBody5556361827953750760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314503455,"filename":"image_16112025_17_25_43_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f92239fdcc2b2de2613df333a65bc55e.jpg","text":"TemporaryFile(/tmp/multipartBody4469598017625292487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314503455,"filename":"image_16112025_17_25_53_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3379c455f33f62b6090e6fdfa4994698.jpg","text":"TemporaryFile(/tmp/multipartBody7809311977370824912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314503455,"filename":"image_16112025_17_25_55_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da0aa7a4fd6b8e5622ca909ac0d2cd6f.jpg","text":"TemporaryFile(/tmp/multipartBody745967739445989155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314503455,"filename":"image_16112025_17_25_41_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d37c23aeea688b544772945d9a4a0c05.jpg","text":"TemporaryFile(/tmp/multipartBody660615805182501169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314503455,"filename":"image_16112025_17_25_46_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756842","file1":"1394756841","file0":"1394756840","file4":"1394756846","file5":"1394756849","file3":"1394756844"},"map_files_photo_id_array":[{"photo_id":"1394756849","filename":"file5"},{"photo_id":"1394756842","filename":"file2"},{"photo_id":"1394756846","filename":"file4"},{"photo_id":"1394756841","filename":"file1"},{"photo_id":"1394756840","filename":"file0"},{"photo_id":"1394756844","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756844":["hashtag1","hashtag2"]},{"1394756841":["hashtag1","hashtag2"]},{"1394756846":["hashtag1","hashtag2"]},{"1394756849":["hashtag1","hashtag2"]},{"1394756840":["hashtag1","hashtag2"]},{"1394756842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756844, 1394756841, 1394756846, 1394756849, 1394756840, 1394756842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81285071372986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:35:02.643379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_58_2869.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_01_2810.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_05_3649.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_07_2600.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_10_2718.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_14_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/25/image_16112025_17_25_58_2869.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_01_2810.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_05_3649.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_07_2600.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_10_2718.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_14_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756853","1394756852","1394756860","1394756854","1394756857","1394756851"],"photo_ids_order":["1394756851","1394756852","1394756853","1394756854","1394756857","1394756860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c3b4922d457fae86402a28aee55220a.jpg","text":"TemporaryFile(/tmp/multipartBody3585944820085793625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314563364,"filename":"image_16112025_17_26_05_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8659c52b227a6f8cca45c2d3ba8398af.jpg","text":"TemporaryFile(/tmp/multipartBody167134629749422268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314563364,"filename":"image_16112025_17_26_01_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/594db6bd16bcd20313ff621349b40f37.jpg","text":"TemporaryFile(/tmp/multipartBody8016482744321358298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314563364,"filename":"image_16112025_17_26_14_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22f8149e61cc3d159cde4102ccda359e.jpg","text":"TemporaryFile(/tmp/multipartBody2885043166037393475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314563364,"filename":"image_16112025_17_26_07_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50a26be7cd0e8d8dec7a682e46087b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4857341717567227385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314563364,"filename":"image_16112025_17_26_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/11/16/a5882e8ba8ef9830954af89d23f66f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4395695055785865014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314563364,"filename":"image_16112025_17_25_58_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756853","file1":"1394756852","file0":"1394756851","file4":"1394756857","file5":"1394756860","file3":"1394756854"},"map_files_photo_id_array":[{"photo_id":"1394756860","filename":"file5"},{"photo_id":"1394756853","filename":"file2"},{"photo_id":"1394756857","filename":"file4"},{"photo_id":"1394756852","filename":"file1"},{"photo_id":"1394756851","filename":"file0"},{"photo_id":"1394756854","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756853":["hashtag1","hashtag2"]},{"1394756852":["hashtag1","hashtag2"]},{"1394756860":["hashtag1","hashtag2"]},{"1394756854":["hashtag1","hashtag2"]},{"1394756857":["hashtag1","hashtag2"]},{"1394756851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756853, 1394756852, 1394756860, 1394756854, 1394756857, 1394756851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07469630241394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:35:42.145029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_16_2645.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_19_2798.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_22_2722.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_25_3652.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_28_2650.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_31_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_16_2645.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_19_2798.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_22_2722.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_25_3652.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_28_2650.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_31_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756871","1394756868","1394756864","1394756867","1394756866","1394756869"],"photo_ids_order":["1394756864","1394756866","1394756867","1394756868","1394756869","1394756871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7138f9d63949fade1339751310256ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3082361993695504958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314602805,"filename":"image_16112025_17_26_31_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07f502dcb5c284d7b731653751f39594.jpg","text":"TemporaryFile(/tmp/multipartBody4727858274300709203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314602805,"filename":"image_16112025_17_26_25_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/577442374d0968f16bf4ba2f13d769a7.jpg","text":"TemporaryFile(/tmp/multipartBody4482370916854394951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314602805,"filename":"image_16112025_17_26_16_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58f6cd0664de583623e834051df4b945.jpg","text":"TemporaryFile(/tmp/multipartBody9071063799513840431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314602805,"filename":"image_16112025_17_26_22_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e11861e714dc7175afdee5f57ea7420.jpg","text":"TemporaryFile(/tmp/multipartBody7591872343148089582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314602805,"filename":"image_16112025_17_26_19_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97a230a98028185f8776c82f40ecdca7.jpg","text":"TemporaryFile(/tmp/multipartBody3595279499658494270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314602805,"filename":"image_16112025_17_26_28_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756867","file1":"1394756866","file0":"1394756864","file4":"1394756869","file5":"1394756871","file3":"1394756868"},"map_files_photo_id_array":[{"photo_id":"1394756871","filename":"file5"},{"photo_id":"1394756867","filename":"file2"},{"photo_id":"1394756869","filename":"file4"},{"photo_id":"1394756866","filename":"file1"},{"photo_id":"1394756864","filename":"file0"},{"photo_id":"1394756868","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756871":["hashtag1","hashtag2"]},{"1394756868":["hashtag1","hashtag2"]},{"1394756864":["hashtag1","hashtag2"]},{"1394756867":["hashtag1","hashtag2"]},{"1394756866":["hashtag1","hashtag2"]},{"1394756869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756871, 1394756868, 1394756864, 1394756867, 1394756866, 1394756869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58090543746948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:36:22.339929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_34_3630.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_37_2583.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_41_3616.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_43_2709.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_46_2658.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_50_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_34_3630.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_37_2583.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_41_3616.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_43_2709.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_46_2658.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_50_3559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756877","1394756874","1394756873","1394756876","1394756879","1394756872"],"photo_ids_order":["1394756872","1394756873","1394756874","1394756876","1394756877","1394756879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7844b0555b7a187ebd9653ad57547c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4511520660100316797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314642970,"filename":"image_16112025_17_26_46_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f2e00c08caa52d1a512d0fe9c7f2e87.jpg","text":"TemporaryFile(/tmp/multipartBody6429662639462447229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314642970,"filename":"image_16112025_17_26_41_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7527fe692514abe57736c65c641e733f.jpg","text":"TemporaryFile(/tmp/multipartBody6091148290946849541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314642970,"filename":"image_16112025_17_26_37_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be7e8b756a7148000d72a4988c2d9092.jpg","text":"TemporaryFile(/tmp/multipartBody6676672783729631285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314642970,"filename":"image_16112025_17_26_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/11/16/77b8f1e61507011a63c3f84223804f1a.jpg","text":"TemporaryFile(/tmp/multipartBody5361862672453842990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314642970,"filename":"image_16112025_17_26_50_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98a27d8949a299423b0171a4b01d9b47.jpg","text":"TemporaryFile(/tmp/multipartBody27506235458341693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314642970,"filename":"image_16112025_17_26_34_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756874","file1":"1394756873","file0":"1394756872","file4":"1394756877","file5":"1394756879","file3":"1394756876"},"map_files_photo_id_array":[{"photo_id":"1394756879","filename":"file5"},{"photo_id":"1394756874","filename":"file2"},{"photo_id":"1394756877","filename":"file4"},{"photo_id":"1394756873","filename":"file1"},{"photo_id":"1394756872","filename":"file0"},{"photo_id":"1394756876","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756877":["hashtag1","hashtag2"]},{"1394756874":["hashtag1","hashtag2"]},{"1394756873":["hashtag1","hashtag2"]},{"1394756876":["hashtag1","hashtag2"]},{"1394756879":["hashtag1","hashtag2"]},{"1394756872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756877, 1394756874, 1394756873, 1394756876, 1394756879, 1394756872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79582118988037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:37:03.530208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_52_2582.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_56_3587.jpg', '/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_58_2641.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_01_2519.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_04_2949.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_07_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_52_2582.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_56_3587.jpg
/home/pi/Desktop/images/16112025/17/26/image_16112025_17_26_58_2641.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_01_2519.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_04_2949.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_07_3588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756883","1394756885","1394756884","1394756887","1394756881","1394756889"],"photo_ids_order":["1394756881","1394756883","1394756884","1394756885","1394756887","1394756889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0939ee15d446c95c1014b039b03013b.jpg","text":"TemporaryFile(/tmp/multipartBody3268433162236747943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314684324,"filename":"image_16112025_17_26_56_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6752eb31002a7845cfbd8128861af242.jpg","text":"TemporaryFile(/tmp/multipartBody5147927013544616626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314684324,"filename":"image_16112025_17_27_01_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e436dfd5879fe25f800e7003478ce848.jpg","text":"TemporaryFile(/tmp/multipartBody334542121724342517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314684324,"filename":"image_16112025_17_26_58_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0af81d437b8e920ff4c5301ca507209.jpg","text":"TemporaryFile(/tmp/multipartBody6270402382638424849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314684324,"filename":"image_16112025_17_27_04_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/727afa2d48e12827de4ac8cbc634e42a.jpg","text":"TemporaryFile(/tmp/multipartBody7884397617711882524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314684324,"filename":"image_16112025_17_26_52_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57ade35902fabdf3cf815a29eb4465a5.jpg","text":"TemporaryFile(/tmp/multipartBody4479078183799375329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314684324,"filename":"image_16112025_17_27_07_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756884","file1":"1394756883","file0":"1394756881","file4":"1394756887","file5":"1394756889","file3":"1394756885"},"map_files_photo_id_array":[{"photo_id":"1394756889","filename":"file5"},{"photo_id":"1394756884","filename":"file2"},{"photo_id":"1394756887","filename":"file4"},{"photo_id":"1394756883","filename":"file1"},{"photo_id":"1394756881","filename":"file0"},{"photo_id":"1394756885","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756883":["hashtag1","hashtag2"]},{"1394756885":["hashtag1","hashtag2"]},{"1394756884":["hashtag1","hashtag2"]},{"1394756887":["hashtag1","hashtag2"]},{"1394756881":["hashtag1","hashtag2"]},{"1394756889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756883, 1394756885, 1394756884, 1394756887, 1394756881, 1394756889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60152554512024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:37:42.782141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_10_2652.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_14_3576.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_16_2685.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_19_2747.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_22_2626.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_25_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_10_2652.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_14_3576.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_16_2685.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_19_2747.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_22_2626.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_25_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756898","1394756894","1394756897","1394756900","1394756899","1394756896"],"photo_ids_order":["1394756894","1394756896","1394756897","1394756898","1394756899","1394756900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a93b0487638a50ce110072490a065df.jpg","text":"TemporaryFile(/tmp/multipartBody2406639358628820820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314723418,"filename":"image_16112025_17_27_19_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1dff3cb8cdb47f5d829c46f3ee23f3b4.jpg","text":"TemporaryFile(/tmp/multipartBody3772457202438580275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314723418,"filename":"image_16112025_17_27_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/11/16/02817e2a9caf8e5ae6508bd7c90334cd.jpg","text":"TemporaryFile(/tmp/multipartBody2479226765213221401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314723418,"filename":"image_16112025_17_27_16_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0adc0b3ffad8134ae399f2595e64a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5236145606766079366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314723418,"filename":"image_16112025_17_27_25_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3c2a2ae3c6af4d2e28b79dec445883f.jpg","text":"TemporaryFile(/tmp/multipartBody8352236039519920204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314723418,"filename":"image_16112025_17_27_22_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c554b9177374fc5eeb8c1a6761e5248.jpg","text":"TemporaryFile(/tmp/multipartBody5264146387975464931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314723418,"filename":"image_16112025_17_27_14_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756897","file1":"1394756896","file0":"1394756894","file4":"1394756899","file5":"1394756900","file3":"1394756898"},"map_files_photo_id_array":[{"photo_id":"1394756900","filename":"file5"},{"photo_id":"1394756897","filename":"file2"},{"photo_id":"1394756899","filename":"file4"},{"photo_id":"1394756896","filename":"file1"},{"photo_id":"1394756894","filename":"file0"},{"photo_id":"1394756898","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756898":["hashtag1","hashtag2"]},{"1394756894":["hashtag1","hashtag2"]},{"1394756897":["hashtag1","hashtag2"]},{"1394756900":["hashtag1","hashtag2"]},{"1394756899":["hashtag1","hashtag2"]},{"1394756896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756898, 1394756894, 1394756897, 1394756900, 1394756899, 1394756896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00809144973755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:38:22.025508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_28_2785.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_31_2640.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_34_3560.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_37_2599.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_41_3609.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_43_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_28_2785.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_31_2640.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_34_3560.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_37_2599.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_41_3609.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_43_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756907","1394756910","1394756904","1394756912","1394756909","1394756911"],"photo_ids_order":["1394756904","1394756907","1394756909","1394756910","1394756911","1394756912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ee7ee5a53c49269260e32448f6a4886.jpg","text":"TemporaryFile(/tmp/multipartBody3230935356740595557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314762721,"filename":"image_16112025_17_27_31_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cb2e1bac5720e68a8b1fb784f5925f3.jpg","text":"TemporaryFile(/tmp/multipartBody489411705457607357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314762721,"filename":"image_16112025_17_27_37_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6917ab20b40a8c6f176af501ce102e1.jpg","text":"TemporaryFile(/tmp/multipartBody8716079846699623838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314762721,"filename":"image_16112025_17_27_28_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd33aefb66055f83e79299e98f658e8b.jpg","text":"TemporaryFile(/tmp/multipartBody7914709079842479732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314762721,"filename":"image_16112025_17_27_43_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4747849461129d48e7c64d3bd106eea.jpg","text":"TemporaryFile(/tmp/multipartBody590448052832613158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314762721,"filename":"image_16112025_17_27_34_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/606e1bca1c516f59f2612b933661c1f1.jpg","text":"TemporaryFile(/tmp/multipartBody2165526126674916578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314762721,"filename":"image_16112025_17_27_41_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756909","file1":"1394756907","file0":"1394756904","file4":"1394756911","file5":"1394756912","file3":"1394756910"},"map_files_photo_id_array":[{"photo_id":"1394756912","filename":"file5"},{"photo_id":"1394756909","filename":"file2"},{"photo_id":"1394756911","filename":"file4"},{"photo_id":"1394756907","filename":"file1"},{"photo_id":"1394756904","filename":"file0"},{"photo_id":"1394756910","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756907":["hashtag1","hashtag2"]},{"1394756910":["hashtag1","hashtag2"]},{"1394756904":["hashtag1","hashtag2"]},{"1394756912":["hashtag1","hashtag2"]},{"1394756909":["hashtag1","hashtag2"]},{"1394756911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756907, 1394756910, 1394756904, 1394756912, 1394756909, 1394756911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78565001487732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:39:02.941205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_46_2753.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_49_2740.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_53_3767.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_55_2800.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_58_2585.jpg', '/home/pi/Desktop/images/16112025/17/27/image_16112025_17_28_01_3507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_46_2753.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_49_2740.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_53_3767.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_55_2800.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_27_58_2585.jpg
/home/pi/Desktop/images/16112025/17/27/image_16112025_17_28_01_3507.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756913","1394756922","1394756916","1394756919","1394756915","1394756917"],"photo_ids_order":["1394756913","1394756915","1394756916","1394756917","1394756919","1394756922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e5945f985d34be7c035cb43c3f17eff.jpg","text":"TemporaryFile(/tmp/multipartBody790370297650145772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314803847,"filename":"image_16112025_17_27_46_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa9f6c953239d94af13bbb5ce8c082c4.jpg","text":"TemporaryFile(/tmp/multipartBody5321503202831043707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314803847,"filename":"image_16112025_17_28_01_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d23f634f02916104158896eccb3a103.jpg","text":"TemporaryFile(/tmp/multipartBody8225434567632959981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314803847,"filename":"image_16112025_17_27_53_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/892a2c65ebcdb30d099ea539d657cd17.jpg","text":"TemporaryFile(/tmp/multipartBody7296442041128989479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314803847,"filename":"image_16112025_17_27_58_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00216194d912a19e795e71380318bebc.jpg","text":"TemporaryFile(/tmp/multipartBody525450697959928384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314803847,"filename":"image_16112025_17_27_49_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6db06bd08b9bd38c0fa2dc28fe4c2059.jpg","text":"TemporaryFile(/tmp/multipartBody5064282528998425839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314803847,"filename":"image_16112025_17_27_55_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756916","file1":"1394756915","file0":"1394756913","file4":"1394756919","file5":"1394756922","file3":"1394756917"},"map_files_photo_id_array":[{"photo_id":"1394756922","filename":"file5"},{"photo_id":"1394756916","filename":"file2"},{"photo_id":"1394756919","filename":"file4"},{"photo_id":"1394756915","filename":"file1"},{"photo_id":"1394756913","filename":"file0"},{"photo_id":"1394756917","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756913":["hashtag1","hashtag2"]},{"1394756922":["hashtag1","hashtag2"]},{"1394756916":["hashtag1","hashtag2"]},{"1394756919":["hashtag1","hashtag2"]},{"1394756915":["hashtag1","hashtag2"]},{"1394756917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756913, 1394756922, 1394756916, 1394756919, 1394756915, 1394756917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48971343040466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:39:42.155013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_04_2520.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_08_3651.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_10_2616.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_13_2730.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_16_2659.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_19_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_04_2520.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_08_3651.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_10_2616.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_13_2730.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_16_2659.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_19_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756931","1394756925","1394756928","1394756930","1394756929","1394756932"],"photo_ids_order":["1394756925","1394756928","1394756929","1394756930","1394756931","1394756932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65be276c6bdcc83b15dccd0629778304.jpg","text":"TemporaryFile(/tmp/multipartBody472926475377915375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314842789,"filename":"image_16112025_17_28_16_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8664dfa94f910be12155f997438a2b7d.jpg","text":"TemporaryFile(/tmp/multipartBody2828872149659224864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314842789,"filename":"image_16112025_17_28_04_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b70f3e56e148ef750da9ec63522a1f2.jpg","text":"TemporaryFile(/tmp/multipartBody7674243879593803804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314842789,"filename":"image_16112025_17_28_08_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd961f46eff73fde421c0bce908131db.jpg","text":"TemporaryFile(/tmp/multipartBody3498985391024393092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314842789,"filename":"image_16112025_17_28_13_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/562b12f226297a043b2a5ef10282a106.jpg","text":"TemporaryFile(/tmp/multipartBody8500163708744706546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314842789,"filename":"image_16112025_17_28_10_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb2e7bd6559a49ea15e764e5e0fff5b4.jpg","text":"TemporaryFile(/tmp/multipartBody1522255493616498431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314842789,"filename":"image_16112025_17_28_19_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756929","file1":"1394756928","file0":"1394756925","file4":"1394756931","file5":"1394756932","file3":"1394756930"},"map_files_photo_id_array":[{"photo_id":"1394756932","filename":"file5"},{"photo_id":"1394756929","filename":"file2"},{"photo_id":"1394756931","filename":"file4"},{"photo_id":"1394756928","filename":"file1"},{"photo_id":"1394756925","filename":"file0"},{"photo_id":"1394756930","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756931":["hashtag1","hashtag2"]},{"1394756925":["hashtag1","hashtag2"]},{"1394756928":["hashtag1","hashtag2"]},{"1394756930":["hashtag1","hashtag2"]},{"1394756929":["hashtag1","hashtag2"]},{"1394756932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756931, 1394756925, 1394756928, 1394756930, 1394756929, 1394756932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0325813293457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:40:22.505952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_22_2578.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_25_2825.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_28_3591.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_31_2568.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_34_3596.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_37_2489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_22_2578.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_25_2825.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_28_3591.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_31_2568.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_34_3596.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_37_2489.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756943","1394756940","1394756936","1394756939","1394756941","1394756938"],"photo_ids_order":["1394756936","1394756938","1394756939","1394756940","1394756941","1394756943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b244f745b0133248417f746b287ddf90.jpg","text":"TemporaryFile(/tmp/multipartBody3315867479520248637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314883166,"filename":"image_16112025_17_28_37_2489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a54b73c1e4be9c5469b8330f7c715aa.jpg","text":"TemporaryFile(/tmp/multipartBody920444089169725992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314883166,"filename":"image_16112025_17_28_31_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a17447ec94e082cfc6a6cf28d3a5cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4643047563331105849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314883166,"filename":"image_16112025_17_28_22_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4567d21b6f0c87d15541865e45c6828e.jpg","text":"TemporaryFile(/tmp/multipartBody8878251709669530803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314883166,"filename":"image_16112025_17_28_28_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ddfaee881509daf0f122674b2e105aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6487204987727647637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314883166,"filename":"image_16112025_17_28_34_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba3c5350302e04acdc549c110ec3306f.jpg","text":"TemporaryFile(/tmp/multipartBody4599033291023143739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314883166,"filename":"image_16112025_17_28_25_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756939","file1":"1394756938","file0":"1394756936","file4":"1394756941","file5":"1394756943","file3":"1394756940"},"map_files_photo_id_array":[{"photo_id":"1394756943","filename":"file5"},{"photo_id":"1394756939","filename":"file2"},{"photo_id":"1394756941","filename":"file4"},{"photo_id":"1394756938","filename":"file1"},{"photo_id":"1394756936","filename":"file0"},{"photo_id":"1394756940","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756943":["hashtag1","hashtag2"]},{"1394756940":["hashtag1","hashtag2"]},{"1394756936":["hashtag1","hashtag2"]},{"1394756939":["hashtag1","hashtag2"]},{"1394756941":["hashtag1","hashtag2"]},{"1394756938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756943, 1394756940, 1394756936, 1394756939, 1394756941, 1394756938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88888764381409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:41:03.401991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_40_2668.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_43_3827.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_46_2750.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_49_2863.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_52_2675.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_55_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_40_2668.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_43_3827.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_46_2750.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_49_2863.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_52_2675.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_55_3554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756946","1394756945","1394756953","1394756947","1394756950","1394756944"],"photo_ids_order":["1394756944","1394756945","1394756946","1394756947","1394756950","1394756953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80a8d803f334039ed26b9545a938a01b.jpg","text":"TemporaryFile(/tmp/multipartBody2792977457502136096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314924131,"filename":"image_16112025_17_28_46_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7dc1eb5ffa512b863c04b0266d9fdc7.jpg","text":"TemporaryFile(/tmp/multipartBody3705132568896165540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314924131,"filename":"image_16112025_17_28_43_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ffafdb3786e040c111284d6075a60fc3.jpg","text":"TemporaryFile(/tmp/multipartBody456947074390375073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314924131,"filename":"image_16112025_17_28_55_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a25b581ae1e647de40916777106ae8b4.jpg","text":"TemporaryFile(/tmp/multipartBody2681318532479315320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314924131,"filename":"image_16112025_17_28_49_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c31a3c85352527d16919928227044d71.jpg","text":"TemporaryFile(/tmp/multipartBody188967594136822058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314924131,"filename":"image_16112025_17_28_52_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d7dd6b03ca2da85ef4ddc6872224dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7706614742831444488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314924131,"filename":"image_16112025_17_28_40_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756946","file1":"1394756945","file0":"1394756944","file4":"1394756950","file5":"1394756953","file3":"1394756947"},"map_files_photo_id_array":[{"photo_id":"1394756953","filename":"file5"},{"photo_id":"1394756946","filename":"file2"},{"photo_id":"1394756950","filename":"file4"},{"photo_id":"1394756945","filename":"file1"},{"photo_id":"1394756944","filename":"file0"},{"photo_id":"1394756947","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756946":["hashtag1","hashtag2"]},{"1394756945":["hashtag1","hashtag2"]},{"1394756953":["hashtag1","hashtag2"]},{"1394756947":["hashtag1","hashtag2"]},{"1394756950":["hashtag1","hashtag2"]},{"1394756944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756946, 1394756945, 1394756953, 1394756947, 1394756950, 1394756944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.245635986328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:41:42.720092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_58_2539.jpg', '/home/pi/Desktop/images/16112025/17/28/image_16112025_17_29_01_3579.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_04_2835.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_07_2861.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_10_2533.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_13_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_28_58_2539.jpg
/home/pi/Desktop/images/16112025/17/28/image_16112025_17_29_01_3579.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_04_2835.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_07_2861.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_10_2533.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_13_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756964","1394756958","1394756960","1394756966","1394756962","1394756956"],"photo_ids_order":["1394756956","1394756958","1394756960","1394756962","1394756964","1394756966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efa6c795cdcc168673fe9d2bda7b7297.jpg","text":"TemporaryFile(/tmp/multipartBody1308546985552879982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314963352,"filename":"image_16112025_17_29_10_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ddfa9b84b1e0cafa26392041c47b0ce.jpg","text":"TemporaryFile(/tmp/multipartBody7331984932236358027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314963352,"filename":"image_16112025_17_29_01_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5209bdb18609487efc58deaf5393bd91.jpg","text":"TemporaryFile(/tmp/multipartBody348368698570250648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314963352,"filename":"image_16112025_17_29_04_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe4dc2e462a66bbb718c7e10aa6ba210.jpg","text":"TemporaryFile(/tmp/multipartBody2790374624704185207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314963352,"filename":"image_16112025_17_29_13_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5372c258d5ec48ffd5a992c078d90148.jpg","text":"TemporaryFile(/tmp/multipartBody5371860856854693088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314963352,"filename":"image_16112025_17_29_07_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06a5c3e822b210d3c628cc83f2483c5d.jpg","text":"TemporaryFile(/tmp/multipartBody4665471544113511328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763314963352,"filename":"image_16112025_17_28_58_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756960","file1":"1394756958","file0":"1394756956","file4":"1394756964","file5":"1394756966","file3":"1394756962"},"map_files_photo_id_array":[{"photo_id":"1394756966","filename":"file5"},{"photo_id":"1394756960","filename":"file2"},{"photo_id":"1394756964","filename":"file4"},{"photo_id":"1394756958","filename":"file1"},{"photo_id":"1394756956","filename":"file0"},{"photo_id":"1394756962","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756964":["hashtag1","hashtag2"]},{"1394756958":["hashtag1","hashtag2"]},{"1394756960":["hashtag1","hashtag2"]},{"1394756966":["hashtag1","hashtag2"]},{"1394756962":["hashtag1","hashtag2"]},{"1394756956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756964, 1394756958, 1394756960, 1394756966, 1394756962, 1394756956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.305936336517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:42:21.966183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_16_2490.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_19_3652.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_22_2583.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_25_2541.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_28_3531.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_31_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_16_2490.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_19_3652.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_22_2583.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_25_2541.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_28_3531.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_31_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756982","1394756979","1394756972","1394756969","1394756977","1394756974"],"photo_ids_order":["1394756969","1394756972","1394756974","1394756977","1394756979","1394756982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a4666dd14c93f5fe0edc5b5de1d247b.jpg","text":"TemporaryFile(/tmp/multipartBody8592823882049414345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315002629,"filename":"image_16112025_17_29_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1282aa1ae4a5ba7a0891c410095b3261.jpg","text":"TemporaryFile(/tmp/multipartBody5514179764681162025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315002629,"filename":"image_16112025_17_29_28_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5baac624eabbdfcdc4c72ab876549ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4554217676729831508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315002629,"filename":"image_16112025_17_29_19_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d27db8dafa311d98b5ba07f4637ba73.jpg","text":"TemporaryFile(/tmp/multipartBody9176100466298878471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315002629,"filename":"image_16112025_17_29_16_2490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1448f3cdb14fc7cb3f6d486d89011d17.jpg","text":"TemporaryFile(/tmp/multipartBody247803383800580171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315002629,"filename":"image_16112025_17_29_25_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b6513153a252ca4e4b6d1e959356e82.jpg","text":"TemporaryFile(/tmp/multipartBody5506751879045424769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315002629,"filename":"image_16112025_17_29_22_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756974","file1":"1394756972","file0":"1394756969","file4":"1394756979","file5":"1394756982","file3":"1394756977"},"map_files_photo_id_array":[{"photo_id":"1394756982","filename":"file5"},{"photo_id":"1394756974","filename":"file2"},{"photo_id":"1394756979","filename":"file4"},{"photo_id":"1394756972","filename":"file1"},{"photo_id":"1394756969","filename":"file0"},{"photo_id":"1394756977","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756982":["hashtag1","hashtag2"]},{"1394756979":["hashtag1","hashtag2"]},{"1394756972":["hashtag1","hashtag2"]},{"1394756969":["hashtag1","hashtag2"]},{"1394756977":["hashtag1","hashtag2"]},{"1394756974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756982, 1394756979, 1394756972, 1394756969, 1394756977, 1394756974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36220026016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:43:03.011359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_33_2666.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_37_3642.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_40_2765.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_43_2601.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_46_3640.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_49_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_33_2666.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_37_3642.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_40_2765.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_43_2601.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_46_3640.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_49_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756985","1394756990","1394756984","1394756983","1394756986","1394756988"],"photo_ids_order":["1394756983","1394756984","1394756985","1394756986","1394756988","1394756990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/901fbb2d2d71b05080c71e08aa97b82c.jpg","text":"TemporaryFile(/tmp/multipartBody3565908124362013789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315043740,"filename":"image_16112025_17_29_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/11/16/ef01bcd3d229c963b120bd65898b6ac8.jpg","text":"TemporaryFile(/tmp/multipartBody5846452844231432245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315043740,"filename":"image_16112025_17_29_49_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1efb4be0fa1cd15c59b391016b68f212.jpg","text":"TemporaryFile(/tmp/multipartBody1480756899021700132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315043740,"filename":"image_16112025_17_29_37_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db7eb4a3b401c92e6d856f93ce29de6c.jpg","text":"TemporaryFile(/tmp/multipartBody2275561178889874886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315043740,"filename":"image_16112025_17_29_33_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/191d361fd8986fa2503ba7087fd7fc26.jpg","text":"TemporaryFile(/tmp/multipartBody4045945547547126818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315043740,"filename":"image_16112025_17_29_43_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/31f9e096827442e9960c6da417086058.jpg","text":"TemporaryFile(/tmp/multipartBody1235204240175550816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315043740,"filename":"image_16112025_17_29_46_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394756985","file1":"1394756984","file0":"1394756983","file4":"1394756988","file5":"1394756990","file3":"1394756986"},"map_files_photo_id_array":[{"photo_id":"1394756990","filename":"file5"},{"photo_id":"1394756985","filename":"file2"},{"photo_id":"1394756988","filename":"file4"},{"photo_id":"1394756984","filename":"file1"},{"photo_id":"1394756983","filename":"file0"},{"photo_id":"1394756986","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756985":["hashtag1","hashtag2"]},{"1394756990":["hashtag1","hashtag2"]},{"1394756984":["hashtag1","hashtag2"]},{"1394756983":["hashtag1","hashtag2"]},{"1394756986":["hashtag1","hashtag2"]},{"1394756988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756985, 1394756990, 1394756984, 1394756983, 1394756986, 1394756988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32176470756531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:43:42.178011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_52_2739.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_55_3619.jpg', '/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_58_2738.jpg', '/home/pi/Desktop/images/16112025/17/30/image_16112025_17_30_01_2634.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_06_3018.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_10_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_52_2739.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_55_3619.jpg
/home/pi/Desktop/images/16112025/17/29/image_16112025_17_29_58_2738.jpg
/home/pi/Desktop/images/16112025/17/30/image_16112025_17_30_01_2634.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_06_3018.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_10_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394756999","1394757005","1394757002","1394757001","1394757004","1394756994"],"photo_ids_order":["1394756994","1394756999","1394757001","1394757002","1394757004","1394757005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b8ee97ed0f9b3dad990676a20e16c66.jpg","text":"TemporaryFile(/tmp/multipartBody5936133310185594126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315082806,"filename":"image_16112025_17_29_55_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d745ef5ea1236c4e3474cf34bbcdc49f.jpg","text":"TemporaryFile(/tmp/multipartBody4583561682808491201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315082806,"filename":"image_16112025_17_31_10_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9db31995ce3828167cc7f4262c857af.jpg","text":"TemporaryFile(/tmp/multipartBody2748051927137956338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315082806,"filename":"image_16112025_17_30_01_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae13c1106362f25d1690502682f7c483.jpg","text":"TemporaryFile(/tmp/multipartBody6767769883069057465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315082806,"filename":"image_16112025_17_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/11/16/d1bc0083fc3635c5f1093a8ecf5b3a41.jpg","text":"TemporaryFile(/tmp/multipartBody8009132868662003530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315082806,"filename":"image_16112025_17_31_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28076e22c961909083a2eb5ad5559781.jpg","text":"TemporaryFile(/tmp/multipartBody1251812178731598951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315082806,"filename":"image_16112025_17_29_52_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757001","file1":"1394756999","file0":"1394756994","file4":"1394757004","file5":"1394757005","file3":"1394757002"},"map_files_photo_id_array":[{"photo_id":"1394757005","filename":"file5"},{"photo_id":"1394757001","filename":"file2"},{"photo_id":"1394757004","filename":"file4"},{"photo_id":"1394756999","filename":"file1"},{"photo_id":"1394756994","filename":"file0"},{"photo_id":"1394757002","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394756999":["hashtag1","hashtag2"]},{"1394757005":["hashtag1","hashtag2"]},{"1394757002":["hashtag1","hashtag2"]},{"1394757001":["hashtag1","hashtag2"]},{"1394757004":["hashtag1","hashtag2"]},{"1394756994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394756999, 1394757005, 1394757002, 1394757001, 1394757004, 1394756994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.740488052368164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:44:22.024407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_13_2752.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_15_2667.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_19_3613.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_21_2629.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_25_3617.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_28_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_13_2752.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_15_2667.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_19_3613.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_21_2629.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_25_3617.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_28_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757017","1394757011","1394757014","1394757008","1394757013","1394757007"],"photo_ids_order":["1394757007","1394757008","1394757011","1394757013","1394757014","1394757017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a62fb710339abed84fcd3f315349be4.jpg","text":"TemporaryFile(/tmp/multipartBody2450810613698226450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315122679,"filename":"image_16112025_17_31_28_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df0388b1f11fc51cb5a5c2fd1d23b5a4.jpg","text":"TemporaryFile(/tmp/multipartBody2166967053563637482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315122679,"filename":"image_16112025_17_31_19_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5001ac3dd7a8ae151e4a82d780966937.jpg","text":"TemporaryFile(/tmp/multipartBody6031140130922712181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315122679,"filename":"image_16112025_17_31_25_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14707471fd83405a40aeb174146c6a78.jpg","text":"TemporaryFile(/tmp/multipartBody8042896564772653561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315122679,"filename":"image_16112025_17_31_15_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19fc72ea6b36d4c156e8993a9d7f7c97.jpg","text":"TemporaryFile(/tmp/multipartBody2889003419313713286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315122679,"filename":"image_16112025_17_31_21_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17b643203b9650bf63f5bdc800611a39.jpg","text":"TemporaryFile(/tmp/multipartBody6653982995832887348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315122679,"filename":"image_16112025_17_31_13_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757011","file1":"1394757008","file0":"1394757007","file4":"1394757014","file5":"1394757017","file3":"1394757013"},"map_files_photo_id_array":[{"photo_id":"1394757017","filename":"file5"},{"photo_id":"1394757011","filename":"file2"},{"photo_id":"1394757014","filename":"file4"},{"photo_id":"1394757008","filename":"file1"},{"photo_id":"1394757007","filename":"file0"},{"photo_id":"1394757013","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757017":["hashtag1","hashtag2"]},{"1394757011":["hashtag1","hashtag2"]},{"1394757014":["hashtag1","hashtag2"]},{"1394757008":["hashtag1","hashtag2"]},{"1394757013":["hashtag1","hashtag2"]},{"1394757007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757017, 1394757011, 1394757014, 1394757008, 1394757013, 1394757007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43996715545654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:45:02.754200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_30_2562.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_34_3796.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_37_2731.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_39_2538.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_43_3598.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_46_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_30_2562.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_34_3796.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_37_2731.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_39_2538.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_43_3598.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_46_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757024","1394757021","1394757023","1394757026","1394757020","1394757022"],"photo_ids_order":["1394757020","1394757021","1394757022","1394757023","1394757024","1394757026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a45c5a2e59f7c3546a0869b520974291.jpg","text":"TemporaryFile(/tmp/multipartBody6285269308165249003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315163434,"filename":"image_16112025_17_31_43_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcdd04a2fa64ce103e12e0eb1b4236c3.jpg","text":"TemporaryFile(/tmp/multipartBody9022088694004324106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315163434,"filename":"image_16112025_17_31_34_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9039dccbfed5a46d96d3212696a9b15c.jpg","text":"TemporaryFile(/tmp/multipartBody398461400280951946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315163434,"filename":"image_16112025_17_31_39_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3aee73628cc688c6f127674f01f95c64.jpg","text":"TemporaryFile(/tmp/multipartBody413495436541510082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315163434,"filename":"image_16112025_17_31_46_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b97ac0665ab5e9d6f872988f71712f42.jpg","text":"TemporaryFile(/tmp/multipartBody3202335175588372780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315163434,"filename":"image_16112025_17_31_30_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3232a3ea6ef74d19c6a7250e8764ddfe.jpg","text":"TemporaryFile(/tmp/multipartBody2333734740785448189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315163434,"filename":"image_16112025_17_31_37_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757022","file1":"1394757021","file0":"1394757020","file4":"1394757024","file5":"1394757026","file3":"1394757023"},"map_files_photo_id_array":[{"photo_id":"1394757026","filename":"file5"},{"photo_id":"1394757022","filename":"file2"},{"photo_id":"1394757024","filename":"file4"},{"photo_id":"1394757021","filename":"file1"},{"photo_id":"1394757020","filename":"file0"},{"photo_id":"1394757023","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757024":["hashtag1","hashtag2"]},{"1394757021":["hashtag1","hashtag2"]},{"1394757023":["hashtag1","hashtag2"]},{"1394757026":["hashtag1","hashtag2"]},{"1394757020":["hashtag1","hashtag2"]},{"1394757022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757024, 1394757021, 1394757023, 1394757026, 1394757020, 1394757022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46253442764282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:45:42.064704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_48_2668.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_52_3616.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_55_2770.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_58_2811.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_32_00_2769.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_04_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_48_2668.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_52_3616.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_55_2770.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_58_2811.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_32_00_2769.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_04_3638.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.5360286235809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:46:02.762462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_48_2668.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_52_3616.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_55_2770.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_58_2811.jpg', '/home/pi/Desktop/images/16112025/17/31/image_16112025_17_32_00_2769.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_04_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_48_2668.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_52_3616.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_55_2770.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_31_58_2811.jpg
/home/pi/Desktop/images/16112025/17/31/image_16112025_17_32_00_2769.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_04_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757045","1394757039","1394757038","1394757040","1394757037","1394757042"],"photo_ids_order":["1394757037","1394757038","1394757039","1394757040","1394757042","1394757045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2b2649ee7d3f87f8ad018dbd9339156.jpg","text":"TemporaryFile(/tmp/multipartBody6960653842777400671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315223445,"filename":"image_16112025_17_32_04_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1711aae994bd3c3671717f6050dc3480.jpg","text":"TemporaryFile(/tmp/multipartBody1591499864080888213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315223445,"filename":"image_16112025_17_31_55_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/201e246252cf39b0571632e694a5f24e.jpg","text":"TemporaryFile(/tmp/multipartBody31222244461056706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315223445,"filename":"image_16112025_17_31_52_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25276d703905e2817e45148b7649a50e.jpg","text":"TemporaryFile(/tmp/multipartBody409007205980950764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315223445,"filename":"image_16112025_17_31_58_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58f6de92a70a4b78e30d70dc5f849beb.jpg","text":"TemporaryFile(/tmp/multipartBody7068252150043818858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315223445,"filename":"image_16112025_17_31_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/11/16/69dad006d5d8f509a989f0f19a1eccfd.jpg","text":"TemporaryFile(/tmp/multipartBody32304089456496766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315223445,"filename":"image_16112025_17_32_00_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757039","file1":"1394757038","file0":"1394757037","file4":"1394757042","file5":"1394757045","file3":"1394757040"},"map_files_photo_id_array":[{"photo_id":"1394757045","filename":"file5"},{"photo_id":"1394757039","filename":"file2"},{"photo_id":"1394757042","filename":"file4"},{"photo_id":"1394757038","filename":"file1"},{"photo_id":"1394757037","filename":"file0"},{"photo_id":"1394757040","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757045":["hashtag1","hashtag2"]},{"1394757039":["hashtag1","hashtag2"]},{"1394757038":["hashtag1","hashtag2"]},{"1394757040":["hashtag1","hashtag2"]},{"1394757037":["hashtag1","hashtag2"]},{"1394757042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757045, 1394757039, 1394757038, 1394757040, 1394757037, 1394757042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9998824596405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:46:42.295599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_07_2608.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_09_2607.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_13_3883.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_16_2638.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_18_2469.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_28_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_07_2608.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_09_2607.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_13_3883.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_16_2638.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_18_2469.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_28_9470.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.5333693027496338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:47:03.321728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_07_2608.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_09_2607.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_13_3883.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_16_2638.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_18_2469.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_28_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_07_2608.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_09_2607.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_13_3883.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_16_2638.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_18_2469.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_28_9470.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757054","1394757053","1394757059","1394757061","1394757055","1394757057"],"photo_ids_order":["1394757053","1394757054","1394757055","1394757057","1394757059","1394757061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed635ea1b0a089c893ed256b4855176e.jpg","text":"TemporaryFile(/tmp/multipartBody954498557531053957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315284001,"filename":"image_16112025_17_32_09_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/988da69ac0d28bf4942af1e5d8f82944.jpg","text":"TemporaryFile(/tmp/multipartBody7303595536992619574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315284001,"filename":"image_16112025_17_32_07_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa514426c53408d4d408c25b98df1eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2318042392365968326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315284001,"filename":"image_16112025_17_32_18_2469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a99553d1075f467301eabf926d8caa4.jpg","text":"TemporaryFile(/tmp/multipartBody2330831220928943799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315284001,"filename":"image_16112025_17_32_28_9470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4df2c003550eab759566466f1f0bb912.jpg","text":"TemporaryFile(/tmp/multipartBody4605074566191509909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315284001,"filename":"image_16112025_17_32_13_3883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39724c2dcf6ce529936538f3aa6c1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7677419272183106302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315284001,"filename":"image_16112025_17_32_16_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757055","file1":"1394757054","file0":"1394757053","file4":"1394757059","file5":"1394757061","file3":"1394757057"},"map_files_photo_id_array":[{"photo_id":"1394757061","filename":"file5"},{"photo_id":"1394757055","filename":"file2"},{"photo_id":"1394757059","filename":"file4"},{"photo_id":"1394757054","filename":"file1"},{"photo_id":"1394757053","filename":"file0"},{"photo_id":"1394757057","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757054":["hashtag1","hashtag2"]},{"1394757053":["hashtag1","hashtag2"]},{"1394757059":["hashtag1","hashtag2"]},{"1394757061":["hashtag1","hashtag2"]},{"1394757055":["hashtag1","hashtag2"]},{"1394757057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757054, 1394757053, 1394757059, 1394757061, 1394757055, 1394757057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75361347198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:47:42.520491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_29_1593.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_31_1678.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_33_1611.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_34_1582.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_37_2605.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_39_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_29_1593.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_31_1678.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_33_1611.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_34_1582.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_37_2605.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_39_2635.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.5329294204711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:48:02.882339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_29_1593.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_31_1678.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_33_1611.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_34_1582.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_37_2605.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_39_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_29_1593.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_31_1678.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_33_1611.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_34_1582.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_37_2605.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_39_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757072","1394757071","1394757074","1394757076","1394757073","1394757078"],"photo_ids_order":["1394757071","1394757072","1394757073","1394757074","1394757076","1394757078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d7f5987cfe7723f208e34e1fda44398.jpg","text":"TemporaryFile(/tmp/multipartBody6070663136186125905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315343534,"filename":"image_16112025_17_32_31_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a269f3907b85e8720ceb3265257f2d48.jpg","text":"TemporaryFile(/tmp/multipartBody7022061419849374197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315343534,"filename":"image_16112025_17_32_29_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c7985d3c55cd4c3edcded4b45994a10.jpg","text":"TemporaryFile(/tmp/multipartBody6717507113035665591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315343534,"filename":"image_16112025_17_32_34_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e746677a1eec4cd0d7456373d6cbe30e.jpg","text":"TemporaryFile(/tmp/multipartBody2702959433962535255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315343534,"filename":"image_16112025_17_32_37_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c3c3b945f482d261d5c23fb201d6ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3126266950800316675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315343534,"filename":"image_16112025_17_32_33_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0e91e9c7c408e36a093a42285db0de5.jpg","text":"TemporaryFile(/tmp/multipartBody1581195150833399604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315343534,"filename":"image_16112025_17_32_39_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757073","file1":"1394757072","file0":"1394757071","file4":"1394757076","file5":"1394757078","file3":"1394757074"},"map_files_photo_id_array":[{"photo_id":"1394757078","filename":"file5"},{"photo_id":"1394757073","filename":"file2"},{"photo_id":"1394757076","filename":"file4"},{"photo_id":"1394757072","filename":"file1"},{"photo_id":"1394757071","filename":"file0"},{"photo_id":"1394757074","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757072":["hashtag1","hashtag2"]},{"1394757071":["hashtag1","hashtag2"]},{"1394757074":["hashtag1","hashtag2"]},{"1394757076":["hashtag1","hashtag2"]},{"1394757073":["hashtag1","hashtag2"]},{"1394757078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757072, 1394757071, 1394757074, 1394757076, 1394757073, 1394757078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79803395271301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:48:42.548597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_43_3568.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_45_2529.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_57_11692.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_59_1580.jpg', '/home/pi/Desktop/images/16112025/17/32/image_16112025_17_33_00_1585.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_02_1535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_43_3568.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_45_2529.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_57_11692.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_32_59_1580.jpg
/home/pi/Desktop/images/16112025/17/32/image_16112025_17_33_00_1585.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_02_1535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757086","1394757083","1394757082","1394757085","1394757088","1394757084"],"photo_ids_order":["1394757082","1394757083","1394757084","1394757085","1394757086","1394757088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7ea21547b44189152ded593eec73116.jpg","text":"TemporaryFile(/tmp/multipartBody2921705536933127936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315383161,"filename":"image_16112025_17_33_00_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8efe79e6bdff035885e0fbfeea2813b0.jpg","text":"TemporaryFile(/tmp/multipartBody6966359009624070477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315383161,"filename":"image_16112025_17_32_45_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bf25580a4f24f61510f5e1e4f1a8f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7429179021823372879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315383161,"filename":"image_16112025_17_32_43_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5965e352135464aff60d8ad37d87b90.jpg","text":"TemporaryFile(/tmp/multipartBody5662113567610920841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315383161,"filename":"image_16112025_17_32_59_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db019efb0ccb939b6febf2b96051e8a4.jpg","text":"TemporaryFile(/tmp/multipartBody2413265026869358464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315383161,"filename":"image_16112025_17_33_02_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21e76634c0ac5d43e4e5992a3867a773.jpg","text":"TemporaryFile(/tmp/multipartBody8591616778872012791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315383161,"filename":"image_16112025_17_32_57_11692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757084","file1":"1394757083","file0":"1394757082","file4":"1394757086","file5":"1394757088","file3":"1394757085"},"map_files_photo_id_array":[{"photo_id":"1394757088","filename":"file5"},{"photo_id":"1394757084","filename":"file2"},{"photo_id":"1394757086","filename":"file4"},{"photo_id":"1394757083","filename":"file1"},{"photo_id":"1394757082","filename":"file0"},{"photo_id":"1394757085","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757086":["hashtag1","hashtag2"]},{"1394757083":["hashtag1","hashtag2"]},{"1394757082":["hashtag1","hashtag2"]},{"1394757085":["hashtag1","hashtag2"]},{"1394757088":["hashtag1","hashtag2"]},{"1394757084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757086, 1394757083, 1394757082, 1394757085, 1394757088, 1394757084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63399958610535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:49:22.699092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_03_1598.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_05_1590.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_07_1565.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_09_2605.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_13_3556.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_15_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_03_1598.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_05_1590.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_07_1565.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_09_2605.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_13_3556.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_15_2529.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757092","1394757094","1394757091","1394757093","1394757096","1394757090"],"photo_ids_order":["1394757090","1394757091","1394757092","1394757093","1394757094","1394757096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/446c575c25b948b5b46051c9743529e2.jpg","text":"TemporaryFile(/tmp/multipartBody6072002324056466131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315423318,"filename":"image_16112025_17_33_07_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a65f1f686b3aa47ea65958dc53619c9.jpg","text":"TemporaryFile(/tmp/multipartBody1910007659096800283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315423318,"filename":"image_16112025_17_33_13_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbf2be7ba61736de25c8bae0579c9f29.jpg","text":"TemporaryFile(/tmp/multipartBody6302984949640878565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315423318,"filename":"image_16112025_17_33_05_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f95954200c86e87a476da997c715582.jpg","text":"TemporaryFile(/tmp/multipartBody1364322908991973996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315423318,"filename":"image_16112025_17_33_09_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/487dd06980a082587bb7ff578b34997a.jpg","text":"TemporaryFile(/tmp/multipartBody17448368027455231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315423318,"filename":"image_16112025_17_33_15_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b25691489ef57251c7c3f867ab15b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5931728320774980218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315423318,"filename":"image_16112025_17_33_03_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757092","file1":"1394757091","file0":"1394757090","file4":"1394757094","file5":"1394757096","file3":"1394757093"},"map_files_photo_id_array":[{"photo_id":"1394757096","filename":"file5"},{"photo_id":"1394757092","filename":"file2"},{"photo_id":"1394757094","filename":"file4"},{"photo_id":"1394757091","filename":"file1"},{"photo_id":"1394757090","filename":"file0"},{"photo_id":"1394757093","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757092":["hashtag1","hashtag2"]},{"1394757094":["hashtag1","hashtag2"]},{"1394757091":["hashtag1","hashtag2"]},{"1394757093":["hashtag1","hashtag2"]},{"1394757096":["hashtag1","hashtag2"]},{"1394757090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757092, 1394757094, 1394757091, 1394757093, 1394757096, 1394757090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47981238365173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:50:03.109633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_19_3593.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_22_2713.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_24_2592.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_28_3734.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_31_2641.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_33_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_19_3593.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_22_2713.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_24_2592.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_28_3734.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_31_2641.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_33_2696.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.5886373519897461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:50:22.615671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_19_3593.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_22_2713.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_24_2592.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_28_3734.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_31_2641.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_33_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_19_3593.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_22_2713.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_24_2592.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_28_3734.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_31_2641.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_33_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757105","1394757108","1394757110","1394757104","1394757107","1394757106"],"photo_ids_order":["1394757104","1394757105","1394757106","1394757107","1394757108","1394757110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c481b892287135a27aed55b37543d3f.jpg","text":"TemporaryFile(/tmp/multipartBody3071326517209246262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315483233,"filename":"image_16112025_17_33_22_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52d6b8d980b3dc6280ecccb15d7c87cd.jpg","text":"TemporaryFile(/tmp/multipartBody4333388193657067727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315483233,"filename":"image_16112025_17_33_31_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afed023e71053c77626dc6f2392cdeff.jpg","text":"TemporaryFile(/tmp/multipartBody5402183602100451550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315483233,"filename":"image_16112025_17_33_33_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee95086313539464df0e887534ce089b.jpg","text":"TemporaryFile(/tmp/multipartBody2110273355771273814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315483233,"filename":"image_16112025_17_33_19_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42ae14f1b0f3acfb54da76c795a445f0.jpg","text":"TemporaryFile(/tmp/multipartBody3440355376016700673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315483233,"filename":"image_16112025_17_33_28_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ea6d8a9d6c97c071c9aab1691b7c948.jpg","text":"TemporaryFile(/tmp/multipartBody6463784705715668438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315483233,"filename":"image_16112025_17_33_24_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757106","file1":"1394757105","file0":"1394757104","file4":"1394757108","file5":"1394757110","file3":"1394757107"},"map_files_photo_id_array":[{"photo_id":"1394757110","filename":"file5"},{"photo_id":"1394757106","filename":"file2"},{"photo_id":"1394757108","filename":"file4"},{"photo_id":"1394757105","filename":"file1"},{"photo_id":"1394757104","filename":"file0"},{"photo_id":"1394757107","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757105":["hashtag1","hashtag2"]},{"1394757108":["hashtag1","hashtag2"]},{"1394757110":["hashtag1","hashtag2"]},{"1394757104":["hashtag1","hashtag2"]},{"1394757107":["hashtag1","hashtag2"]},{"1394757106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757105, 1394757108, 1394757110, 1394757104, 1394757107, 1394757106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25808024406433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:51:02.440361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_36_3172.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_39_2611.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_43_3706.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_45_2496.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_49_3569.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_51_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_36_3172.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_39_2611.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_43_3706.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_45_2496.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_49_3569.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_51_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757111","1394757114","1394757116","1394757119","1394757113","1394757112"],"photo_ids_order":["1394757111","1394757112","1394757113","1394757114","1394757116","1394757119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/16a388b21dc1d8c8261a85fc04d2a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody1197262502833371729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315523134,"filename":"image_16112025_17_33_36_3172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3c526794c7d979871e0e0c73ff316e4.jpg","text":"TemporaryFile(/tmp/multipartBody6798898917051070033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315523134,"filename":"image_16112025_17_33_45_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80214d56b2973896ce45a9bf37de98b9.jpg","text":"TemporaryFile(/tmp/multipartBody6300091402009050220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315523134,"filename":"image_16112025_17_33_49_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f222c575f782b9051c8abb90ebf99eac.jpg","text":"TemporaryFile(/tmp/multipartBody7650373374711134997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315523134,"filename":"image_16112025_17_33_51_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8aaaa835cb53e37700dc581a5d66cf5f.jpg","text":"TemporaryFile(/tmp/multipartBody5502102095299119651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315523134,"filename":"image_16112025_17_33_43_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a3e864c9e010d16a72d567cd4da57d8.jpg","text":"TemporaryFile(/tmp/multipartBody2992306564031801806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315523134,"filename":"image_16112025_17_33_39_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757113","file1":"1394757112","file0":"1394757111","file4":"1394757116","file5":"1394757119","file3":"1394757114"},"map_files_photo_id_array":[{"photo_id":"1394757119","filename":"file5"},{"photo_id":"1394757113","filename":"file2"},{"photo_id":"1394757116","filename":"file4"},{"photo_id":"1394757112","filename":"file1"},{"photo_id":"1394757111","filename":"file0"},{"photo_id":"1394757114","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757111":["hashtag1","hashtag2"]},{"1394757114":["hashtag1","hashtag2"]},{"1394757116":["hashtag1","hashtag2"]},{"1394757119":["hashtag1","hashtag2"]},{"1394757113":["hashtag1","hashtag2"]},{"1394757112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757111, 1394757114, 1394757116, 1394757119, 1394757113, 1394757112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.553091287612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:51:41.894719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_54_2881.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_57_2626.jpg', '/home/pi/Desktop/images/16112025/17/33/image_16112025_17_34_01_3718.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_03_2777.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_06_2550.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_11_5221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_54_2881.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_33_57_2626.jpg
/home/pi/Desktop/images/16112025/17/33/image_16112025_17_34_01_3718.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_03_2777.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_06_2550.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_11_5221.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757129","1394757131","1394757128","1394757127","1394757130","1394757124"],"photo_ids_order":["1394757124","1394757127","1394757128","1394757129","1394757130","1394757131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/255e33cf27527d5742354c27c9bc4f37.jpg","text":"TemporaryFile(/tmp/multipartBody6528877354001452658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315562507,"filename":"image_16112025_17_34_03_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/886116a2573e05783783c54239395405.jpg","text":"TemporaryFile(/tmp/multipartBody4673607883285713562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315562507,"filename":"image_16112025_17_34_11_5221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d57e4128a82eb0a675b9ac4c805dcc7b.jpg","text":"TemporaryFile(/tmp/multipartBody4973042925617577542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315562507,"filename":"image_16112025_17_34_01_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/884b1800a8d1a99e794b023bae97a03b.jpg","text":"TemporaryFile(/tmp/multipartBody2441789286568473082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315562507,"filename":"image_16112025_17_33_57_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b261f5635170adcc35c54c3aa2bed02.jpg","text":"TemporaryFile(/tmp/multipartBody4221920121752530241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315562507,"filename":"image_16112025_17_34_06_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f70df688de3d4cade86b91942b39b692.jpg","text":"TemporaryFile(/tmp/multipartBody123016203405675249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315562507,"filename":"image_16112025_17_33_54_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757128","file1":"1394757127","file0":"1394757124","file4":"1394757130","file5":"1394757131","file3":"1394757129"},"map_files_photo_id_array":[{"photo_id":"1394757131","filename":"file5"},{"photo_id":"1394757128","filename":"file2"},{"photo_id":"1394757130","filename":"file4"},{"photo_id":"1394757127","filename":"file1"},{"photo_id":"1394757124","filename":"file0"},{"photo_id":"1394757129","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757129":["hashtag1","hashtag2"]},{"1394757131":["hashtag1","hashtag2"]},{"1394757128":["hashtag1","hashtag2"]},{"1394757127":["hashtag1","hashtag2"]},{"1394757130":["hashtag1","hashtag2"]},{"1394757124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757129, 1394757131, 1394757128, 1394757127, 1394757130, 1394757124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98254203796387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:52:22.195761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_13_1792.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_16_2833.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_18_2591.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_21_2665.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_24_3203.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_27_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_13_1792.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_16_2833.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_18_2591.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_21_2665.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_24_3203.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_27_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757143","1394757137","1394757139","1394757133","1394757136","1394757141"],"photo_ids_order":["1394757133","1394757136","1394757137","1394757139","1394757141","1394757143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89e0e463548434335bbda6386d2a3951.jpg","text":"TemporaryFile(/tmp/multipartBody8877564347457801429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315602833,"filename":"image_16112025_17_34_27_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43128fe1da3e922ebc1cec38eb298bb5.jpg","text":"TemporaryFile(/tmp/multipartBody1089930316443329038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315602833,"filename":"image_16112025_17_34_18_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb6778552f2431fee2dac1f3c0e5890d.jpg","text":"TemporaryFile(/tmp/multipartBody1400808085755218180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315602833,"filename":"image_16112025_17_34_21_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/915cf4f33f8295175f1822df15d88da1.jpg","text":"TemporaryFile(/tmp/multipartBody2872034784587778277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315602833,"filename":"image_16112025_17_34_13_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d9af20d683ab68e9c6949b385debe8c.jpg","text":"TemporaryFile(/tmp/multipartBody4029918098174780695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315602833,"filename":"image_16112025_17_34_16_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71f8e2ee4e97cf0f5c97a3b00a51d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody3357544004593936811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315602833,"filename":"image_16112025_17_34_24_3203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757137","file1":"1394757136","file0":"1394757133","file4":"1394757141","file5":"1394757143","file3":"1394757139"},"map_files_photo_id_array":[{"photo_id":"1394757143","filename":"file5"},{"photo_id":"1394757137","filename":"file2"},{"photo_id":"1394757141","filename":"file4"},{"photo_id":"1394757136","filename":"file1"},{"photo_id":"1394757133","filename":"file0"},{"photo_id":"1394757139","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757143":["hashtag1","hashtag2"]},{"1394757137":["hashtag1","hashtag2"]},{"1394757139":["hashtag1","hashtag2"]},{"1394757133":["hashtag1","hashtag2"]},{"1394757136":["hashtag1","hashtag2"]},{"1394757141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757143, 1394757137, 1394757139, 1394757133, 1394757136, 1394757141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73607039451599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:53:03.088877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_31_3609.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_33_2678.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_37_3526.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_39_2613.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_42_2572.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_46_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_31_3609.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_33_2678.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_37_3526.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_39_2613.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_42_2572.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_46_3770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757150","1394757144","1394757147","1394757152","1394757146","1394757145"],"photo_ids_order":["1394757144","1394757145","1394757146","1394757147","1394757150","1394757152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fbb67a751e0139f6953f20e09191f60.jpg","text":"TemporaryFile(/tmp/multipartBody1963940725838959697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315643804,"filename":"image_16112025_17_34_42_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3da5d8433cd308002dea82bfef98f53b.jpg","text":"TemporaryFile(/tmp/multipartBody3734865442141012828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315643804,"filename":"image_16112025_17_34_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/11/16/b3136430c58e86580ff5ae71bf4e1fb3.jpg","text":"TemporaryFile(/tmp/multipartBody4294257544649669127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315643804,"filename":"image_16112025_17_34_39_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f81446d705a833dfe1fd9fc7b96223f4.jpg","text":"TemporaryFile(/tmp/multipartBody9022720228521290223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315643804,"filename":"image_16112025_17_34_46_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04813df370b38537f5ba61d545136ca6.jpg","text":"TemporaryFile(/tmp/multipartBody673147229650655589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315643804,"filename":"image_16112025_17_34_37_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3c428e3ebec0d4c3daa1274c3d47a20.jpg","text":"TemporaryFile(/tmp/multipartBody2069723685697971788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315643804,"filename":"image_16112025_17_34_33_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757146","file1":"1394757145","file0":"1394757144","file4":"1394757150","file5":"1394757152","file3":"1394757147"},"map_files_photo_id_array":[{"photo_id":"1394757152","filename":"file5"},{"photo_id":"1394757146","filename":"file2"},{"photo_id":"1394757150","filename":"file4"},{"photo_id":"1394757145","filename":"file1"},{"photo_id":"1394757144","filename":"file0"},{"photo_id":"1394757147","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757150":["hashtag1","hashtag2"]},{"1394757144":["hashtag1","hashtag2"]},{"1394757147":["hashtag1","hashtag2"]},{"1394757152":["hashtag1","hashtag2"]},{"1394757146":["hashtag1","hashtag2"]},{"1394757145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757150, 1394757144, 1394757147, 1394757152, 1394757146, 1394757145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43489670753479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:53:42.421577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_48_2609.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_51_2737.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_54_2827.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_57_3629.jpg', '/home/pi/Desktop/images/16112025/17/34/image_16112025_17_35_00_2708.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_48_2609.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_51_2737.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_54_2827.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_34_57_3629.jpg
/home/pi/Desktop/images/16112025/17/34/image_16112025_17_35_00_2708.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757159","1394757161","1394757155","1394757158","1394757157","1394757154"],"photo_ids_order":["1394757154","1394757155","1394757157","1394757158","1394757159","1394757161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c54fef0659fa66f946515e468ca4456.jpg","text":"TemporaryFile(/tmp/multipartBody3345923150302747473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315683035,"filename":"image_16112025_17_35_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/11/16/12933bb61deaa9a59430f33d8eb80a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8256408717695983829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315683035,"filename":"image_16112025_17_35_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98dc3d385d3f42ca7316c3bc5398ca49.jpg","text":"TemporaryFile(/tmp/multipartBody1219824572762548468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315683035,"filename":"image_16112025_17_34_51_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97b5e1a668f9791e34613ceb16bbffc2.jpg","text":"TemporaryFile(/tmp/multipartBody575476122134446652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315683035,"filename":"image_16112025_17_34_57_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c2653c5db98db721ef35656d54d80d6.jpg","text":"TemporaryFile(/tmp/multipartBody5023893841482213352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315683035,"filename":"image_16112025_17_34_54_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca7b7efb6bc16cfd774c63711c008273.jpg","text":"TemporaryFile(/tmp/multipartBody3590357410434437734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315683035,"filename":"image_16112025_17_34_48_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757157","file1":"1394757155","file0":"1394757154","file4":"1394757159","file5":"1394757161","file3":"1394757158"},"map_files_photo_id_array":[{"photo_id":"1394757161","filename":"file5"},{"photo_id":"1394757157","filename":"file2"},{"photo_id":"1394757159","filename":"file4"},{"photo_id":"1394757155","filename":"file1"},{"photo_id":"1394757154","filename":"file0"},{"photo_id":"1394757158","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757159":["hashtag1","hashtag2"]},{"1394757161":["hashtag1","hashtag2"]},{"1394757155":["hashtag1","hashtag2"]},{"1394757158":["hashtag1","hashtag2"]},{"1394757157":["hashtag1","hashtag2"]},{"1394757154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757159, 1394757161, 1394757155, 1394757158, 1394757157, 1394757154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24328279495239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:54:22.751540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 18:54:42.723276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_13_5981.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_16_3058.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_17_1590.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_19_1567.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_22_3622.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_25_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_13_5981.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_16_3058.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_17_1590.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_19_1567.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_22_3622.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_25_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757171","1394757170","1394757167","1394757166","1394757169","1394757168"],"photo_ids_order":["1394757166","1394757167","1394757168","1394757169","1394757170","1394757171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d166f9faa4556981f460403350d106b7.jpg","text":"TemporaryFile(/tmp/multipartBody4175011576395532160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315743405,"filename":"image_16112025_17_35_25_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61c484a971b58ac2689ecde5d5c7e726.jpg","text":"TemporaryFile(/tmp/multipartBody1809831855357177624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315743405,"filename":"image_16112025_17_35_22_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/009c8aecdcdb8f4be4d460fbd2df6bc7.jpg","text":"TemporaryFile(/tmp/multipartBody5695434232950691839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315743405,"filename":"image_16112025_17_35_16_3058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf0cca6517fc35b696d72ff2b27f489b.jpg","text":"TemporaryFile(/tmp/multipartBody2185801231549083032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315743405,"filename":"image_16112025_17_35_13_5981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/545246d403fbff16a4790aa0a4c5e0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2827930646809736833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315743405,"filename":"image_16112025_17_35_19_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1dd7dff7a6ad6b208b8f3bf04240bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6050786512689254947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315743405,"filename":"image_16112025_17_35_17_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757168","file1":"1394757167","file0":"1394757166","file4":"1394757170","file5":"1394757171","file3":"1394757169"},"map_files_photo_id_array":[{"photo_id":"1394757171","filename":"file5"},{"photo_id":"1394757168","filename":"file2"},{"photo_id":"1394757170","filename":"file4"},{"photo_id":"1394757167","filename":"file1"},{"photo_id":"1394757166","filename":"file0"},{"photo_id":"1394757169","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757171":["hashtag1","hashtag2"]},{"1394757170":["hashtag1","hashtag2"]},{"1394757167":["hashtag1","hashtag2"]},{"1394757166":["hashtag1","hashtag2"]},{"1394757169":["hashtag1","hashtag2"]},{"1394757168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757171, 1394757170, 1394757167, 1394757166, 1394757169, 1394757168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.243621587753296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:55:21.954979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_28_2622.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_31_3714.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_34_2673.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_37_2613.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_40_2902.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_43_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_28_2622.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_31_3714.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_34_2673.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_37_2613.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_40_2902.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_43_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757179","1394757181","1394757175","1394757178","1394757180","1394757177"],"photo_ids_order":["1394757175","1394757177","1394757178","1394757179","1394757180","1394757181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d27c67a45ca2451b283fb27b23d85795.jpg","text":"TemporaryFile(/tmp/multipartBody3044995716959074083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315782593,"filename":"image_16112025_17_35_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/11/16/8e4c217ee0d90e24e4cb1232bf753ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2230013380186623711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315782593,"filename":"image_16112025_17_35_43_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9136128d5e942b7a8b8c656bee05a38.jpg","text":"TemporaryFile(/tmp/multipartBody4789833666166025511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315782593,"filename":"image_16112025_17_35_28_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ba3ab68094d22afaad6d8b6849f343c.jpg","text":"TemporaryFile(/tmp/multipartBody8096647180981426658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315782593,"filename":"image_16112025_17_35_34_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c371fbfc1cbf252adf9b43ac721d737d.jpg","text":"TemporaryFile(/tmp/multipartBody4233876014863958126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315782593,"filename":"image_16112025_17_35_40_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfe05d2dca783686d30727eecef47095.jpg","text":"TemporaryFile(/tmp/multipartBody6392170790571482634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315782593,"filename":"image_16112025_17_35_31_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757178","file1":"1394757177","file0":"1394757175","file4":"1394757180","file5":"1394757181","file3":"1394757179"},"map_files_photo_id_array":[{"photo_id":"1394757181","filename":"file5"},{"photo_id":"1394757178","filename":"file2"},{"photo_id":"1394757180","filename":"file4"},{"photo_id":"1394757177","filename":"file1"},{"photo_id":"1394757175","filename":"file0"},{"photo_id":"1394757179","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757179":["hashtag1","hashtag2"]},{"1394757181":["hashtag1","hashtag2"]},{"1394757175":["hashtag1","hashtag2"]},{"1394757178":["hashtag1","hashtag2"]},{"1394757180":["hashtag1","hashtag2"]},{"1394757177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757179, 1394757181, 1394757175, 1394757178, 1394757180, 1394757177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.235724210739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:56:02.624062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_47_3274.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_49_2516.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_52_2528.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_55_3820.jpg', '/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_58_2689.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_01_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_47_3274.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_49_2516.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_52_2528.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_55_3820.jpg
/home/pi/Desktop/images/16112025/17/35/image_16112025_17_35_58_2689.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_01_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757185","1394757188","1394757182","1394757184","1394757186","1394757183"],"photo_ids_order":["1394757182","1394757183","1394757184","1394757185","1394757186","1394757188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30d9ce547ede40a56cbf618d5ef04749.jpg","text":"TemporaryFile(/tmp/multipartBody270062131431450412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315823269,"filename":"image_16112025_17_35_55_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/438ae48483a54458516044d5c5457905.jpg","text":"TemporaryFile(/tmp/multipartBody1686273046486869596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315823269,"filename":"image_16112025_17_36_01_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb81d179a4e3ef583e1c26d367780530.jpg","text":"TemporaryFile(/tmp/multipartBody7310383476510930851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315823269,"filename":"image_16112025_17_35_47_3274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a10ecc1ded0a63b1c48f93922ac56db.jpg","text":"TemporaryFile(/tmp/multipartBody8108146111378058754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315823269,"filename":"image_16112025_17_35_52_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb7a69cdeacac863760d7b72b9a57110.jpg","text":"TemporaryFile(/tmp/multipartBody4661884730855604170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315823269,"filename":"image_16112025_17_35_58_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1ff2201210183593ec7cab2c2b4ed74.jpg","text":"TemporaryFile(/tmp/multipartBody7039252020582198662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315823269,"filename":"image_16112025_17_35_49_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757184","file1":"1394757183","file0":"1394757182","file4":"1394757186","file5":"1394757188","file3":"1394757185"},"map_files_photo_id_array":[{"photo_id":"1394757188","filename":"file5"},{"photo_id":"1394757184","filename":"file2"},{"photo_id":"1394757186","filename":"file4"},{"photo_id":"1394757183","filename":"file1"},{"photo_id":"1394757182","filename":"file0"},{"photo_id":"1394757185","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757185":["hashtag1","hashtag2"]},{"1394757188":["hashtag1","hashtag2"]},{"1394757182":["hashtag1","hashtag2"]},{"1394757184":["hashtag1","hashtag2"]},{"1394757186":["hashtag1","hashtag2"]},{"1394757183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757185, 1394757188, 1394757182, 1394757184, 1394757186, 1394757183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76324987411499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:56:42.169351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_04_3578.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_07_2613.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_10_2590.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_13_3608.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_16_2668.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_19_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_04_3578.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_07_2613.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_10_2590.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_13_3608.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_16_2668.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_19_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757197","1394757194","1394757193","1394757196","1394757192","1394757195"],"photo_ids_order":["1394757192","1394757193","1394757194","1394757195","1394757196","1394757197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a18914622c430bc5c42c7aff19ed361.jpg","text":"TemporaryFile(/tmp/multipartBody7965745016432690203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315862799,"filename":"image_16112025_17_36_19_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40222d27535be15b0538ded4bfa94f47.jpg","text":"TemporaryFile(/tmp/multipartBody3125130127967841569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315862799,"filename":"image_16112025_17_36_10_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6f99dd378a1ff6235e4205e0045521e.jpg","text":"TemporaryFile(/tmp/multipartBody7899755610273413588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315862799,"filename":"image_16112025_17_36_07_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f73528a856a871afe3e003ffa6a977a.jpg","text":"TemporaryFile(/tmp/multipartBody3439125890223559917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315862799,"filename":"image_16112025_17_36_16_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45d93541e6a9fb9e04b458a10403b5c8.jpg","text":"TemporaryFile(/tmp/multipartBody6427255988025719685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315862799,"filename":"image_16112025_17_36_04_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09b7b383558d9b3b59b1350d02e85be2.jpg","text":"TemporaryFile(/tmp/multipartBody4014462130807451280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315862799,"filename":"image_16112025_17_36_13_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757194","file1":"1394757193","file0":"1394757192","file4":"1394757196","file5":"1394757197","file3":"1394757195"},"map_files_photo_id_array":[{"photo_id":"1394757197","filename":"file5"},{"photo_id":"1394757194","filename":"file2"},{"photo_id":"1394757196","filename":"file4"},{"photo_id":"1394757193","filename":"file1"},{"photo_id":"1394757192","filename":"file0"},{"photo_id":"1394757195","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757197":["hashtag1","hashtag2"]},{"1394757194":["hashtag1","hashtag2"]},{"1394757193":["hashtag1","hashtag2"]},{"1394757196":["hashtag1","hashtag2"]},{"1394757192":["hashtag1","hashtag2"]},{"1394757195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757197, 1394757194, 1394757193, 1394757196, 1394757192, 1394757195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.565412759780884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 18:57:22.581446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_22_2730.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_25_2780.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_28_2670.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_31_3559.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_34_2593.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_37_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_22_2730.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_25_2780.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_28_2670.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_31_3559.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_34_2593.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_37_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394757204","1394757207","1394757201","1394757206","1394757209","1394757205"],"photo_ids_order":["1394757201","1394757204","1394757205","1394757206","1394757207","1394757209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0158e229ff001c795dc2948aed85b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3430102201459313312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315903272,"filename":"image_16112025_17_36_25_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4662ad9012e5b77ae546af5021b5ed87.jpg","text":"TemporaryFile(/tmp/multipartBody7431433800163171647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315903272,"filename":"image_16112025_17_36_34_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9336845c373397255ecf04433932959.jpg","text":"TemporaryFile(/tmp/multipartBody8203939397199090850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315903272,"filename":"image_16112025_17_36_22_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae91efd48a7716d4c0f72830e495ba90.jpg","text":"TemporaryFile(/tmp/multipartBody1717895463723225894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315903272,"filename":"image_16112025_17_36_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/11/16/015387a3e2bfb82a2f3178c348ddee9d.jpg","text":"TemporaryFile(/tmp/multipartBody573345025837955132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315903272,"filename":"image_16112025_17_36_37_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1790de3d1827b83d5e9d63cb6896e02.jpg","text":"TemporaryFile(/tmp/multipartBody8384846614678629729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763315903272,"filename":"image_16112025_17_36_28_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757205","file1":"1394757204","file0":"1394757201","file4":"1394757207","file5":"1394757209","file3":"1394757206"},"map_files_photo_id_array":[{"photo_id":"1394757209","filename":"file5"},{"photo_id":"1394757205","filename":"file2"},{"photo_id":"1394757207","filename":"file4"},{"photo_id":"1394757204","filename":"file1"},{"photo_id":"1394757201","filename":"file0"},{"photo_id":"1394757206","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394757204":["hashtag1","hashtag2"]},{"1394757207":["hashtag1","hashtag2"]},{"1394757201":["hashtag1","hashtag2"]},{"1394757206":["hashtag1","hashtag2"]},{"1394757209":["hashtag1","hashtag2"]},{"1394757205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394757204, 1394757207, 1394757201, 1394757206, 1394757209, 1394757205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11702299118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 18:59:02.659896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_40_3655.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_43_3014.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_46_2956.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_49_2689.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_54_5074.jpg', '/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_57_2897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_40_3655.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_43_3014.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_46_2956.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_49_2689.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_54_5074.jpg
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_57_2897.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394758029","1394757813","1394757983","1394758081","1394757871","1394757937"],"photo_ids_order":["1394757813","1394757871","1394757937","1394757983","1394758029","1394758081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cfce146be5310162f87e3af26c8dbbd.jpg","text":"TemporaryFile(/tmp/multipartBody7489587435820677214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316003373,"filename":"image_16112025_17_36_54_5074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a26383216eb4dd65f1f97387ca7071ef.jpg","text":"TemporaryFile(/tmp/multipartBody2649435334877736861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316003373,"filename":"image_16112025_17_36_40_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3077db9275fa68862a30dd9fa521c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody898858917333229610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316003373,"filename":"image_16112025_17_36_49_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/43f5d756f67d957a2307f11ed22a989c.jpg","text":"TemporaryFile(/tmp/multipartBody2397287038932726237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316003373,"filename":"image_16112025_17_36_57_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29da5898e1c895b0bc79e00b97d06bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6588942017519242855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316003373,"filename":"image_16112025_17_36_43_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/451d5faa030d4190d2894c6e4f4c26c2.jpg","text":"TemporaryFile(/tmp/multipartBody8721255534941086361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316003373,"filename":"image_16112025_17_36_46_2956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394757937","file1":"1394757871","file0":"1394757813","file4":"1394758029","file5":"1394758081","file3":"1394757983"},"map_files_photo_id_array":[{"photo_id":"1394758081","filename":"file5"},{"photo_id":"1394757937","filename":"file2"},{"photo_id":"1394758029","filename":"file4"},{"photo_id":"1394757871","filename":"file1"},{"photo_id":"1394757813","filename":"file0"},{"photo_id":"1394757983","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394758029":["hashtag1","hashtag2"]},{"1394757813":["hashtag1","hashtag2"]},{"1394757983":["hashtag1","hashtag2"]},{"1394758081":["hashtag1","hashtag2"]},{"1394757871":["hashtag1","hashtag2"]},{"1394757937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394758029, 1394757813, 1394757983, 1394758081, 1394757871, 1394757937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78988742828369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 18:59:42.001768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_59_1742.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_01_2564.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_04_2579.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_07_3623.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_10_2549.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_12_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/36/image_16112025_17_36_59_1742.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_01_2564.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_04_2579.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_07_3623.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_10_2549.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_12_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394758145","1394758142","1394758141","1394758140","1394758143","1394758137"],"photo_ids_order":["1394758137","1394758140","1394758141","1394758142","1394758143","1394758145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4afbe85e5a4f8e16c07c80adace3a68a.jpg","text":"TemporaryFile(/tmp/multipartBody6227436969814231353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316042607,"filename":"image_16112025_17_37_12_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7031930ab23dcc09f518f75b9ad2fe4e.jpg","text":"TemporaryFile(/tmp/multipartBody4505120804336701714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316042607,"filename":"image_16112025_17_37_07_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/242b5a4d39fff9e80ae7e534377d45c0.jpg","text":"TemporaryFile(/tmp/multipartBody2701739901091332159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316042607,"filename":"image_16112025_17_37_04_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7544edd68d4eba6d3d87faca355ffb2a.jpg","text":"TemporaryFile(/tmp/multipartBody5048258575992167597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316042607,"filename":"image_16112025_17_37_01_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc0acd7ec0a366d22e67a9b7743bbb24.jpg","text":"TemporaryFile(/tmp/multipartBody7581659938284261632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316042607,"filename":"image_16112025_17_37_10_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a48ab1375e1a744b8bc2c1af7f324307.jpg","text":"TemporaryFile(/tmp/multipartBody4048913009549566590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316042607,"filename":"image_16112025_17_36_59_1742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394758141","file1":"1394758140","file0":"1394758137","file4":"1394758143","file5":"1394758145","file3":"1394758142"},"map_files_photo_id_array":[{"photo_id":"1394758145","filename":"file5"},{"photo_id":"1394758141","filename":"file2"},{"photo_id":"1394758143","filename":"file4"},{"photo_id":"1394758140","filename":"file1"},{"photo_id":"1394758137","filename":"file0"},{"photo_id":"1394758142","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394758145":["hashtag1","hashtag2"]},{"1394758142":["hashtag1","hashtag2"]},{"1394758141":["hashtag1","hashtag2"]},{"1394758140":["hashtag1","hashtag2"]},{"1394758143":["hashtag1","hashtag2"]},{"1394758137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394758145, 1394758142, 1394758141, 1394758140, 1394758143, 1394758137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.139774322509766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:00:22.238895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_16_3670.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_19_2528.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_22_3535.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_25_2707.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_27_2640.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_31_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_16_3670.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_19_2528.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_22_3535.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_25_2707.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_27_2640.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_31_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394758637","1394759005","1394759196","1394758767","1394758524","1394759294"],"photo_ids_order":["1394758524","1394758637","1394758767","1394759005","1394759196","1394759294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9eb9d8fb00223f7a647f5b52f5b152c.jpg","text":"TemporaryFile(/tmp/multipartBody1282258039323124591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316082854,"filename":"image_16112025_17_37_19_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22ed7a31b7346140c9a6de7c975d1efd.jpg","text":"TemporaryFile(/tmp/multipartBody6298065767314106177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316082854,"filename":"image_16112025_17_37_25_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64d50b93a4a757c7877abba225d6fe57.jpg","text":"TemporaryFile(/tmp/multipartBody3493326682343305970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316082854,"filename":"image_16112025_17_37_27_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eeb7f50331fee8a1fae2967b52a16008.jpg","text":"TemporaryFile(/tmp/multipartBody3209254240309478035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316082854,"filename":"image_16112025_17_37_22_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a1955153d198402dc802dac7f854d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4361376822162332880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316082854,"filename":"image_16112025_17_37_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/11/16/0446c8909f093c40680e003e47b98581.jpg","text":"TemporaryFile(/tmp/multipartBody5597845467669215564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316082854,"filename":"image_16112025_17_37_31_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394758767","file1":"1394758637","file0":"1394758524","file4":"1394759196","file5":"1394759294","file3":"1394759005"},"map_files_photo_id_array":[{"photo_id":"1394759294","filename":"file5"},{"photo_id":"1394758767","filename":"file2"},{"photo_id":"1394759196","filename":"file4"},{"photo_id":"1394758637","filename":"file1"},{"photo_id":"1394758524","filename":"file0"},{"photo_id":"1394759005","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394758637":["hashtag1","hashtag2"]},{"1394759005":["hashtag1","hashtag2"]},{"1394759196":["hashtag1","hashtag2"]},{"1394758767":["hashtag1","hashtag2"]},{"1394758524":["hashtag1","hashtag2"]},{"1394759294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394758637, 1394759005, 1394759196, 1394758767, 1394758524, 1394759294)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.234984159469604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:01:28.774208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_39_7705.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_48_8819.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_49_1613.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_51_1623.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_52_1571.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_54_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_39_7705.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_48_8819.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_49_1613.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_51_1623.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_52_1571.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_54_1646.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":["1394760248","1394760338","1394760082","1394760178","1394760427","1394759957"],"photo_ids_order":["1394759957","1394760082","1394760178","1394760248","1394760338","1394760427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcc9253f41c29a3278a6a6e7e7e1ca43.jpg","text":"TemporaryFile(/tmp/multipartBody1685359204699257818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316149400,"filename":"image_16112025_17_37_51_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45848fe6a56988971a6ca2ab2e6f999a.jpg","text":"TemporaryFile(/tmp/multipartBody5149306923736052943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316149400,"filename":"image_16112025_17_37_52_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec6b6b1ec879bc837b5c871751e7e37d.jpg","text":"TemporaryFile(/tmp/multipartBody1987718352327317763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316149400,"filename":"image_16112025_17_37_48_8819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5de45cd76549bf5bde4f9ab4b446fd33.jpg","text":"TemporaryFile(/tmp/multipartBody5784713898372659018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316149400,"filename":"image_16112025_17_37_49_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eab2afb645f9522bb92b4947d55e4557.jpg","text":"TemporaryFile(/tmp/multipartBody7469117147776096955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316149400,"filename":"image_16112025_17_37_54_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d9ac4c6ac18547a3f60b47b17160d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1019217894890425578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316149400,"filename":"image_16112025_17_37_39_7705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394760178","file1":"1394760082","file0":"1394759957","file4":"1394760338","file5":"1394760427","file3":"1394760248"},"map_files_photo_id_array":[{"photo_id":"1394760427","filename":"file5"},{"photo_id":"1394760178","filename":"file2"},{"photo_id":"1394760338","filename":"file4"},{"photo_id":"1394760082","filename":"file1"},{"photo_id":"1394759957","filename":"file0"},{"photo_id":"1394760248","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394760248":["hashtag1","hashtag2"]},{"1394760338":["hashtag1","hashtag2"]},{"1394760082":["hashtag1","hashtag2"]},{"1394760178":["hashtag1","hashtag2"]},{"1394760427":["hashtag1","hashtag2"]},{"1394759957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394760248, 1394760338, 1394760082, 1394760178, 1394760427, 1394759957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85046148300171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:02:22.404936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_56_1613.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_57_1536.jpg', '/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_59_1582.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_01_1791.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_04_3562.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_07_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_56_1613.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_57_1536.jpg
/home/pi/Desktop/images/16112025/17/37/image_16112025_17_37_59_1582.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_01_1791.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_04_3562.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_07_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394760767","1394760929","1394760533","1394760536","1394760535","1394760618"],"photo_ids_order":["1394760533","1394760535","1394760536","1394760618","1394760767","1394760929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b6513644b9f27ee52afa7c28c525c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6188028773612063810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316203026,"filename":"image_16112025_17_38_04_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f584af3c55f6cda9c6bf34a3b391623.jpg","text":"TemporaryFile(/tmp/multipartBody5643978328825239347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316203026,"filename":"image_16112025_17_38_07_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb70095bad2c0ec092703442b1c0164b.jpg","text":"TemporaryFile(/tmp/multipartBody4067748976539229639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316203026,"filename":"image_16112025_17_37_56_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0808e7676a12d442706b9b6a176e24f.jpg","text":"TemporaryFile(/tmp/multipartBody9108215451714628980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316203026,"filename":"image_16112025_17_37_59_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa9413733a00d48c6acf1ba022e80cb2.jpg","text":"TemporaryFile(/tmp/multipartBody7398990274602508470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316203026,"filename":"image_16112025_17_37_57_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b930305c63bbe337c6e59b82e3c72347.jpg","text":"TemporaryFile(/tmp/multipartBody171741411705989129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316203026,"filename":"image_16112025_17_38_01_1791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394760536","file1":"1394760535","file0":"1394760533","file4":"1394760767","file5":"1394760929","file3":"1394760618"},"map_files_photo_id_array":[{"photo_id":"1394760929","filename":"file5"},{"photo_id":"1394760536","filename":"file2"},{"photo_id":"1394760767","filename":"file4"},{"photo_id":"1394760535","filename":"file1"},{"photo_id":"1394760533","filename":"file0"},{"photo_id":"1394760618","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394760767":["hashtag1","hashtag2"]},{"1394760929":["hashtag1","hashtag2"]},{"1394760533":["hashtag1","hashtag2"]},{"1394760536":["hashtag1","hashtag2"]},{"1394760535":["hashtag1","hashtag2"]},{"1394760618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394760767, 1394760929, 1394760533, 1394760536, 1394760535, 1394760618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9206485748291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:03:03.151630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_10_2828.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_13_3614.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_16_2594.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_18_2600.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_22_3728.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_25_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_10_2828.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_13_3614.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_16_2594.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_18_2600.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_22_3728.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_25_2837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394761547","1394762056","1394761687","1394761992","1394761917","1394761824"],"photo_ids_order":["1394761547","1394761687","1394761824","1394761917","1394761992","1394762056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da740e21926c1e7a112ec0053a51bd53.jpg","text":"TemporaryFile(/tmp/multipartBody1822707799901181297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316243868,"filename":"image_16112025_17_38_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/11/16/6eb75b7fed6a0f54f477bbc3d0107e21.jpg","text":"TemporaryFile(/tmp/multipartBody7301817553987559398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316243868,"filename":"image_16112025_17_38_25_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/427d5917c905b5d9bbd83a1e380c15fa.jpg","text":"TemporaryFile(/tmp/multipartBody1390759135474494972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316243868,"filename":"image_16112025_17_38_13_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4800943d8e64f9113da086f72e8aaa3.jpg","text":"TemporaryFile(/tmp/multipartBody1445334136671417696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316243868,"filename":"image_16112025_17_38_22_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aaff87deada43f8e4eb2815cf5dcc341.jpg","text":"TemporaryFile(/tmp/multipartBody1451157176640484338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316243868,"filename":"image_16112025_17_38_18_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c835a8d989a2c8ce8c009bdd0734d13.jpg","text":"TemporaryFile(/tmp/multipartBody2714935130735424353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316243868,"filename":"image_16112025_17_38_16_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394761824","file1":"1394761687","file0":"1394761547","file4":"1394761992","file5":"1394762056","file3":"1394761917"},"map_files_photo_id_array":[{"photo_id":"1394762056","filename":"file5"},{"photo_id":"1394761824","filename":"file2"},{"photo_id":"1394761992","filename":"file4"},{"photo_id":"1394761687","filename":"file1"},{"photo_id":"1394761547","filename":"file0"},{"photo_id":"1394761917","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394761547":["hashtag1","hashtag2"]},{"1394762056":["hashtag1","hashtag2"]},{"1394761687":["hashtag1","hashtag2"]},{"1394761992":["hashtag1","hashtag2"]},{"1394761917":["hashtag1","hashtag2"]},{"1394761824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394761547, 1394762056, 1394761687, 1394761992, 1394761917, 1394761824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.840160608291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:03:42.502833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_28_2595.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_36_8469.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_38_1577.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_39_1620.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_41_1547.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_43_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_28_2595.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_36_8469.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_38_1577.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_39_1620.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_41_1547.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_43_1714.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.568640947341919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:04:03.458987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_28_2595.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_36_8469.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_38_1577.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_39_1620.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_41_1547.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_43_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_28_2595.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_36_8469.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_38_1577.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_39_1620.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_41_1547.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_43_1714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762470","1394762467","1394762466","1394762469","1394762471","1394762465"],"photo_ids_order":["1394762465","1394762466","1394762467","1394762469","1394762470","1394762471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/320c50d8a6dea82c4ff7440fb9ba0837.jpg","text":"TemporaryFile(/tmp/multipartBody7962921780333313083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316304212,"filename":"image_16112025_17_38_41_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/807f65b98943716caea13d9b38151668.jpg","text":"TemporaryFile(/tmp/multipartBody6110766274688766677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316304212,"filename":"image_16112025_17_38_38_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e87a80426be23b4ecf43993d1411b87.jpg","text":"TemporaryFile(/tmp/multipartBody8031837685265902184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316304212,"filename":"image_16112025_17_38_36_8469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a594702406c3ec9ac5df5069105e7255.jpg","text":"TemporaryFile(/tmp/multipartBody927408149107935645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316304212,"filename":"image_16112025_17_38_39_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a21c5b957b8224475925b9ad93f31c2.jpg","text":"TemporaryFile(/tmp/multipartBody5345848372013217624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316304212,"filename":"image_16112025_17_38_43_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82d27adc5d9b25116cd29a20419bf6a5.jpg","text":"TemporaryFile(/tmp/multipartBody6163207850749230925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316304212,"filename":"image_16112025_17_38_28_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762467","file1":"1394762466","file0":"1394762465","file4":"1394762470","file5":"1394762471","file3":"1394762469"},"map_files_photo_id_array":[{"photo_id":"1394762471","filename":"file5"},{"photo_id":"1394762467","filename":"file2"},{"photo_id":"1394762470","filename":"file4"},{"photo_id":"1394762466","filename":"file1"},{"photo_id":"1394762465","filename":"file0"},{"photo_id":"1394762469","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762470":["hashtag1","hashtag2"]},{"1394762467":["hashtag1","hashtag2"]},{"1394762466":["hashtag1","hashtag2"]},{"1394762469":["hashtag1","hashtag2"]},{"1394762471":["hashtag1","hashtag2"]},{"1394762465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762470, 1394762467, 1394762466, 1394762469, 1394762471, 1394762465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64035940170288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:04:42.796982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_46_3563.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_49_2737.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_51_2651.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_54_2754.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_58_3500.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_04_5888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_46_3563.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_49_2737.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_51_2651.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_54_2754.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_58_3500.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_04_5888.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.5074772834777832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:05:02.673228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_46_3563.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_49_2737.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_51_2651.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_54_2754.jpg', '/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_58_3500.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_04_5888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_46_3563.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_49_2737.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_51_2651.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_54_2754.jpg
/home/pi/Desktop/images/16112025/17/38/image_16112025_17_38_58_3500.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_04_5888.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762680","1394762677","1394762647","1394762679","1394762676","1394762678"],"photo_ids_order":["1394762647","1394762676","1394762677","1394762678","1394762679","1394762680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4881510ebe62af500309efeec533edd.jpg","text":"TemporaryFile(/tmp/multipartBody3140459077262512747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316363375,"filename":"image_16112025_17_39_04_5888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec28e413a37dc98aa3b9156d1b978aec.jpg","text":"TemporaryFile(/tmp/multipartBody6247113385316914863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316363375,"filename":"image_16112025_17_38_51_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/641e4cbdcd5472307ee8ee17bad7e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody7480788558362448557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316363375,"filename":"image_16112025_17_38_46_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14ffd79beadccbf99211500c7f288f01.jpg","text":"TemporaryFile(/tmp/multipartBody8254986471003830148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316363375,"filename":"image_16112025_17_38_58_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7db86c78cca32df8312a393137ffd51c.jpg","text":"TemporaryFile(/tmp/multipartBody3443249643538171375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316363375,"filename":"image_16112025_17_38_49_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6d7b39e962bf83803e7f0465596c7ae.jpg","text":"TemporaryFile(/tmp/multipartBody6388910571662337472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316363375,"filename":"image_16112025_17_38_54_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762677","file1":"1394762676","file0":"1394762647","file4":"1394762679","file5":"1394762680","file3":"1394762678"},"map_files_photo_id_array":[{"photo_id":"1394762680","filename":"file5"},{"photo_id":"1394762677","filename":"file2"},{"photo_id":"1394762679","filename":"file4"},{"photo_id":"1394762676","filename":"file1"},{"photo_id":"1394762647","filename":"file0"},{"photo_id":"1394762678","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762680":["hashtag1","hashtag2"]},{"1394762677":["hashtag1","hashtag2"]},{"1394762647":["hashtag1","hashtag2"]},{"1394762679":["hashtag1","hashtag2"]},{"1394762676":["hashtag1","hashtag2"]},{"1394762678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762680, 1394762677, 1394762647, 1394762679, 1394762676, 1394762678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90668869018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:05:42.014409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_05_1611.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_07_1591.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_09_2670.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_14_4500.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_15_1475.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_18_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_05_1611.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_07_1591.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_09_2670.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_14_4500.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_15_1475.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_18_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762685","1394762688","1394762681","1394762684","1394762687","1394762686"],"photo_ids_order":["1394762681","1394762684","1394762685","1394762686","1394762687","1394762688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/771a00c3c9aa447c006ec2a19644e71b.jpg","text":"TemporaryFile(/tmp/multipartBody213003914003219736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316402602,"filename":"image_16112025_17_39_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/11/16/89551abb4c92ce172ce0f18c389c5de9.jpg","text":"TemporaryFile(/tmp/multipartBody3740725004749988391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316402602,"filename":"image_16112025_17_39_18_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abe6826345acf89073a0075bc74e2fde.jpg","text":"TemporaryFile(/tmp/multipartBody4634399902416514395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316402602,"filename":"image_16112025_17_39_05_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aab7e6527f8d6e8e3a52254cd191e6e2.jpg","text":"TemporaryFile(/tmp/multipartBody3478605552549672489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316402602,"filename":"image_16112025_17_39_07_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23394f200a3761428153eb7f30ac9d91.jpg","text":"TemporaryFile(/tmp/multipartBody473024169213730266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316402602,"filename":"image_16112025_17_39_15_1475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d26096ba99246ceebef99c398d39363.jpg","text":"TemporaryFile(/tmp/multipartBody7933188890873418991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316402602,"filename":"image_16112025_17_39_14_4500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762685","file1":"1394762684","file0":"1394762681","file4":"1394762687","file5":"1394762688","file3":"1394762686"},"map_files_photo_id_array":[{"photo_id":"1394762688","filename":"file5"},{"photo_id":"1394762685","filename":"file2"},{"photo_id":"1394762687","filename":"file4"},{"photo_id":"1394762684","filename":"file1"},{"photo_id":"1394762681","filename":"file0"},{"photo_id":"1394762686","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762685":["hashtag1","hashtag2"]},{"1394762688":["hashtag1","hashtag2"]},{"1394762681":["hashtag1","hashtag2"]},{"1394762684":["hashtag1","hashtag2"]},{"1394762687":["hashtag1","hashtag2"]},{"1394762686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762685, 1394762688, 1394762681, 1394762684, 1394762687, 1394762686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.603073596954346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:06:22.015183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_22_3755.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_24_2499.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_28_3586.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_31_2525.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_34_3276.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_36_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_22_3755.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_24_2499.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_28_3586.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_31_2525.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_34_3276.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_36_2540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762704","1394762691","1394762694","1394762700","1394762696","1394762698"],"photo_ids_order":["1394762691","1394762694","1394762696","1394762698","1394762700","1394762704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27f2b72724ced8e030e4af23e227c76d.jpg","text":"TemporaryFile(/tmp/multipartBody2495719430429395444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316442700,"filename":"image_16112025_17_39_36_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fd3ad43d5b002c287e0abc4f5bd0713.jpg","text":"TemporaryFile(/tmp/multipartBody4016945383160755151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316442700,"filename":"image_16112025_17_39_22_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/825137b40e8801367ac73f1927c8b4bd.jpg","text":"TemporaryFile(/tmp/multipartBody939196463157737408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316442700,"filename":"image_16112025_17_39_24_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/042033a50ccc7cc757c77936fc1bcd6a.jpg","text":"TemporaryFile(/tmp/multipartBody2413440135023055929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316442700,"filename":"image_16112025_17_39_34_3276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cef5608f40e2e77deb48830c5acd1225.jpg","text":"TemporaryFile(/tmp/multipartBody7330644153123198544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316442700,"filename":"image_16112025_17_39_28_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35105a9c448a3c2b67ac63bdfe1dbcd0.jpg","text":"TemporaryFile(/tmp/multipartBody8074245059260159696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316442700,"filename":"image_16112025_17_39_31_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762696","file1":"1394762694","file0":"1394762691","file4":"1394762700","file5":"1394762704","file3":"1394762698"},"map_files_photo_id_array":[{"photo_id":"1394762704","filename":"file5"},{"photo_id":"1394762696","filename":"file2"},{"photo_id":"1394762700","filename":"file4"},{"photo_id":"1394762694","filename":"file1"},{"photo_id":"1394762691","filename":"file0"},{"photo_id":"1394762698","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762704":["hashtag1","hashtag2"]},{"1394762691":["hashtag1","hashtag2"]},{"1394762694":["hashtag1","hashtag2"]},{"1394762700":["hashtag1","hashtag2"]},{"1394762696":["hashtag1","hashtag2"]},{"1394762698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762704, 1394762691, 1394762694, 1394762700, 1394762696, 1394762698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43622374534607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:07:02.827690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_40_3612.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_43_2862.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_46_3020.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_48_2556.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_53_4666.jpg', '/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_55_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_40_3612.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_43_2862.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_46_3020.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_48_2556.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_53_4666.jpg
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_55_1624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762710","1394762713","1394762707","1394762715","1394762718","1394762717"],"photo_ids_order":["1394762707","1394762710","1394762713","1394762715","1394762717","1394762718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/922c09541fa5415257ae761f9a516905.jpg","text":"TemporaryFile(/tmp/multipartBody5486612270118782364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316483499,"filename":"image_16112025_17_39_43_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e7f48d0c3ad0304deaa4bcd4e73aa6e.jpg","text":"TemporaryFile(/tmp/multipartBody3654980616394960837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316483499,"filename":"image_16112025_17_39_46_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/308c62f989f9e426d1680fc42ca7d427.jpg","text":"TemporaryFile(/tmp/multipartBody6010068864165998968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316483499,"filename":"image_16112025_17_39_40_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d3fa1d2874131560fca2f8a1a38fe73.jpg","text":"TemporaryFile(/tmp/multipartBody3838040472423881352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316483499,"filename":"image_16112025_17_39_48_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96de07415826aec682456236ed089609.jpg","text":"TemporaryFile(/tmp/multipartBody8755349754286339793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316483499,"filename":"image_16112025_17_39_55_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/682095e848774ae3ceeb5ac6a900a154.jpg","text":"TemporaryFile(/tmp/multipartBody1547450783702370485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316483499,"filename":"image_16112025_17_39_53_4666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762713","file1":"1394762710","file0":"1394762707","file4":"1394762717","file5":"1394762718","file3":"1394762715"},"map_files_photo_id_array":[{"photo_id":"1394762718","filename":"file5"},{"photo_id":"1394762713","filename":"file2"},{"photo_id":"1394762717","filename":"file4"},{"photo_id":"1394762710","filename":"file1"},{"photo_id":"1394762707","filename":"file0"},{"photo_id":"1394762715","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762710":["hashtag1","hashtag2"]},{"1394762713":["hashtag1","hashtag2"]},{"1394762707":["hashtag1","hashtag2"]},{"1394762715":["hashtag1","hashtag2"]},{"1394762718":["hashtag1","hashtag2"]},{"1394762717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762710, 1394762713, 1394762707, 1394762715, 1394762718, 1394762717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.477781534194946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:07:42.147914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_59_4179.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_01_1828.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_10_3056.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_13_3630.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_16_2756.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_19_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/39/image_16112025_17_39_59_4179.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_01_1828.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_10_3056.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_13_3630.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_16_2756.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_19_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762722","1394762719","1394762721","1394762724","1394762720","1394762723"],"photo_ids_order":["1394762719","1394762720","1394762721","1394762722","1394762723","1394762724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30bdea33fdbaca7e0249ef6b18eee9ef.jpg","text":"TemporaryFile(/tmp/multipartBody9134062765320894604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316522746,"filename":"image_16112025_17_40_13_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a62fd2321aaf920ff87c1b9ff9dcd743.jpg","text":"TemporaryFile(/tmp/multipartBody8380143253044482356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316522746,"filename":"image_16112025_17_39_59_4179.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5b35b9eb722e60144761c59b288a86b.jpg","text":"TemporaryFile(/tmp/multipartBody7713920417011724025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316522746,"filename":"image_16112025_17_40_10_3056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca0f963754d4bfc98434b9fd57179058.jpg","text":"TemporaryFile(/tmp/multipartBody357890164603965234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316522746,"filename":"image_16112025_17_40_19_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/157ffc0c07281f5dfc2cb51308228c0e.jpg","text":"TemporaryFile(/tmp/multipartBody5611729337750736198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316522746,"filename":"image_16112025_17_40_01_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92769692cce2fc5fcab455767571c760.jpg","text":"TemporaryFile(/tmp/multipartBody3262268889730288861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316522746,"filename":"image_16112025_17_40_16_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762721","file1":"1394762720","file0":"1394762719","file4":"1394762723","file5":"1394762724","file3":"1394762722"},"map_files_photo_id_array":[{"photo_id":"1394762724","filename":"file5"},{"photo_id":"1394762721","filename":"file2"},{"photo_id":"1394762723","filename":"file4"},{"photo_id":"1394762720","filename":"file1"},{"photo_id":"1394762719","filename":"file0"},{"photo_id":"1394762722","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762722":["hashtag1","hashtag2"]},{"1394762719":["hashtag1","hashtag2"]},{"1394762721":["hashtag1","hashtag2"]},{"1394762724":["hashtag1","hashtag2"]},{"1394762720":["hashtag1","hashtag2"]},{"1394762723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762722, 1394762719, 1394762721, 1394762724, 1394762720, 1394762723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35221815109253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:08:22.700791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_22_3692.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_26_3328.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_28_2746.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_31_2621.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_34_2763.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_37_2943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_22_3692.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_26_3328.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_28_2746.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_31_2621.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_34_2763.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_37_2943.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762731","1394762733","1394762727","1394762732","1394762735","1394762729"],"photo_ids_order":["1394762727","1394762729","1394762731","1394762732","1394762733","1394762735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f311031466eab0c508b95488b0e9cf6.jpg","text":"TemporaryFile(/tmp/multipartBody8067635972957865525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316563321,"filename":"image_16112025_17_40_28_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c8114ed0c93a9fd5994f0088577a18d.jpg","text":"TemporaryFile(/tmp/multipartBody8123606865652407419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316563321,"filename":"image_16112025_17_40_34_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61096ab5a89dcfad07769491ab1f7b38.jpg","text":"TemporaryFile(/tmp/multipartBody1064502492424011613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316563321,"filename":"image_16112025_17_40_22_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a20f14f247213c7d2038be9a92bf05d4.jpg","text":"TemporaryFile(/tmp/multipartBody6445344411012276705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316563321,"filename":"image_16112025_17_40_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac3b351907ec09581610308980e6ffcc.jpg","text":"TemporaryFile(/tmp/multipartBody8411692579514687491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316563321,"filename":"image_16112025_17_40_37_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69625b09aed543e67894cc1e27be2db9.jpg","text":"TemporaryFile(/tmp/multipartBody706022720201509956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316563321,"filename":"image_16112025_17_40_26_3328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762731","file1":"1394762729","file0":"1394762727","file4":"1394762733","file5":"1394762735","file3":"1394762732"},"map_files_photo_id_array":[{"photo_id":"1394762735","filename":"file5"},{"photo_id":"1394762731","filename":"file2"},{"photo_id":"1394762733","filename":"file4"},{"photo_id":"1394762729","filename":"file1"},{"photo_id":"1394762727","filename":"file0"},{"photo_id":"1394762732","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762731":["hashtag1","hashtag2"]},{"1394762733":["hashtag1","hashtag2"]},{"1394762727":["hashtag1","hashtag2"]},{"1394762732":["hashtag1","hashtag2"]},{"1394762735":["hashtag1","hashtag2"]},{"1394762729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762731, 1394762733, 1394762727, 1394762732, 1394762735, 1394762729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13157296180725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:09:02.763173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_40_3764.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_43_2591.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_46_2664.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_49_3491.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_52_2555.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_55_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_40_3764.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_43_2591.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_46_2664.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_49_3491.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_52_2555.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_55_3528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762743","1394762737","1394762745","1394762739","1394762738","1394762741"],"photo_ids_order":["1394762737","1394762738","1394762739","1394762741","1394762743","1394762745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/913a55da17556b33dfdfbf1c90732dac.jpg","text":"TemporaryFile(/tmp/multipartBody8668887398159940205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316603554,"filename":"image_16112025_17_40_52_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18cd4a5bec5ea540ae92dae367915bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2691395961754993755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316603554,"filename":"image_16112025_17_40_40_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c46260f2d13b40334e57844da98f30e9.jpg","text":"TemporaryFile(/tmp/multipartBody5391225635279886404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316603554,"filename":"image_16112025_17_40_55_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa588d6d1aa8e9702718f5d8a1c2821e.jpg","text":"TemporaryFile(/tmp/multipartBody3070835621897993064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316603554,"filename":"image_16112025_17_40_46_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efb8628a9483eea8c0dcabc390d79db5.jpg","text":"TemporaryFile(/tmp/multipartBody6871562232000458840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316603554,"filename":"image_16112025_17_40_43_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/632449633df99b46552b9f44807313e4.jpg","text":"TemporaryFile(/tmp/multipartBody9072070008413190776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316603554,"filename":"image_16112025_17_40_49_3491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762739","file1":"1394762738","file0":"1394762737","file4":"1394762743","file5":"1394762745","file3":"1394762741"},"map_files_photo_id_array":[{"photo_id":"1394762745","filename":"file5"},{"photo_id":"1394762739","filename":"file2"},{"photo_id":"1394762743","filename":"file4"},{"photo_id":"1394762738","filename":"file1"},{"photo_id":"1394762737","filename":"file0"},{"photo_id":"1394762741","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762743":["hashtag1","hashtag2"]},{"1394762737":["hashtag1","hashtag2"]},{"1394762745":["hashtag1","hashtag2"]},{"1394762739":["hashtag1","hashtag2"]},{"1394762738":["hashtag1","hashtag2"]},{"1394762741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762743, 1394762737, 1394762745, 1394762739, 1394762738, 1394762741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59642934799194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:09:41.862182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_58_2255.jpg', '/home/pi/Desktop/images/16112025/17/40/image_16112025_17_41_01_3675.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_04_2574.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_07_3583.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_10_2561.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_13_3490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_40_58_2255.jpg
/home/pi/Desktop/images/16112025/17/40/image_16112025_17_41_01_3675.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_04_2574.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_07_3583.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_10_2561.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_13_3490.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762752","1394762749","1394762751","1394762754","1394762753","1394762747"],"photo_ids_order":["1394762747","1394762749","1394762751","1394762752","1394762753","1394762754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7e1ddfb91b0b2ca176b38411286bc2b.jpg","text":"TemporaryFile(/tmp/multipartBody8344475872025593080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316642453,"filename":"image_16112025_17_41_07_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e9038757d617213476138be80d27ba3.jpg","text":"TemporaryFile(/tmp/multipartBody332589388754485969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316642453,"filename":"image_16112025_17_41_01_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01c6b262487f911867ce14b4c1deda01.jpg","text":"TemporaryFile(/tmp/multipartBody3240712364233114192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316642453,"filename":"image_16112025_17_41_04_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88012a961f7a0ab55af016548f07e7f1.jpg","text":"TemporaryFile(/tmp/multipartBody7748777902699395903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316642453,"filename":"image_16112025_17_41_13_3490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fd6884400e73d7aba66dab07921382a.jpg","text":"TemporaryFile(/tmp/multipartBody1910158732912931286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316642453,"filename":"image_16112025_17_41_10_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e83cf580a1e319ef9a6e9330474a1a7.jpg","text":"TemporaryFile(/tmp/multipartBody8555639450795409367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316642453,"filename":"image_16112025_17_40_58_2255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762751","file1":"1394762749","file0":"1394762747","file4":"1394762753","file5":"1394762754","file3":"1394762752"},"map_files_photo_id_array":[{"photo_id":"1394762754","filename":"file5"},{"photo_id":"1394762751","filename":"file2"},{"photo_id":"1394762753","filename":"file4"},{"photo_id":"1394762749","filename":"file1"},{"photo_id":"1394762747","filename":"file0"},{"photo_id":"1394762752","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762752":["hashtag1","hashtag2"]},{"1394762749":["hashtag1","hashtag2"]},{"1394762751":["hashtag1","hashtag2"]},{"1394762754":["hashtag1","hashtag2"]},{"1394762753":["hashtag1","hashtag2"]},{"1394762747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762752, 1394762749, 1394762751, 1394762754, 1394762753, 1394762747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.861263275146484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:10:24.106850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_16_2565.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_19_2791.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_23_4690.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_25_1835.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_28_2637.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_30_2518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_16_2565.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_19_2791.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_23_4690.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_25_1835.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_28_2637.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_30_2518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762764","1394762766","1394762769","1394762760","1394762762","1394762770"],"photo_ids_order":["1394762760","1394762762","1394762764","1394762766","1394762769","1394762770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f975b5d8ed4bb27d483efc58adffbc9e.jpg","text":"TemporaryFile(/tmp/multipartBody8595664017756063614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316684729,"filename":"image_16112025_17_41_23_4690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6083c149626369f09204b8a622a0ee6e.jpg","text":"TemporaryFile(/tmp/multipartBody5783569415400671702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316684729,"filename":"image_16112025_17_41_25_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1e623c2b36e5c2d3fccc3f2b170b8e1.jpg","text":"TemporaryFile(/tmp/multipartBody2528042269222355146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316684729,"filename":"image_16112025_17_41_28_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afcf49e49831cc7254c9305610474029.jpg","text":"TemporaryFile(/tmp/multipartBody6364900760356413064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316684729,"filename":"image_16112025_17_41_16_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/124d41638184fb0b63131c125754f5d3.jpg","text":"TemporaryFile(/tmp/multipartBody4886816372754573579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316684729,"filename":"image_16112025_17_41_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/11/16/f275a0ee6649d61cbad92e4ed92872ab.jpg","text":"TemporaryFile(/tmp/multipartBody4878782060759578850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316684729,"filename":"image_16112025_17_41_30_2518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762764","file1":"1394762762","file0":"1394762760","file4":"1394762769","file5":"1394762770","file3":"1394762766"},"map_files_photo_id_array":[{"photo_id":"1394762770","filename":"file5"},{"photo_id":"1394762764","filename":"file2"},{"photo_id":"1394762769","filename":"file4"},{"photo_id":"1394762762","filename":"file1"},{"photo_id":"1394762760","filename":"file0"},{"photo_id":"1394762766","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762764":["hashtag1","hashtag2"]},{"1394762766":["hashtag1","hashtag2"]},{"1394762769":["hashtag1","hashtag2"]},{"1394762760":["hashtag1","hashtag2"]},{"1394762762":["hashtag1","hashtag2"]},{"1394762770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762764, 1394762766, 1394762769, 1394762760, 1394762762, 1394762770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91628289222717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:11:03.133633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_34_3654.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_37_2590.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_40_3517.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_43_2623.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_46_3517.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_49_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_34_3654.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_37_2590.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_40_3517.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_43_2623.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_46_3517.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_49_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762773","1394762776","1394762778","1394762775","1394762780","1394762774"],"photo_ids_order":["1394762773","1394762774","1394762775","1394762776","1394762778","1394762780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21d0b42eb2b3cf2cdaa6090e4291cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8653538177242408480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316723809,"filename":"image_16112025_17_41_34_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f672920146130c23ec9569462ae0bce2.jpg","text":"TemporaryFile(/tmp/multipartBody5993172378787926677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316723809,"filename":"image_16112025_17_41_43_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/122502cc4481e65101a9a01037430e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1543248379292220742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316723809,"filename":"image_16112025_17_41_46_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/739d6da4db8b40b58d4cc2a87e738fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7418230324532318016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316723809,"filename":"image_16112025_17_41_40_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d54d95e9cedfb57a8a94797c3cf91da1.jpg","text":"TemporaryFile(/tmp/multipartBody7802208646067059980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316723809,"filename":"image_16112025_17_41_49_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10a3673b53d2397472297f406a4f9c54.jpg","text":"TemporaryFile(/tmp/multipartBody5420932039275455641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316723809,"filename":"image_16112025_17_41_37_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762775","file1":"1394762774","file0":"1394762773","file4":"1394762778","file5":"1394762780","file3":"1394762776"},"map_files_photo_id_array":[{"photo_id":"1394762780","filename":"file5"},{"photo_id":"1394762775","filename":"file2"},{"photo_id":"1394762778","filename":"file4"},{"photo_id":"1394762774","filename":"file1"},{"photo_id":"1394762773","filename":"file0"},{"photo_id":"1394762776","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762773":["hashtag1","hashtag2"]},{"1394762776":["hashtag1","hashtag2"]},{"1394762778":["hashtag1","hashtag2"]},{"1394762775":["hashtag1","hashtag2"]},{"1394762780":["hashtag1","hashtag2"]},{"1394762774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762773, 1394762776, 1394762778, 1394762775, 1394762780, 1394762774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30759835243225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:11:42.515424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_52_2624.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_55_3647.jpg', '/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_58_2713.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_01_2651.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_04_3778.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_07_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_52_2624.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_55_3647.jpg
/home/pi/Desktop/images/16112025/17/41/image_16112025_17_41_58_2713.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_01_2651.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_04_3778.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_07_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762796","1394762790","1394762793","1394762787","1394762795","1394762791"],"photo_ids_order":["1394762787","1394762790","1394762791","1394762793","1394762795","1394762796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce8a9c5ef42ad00c1ad549ff1dedd8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4770787191043688545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316763110,"filename":"image_16112025_17_42_07_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8991d6f8c40dab8dd40af83c7fc6c617.jpg","text":"TemporaryFile(/tmp/multipartBody8236236960275721097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316763110,"filename":"image_16112025_17_41_55_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ded04b8c4c73c76b8db8d9b5038107f7.jpg","text":"TemporaryFile(/tmp/multipartBody1297510397676026325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316763110,"filename":"image_16112025_17_42_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/11/16/1a4b072c722aee7bfcf0be94fc167d98.jpg","text":"TemporaryFile(/tmp/multipartBody9201705476098618914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316763110,"filename":"image_16112025_17_41_52_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9bcda9b097ed4a5c70016051c46fbd07.jpg","text":"TemporaryFile(/tmp/multipartBody6627267160595152226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316763110,"filename":"image_16112025_17_42_04_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9e226699cba751dd92975645f24b110.jpg","text":"TemporaryFile(/tmp/multipartBody6169083273315239181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316763110,"filename":"image_16112025_17_41_58_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762791","file1":"1394762790","file0":"1394762787","file4":"1394762795","file5":"1394762796","file3":"1394762793"},"map_files_photo_id_array":[{"photo_id":"1394762796","filename":"file5"},{"photo_id":"1394762791","filename":"file2"},{"photo_id":"1394762795","filename":"file4"},{"photo_id":"1394762790","filename":"file1"},{"photo_id":"1394762787","filename":"file0"},{"photo_id":"1394762793","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762796":["hashtag1","hashtag2"]},{"1394762790":["hashtag1","hashtag2"]},{"1394762793":["hashtag1","hashtag2"]},{"1394762787":["hashtag1","hashtag2"]},{"1394762795":["hashtag1","hashtag2"]},{"1394762791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762796, 1394762790, 1394762793, 1394762787, 1394762795, 1394762791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.126391887664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:12:22.895224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_10_2632.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_13_3549.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_15_2301.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_19_3755.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_22_2681.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_24_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_10_2632.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_13_3549.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_15_2301.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_19_3755.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_22_2681.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_24_2562.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.584265947341919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:12:43.528743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_10_2632.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_13_3549.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_15_2301.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_19_3755.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_22_2681.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_24_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_10_2632.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_13_3549.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_15_2301.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_19_3755.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_22_2681.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_24_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762815","1394762812","1394762814","1394762811","1394762810","1394762813"],"photo_ids_order":["1394762810","1394762811","1394762812","1394762813","1394762814","1394762815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da227e454a2cdbc76c8315cd0b725078.jpg","text":"TemporaryFile(/tmp/multipartBody6044608726312118810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316824193,"filename":"image_16112025_17_42_24_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94aef90ff98baa4beaa4a52bda7a6bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2525341991646174660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316824193,"filename":"image_16112025_17_42_15_2301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a93dcacf4fa4d9c17830af4618485331.jpg","text":"TemporaryFile(/tmp/multipartBody1646792481815165049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316824193,"filename":"image_16112025_17_42_22_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eee86df1144f2fa3902be09b9045670d.jpg","text":"TemporaryFile(/tmp/multipartBody442823385585392922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316824193,"filename":"image_16112025_17_42_13_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb9a0681b531958c9731ad7a4c42e088.jpg","text":"TemporaryFile(/tmp/multipartBody8187080810985162735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316824193,"filename":"image_16112025_17_42_10_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7b9f2cf927315ca93496d7dc06616e6.jpg","text":"TemporaryFile(/tmp/multipartBody2353465960356097328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316824193,"filename":"image_16112025_17_42_19_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762812","file1":"1394762811","file0":"1394762810","file4":"1394762814","file5":"1394762815","file3":"1394762813"},"map_files_photo_id_array":[{"photo_id":"1394762815","filename":"file5"},{"photo_id":"1394762812","filename":"file2"},{"photo_id":"1394762814","filename":"file4"},{"photo_id":"1394762811","filename":"file1"},{"photo_id":"1394762810","filename":"file0"},{"photo_id":"1394762813","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762815":["hashtag1","hashtag2"]},{"1394762812":["hashtag1","hashtag2"]},{"1394762814":["hashtag1","hashtag2"]},{"1394762811":["hashtag1","hashtag2"]},{"1394762810":["hashtag1","hashtag2"]},{"1394762813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762815, 1394762812, 1394762814, 1394762811, 1394762810, 1394762813)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.60000467300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:13:42.579612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_28_3900.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_31_2492.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_34_2755.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_37_3505.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_40_2681.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_42_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_28_3900.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_31_2492.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_34_2755.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_37_3505.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_40_2681.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_42_2630.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.61234450340271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:14:02.511672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_28_3900.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_31_2492.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_34_2755.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_37_3505.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_40_2681.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_42_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_28_3900.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_31_2492.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_34_2755.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_37_3505.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_40_2681.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_42_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762832","1394762829","1394762838","1394762831","1394762834","1394762828"],"photo_ids_order":["1394762828","1394762829","1394762831","1394762832","1394762834","1394762838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb200024dd519047eeeaf13b55d3a4b1.jpg","text":"TemporaryFile(/tmp/multipartBody1297227223930410925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316903219,"filename":"image_16112025_17_42_37_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07e7df92149c10cd54211f0e787ad5ad.jpg","text":"TemporaryFile(/tmp/multipartBody142086799178754866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316903219,"filename":"image_16112025_17_42_31_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/187884cb953f0353fc35a904e24bcd89.jpg","text":"TemporaryFile(/tmp/multipartBody5022700113057238922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316903219,"filename":"image_16112025_17_42_42_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d9f8576812bf02bd63a6c30c257383a.jpg","text":"TemporaryFile(/tmp/multipartBody7877180599561797500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316903219,"filename":"image_16112025_17_42_34_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45b429ab301494c4eb2f142409ee3438.jpg","text":"TemporaryFile(/tmp/multipartBody2805202885997874605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316903219,"filename":"image_16112025_17_42_40_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/177e93b4fe9395d764bd0ec97a44faa1.jpg","text":"TemporaryFile(/tmp/multipartBody1229620541548814173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316903219,"filename":"image_16112025_17_42_28_3900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762831","file1":"1394762829","file0":"1394762828","file4":"1394762834","file5":"1394762838","file3":"1394762832"},"map_files_photo_id_array":[{"photo_id":"1394762838","filename":"file5"},{"photo_id":"1394762831","filename":"file2"},{"photo_id":"1394762834","filename":"file4"},{"photo_id":"1394762829","filename":"file1"},{"photo_id":"1394762828","filename":"file0"},{"photo_id":"1394762832","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762832":["hashtag1","hashtag2"]},{"1394762829":["hashtag1","hashtag2"]},{"1394762838":["hashtag1","hashtag2"]},{"1394762831":["hashtag1","hashtag2"]},{"1394762834":["hashtag1","hashtag2"]},{"1394762828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762832, 1394762829, 1394762838, 1394762831, 1394762834, 1394762828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71313786506653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:14:41.836332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_46_3522.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_49_2717.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_52_3619.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_55_2611.jpg', '/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_57_2635.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_02_4138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_46_3522.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_49_2717.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_52_3619.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_55_2611.jpg
/home/pi/Desktop/images/16112025/17/42/image_16112025_17_42_57_2635.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_02_4138.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762845","1394762844","1394762847","1394762841","1394762843","1394762846"],"photo_ids_order":["1394762841","1394762843","1394762844","1394762845","1394762846","1394762847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/157bc63b271e9876e002ee3e6e45b323.jpg","text":"TemporaryFile(/tmp/multipartBody8312964411476630076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316942462,"filename":"image_16112025_17_42_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/11/16/6aa65d5043c12da47b6ba181b096942c.jpg","text":"TemporaryFile(/tmp/multipartBody2018265199723374719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316942462,"filename":"image_16112025_17_42_52_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e93ea1521dc21689f1441736dd94efc4.jpg","text":"TemporaryFile(/tmp/multipartBody7127994895881633823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316942462,"filename":"image_16112025_17_43_02_4138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/225882a7aafb25f4df945c53285c6522.jpg","text":"TemporaryFile(/tmp/multipartBody1166930204426186472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316942462,"filename":"image_16112025_17_42_46_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb837716c5b3202b9913d57c705fa91d.jpg","text":"TemporaryFile(/tmp/multipartBody5584660887148719825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316942462,"filename":"image_16112025_17_42_49_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cd7680a2b10c4eeee84283b0570955a.jpg","text":"TemporaryFile(/tmp/multipartBody3718220148188044429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316942462,"filename":"image_16112025_17_42_57_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762844","file1":"1394762843","file0":"1394762841","file4":"1394762846","file5":"1394762847","file3":"1394762845"},"map_files_photo_id_array":[{"photo_id":"1394762847","filename":"file5"},{"photo_id":"1394762844","filename":"file2"},{"photo_id":"1394762846","filename":"file4"},{"photo_id":"1394762843","filename":"file1"},{"photo_id":"1394762841","filename":"file0"},{"photo_id":"1394762845","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762845":["hashtag1","hashtag2"]},{"1394762844":["hashtag1","hashtag2"]},{"1394762847":["hashtag1","hashtag2"]},{"1394762841":["hashtag1","hashtag2"]},{"1394762843":["hashtag1","hashtag2"]},{"1394762846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762845, 1394762844, 1394762847, 1394762841, 1394762843, 1394762846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.235074043273926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:15:22.070822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_04_2627.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_07_2538.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_09_2724.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_13_3551.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_16_2813.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_18_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_04_2627.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_07_2538.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_09_2724.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_13_3551.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_16_2813.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_18_2515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762854","1394762848","1394762850","1394762853","1394762856","1394762852"],"photo_ids_order":["1394762848","1394762850","1394762852","1394762853","1394762854","1394762856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d2070ddb889b46428fcdb076daef5e2.jpg","text":"TemporaryFile(/tmp/multipartBody5022211575477486928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316982664,"filename":"image_16112025_17_43_16_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e048ef73913273813fdf6c49178b7e59.jpg","text":"TemporaryFile(/tmp/multipartBody2134142745008280711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316982664,"filename":"image_16112025_17_43_04_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad1176603cbed8a78e9dbcc2a6276eda.jpg","text":"TemporaryFile(/tmp/multipartBody7642767605747733441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316982664,"filename":"image_16112025_17_43_07_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/174e4d62db6a7371277c0ba77e2be66e.jpg","text":"TemporaryFile(/tmp/multipartBody6792285121964385425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316982664,"filename":"image_16112025_17_43_13_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/612b7d64cf1b53f0f2f7c431140ed767.jpg","text":"TemporaryFile(/tmp/multipartBody7463541117874627124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316982664,"filename":"image_16112025_17_43_18_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6c2de12c8dc1da62ea499034408fc1a.jpg","text":"TemporaryFile(/tmp/multipartBody557168438409926088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763316982664,"filename":"image_16112025_17_43_09_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762852","file1":"1394762850","file0":"1394762848","file4":"1394762854","file5":"1394762856","file3":"1394762853"},"map_files_photo_id_array":[{"photo_id":"1394762856","filename":"file5"},{"photo_id":"1394762852","filename":"file2"},{"photo_id":"1394762854","filename":"file4"},{"photo_id":"1394762850","filename":"file1"},{"photo_id":"1394762848","filename":"file0"},{"photo_id":"1394762853","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762854":["hashtag1","hashtag2"]},{"1394762848":["hashtag1","hashtag2"]},{"1394762850":["hashtag1","hashtag2"]},{"1394762853":["hashtag1","hashtag2"]},{"1394762856":["hashtag1","hashtag2"]},{"1394762852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762854, 1394762848, 1394762850, 1394762853, 1394762856, 1394762852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9735951423645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:16:02.729768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_22_3592.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_24_2524.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_28_3568.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_31_2662.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_33_2652.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_37_3557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_22_3592.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_24_2524.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_28_3568.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_31_2662.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_33_2652.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_37_3557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762860","1394762863","1394762857","1394762859","1394762861","1394762858"],"photo_ids_order":["1394762857","1394762858","1394762859","1394762860","1394762861","1394762863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1ee8953a5d0c48d41d89a4ffca30975.jpg","text":"TemporaryFile(/tmp/multipartBody4259433602256093758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317023370,"filename":"image_16112025_17_43_31_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7930c415c9a5eaa2cfb03454ed689778.jpg","text":"TemporaryFile(/tmp/multipartBody1393567268601115813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317023370,"filename":"image_16112025_17_43_37_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8726a689711503e66431fe33cae41ee.jpg","text":"TemporaryFile(/tmp/multipartBody5679495021395978953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317023370,"filename":"image_16112025_17_43_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/11/16/d8084d9b342c46fd429b32c8e13fc7e7.jpg","text":"TemporaryFile(/tmp/multipartBody6792384841260716416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317023370,"filename":"image_16112025_17_43_28_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5e988de5e4f22b329999a7f1f20cf7f.jpg","text":"TemporaryFile(/tmp/multipartBody8401417718732610580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317023370,"filename":"image_16112025_17_43_33_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5e2674c85097c38fcabbe0afcfb524e.jpg","text":"TemporaryFile(/tmp/multipartBody5016043441399193807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317023370,"filename":"image_16112025_17_43_24_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762859","file1":"1394762858","file0":"1394762857","file4":"1394762861","file5":"1394762863","file3":"1394762860"},"map_files_photo_id_array":[{"photo_id":"1394762863","filename":"file5"},{"photo_id":"1394762859","filename":"file2"},{"photo_id":"1394762861","filename":"file4"},{"photo_id":"1394762858","filename":"file1"},{"photo_id":"1394762857","filename":"file0"},{"photo_id":"1394762860","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762860":["hashtag1","hashtag2"]},{"1394762863":["hashtag1","hashtag2"]},{"1394762857":["hashtag1","hashtag2"]},{"1394762859":["hashtag1","hashtag2"]},{"1394762861":["hashtag1","hashtag2"]},{"1394762858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762860, 1394762863, 1394762857, 1394762859, 1394762861, 1394762858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.312621116638184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:16:42.313643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_40_2705.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_43_3577.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_46_2710.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_49_2619.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_51_2683.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_55_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_40_2705.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_43_3577.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_46_2710.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_49_2619.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_51_2683.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_55_3790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762866","1394762869","1394762871","1394762868","1394762867","1394762870"],"photo_ids_order":["1394762866","1394762867","1394762868","1394762869","1394762870","1394762871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b75318ddac1f32ac1c1495d6570bbd48.jpg","text":"TemporaryFile(/tmp/multipartBody6443499955274130061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317062910,"filename":"image_16112025_17_43_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/11/16/3526507ac7a76015f436e76be95f8f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2342272156383044949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317062910,"filename":"image_16112025_17_43_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/11/16/19cfe805a92428289e948225c509bed7.jpg","text":"TemporaryFile(/tmp/multipartBody4750030581951803332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317062910,"filename":"image_16112025_17_43_55_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ad32fcec3842e461d02e8b527e8ecb0.jpg","text":"TemporaryFile(/tmp/multipartBody3098449072060211264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317062910,"filename":"image_16112025_17_43_46_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6fdc81f9f160a55a81810f58ffc192c.jpg","text":"TemporaryFile(/tmp/multipartBody4966794274886336594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317062910,"filename":"image_16112025_17_43_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/11/16/fb46cd3ba8b59ead9258a962b8bc9691.jpg","text":"TemporaryFile(/tmp/multipartBody3614431827501698125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317062910,"filename":"image_16112025_17_43_51_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762868","file1":"1394762867","file0":"1394762866","file4":"1394762870","file5":"1394762871","file3":"1394762869"},"map_files_photo_id_array":[{"photo_id":"1394762871","filename":"file5"},{"photo_id":"1394762868","filename":"file2"},{"photo_id":"1394762870","filename":"file4"},{"photo_id":"1394762867","filename":"file1"},{"photo_id":"1394762866","filename":"file0"},{"photo_id":"1394762869","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762866":["hashtag1","hashtag2"]},{"1394762869":["hashtag1","hashtag2"]},{"1394762871":["hashtag1","hashtag2"]},{"1394762868":["hashtag1","hashtag2"]},{"1394762867":["hashtag1","hashtag2"]},{"1394762870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762866, 1394762869, 1394762871, 1394762868, 1394762867, 1394762870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.348556995391846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:17:22.577657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_58_2713.jpg', '/home/pi/Desktop/images/16112025/17/43/image_16112025_17_44_00_2619.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_04_3627.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_07_2940.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_10_2863.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_12_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_43_58_2713.jpg
/home/pi/Desktop/images/16112025/17/43/image_16112025_17_44_00_2619.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_04_3627.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_07_2940.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_10_2863.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_12_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762881","1394762875","1394762883","1394762877","1394762873","1394762879"],"photo_ids_order":["1394762873","1394762875","1394762877","1394762879","1394762881","1394762883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c2dd4160f6d8e868778500c893cc7f3.jpg","text":"TemporaryFile(/tmp/multipartBody1995598480860151622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317105832,"filename":"image_16112025_17_44_10_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f4cec660a30fa89d9fe0b9fc51c8777e.jpg","text":"TemporaryFile(/tmp/multipartBody2427308937941511161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317105832,"filename":"image_16112025_17_44_00_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06f2aea4274fa77e7150297fad6c9351.jpg","text":"TemporaryFile(/tmp/multipartBody3759752809773325044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317105832,"filename":"image_16112025_17_44_12_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/143ac0a17a0c6224d38a859c48543cfb.jpg","text":"TemporaryFile(/tmp/multipartBody269649847463218390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317105832,"filename":"image_16112025_17_44_04_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b603899ac750c141b8fc93c0daa86d8a.jpg","text":"TemporaryFile(/tmp/multipartBody6214204727884272012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317105832,"filename":"image_16112025_17_43_58_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af38bd15aafccfbbb65b35d63fb1354a.jpg","text":"TemporaryFile(/tmp/multipartBody7734406035398336791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317105832,"filename":"image_16112025_17_44_07_2940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762877","file1":"1394762875","file0":"1394762873","file4":"1394762881","file5":"1394762883","file3":"1394762879"},"map_files_photo_id_array":[{"photo_id":"1394762883","filename":"file5"},{"photo_id":"1394762877","filename":"file2"},{"photo_id":"1394762881","filename":"file4"},{"photo_id":"1394762875","filename":"file1"},{"photo_id":"1394762873","filename":"file0"},{"photo_id":"1394762879","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762881":["hashtag1","hashtag2"]},{"1394762875":["hashtag1","hashtag2"]},{"1394762883":["hashtag1","hashtag2"]},{"1394762877":["hashtag1","hashtag2"]},{"1394762873":["hashtag1","hashtag2"]},{"1394762879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762881, 1394762875, 1394762883, 1394762877, 1394762873, 1394762879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73619818687439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:18:02.317444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_16_3616.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_19_2603.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_21_2746.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_25_3515.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_27_2621.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_30_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_16_3616.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_19_2603.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_21_2746.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_25_3515.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_27_2621.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_30_3014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762887","1394762889","1394762886","1394762891","1394762885","1394762884"],"photo_ids_order":["1394762884","1394762885","1394762886","1394762887","1394762889","1394762891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cecfa0c20bf69148d3ef379bd49950f.jpg","text":"TemporaryFile(/tmp/multipartBody5721868962006157499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317142958,"filename":"image_16112025_17_44_25_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d7f3b3fb86b04d503ebdd39c569e24b.jpg","text":"TemporaryFile(/tmp/multipartBody1128890367226732478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317142958,"filename":"image_16112025_17_44_27_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27767c3fa39ae25d5613244e85a88118.jpg","text":"TemporaryFile(/tmp/multipartBody2140100197391038333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317142958,"filename":"image_16112025_17_44_21_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cf50481df3cc5a6d3e7103a488df891.jpg","text":"TemporaryFile(/tmp/multipartBody1719227638581156107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317142958,"filename":"image_16112025_17_44_30_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5638a41b4cda0fe8561eb7c8f7544521.jpg","text":"TemporaryFile(/tmp/multipartBody3653428414612562359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317142958,"filename":"image_16112025_17_44_19_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c593182dc766f48f8e8048221e156a4.jpg","text":"TemporaryFile(/tmp/multipartBody1741689009423005191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317142958,"filename":"image_16112025_17_44_16_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762886","file1":"1394762885","file0":"1394762884","file4":"1394762889","file5":"1394762891","file3":"1394762887"},"map_files_photo_id_array":[{"photo_id":"1394762891","filename":"file5"},{"photo_id":"1394762886","filename":"file2"},{"photo_id":"1394762889","filename":"file4"},{"photo_id":"1394762885","filename":"file1"},{"photo_id":"1394762884","filename":"file0"},{"photo_id":"1394762887","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762887":["hashtag1","hashtag2"]},{"1394762889":["hashtag1","hashtag2"]},{"1394762886":["hashtag1","hashtag2"]},{"1394762891":["hashtag1","hashtag2"]},{"1394762885":["hashtag1","hashtag2"]},{"1394762884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762887, 1394762889, 1394762886, 1394762891, 1394762885, 1394762884)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.46930193901062 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-11-16 19:19:21.463337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_33_2742.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_36_3035.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_40_3649.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_43_2652.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_45_2700.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_49_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_33_2742.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_36_3035.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_40_3649.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_43_2652.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_45_2700.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_49_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762903","1394762898","1394762901","1394762894","1394762900","1394762899"],"photo_ids_order":["1394762894","1394762898","1394762899","1394762900","1394762901","1394762903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/181829daf90c05426b8cf5ea6ae99b9a.jpg","text":"TemporaryFile(/tmp/multipartBody287069245267788221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317222094,"filename":"image_16112025_17_44_49_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74ca9da4f01a931ca4f137f223772ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5717135813901560603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317222094,"filename":"image_16112025_17_44_36_3035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf91d2d67c7a311e52cfd2f578a8a7a4.jpg","text":"TemporaryFile(/tmp/multipartBody2745819226298967328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317222094,"filename":"image_16112025_17_44_45_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1129f392fb2d38c6ea9f4d4fd009a295.jpg","text":"TemporaryFile(/tmp/multipartBody6122893150519652109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317222094,"filename":"image_16112025_17_44_33_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/260e4edd9a04016e1b6fe5aaca6444fa.jpg","text":"TemporaryFile(/tmp/multipartBody7482777177758285428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317222094,"filename":"image_16112025_17_44_43_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6dec020d9599c036ac1aab2628e00d95.jpg","text":"TemporaryFile(/tmp/multipartBody8099587147825980325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317222094,"filename":"image_16112025_17_44_40_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762899","file1":"1394762898","file0":"1394762894","file4":"1394762901","file5":"1394762903","file3":"1394762900"},"map_files_photo_id_array":[{"photo_id":"1394762903","filename":"file5"},{"photo_id":"1394762899","filename":"file2"},{"photo_id":"1394762901","filename":"file4"},{"photo_id":"1394762898","filename":"file1"},{"photo_id":"1394762894","filename":"file0"},{"photo_id":"1394762900","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762903":["hashtag1","hashtag2"]},{"1394762898":["hashtag1","hashtag2"]},{"1394762901":["hashtag1","hashtag2"]},{"1394762894":["hashtag1","hashtag2"]},{"1394762900":["hashtag1","hashtag2"]},{"1394762899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762903, 1394762898, 1394762901, 1394762894, 1394762900, 1394762899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18447256088257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:20:03.198747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_52_2613.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_54_2549.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_58_3628.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_45_00_2525.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_07_3011.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_10_3495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_52_2613.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_54_2549.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_58_3628.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_45_00_2525.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_07_3011.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_10_3495.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.54390549659729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:20:24.108869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_52_2613.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_54_2549.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_58_3628.jpg', '/home/pi/Desktop/images/16112025/17/44/image_16112025_17_45_00_2525.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_07_3011.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_10_3495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_52_2613.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_54_2549.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_44_58_3628.jpg
/home/pi/Desktop/images/16112025/17/44/image_16112025_17_45_00_2525.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_07_3011.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_10_3495.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762920","1394762917","1394762916","1394762919","1394762918","1394762915"],"photo_ids_order":["1394762915","1394762916","1394762917","1394762918","1394762919","1394762920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e7fad2d72dd0ab39866ac1b3b6f6a76.jpg","text":"TemporaryFile(/tmp/multipartBody1270438191845346642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317284743,"filename":"image_16112025_17_45_10_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06b4d0d695f2af8b4e5b176522130a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3172746262629631367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317284743,"filename":"image_16112025_17_44_58_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e99947c8924c668063b688ffba0f7beb.jpg","text":"TemporaryFile(/tmp/multipartBody513652664978299474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317284743,"filename":"image_16112025_17_44_54_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12f2683f80a0d0d9686eaf3933b29da8.jpg","text":"TemporaryFile(/tmp/multipartBody8159822230661752620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317284743,"filename":"image_16112025_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/11/16/3ac501d4530355aa6b855a03f59bc2ca.jpg","text":"TemporaryFile(/tmp/multipartBody7784789348194285184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317284743,"filename":"image_16112025_17_45_00_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f95a49793a08ed53b07e1eb8df74aa6e.jpg","text":"TemporaryFile(/tmp/multipartBody2441702335231066612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317284743,"filename":"image_16112025_17_44_52_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762917","file1":"1394762916","file0":"1394762915","file4":"1394762919","file5":"1394762920","file3":"1394762918"},"map_files_photo_id_array":[{"photo_id":"1394762920","filename":"file5"},{"photo_id":"1394762917","filename":"file2"},{"photo_id":"1394762919","filename":"file4"},{"photo_id":"1394762916","filename":"file1"},{"photo_id":"1394762915","filename":"file0"},{"photo_id":"1394762918","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762920":["hashtag1","hashtag2"]},{"1394762917":["hashtag1","hashtag2"]},{"1394762916":["hashtag1","hashtag2"]},{"1394762919":["hashtag1","hashtag2"]},{"1394762918":["hashtag1","hashtag2"]},{"1394762915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762920, 1394762917, 1394762916, 1394762919, 1394762918, 1394762915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61616039276123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:21:02.540842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_13_2682.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_17_3648.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_19_2648.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_22_2769.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_26_3578.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_28_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_13_2682.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_17_3648.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_19_2648.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_22_2769.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_26_3578.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_28_2552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762923","1394762928","1394762922","1394762924","1394762927","1394762921"],"photo_ids_order":["1394762921","1394762922","1394762923","1394762924","1394762927","1394762928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a803ed267aa3e81fdd777ea757e4d7a5.jpg","text":"TemporaryFile(/tmp/multipartBody7310799673155537346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317323268,"filename":"image_16112025_17_45_19_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ddccdd1bfc06ab2991d71f8320aabf5.jpg","text":"TemporaryFile(/tmp/multipartBody8723173128449693920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317323268,"filename":"image_16112025_17_45_28_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/026f0a494e765241134212cef4986b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4663987466616897487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317323268,"filename":"image_16112025_17_45_17_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2c826b65f47e7ae4047b230d1143021.jpg","text":"TemporaryFile(/tmp/multipartBody5570946192224823433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317323268,"filename":"image_16112025_17_45_22_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05a89d30193a148a6c05a5447facfb67.jpg","text":"TemporaryFile(/tmp/multipartBody1264673368094048704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317323268,"filename":"image_16112025_17_45_26_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85602845a1f3c04546af41ee23cb7ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2205819387171251647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317323268,"filename":"image_16112025_17_45_13_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762923","file1":"1394762922","file0":"1394762921","file4":"1394762927","file5":"1394762928","file3":"1394762924"},"map_files_photo_id_array":[{"photo_id":"1394762928","filename":"file5"},{"photo_id":"1394762923","filename":"file2"},{"photo_id":"1394762927","filename":"file4"},{"photo_id":"1394762922","filename":"file1"},{"photo_id":"1394762921","filename":"file0"},{"photo_id":"1394762924","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762923":["hashtag1","hashtag2"]},{"1394762928":["hashtag1","hashtag2"]},{"1394762922":["hashtag1","hashtag2"]},{"1394762924":["hashtag1","hashtag2"]},{"1394762927":["hashtag1","hashtag2"]},{"1394762921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762923, 1394762928, 1394762922, 1394762924, 1394762927, 1394762921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8829345703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:21:41.922068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_31_2708.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_35_3583.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_37_2507.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_41_3617.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_43_2603.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_46_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_31_2708.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_35_3583.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_37_2507.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_41_3617.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_43_2603.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_46_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762935","1394762929","1394762931","1394762934","1394762936","1394762933"],"photo_ids_order":["1394762929","1394762931","1394762933","1394762934","1394762935","1394762936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2eeb64cb835291bb3baaf228de0500e.jpg","text":"TemporaryFile(/tmp/multipartBody5636566232154100795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317362528,"filename":"image_16112025_17_45_43_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fb695e1010dad380459b5021fd36b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7713278194765911232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317362528,"filename":"image_16112025_17_45_31_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0f23de58f3805881283079aa604e210.jpg","text":"TemporaryFile(/tmp/multipartBody1428885918579074669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317362528,"filename":"image_16112025_17_45_35_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d237e73c6f01485f18e687a6f5c6044.jpg","text":"TemporaryFile(/tmp/multipartBody2530454449693962424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317362528,"filename":"image_16112025_17_45_41_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c0d9564b4646186400c46d3908c95c8.jpg","text":"TemporaryFile(/tmp/multipartBody7085191002947261866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317362528,"filename":"image_16112025_17_45_46_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8f9e3335a91d5174f4a1fed8f0a8a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1500138094363053033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317362528,"filename":"image_16112025_17_45_37_2507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762933","file1":"1394762931","file0":"1394762929","file4":"1394762935","file5":"1394762936","file3":"1394762934"},"map_files_photo_id_array":[{"photo_id":"1394762936","filename":"file5"},{"photo_id":"1394762933","filename":"file2"},{"photo_id":"1394762935","filename":"file4"},{"photo_id":"1394762931","filename":"file1"},{"photo_id":"1394762929","filename":"file0"},{"photo_id":"1394762934","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762935":["hashtag1","hashtag2"]},{"1394762929":["hashtag1","hashtag2"]},{"1394762931":["hashtag1","hashtag2"]},{"1394762934":["hashtag1","hashtag2"]},{"1394762936":["hashtag1","hashtag2"]},{"1394762933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762935, 1394762929, 1394762931, 1394762934, 1394762936, 1394762933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51819562911987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:22:22.199307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_50_3497.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_52_2652.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_55_2734.jpg', '/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_59_3696.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_01_2691.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_04_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_50_3497.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_52_2652.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_55_2734.jpg
/home/pi/Desktop/images/16112025/17/45/image_16112025_17_45_59_3696.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_01_2691.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_04_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762947","1394762941","1394762944","1394762943","1394762940","1394762945"],"photo_ids_order":["1394762940","1394762941","1394762943","1394762944","1394762945","1394762947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41183738beb230dda3fd53bd7d3ac83e.jpg","text":"TemporaryFile(/tmp/multipartBody1220604291770858901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317402836,"filename":"image_16112025_17_46_04_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f1003c47e717384a4e31924a125b225.jpg","text":"TemporaryFile(/tmp/multipartBody4308106391829072032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317402836,"filename":"image_16112025_17_45_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/11/16/c615c797707308926191055f2be7a4c3.jpg","text":"TemporaryFile(/tmp/multipartBody5082466880521474203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317402836,"filename":"image_16112025_17_45_59_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/415fe6a36ea54a872e556c82fcc5790f.jpg","text":"TemporaryFile(/tmp/multipartBody1663028405331492129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317402836,"filename":"image_16112025_17_45_55_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9173f78c1a68e84c23ba92f0fa307d1c.jpg","text":"TemporaryFile(/tmp/multipartBody4062448079889546496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317402836,"filename":"image_16112025_17_45_50_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83b179666254905eb6a6e5dfdb61bff6.jpg","text":"TemporaryFile(/tmp/multipartBody6380772551544278619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317402836,"filename":"image_16112025_17_46_01_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762943","file1":"1394762941","file0":"1394762940","file4":"1394762945","file5":"1394762947","file3":"1394762944"},"map_files_photo_id_array":[{"photo_id":"1394762947","filename":"file5"},{"photo_id":"1394762943","filename":"file2"},{"photo_id":"1394762945","filename":"file4"},{"photo_id":"1394762941","filename":"file1"},{"photo_id":"1394762940","filename":"file0"},{"photo_id":"1394762944","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762947":["hashtag1","hashtag2"]},{"1394762941":["hashtag1","hashtag2"]},{"1394762944":["hashtag1","hashtag2"]},{"1394762943":["hashtag1","hashtag2"]},{"1394762940":["hashtag1","hashtag2"]},{"1394762945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762947, 1394762941, 1394762944, 1394762943, 1394762940, 1394762945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.528499603271484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:23:02.945123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_08_3603.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_10_2567.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_13_2724.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_17_3664.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_19_2623.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_22_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_08_3603.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_10_2567.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_13_2724.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_17_3664.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_19_2623.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_22_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762950","1394762953","1394762949","1394762954","1394762948","1394762951"],"photo_ids_order":["1394762948","1394762949","1394762950","1394762951","1394762953","1394762954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c4aa978bbe1297ccf738a5f8d27108b.jpg","text":"TemporaryFile(/tmp/multipartBody3692675632836840790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317443637,"filename":"image_16112025_17_46_13_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/864b3091c965ede5b0d58b423a4d79f7.jpg","text":"TemporaryFile(/tmp/multipartBody8023363596861729106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317443637,"filename":"image_16112025_17_46_19_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6db15c655c774c9e3fba0c5fb56f481.jpg","text":"TemporaryFile(/tmp/multipartBody423265230526344060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317443637,"filename":"image_16112025_17_46_10_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0acc299068871f6367546738ce69cd49.jpg","text":"TemporaryFile(/tmp/multipartBody1831165973410981286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317443637,"filename":"image_16112025_17_46_22_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69fdb4850adb0018d0602f97df28ce05.jpg","text":"TemporaryFile(/tmp/multipartBody1003884766323815649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317443637,"filename":"image_16112025_17_46_08_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51c82ffcc0f9daa6c7d58aa78a3a7a31.jpg","text":"TemporaryFile(/tmp/multipartBody4328669060632357292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317443637,"filename":"image_16112025_17_46_17_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762950","file1":"1394762949","file0":"1394762948","file4":"1394762953","file5":"1394762954","file3":"1394762951"},"map_files_photo_id_array":[{"photo_id":"1394762954","filename":"file5"},{"photo_id":"1394762950","filename":"file2"},{"photo_id":"1394762953","filename":"file4"},{"photo_id":"1394762949","filename":"file1"},{"photo_id":"1394762948","filename":"file0"},{"photo_id":"1394762951","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762950":["hashtag1","hashtag2"]},{"1394762953":["hashtag1","hashtag2"]},{"1394762949":["hashtag1","hashtag2"]},{"1394762954":["hashtag1","hashtag2"]},{"1394762948":["hashtag1","hashtag2"]},{"1394762951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762950, 1394762953, 1394762949, 1394762954, 1394762948, 1394762951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0836079120636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:23:42.288984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_25_3681.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_28_2762.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_31_2538.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_34_3628.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_37_2755.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_40_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_25_3681.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_28_2762.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_31_2538.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_34_3628.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_37_2755.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_40_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762971","1394762968","1394762970","1394762966","1394762969","1394762963"],"photo_ids_order":["1394762963","1394762966","1394762968","1394762969","1394762970","1394762971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39f78aafbfdf6f91df2864efeb51078e.jpg","text":"TemporaryFile(/tmp/multipartBody5307258041792238686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317489001,"filename":"image_16112025_17_46_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/11/16/1314c333e76e566ce5984d2e944f9155.jpg","text":"TemporaryFile(/tmp/multipartBody7989359019280837956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317489001,"filename":"image_16112025_17_46_31_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1670848044854629a2f59ae1e56b23b.jpg","text":"TemporaryFile(/tmp/multipartBody1682206771424402504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317489001,"filename":"image_16112025_17_46_37_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0beaeb3e3140a04ccc2c20d53fb9a360.jpg","text":"TemporaryFile(/tmp/multipartBody2075582226733579947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317489001,"filename":"image_16112025_17_46_28_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/794e5aeec8d7c0af2ba13445e962c073.jpg","text":"TemporaryFile(/tmp/multipartBody8043032812873336317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317489001,"filename":"image_16112025_17_46_34_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfffa4404e7bce62c843e7f4544efceb.jpg","text":"TemporaryFile(/tmp/multipartBody97830812872428452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317489001,"filename":"image_16112025_17_46_25_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762968","file1":"1394762966","file0":"1394762963","file4":"1394762970","file5":"1394762971","file3":"1394762969"},"map_files_photo_id_array":[{"photo_id":"1394762971","filename":"file5"},{"photo_id":"1394762968","filename":"file2"},{"photo_id":"1394762970","filename":"file4"},{"photo_id":"1394762966","filename":"file1"},{"photo_id":"1394762963","filename":"file0"},{"photo_id":"1394762969","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762971":["hashtag1","hashtag2"]},{"1394762968":["hashtag1","hashtag2"]},{"1394762970":["hashtag1","hashtag2"]},{"1394762966":["hashtag1","hashtag2"]},{"1394762969":["hashtag1","hashtag2"]},{"1394762963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762971, 1394762968, 1394762970, 1394762966, 1394762969, 1394762963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.410484075546265 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 3
2025-11-16 19:24:42.331102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_43_3567.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_46_2772.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_49_2712.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_52_2847.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_55_3671.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_58_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_43_3567.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_46_2772.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_49_2712.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_52_2847.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_55_3671.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_58_2620.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.5867640972137451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:25:03.160121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_43_3567.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_46_2772.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_49_2712.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_52_2847.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_55_3671.jpg', '/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_58_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_43_3567.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_46_2772.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_49_2712.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_52_2847.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_55_3671.jpg
/home/pi/Desktop/images/16112025/17/46/image_16112025_17_46_58_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762986","1394762989","1394762985","1394762984","1394762987","1394762983"],"photo_ids_order":["1394762983","1394762984","1394762985","1394762986","1394762987","1394762989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a7289a6ba0fb66cb7bba4554ec1f81a.jpg","text":"TemporaryFile(/tmp/multipartBody2495207683605599795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317563846,"filename":"image_16112025_17_46_52_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d61ae2307cb1a376500059ffbcb8f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3226147208889395086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317563846,"filename":"image_16112025_17_46_58_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8e37fd79c9d386e5ee6b4a79d77bf5e.jpg","text":"TemporaryFile(/tmp/multipartBody4655519129873299711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317563846,"filename":"image_16112025_17_46_49_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6a6e2236ad33eb5d7d8c489eee5a867.jpg","text":"TemporaryFile(/tmp/multipartBody886332052395585868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317563846,"filename":"image_16112025_17_46_46_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80039633ab5c0e7e6e75d9e650111a92.jpg","text":"TemporaryFile(/tmp/multipartBody5493613762613876504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317563846,"filename":"image_16112025_17_46_55_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82bf5ccf503dd7126688cfe64b197c66.jpg","text":"TemporaryFile(/tmp/multipartBody4066086045772213316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317563846,"filename":"image_16112025_17_46_43_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762985","file1":"1394762984","file0":"1394762983","file4":"1394762987","file5":"1394762989","file3":"1394762986"},"map_files_photo_id_array":[{"photo_id":"1394762989","filename":"file5"},{"photo_id":"1394762985","filename":"file2"},{"photo_id":"1394762987","filename":"file4"},{"photo_id":"1394762984","filename":"file1"},{"photo_id":"1394762983","filename":"file0"},{"photo_id":"1394762986","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762986":["hashtag1","hashtag2"]},{"1394762989":["hashtag1","hashtag2"]},{"1394762985":["hashtag1","hashtag2"]},{"1394762984":["hashtag1","hashtag2"]},{"1394762987":["hashtag1","hashtag2"]},{"1394762983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762986, 1394762989, 1394762985, 1394762984, 1394762987, 1394762983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56799578666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:25:42.595576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_01_2717.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_04_3601.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_07_2631.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_10_2800.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_14_3664.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_16_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_01_2717.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_04_3601.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_07_2631.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_10_2800.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_14_3664.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_16_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394762997","1394762991","1394762999","1394762990","1394762993","1394762995"],"photo_ids_order":["1394762990","1394762991","1394762993","1394762995","1394762997","1394762999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/927c384a7ffd79c5c00415edc7208bea.jpg","text":"TemporaryFile(/tmp/multipartBody8956720335836184598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317603225,"filename":"image_16112025_17_47_14_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/084fcd67c2c538a57b5f83b25c47bddc.jpg","text":"TemporaryFile(/tmp/multipartBody5567802925944064034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317603225,"filename":"image_16112025_17_47_04_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/113862d28c7d8577c19dfb1b8b8e253d.jpg","text":"TemporaryFile(/tmp/multipartBody2830236910540115049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317603225,"filename":"image_16112025_17_47_16_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eab3c384059d68a4bae98723e3532b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6578131920644510311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317603225,"filename":"image_16112025_17_47_01_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0986f9bfdc0e78575e72794677c7b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody1963654006774688541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317603225,"filename":"image_16112025_17_47_07_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2359cfe0d07b7fd69d92a85862f8ea26.jpg","text":"TemporaryFile(/tmp/multipartBody5460138477607086889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317603225,"filename":"image_16112025_17_47_10_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394762993","file1":"1394762991","file0":"1394762990","file4":"1394762997","file5":"1394762999","file3":"1394762995"},"map_files_photo_id_array":[{"photo_id":"1394762999","filename":"file5"},{"photo_id":"1394762993","filename":"file2"},{"photo_id":"1394762997","filename":"file4"},{"photo_id":"1394762991","filename":"file1"},{"photo_id":"1394762990","filename":"file0"},{"photo_id":"1394762995","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394762997":["hashtag1","hashtag2"]},{"1394762991":["hashtag1","hashtag2"]},{"1394762999":["hashtag1","hashtag2"]},{"1394762990":["hashtag1","hashtag2"]},{"1394762993":["hashtag1","hashtag2"]},{"1394762995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394762997, 1394762991, 1394762999, 1394762990, 1394762993, 1394762995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.044432163238525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:26:27.161397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_19_2669.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_22_2711.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_25_3593.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_28_2815.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_31_2700.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_34_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_19_2669.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_22_2711.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_25_3593.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_28_2815.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_31_2700.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_34_3538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763013","1394763004","1394763006","1394763009","1394763011","1394763014"],"photo_ids_order":["1394763004","1394763006","1394763009","1394763011","1394763013","1394763014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d005a2e105bbc920d4df53c11f76c18.jpg","text":"TemporaryFile(/tmp/multipartBody2662327573916493369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317647772,"filename":"image_16112025_17_47_31_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5c1f1b31d74f7a048403051e6a2d547.jpg","text":"TemporaryFile(/tmp/multipartBody8246808079991747367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317647772,"filename":"image_16112025_17_47_19_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c3304daa01f3faec6ce203122a41adb.jpg","text":"TemporaryFile(/tmp/multipartBody6472685870500838877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317647772,"filename":"image_16112025_17_47_22_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74e4cb76bf8148571c3bd7f24fbdee80.jpg","text":"TemporaryFile(/tmp/multipartBody1263123453979229931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317647772,"filename":"image_16112025_17_47_25_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9d74f490d3b986cc145fb024721fa08.jpg","text":"TemporaryFile(/tmp/multipartBody7372180163244832281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317647772,"filename":"image_16112025_17_47_28_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfb00bbc9af6d275ef9f83e1c8e13d58.jpg","text":"TemporaryFile(/tmp/multipartBody5348087070434631189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317647772,"filename":"image_16112025_17_47_34_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763009","file1":"1394763006","file0":"1394763004","file4":"1394763013","file5":"1394763014","file3":"1394763011"},"map_files_photo_id_array":[{"photo_id":"1394763014","filename":"file5"},{"photo_id":"1394763009","filename":"file2"},{"photo_id":"1394763013","filename":"file4"},{"photo_id":"1394763006","filename":"file1"},{"photo_id":"1394763004","filename":"file0"},{"photo_id":"1394763011","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763013":["hashtag1","hashtag2"]},{"1394763004":["hashtag1","hashtag2"]},{"1394763006":["hashtag1","hashtag2"]},{"1394763009":["hashtag1","hashtag2"]},{"1394763011":["hashtag1","hashtag2"]},{"1394763014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763013, 1394763004, 1394763006, 1394763009, 1394763011, 1394763014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.210570335388184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:27:03.014353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_37_2545.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_40_2766.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_43_3691.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_46_2669.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_50_3566.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_52_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_37_2545.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_40_2766.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_43_3691.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_46_2669.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_50_3566.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_52_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763022","1394763025","1394763019","1394763015","1394763017","1394763020"],"photo_ids_order":["1394763015","1394763017","1394763019","1394763020","1394763022","1394763025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed52f85cf7e269b37378c2110d968da1.jpg","text":"TemporaryFile(/tmp/multipartBody535596735975198092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317683693,"filename":"image_16112025_17_47_50_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75bd06639596e2f6f13a7b561fe678c4.jpg","text":"TemporaryFile(/tmp/multipartBody9198550140459177688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317683693,"filename":"image_16112025_17_47_52_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0d09bd38b5f7c16ebb946498f618d62.jpg","text":"TemporaryFile(/tmp/multipartBody4997807497122445507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317683693,"filename":"image_16112025_17_47_43_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29d043e9063e8bd9246e136f0c52181e.jpg","text":"TemporaryFile(/tmp/multipartBody8844306406587872139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317683693,"filename":"image_16112025_17_47_37_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5117e0e0b4c7c6bad9ea3ddd11cd1648.jpg","text":"TemporaryFile(/tmp/multipartBody4394932668893915177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317683693,"filename":"image_16112025_17_47_40_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4569ea922f5b532f8786454c95cb6166.jpg","text":"TemporaryFile(/tmp/multipartBody7514124724742865671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317683693,"filename":"image_16112025_17_47_46_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763019","file1":"1394763017","file0":"1394763015","file4":"1394763022","file5":"1394763025","file3":"1394763020"},"map_files_photo_id_array":[{"photo_id":"1394763025","filename":"file5"},{"photo_id":"1394763019","filename":"file2"},{"photo_id":"1394763022","filename":"file4"},{"photo_id":"1394763017","filename":"file1"},{"photo_id":"1394763015","filename":"file0"},{"photo_id":"1394763020","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763022":["hashtag1","hashtag2"]},{"1394763025":["hashtag1","hashtag2"]},{"1394763019":["hashtag1","hashtag2"]},{"1394763015":["hashtag1","hashtag2"]},{"1394763017":["hashtag1","hashtag2"]},{"1394763020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763022, 1394763025, 1394763019, 1394763015, 1394763017, 1394763020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.693522453308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:27:42.329242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_55_2627.jpg', '/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_58_3655.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_01_2605.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_04_2552.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_07_3618.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_10_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_55_2627.jpg
/home/pi/Desktop/images/16112025/17/47/image_16112025_17_47_58_3655.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_01_2605.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_04_2552.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_07_3618.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_10_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763037","1394763033","1394763035","1394763038","1394763032","1394763031"],"photo_ids_order":["1394763031","1394763032","1394763033","1394763035","1394763037","1394763038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1eb3521b8a08773c9379d498f091e6d0.jpg","text":"TemporaryFile(/tmp/multipartBody8868285932547227989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317723002,"filename":"image_16112025_17_48_07_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8e92edad68e1a555a1d5f965515991c.jpg","text":"TemporaryFile(/tmp/multipartBody243910432583408053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317723002,"filename":"image_16112025_17_48_01_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cec907ba71c8d422cea8dc49a25776b9.jpg","text":"TemporaryFile(/tmp/multipartBody3511585571774059530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317723002,"filename":"image_16112025_17_48_04_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df270aec7bb5f361cb674b21ed56159c.jpg","text":"TemporaryFile(/tmp/multipartBody6426592606903163482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317723002,"filename":"image_16112025_17_48_10_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ee49afadcea9e9675ad5e5488fc955c.jpg","text":"TemporaryFile(/tmp/multipartBody367597181531584087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317723002,"filename":"image_16112025_17_47_58_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae61e28e1f8cc008d6271a4475de83c7.jpg","text":"TemporaryFile(/tmp/multipartBody719871478228975273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317723002,"filename":"image_16112025_17_47_55_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763033","file1":"1394763032","file0":"1394763031","file4":"1394763037","file5":"1394763038","file3":"1394763035"},"map_files_photo_id_array":[{"photo_id":"1394763038","filename":"file5"},{"photo_id":"1394763033","filename":"file2"},{"photo_id":"1394763037","filename":"file4"},{"photo_id":"1394763032","filename":"file1"},{"photo_id":"1394763031","filename":"file0"},{"photo_id":"1394763035","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763037":["hashtag1","hashtag2"]},{"1394763033":["hashtag1","hashtag2"]},{"1394763035":["hashtag1","hashtag2"]},{"1394763038":["hashtag1","hashtag2"]},{"1394763032":["hashtag1","hashtag2"]},{"1394763031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763037, 1394763033, 1394763035, 1394763038, 1394763032, 1394763031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.939435720443726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:28:22.671044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_14_3670.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_16_2570.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_19_2777.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_22_2663.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_25_3542.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_28_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_14_3670.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_16_2570.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_19_2777.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_22_2663.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_25_3542.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_28_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763045","1394763054","1394763048","1394763047","1394763050","1394763052"],"photo_ids_order":["1394763045","1394763047","1394763048","1394763050","1394763052","1394763054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37c69ef014e7784a1fc22980f4c5f466.jpg","text":"TemporaryFile(/tmp/multipartBody4689388307687102337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317763322,"filename":"image_16112025_17_48_14_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bdc555b45fc53b3b7eef94f1e7872255.jpg","text":"TemporaryFile(/tmp/multipartBody1522316613342177925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317763322,"filename":"image_16112025_17_48_28_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b72d2b33005e0674f13bef70848e8d4.jpg","text":"TemporaryFile(/tmp/multipartBody1423072236001888598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317763322,"filename":"image_16112025_17_48_19_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/024963b924f6c09c8fb7b7b28bb27917.jpg","text":"TemporaryFile(/tmp/multipartBody334861182056052422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317763322,"filename":"image_16112025_17_48_16_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40d11f55f5e7ef193699d1415058a64e.jpg","text":"TemporaryFile(/tmp/multipartBody1802484119584175438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317763322,"filename":"image_16112025_17_48_22_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2796ba213243baf4d6051364e0aae28.jpg","text":"TemporaryFile(/tmp/multipartBody5201343786408127707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317763322,"filename":"image_16112025_17_48_25_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763048","file1":"1394763047","file0":"1394763045","file4":"1394763052","file5":"1394763054","file3":"1394763050"},"map_files_photo_id_array":[{"photo_id":"1394763054","filename":"file5"},{"photo_id":"1394763048","filename":"file2"},{"photo_id":"1394763052","filename":"file4"},{"photo_id":"1394763047","filename":"file1"},{"photo_id":"1394763045","filename":"file0"},{"photo_id":"1394763050","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763045":["hashtag1","hashtag2"]},{"1394763054":["hashtag1","hashtag2"]},{"1394763048":["hashtag1","hashtag2"]},{"1394763047":["hashtag1","hashtag2"]},{"1394763050":["hashtag1","hashtag2"]},{"1394763052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763045, 1394763054, 1394763048, 1394763047, 1394763050, 1394763052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49439883232117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:29:02.904840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_31_3517.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_34_2644.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_37_3611.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_40_2760.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_43_2709.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_46_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_31_3517.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_34_2644.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_37_3611.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_40_2760.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_43_2709.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_46_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763055","1394763057","1394763065","1394763062","1394763059","1394763058"],"photo_ids_order":["1394763055","1394763057","1394763058","1394763059","1394763062","1394763065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c89ff4222befb2016a5d6b1f550e1cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4450205110060991768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317803740,"filename":"image_16112025_17_48_31_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4cd6aff09a2ca31a8883248ee87aa70.jpg","text":"TemporaryFile(/tmp/multipartBody847781556514553330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317803740,"filename":"image_16112025_17_48_34_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb34551efb4f24cb637bb7a11473d6d5.jpg","text":"TemporaryFile(/tmp/multipartBody771833801825463941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317803740,"filename":"image_16112025_17_48_46_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5544222ffe88bc0098e2edf61e1b92c8.jpg","text":"TemporaryFile(/tmp/multipartBody3354727993540121050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317803740,"filename":"image_16112025_17_48_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/11/16/8b82153cd831c0f642265004a8dae042.jpg","text":"TemporaryFile(/tmp/multipartBody6213845666683945778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317803740,"filename":"image_16112025_17_48_40_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/585ca5946e5e3dcdf31dc6129041d2e7.jpg","text":"TemporaryFile(/tmp/multipartBody88268984172818050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317803740,"filename":"image_16112025_17_48_37_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763058","file1":"1394763057","file0":"1394763055","file4":"1394763062","file5":"1394763065","file3":"1394763059"},"map_files_photo_id_array":[{"photo_id":"1394763065","filename":"file5"},{"photo_id":"1394763058","filename":"file2"},{"photo_id":"1394763062","filename":"file4"},{"photo_id":"1394763057","filename":"file1"},{"photo_id":"1394763055","filename":"file0"},{"photo_id":"1394763059","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763055":["hashtag1","hashtag2"]},{"1394763057":["hashtag1","hashtag2"]},{"1394763065":["hashtag1","hashtag2"]},{"1394763062":["hashtag1","hashtag2"]},{"1394763059":["hashtag1","hashtag2"]},{"1394763058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763055, 1394763057, 1394763065, 1394763062, 1394763059, 1394763058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34161615371704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:29:41.750377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_49_3629.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_52_2689.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_55_2676.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_58_2836.jpg', '/home/pi/Desktop/images/16112025/17/48/image_16112025_17_49_01_3743.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_04_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_49_3629.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_52_2689.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_55_2676.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_48_58_2836.jpg
/home/pi/Desktop/images/16112025/17/48/image_16112025_17_49_01_3743.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_04_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763075","1394763074","1394763077","1394763076","1394763079","1394763070"],"photo_ids_order":["1394763070","1394763074","1394763075","1394763076","1394763077","1394763079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/063427deb37f452b2ae8e7d7ce989941.jpg","text":"TemporaryFile(/tmp/multipartBody2139041274379081608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317842457,"filename":"image_16112025_17_48_55_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20823a84becdd67c5fc0bb7d354c16e0.jpg","text":"TemporaryFile(/tmp/multipartBody6375767320570298732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317842457,"filename":"image_16112025_17_48_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/11/16/c109b824b9da8f45de9e2f2d0ab9282d.jpg","text":"TemporaryFile(/tmp/multipartBody3499946275422436738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317842457,"filename":"image_16112025_17_49_01_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9562f4f89d3d97aa62b1f9371369c434.jpg","text":"TemporaryFile(/tmp/multipartBody3183668358967259141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317842457,"filename":"image_16112025_17_48_58_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eb6774e08a9f2c1b32511f86b8b5907.jpg","text":"TemporaryFile(/tmp/multipartBody478838846105153422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317842457,"filename":"image_16112025_17_49_04_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e23b18f487e6cf2f2a03ccdd4a598a36.jpg","text":"TemporaryFile(/tmp/multipartBody3542432157535933021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317842457,"filename":"image_16112025_17_48_49_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763075","file1":"1394763074","file0":"1394763070","file4":"1394763077","file5":"1394763079","file3":"1394763076"},"map_files_photo_id_array":[{"photo_id":"1394763079","filename":"file5"},{"photo_id":"1394763075","filename":"file2"},{"photo_id":"1394763077","filename":"file4"},{"photo_id":"1394763074","filename":"file1"},{"photo_id":"1394763070","filename":"file0"},{"photo_id":"1394763076","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763075":["hashtag1","hashtag2"]},{"1394763074":["hashtag1","hashtag2"]},{"1394763077":["hashtag1","hashtag2"]},{"1394763076":["hashtag1","hashtag2"]},{"1394763079":["hashtag1","hashtag2"]},{"1394763070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763075, 1394763074, 1394763077, 1394763076, 1394763079, 1394763070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86065149307251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:30:21.964108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_06_2640.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_10_3579.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_13_2651.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_16_3726.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_19_2750.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_22_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_06_2640.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_10_3579.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_13_2651.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_16_3726.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_19_2750.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_22_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763084","1394763083","1394763086","1394763089","1394763082","1394763085"],"photo_ids_order":["1394763082","1394763083","1394763084","1394763085","1394763086","1394763089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c4da683a696743c53d6c57762534bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4927400853350318908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317882641,"filename":"image_16112025_17_49_13_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30234961dd8e01a5a0c43db3bbb119ac.jpg","text":"TemporaryFile(/tmp/multipartBody8357657670044395248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317882641,"filename":"image_16112025_17_49_10_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4b8ac22c7a8ac87f197f1f180d74d86.jpg","text":"TemporaryFile(/tmp/multipartBody1584277106912280655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317882641,"filename":"image_16112025_17_49_19_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/675c5a76251a0ceae8f877d24baa2cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2451205183816680985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317882641,"filename":"image_16112025_17_49_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/11/16/37aafbe15e35f638d77b29dd714bd2ef.jpg","text":"TemporaryFile(/tmp/multipartBody2322923476387712377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317882641,"filename":"image_16112025_17_49_06_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce679637b72f5c97283b9e515a4f719c.jpg","text":"TemporaryFile(/tmp/multipartBody820173751349090509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317882641,"filename":"image_16112025_17_49_16_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763084","file1":"1394763083","file0":"1394763082","file4":"1394763086","file5":"1394763089","file3":"1394763085"},"map_files_photo_id_array":[{"photo_id":"1394763089","filename":"file5"},{"photo_id":"1394763084","filename":"file2"},{"photo_id":"1394763086","filename":"file4"},{"photo_id":"1394763083","filename":"file1"},{"photo_id":"1394763082","filename":"file0"},{"photo_id":"1394763085","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763084":["hashtag1","hashtag2"]},{"1394763083":["hashtag1","hashtag2"]},{"1394763086":["hashtag1","hashtag2"]},{"1394763089":["hashtag1","hashtag2"]},{"1394763082":["hashtag1","hashtag2"]},{"1394763085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763084, 1394763083, 1394763086, 1394763089, 1394763082, 1394763085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75431227684021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:31:02.946286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_25_2780.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_28_3651.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_31_2524.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_37_3822.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_40_2634.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_42_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_25_2780.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_28_3651.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_31_2524.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_37_3822.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_40_2634.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_42_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763093","1394763090","1394763098","1394763092","1394763095","1394763091"],"photo_ids_order":["1394763090","1394763091","1394763092","1394763093","1394763095","1394763098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ba1370e94aedba1b9738c899ff1cf0a.jpg","text":"TemporaryFile(/tmp/multipartBody8183363412154688395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317923668,"filename":"image_16112025_17_49_37_3822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ddce96185f9cb15fdf7ee4976c698c3.jpg","text":"TemporaryFile(/tmp/multipartBody4333013355925797680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317923668,"filename":"image_16112025_17_49_25_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26dd8a6bb607ba846397704302488d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8873499602018699202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317923668,"filename":"image_16112025_17_49_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/11/16/359f3f4f2b94eb24b2851cd54567e93e.jpg","text":"TemporaryFile(/tmp/multipartBody5380108019368029546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317923668,"filename":"image_16112025_17_49_31_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7062bbda5f4ed2611f4a6d80f05c399e.jpg","text":"TemporaryFile(/tmp/multipartBody2382176529113585123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317923668,"filename":"image_16112025_17_49_40_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/869b4c36ca3ce5c3daee67571f38c09e.jpg","text":"TemporaryFile(/tmp/multipartBody989411737091576875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317923668,"filename":"image_16112025_17_49_28_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763092","file1":"1394763091","file0":"1394763090","file4":"1394763095","file5":"1394763098","file3":"1394763093"},"map_files_photo_id_array":[{"photo_id":"1394763098","filename":"file5"},{"photo_id":"1394763092","filename":"file2"},{"photo_id":"1394763095","filename":"file4"},{"photo_id":"1394763091","filename":"file1"},{"photo_id":"1394763090","filename":"file0"},{"photo_id":"1394763093","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763093":["hashtag1","hashtag2"]},{"1394763090":["hashtag1","hashtag2"]},{"1394763098":["hashtag1","hashtag2"]},{"1394763092":["hashtag1","hashtag2"]},{"1394763095":["hashtag1","hashtag2"]},{"1394763091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763093, 1394763090, 1394763098, 1394763092, 1394763095, 1394763091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81455326080322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:31:42.244926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_46_3685.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_49_2646.jpg', '/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_58_2776.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_07_3011.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_11_3624.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_14_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_46_3685.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_49_2646.jpg
/home/pi/Desktop/images/16112025/17/49/image_16112025_17_49_58_2776.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_07_3011.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_11_3624.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_14_2890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763109","1394763103","1394763105","1394763108","1394763110","1394763107"],"photo_ids_order":["1394763103","1394763105","1394763107","1394763108","1394763109","1394763110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d26d5f7373233bdbdeceabc167d34be4.jpg","text":"TemporaryFile(/tmp/multipartBody1862085596270073192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317962874,"filename":"image_16112025_17_50_11_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f04b86fe1d66d685501c53a7da96663.jpg","text":"TemporaryFile(/tmp/multipartBody6271828019086355118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317962874,"filename":"image_16112025_17_49_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/11/16/ce5e14a183f6e31d064437b01f0ea4c9.jpg","text":"TemporaryFile(/tmp/multipartBody4223557495797142260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317962874,"filename":"image_16112025_17_49_49_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/210e5be88294d159a042e2ebf7c93d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6963363357051014484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317962874,"filename":"image_16112025_17_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/11/16/6ce9029bccad1357a8def386813ce645.jpg","text":"TemporaryFile(/tmp/multipartBody5785623743796812630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317962874,"filename":"image_16112025_17_50_14_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/299349f7089092a084f8c5f1b31cf301.jpg","text":"TemporaryFile(/tmp/multipartBody9215516033777786873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763317962874,"filename":"image_16112025_17_49_58_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763107","file1":"1394763105","file0":"1394763103","file4":"1394763109","file5":"1394763110","file3":"1394763108"},"map_files_photo_id_array":[{"photo_id":"1394763110","filename":"file5"},{"photo_id":"1394763107","filename":"file2"},{"photo_id":"1394763109","filename":"file4"},{"photo_id":"1394763105","filename":"file1"},{"photo_id":"1394763103","filename":"file0"},{"photo_id":"1394763108","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763109":["hashtag1","hashtag2"]},{"1394763103":["hashtag1","hashtag2"]},{"1394763105":["hashtag1","hashtag2"]},{"1394763108":["hashtag1","hashtag2"]},{"1394763110":["hashtag1","hashtag2"]},{"1394763107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763109, 1394763103, 1394763105, 1394763108, 1394763110, 1394763107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68639945983887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:32:22.535903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_16_2795.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_19_2762.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_23_3651.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_25_2587.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_28_2663.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_32_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_16_2795.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_19_2762.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_23_3651.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_25_2587.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_28_2663.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_32_3602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763115","1394763118","1394763120","1394763117","1394763116","1394763119"],"photo_ids_order":["1394763115","1394763116","1394763117","1394763118","1394763119","1394763120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f35da653e79917d155fec0b6231138f0.jpg","text":"TemporaryFile(/tmp/multipartBody2339531287661320329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318003202,"filename":"image_16112025_17_50_16_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c8164defbb756141f9e3b2e16b9e832.jpg","text":"TemporaryFile(/tmp/multipartBody2766120370243971815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318003202,"filename":"image_16112025_17_50_25_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/909589a32c937d7e4eab85d0d064568e.jpg","text":"TemporaryFile(/tmp/multipartBody2495729106319461551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318003202,"filename":"image_16112025_17_50_32_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b2b78e63cfe5a0c582f4ce5fe1abb35.jpg","text":"TemporaryFile(/tmp/multipartBody1551113783809450987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318003202,"filename":"image_16112025_17_50_23_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f60fc1b41e4103635a791642811a3ab.jpg","text":"TemporaryFile(/tmp/multipartBody4242560060196887721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318003202,"filename":"image_16112025_17_50_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/11/16/bc567bad8ed84f83eced90189a080bcc.jpg","text":"TemporaryFile(/tmp/multipartBody3002181509364066600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318003202,"filename":"image_16112025_17_50_28_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763117","file1":"1394763116","file0":"1394763115","file4":"1394763119","file5":"1394763120","file3":"1394763118"},"map_files_photo_id_array":[{"photo_id":"1394763120","filename":"file5"},{"photo_id":"1394763117","filename":"file2"},{"photo_id":"1394763119","filename":"file4"},{"photo_id":"1394763116","filename":"file1"},{"photo_id":"1394763115","filename":"file0"},{"photo_id":"1394763118","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763115":["hashtag1","hashtag2"]},{"1394763118":["hashtag1","hashtag2"]},{"1394763120":["hashtag1","hashtag2"]},{"1394763117":["hashtag1","hashtag2"]},{"1394763116":["hashtag1","hashtag2"]},{"1394763119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763115, 1394763118, 1394763120, 1394763117, 1394763116, 1394763119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.708853006362915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:33:03.385506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_34_2713.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_37_2662.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_41_3588.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_43_2687.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_47_3692.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_50_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_34_2713.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_37_2662.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_41_3588.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_43_2687.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_47_3692.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_50_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763127","1394763121","1394763124","1394763123","1394763125","1394763130"],"photo_ids_order":["1394763121","1394763123","1394763124","1394763125","1394763127","1394763130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da8464655a923cd7bac936c26654c125.jpg","text":"TemporaryFile(/tmp/multipartBody3660460141797456251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318044131,"filename":"image_16112025_17_50_47_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f16c48d865a0c74c422f235094a226ef.jpg","text":"TemporaryFile(/tmp/multipartBody1324657647132908462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318044131,"filename":"image_16112025_17_50_34_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c562647b58cd70fc47c9b2a41f0dc88.jpg","text":"TemporaryFile(/tmp/multipartBody625657458902688281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318044131,"filename":"image_16112025_17_50_41_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3a63d2c0ca4264abbffbf0bd1f3f080.jpg","text":"TemporaryFile(/tmp/multipartBody3485160565681165904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318044131,"filename":"image_16112025_17_50_37_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f26b0970cef620ca81f8cfab751adf44.jpg","text":"TemporaryFile(/tmp/multipartBody4906155072704132379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318044131,"filename":"image_16112025_17_50_43_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbdb3825201ea5b989654811b6b54498.jpg","text":"TemporaryFile(/tmp/multipartBody7025455986003497989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318044131,"filename":"image_16112025_17_50_50_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763124","file1":"1394763123","file0":"1394763121","file4":"1394763127","file5":"1394763130","file3":"1394763125"},"map_files_photo_id_array":[{"photo_id":"1394763130","filename":"file5"},{"photo_id":"1394763124","filename":"file2"},{"photo_id":"1394763127","filename":"file4"},{"photo_id":"1394763123","filename":"file1"},{"photo_id":"1394763121","filename":"file0"},{"photo_id":"1394763125","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763127":["hashtag1","hashtag2"]},{"1394763121":["hashtag1","hashtag2"]},{"1394763124":["hashtag1","hashtag2"]},{"1394763123":["hashtag1","hashtag2"]},{"1394763125":["hashtag1","hashtag2"]},{"1394763130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763127, 1394763121, 1394763124, 1394763123, 1394763125, 1394763130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51781439781189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:33:42.715554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_52_2628.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_55_2737.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_59_3601.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_01_2572.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_05_3775.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_08_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_52_2628.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_55_2737.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_59_3601.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_01_2572.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_05_3775.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_08_2577.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.5657010078430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:34:02.593543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_52_2628.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_55_2737.jpg', '/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_59_3601.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_01_2572.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_05_3775.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_08_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_52_2628.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_55_2737.jpg
/home/pi/Desktop/images/16112025/17/50/image_16112025_17_50_59_3601.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_01_2572.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_05_3775.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_08_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763142","1394763141","1394763144","1394763147","1394763140","1394763139"],"photo_ids_order":["1394763139","1394763140","1394763141","1394763142","1394763144","1394763147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/189e5bc520a5428d8cd5db207eb26cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6060842518911186572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318103443,"filename":"image_16112025_17_51_01_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/807dae20654eebfd2e2b41e8fff01eab.jpg","text":"TemporaryFile(/tmp/multipartBody7757517517930529595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318103443,"filename":"image_16112025_17_50_59_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/812afbbc9d7d0ca5f7c2d412bfd176d2.jpg","text":"TemporaryFile(/tmp/multipartBody4235951261662149347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318103443,"filename":"image_16112025_17_51_05_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd15e48a5d7091908ee2445761f65a4b.jpg","text":"TemporaryFile(/tmp/multipartBody1651006352967898884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318103443,"filename":"image_16112025_17_51_08_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85b39dde39d0410e3c856f17ac199242.jpg","text":"TemporaryFile(/tmp/multipartBody6846352880064416047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318103443,"filename":"image_16112025_17_50_55_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec03184f7851e3aed7fdef19fe583dc5.jpg","text":"TemporaryFile(/tmp/multipartBody486094894406411235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318103443,"filename":"image_16112025_17_50_52_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763141","file1":"1394763140","file0":"1394763139","file4":"1394763144","file5":"1394763147","file3":"1394763142"},"map_files_photo_id_array":[{"photo_id":"1394763147","filename":"file5"},{"photo_id":"1394763141","filename":"file2"},{"photo_id":"1394763144","filename":"file4"},{"photo_id":"1394763140","filename":"file1"},{"photo_id":"1394763139","filename":"file0"},{"photo_id":"1394763142","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763142":["hashtag1","hashtag2"]},{"1394763141":["hashtag1","hashtag2"]},{"1394763144":["hashtag1","hashtag2"]},{"1394763147":["hashtag1","hashtag2"]},{"1394763140":["hashtag1","hashtag2"]},{"1394763139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763142, 1394763141, 1394763144, 1394763147, 1394763140, 1394763139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70879673957825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:34:41.945400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_10_2775.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_13_2691.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_17_3599.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_19_2680.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_23_3643.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_26_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_10_2775.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_13_2691.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_17_3599.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_19_2680.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_23_3643.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_26_2792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763154","1394763156","1394763150","1394763153","1394763152","1394763155"],"photo_ids_order":["1394763150","1394763152","1394763153","1394763154","1394763155","1394763156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd62fabec3cee870531178c6d4f7b9ad.jpg","text":"TemporaryFile(/tmp/multipartBody252457369727879097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318142578,"filename":"image_16112025_17_51_19_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a97b87a6a4037059f38e028ffe6f910e.jpg","text":"TemporaryFile(/tmp/multipartBody6923975193678863921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318142578,"filename":"image_16112025_17_51_26_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c223b27799bec28b230eec246542fae8.jpg","text":"TemporaryFile(/tmp/multipartBody660957386895616011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318142578,"filename":"image_16112025_17_51_10_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19dfdb60554a46605f8230b384cf2bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4984597665957498894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318142578,"filename":"image_16112025_17_51_17_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/235de7ee6367e00b037b4afc66a2fd09.jpg","text":"TemporaryFile(/tmp/multipartBody3834417842746827043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318142578,"filename":"image_16112025_17_51_13_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9447f54d97c0bd238d0a4277a1ce99f6.jpg","text":"TemporaryFile(/tmp/multipartBody8871774753558645031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318142578,"filename":"image_16112025_17_51_23_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763153","file1":"1394763152","file0":"1394763150","file4":"1394763155","file5":"1394763156","file3":"1394763154"},"map_files_photo_id_array":[{"photo_id":"1394763156","filename":"file5"},{"photo_id":"1394763153","filename":"file2"},{"photo_id":"1394763155","filename":"file4"},{"photo_id":"1394763152","filename":"file1"},{"photo_id":"1394763150","filename":"file0"},{"photo_id":"1394763154","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763154":["hashtag1","hashtag2"]},{"1394763156":["hashtag1","hashtag2"]},{"1394763150":["hashtag1","hashtag2"]},{"1394763153":["hashtag1","hashtag2"]},{"1394763152":["hashtag1","hashtag2"]},{"1394763155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763154, 1394763156, 1394763150, 1394763153, 1394763152, 1394763155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.943113803863525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:35:22.313934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_29_2755.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_31_2518.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_38_2905.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_40_2724.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_44_3626.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_47_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_29_2755.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_31_2518.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_38_2905.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_40_2724.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_44_3626.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_47_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763160","1394763159","1394763161","1394763158","1394763163","1394763157"],"photo_ids_order":["1394763157","1394763158","1394763159","1394763160","1394763161","1394763163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/028cadb08a1097a9716b2646abf8cacd.jpg","text":"TemporaryFile(/tmp/multipartBody6101574321894994637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318182966,"filename":"image_16112025_17_51_40_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ddeecae254f11ba41b1b9c93995cec1.jpg","text":"TemporaryFile(/tmp/multipartBody938018384907991349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318182966,"filename":"image_16112025_17_51_38_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/183a2f096449b76ff459f47844869410.jpg","text":"TemporaryFile(/tmp/multipartBody676185206368820156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318182966,"filename":"image_16112025_17_51_44_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85503775b3fd11c3bda7a461dc9454ad.jpg","text":"TemporaryFile(/tmp/multipartBody823256038552607139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318182966,"filename":"image_16112025_17_51_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/11/16/e9ee0d7d3695ab100a713e210a00cccd.jpg","text":"TemporaryFile(/tmp/multipartBody2516243993251525384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318182966,"filename":"image_16112025_17_51_47_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/895e5e43a27ecc9b1c9779d68a02beb4.jpg","text":"TemporaryFile(/tmp/multipartBody4018613238294226389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318182966,"filename":"image_16112025_17_51_29_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763159","file1":"1394763158","file0":"1394763157","file4":"1394763161","file5":"1394763163","file3":"1394763160"},"map_files_photo_id_array":[{"photo_id":"1394763163","filename":"file5"},{"photo_id":"1394763159","filename":"file2"},{"photo_id":"1394763161","filename":"file4"},{"photo_id":"1394763158","filename":"file1"},{"photo_id":"1394763157","filename":"file0"},{"photo_id":"1394763160","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763160":["hashtag1","hashtag2"]},{"1394763159":["hashtag1","hashtag2"]},{"1394763161":["hashtag1","hashtag2"]},{"1394763158":["hashtag1","hashtag2"]},{"1394763163":["hashtag1","hashtag2"]},{"1394763157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763160, 1394763159, 1394763161, 1394763158, 1394763163, 1394763157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3458456993103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:36:02.890829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_49_2608.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_53_3577.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_56_2679.jpg', '/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_58_2666.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_02_3650.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_04_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_49_2608.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_53_3577.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_56_2679.jpg
/home/pi/Desktop/images/16112025/17/51/image_16112025_17_51_58_2666.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_02_3650.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_04_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763169","1394763171","1394763179","1394763173","1394763167","1394763176"],"photo_ids_order":["1394763167","1394763169","1394763171","1394763173","1394763176","1394763179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d036687055c429564bc69bbee5ac209.jpg","text":"TemporaryFile(/tmp/multipartBody1205176180977771995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318223577,"filename":"image_16112025_17_51_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/11/16/ba4aef2129ecaface560d990d070ad72.jpg","text":"TemporaryFile(/tmp/multipartBody2233189418299791693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318223577,"filename":"image_16112025_17_51_56_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a40d3bdc709c7cbf65ef73d689affe1.jpg","text":"TemporaryFile(/tmp/multipartBody7526883959834640172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318223577,"filename":"image_16112025_17_52_04_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89a4ee114161383def698f886f1ba694.jpg","text":"TemporaryFile(/tmp/multipartBody5102629323012746601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318223577,"filename":"image_16112025_17_51_58_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5ee342e20c3ae3ce4aabd43a1467f1f.jpg","text":"TemporaryFile(/tmp/multipartBody9007771554501576063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318223577,"filename":"image_16112025_17_51_49_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a773388ce8d291145d77ab99976d135c.jpg","text":"TemporaryFile(/tmp/multipartBody1987811707653541047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318223577,"filename":"image_16112025_17_52_02_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763171","file1":"1394763169","file0":"1394763167","file4":"1394763176","file5":"1394763179","file3":"1394763173"},"map_files_photo_id_array":[{"photo_id":"1394763179","filename":"file5"},{"photo_id":"1394763171","filename":"file2"},{"photo_id":"1394763176","filename":"file4"},{"photo_id":"1394763169","filename":"file1"},{"photo_id":"1394763167","filename":"file0"},{"photo_id":"1394763173","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763169":["hashtag1","hashtag2"]},{"1394763171":["hashtag1","hashtag2"]},{"1394763179":["hashtag1","hashtag2"]},{"1394763173":["hashtag1","hashtag2"]},{"1394763167":["hashtag1","hashtag2"]},{"1394763176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763169, 1394763171, 1394763179, 1394763173, 1394763167, 1394763176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.177279233932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:36:42.431904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_07_2509.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_11_3787.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_14_2759.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_16_2604.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_20_3684.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_23_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_07_2509.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_11_3787.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_14_2759.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_16_2604.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_20_3684.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_23_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763186","1394763183","1394763185","1394763181","1394763184","1394763187"],"photo_ids_order":["1394763181","1394763183","1394763184","1394763185","1394763186","1394763187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d8ab1ca3798187abec5fa8e0da3d1a2.jpg","text":"TemporaryFile(/tmp/multipartBody4707700262813935580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318263129,"filename":"image_16112025_17_52_20_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2588e12d9050b886124cf2ad8ae33cd.jpg","text":"TemporaryFile(/tmp/multipartBody6571337070461189917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318263129,"filename":"image_16112025_17_52_11_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd7b2523352b6b43a992f03936a88808.jpg","text":"TemporaryFile(/tmp/multipartBody2508833485261102876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318263129,"filename":"image_16112025_17_52_16_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98827413509bd499358232329c6a61ad.jpg","text":"TemporaryFile(/tmp/multipartBody2075686265717994082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318263129,"filename":"image_16112025_17_52_07_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca25e58c79b6938b871f9b8ac6d2f69e.jpg","text":"TemporaryFile(/tmp/multipartBody3471239517737164200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318263129,"filename":"image_16112025_17_52_14_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7321df2146fc158c83da5a1304aa94a.jpg","text":"TemporaryFile(/tmp/multipartBody7230078849988786031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318263129,"filename":"image_16112025_17_52_23_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763184","file1":"1394763183","file0":"1394763181","file4":"1394763186","file5":"1394763187","file3":"1394763185"},"map_files_photo_id_array":[{"photo_id":"1394763187","filename":"file5"},{"photo_id":"1394763184","filename":"file2"},{"photo_id":"1394763186","filename":"file4"},{"photo_id":"1394763183","filename":"file1"},{"photo_id":"1394763181","filename":"file0"},{"photo_id":"1394763185","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763186":["hashtag1","hashtag2"]},{"1394763183":["hashtag1","hashtag2"]},{"1394763185":["hashtag1","hashtag2"]},{"1394763181":["hashtag1","hashtag2"]},{"1394763184":["hashtag1","hashtag2"]},{"1394763187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763186, 1394763183, 1394763185, 1394763181, 1394763184, 1394763187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.062334299087524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:37:22.684516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_25_2673.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_28_2699.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_32_3618.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_34_2796.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_38_3526.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_40_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_25_2673.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_28_2699.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_32_3618.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_34_2796.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_38_3526.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_40_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763198","1394763195","1394763197","1394763201","1394763193","1394763199"],"photo_ids_order":["1394763193","1394763195","1394763197","1394763198","1394763199","1394763201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f78b8d08de7a9b660fc3e929d45b3c9e.jpg","text":"TemporaryFile(/tmp/multipartBody3748035265828093006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318303353,"filename":"image_16112025_17_52_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/11/16/6ba99b52c2ec01a6f3e23b11e7834023.jpg","text":"TemporaryFile(/tmp/multipartBody5163885156062046606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318303353,"filename":"image_16112025_17_52_28_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6416b2d83cae64bb37faac2ec1e1f5e.jpg","text":"TemporaryFile(/tmp/multipartBody1088568690224189036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318303353,"filename":"image_16112025_17_52_32_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae48f7fb0d00943ac15a6670816c108b.jpg","text":"TemporaryFile(/tmp/multipartBody3183284330908968217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318303353,"filename":"image_16112025_17_52_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/11/16/309b46b3fa22cad41ef9b2abc26d1c4d.jpg","text":"TemporaryFile(/tmp/multipartBody3298522504630989326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318303353,"filename":"image_16112025_17_52_25_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4329dafe311c8d56e5e24fa4fedc5194.jpg","text":"TemporaryFile(/tmp/multipartBody8890002319884026952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318303353,"filename":"image_16112025_17_52_38_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763197","file1":"1394763195","file0":"1394763193","file4":"1394763199","file5":"1394763201","file3":"1394763198"},"map_files_photo_id_array":[{"photo_id":"1394763201","filename":"file5"},{"photo_id":"1394763197","filename":"file2"},{"photo_id":"1394763199","filename":"file4"},{"photo_id":"1394763195","filename":"file1"},{"photo_id":"1394763193","filename":"file0"},{"photo_id":"1394763198","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763198":["hashtag1","hashtag2"]},{"1394763195":["hashtag1","hashtag2"]},{"1394763197":["hashtag1","hashtag2"]},{"1394763201":["hashtag1","hashtag2"]},{"1394763193":["hashtag1","hashtag2"]},{"1394763199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763198, 1394763195, 1394763197, 1394763201, 1394763193, 1394763199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73661684989929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:38:02.323362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_43_2542.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_47_3785.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_50_2770.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_52_2567.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_55_2834.jpg', '/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_59_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_43_2542.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_47_3785.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_50_2770.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_52_2567.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_55_2834.jpg
/home/pi/Desktop/images/16112025/17/52/image_16112025_17_52_59_3699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763208","1394763205","1394763213","1394763207","1394763209","1394763206"],"photo_ids_order":["1394763205","1394763206","1394763207","1394763208","1394763209","1394763213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8405add96e6348aa1f954cda0e13162.jpg","text":"TemporaryFile(/tmp/multipartBody6198379829525056111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318343017,"filename":"image_16112025_17_52_52_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30e40118dc22fee65d0d868d239df32a.jpg","text":"TemporaryFile(/tmp/multipartBody6936351405451323326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318343017,"filename":"image_16112025_17_52_43_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66e954241f51ca48660ead6aff33cda8.jpg","text":"TemporaryFile(/tmp/multipartBody185849465502593393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318343017,"filename":"image_16112025_17_52_59_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85d12c3e6f97f605ed39a1ba18db38cd.jpg","text":"TemporaryFile(/tmp/multipartBody680513189680182975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318343017,"filename":"image_16112025_17_52_50_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e84c04b68017df419c342ea878d923c5.jpg","text":"TemporaryFile(/tmp/multipartBody3631443769788205262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318343017,"filename":"image_16112025_17_52_55_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a00940fddad5fd02ab46be628589273.jpg","text":"TemporaryFile(/tmp/multipartBody5729155276149415516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318343017,"filename":"image_16112025_17_52_47_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763207","file1":"1394763206","file0":"1394763205","file4":"1394763209","file5":"1394763213","file3":"1394763208"},"map_files_photo_id_array":[{"photo_id":"1394763213","filename":"file5"},{"photo_id":"1394763207","filename":"file2"},{"photo_id":"1394763209","filename":"file4"},{"photo_id":"1394763206","filename":"file1"},{"photo_id":"1394763205","filename":"file0"},{"photo_id":"1394763208","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763208":["hashtag1","hashtag2"]},{"1394763205":["hashtag1","hashtag2"]},{"1394763213":["hashtag1","hashtag2"]},{"1394763207":["hashtag1","hashtag2"]},{"1394763209":["hashtag1","hashtag2"]},{"1394763206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763208, 1394763205, 1394763213, 1394763207, 1394763209, 1394763206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13769769668579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:38:41.873162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_01_2702.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_04_2526.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_08_3684.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_10_2640.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_13_2709.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_16_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_01_2702.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_04_2526.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_08_3684.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_10_2640.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_13_2709.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_16_3532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763220","1394763223","1394763222","1394763225","1394763221","1394763218"],"photo_ids_order":["1394763218","1394763220","1394763221","1394763222","1394763223","1394763225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a60382c165aaebca5acbf307d51494fe.jpg","text":"TemporaryFile(/tmp/multipartBody3406891490556201752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318382530,"filename":"image_16112025_17_53_04_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2a7361c1db8b7c8ac7f5c102d78e059.jpg","text":"TemporaryFile(/tmp/multipartBody1392650254858177534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318382530,"filename":"image_16112025_17_53_13_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c59056386a6366e612a296bdcd16fc1c.jpg","text":"TemporaryFile(/tmp/multipartBody4344026409005485725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318382530,"filename":"image_16112025_17_53_10_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/694ab76ec55f0e478be7dff3512a9441.jpg","text":"TemporaryFile(/tmp/multipartBody2108454216397264630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318382530,"filename":"image_16112025_17_53_16_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da20734748851c4136533ce6f8114302.jpg","text":"TemporaryFile(/tmp/multipartBody5938949570500335934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318382530,"filename":"image_16112025_17_53_08_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbf21997a99601e0fcd0cf0f6e22a076.jpg","text":"TemporaryFile(/tmp/multipartBody2769845977664822739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318382530,"filename":"image_16112025_17_53_01_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763221","file1":"1394763220","file0":"1394763218","file4":"1394763223","file5":"1394763225","file3":"1394763222"},"map_files_photo_id_array":[{"photo_id":"1394763225","filename":"file5"},{"photo_id":"1394763221","filename":"file2"},{"photo_id":"1394763223","filename":"file4"},{"photo_id":"1394763220","filename":"file1"},{"photo_id":"1394763218","filename":"file0"},{"photo_id":"1394763222","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763220":["hashtag1","hashtag2"]},{"1394763223":["hashtag1","hashtag2"]},{"1394763222":["hashtag1","hashtag2"]},{"1394763225":["hashtag1","hashtag2"]},{"1394763221":["hashtag1","hashtag2"]},{"1394763218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763220, 1394763223, 1394763222, 1394763225, 1394763221, 1394763218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61391592025757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:39:22.174185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_19_2622.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_22_2727.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_26_3714.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_28_2630.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_31_2695.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_34_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_19_2622.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_22_2727.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_26_3714.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_28_2630.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_31_2695.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_34_3532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763232","1394763240","1394763231","1394763233","1394763236","1394763238"],"photo_ids_order":["1394763231","1394763232","1394763233","1394763236","1394763238","1394763240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3150e34ca302e3a30f56f320efdf4be5.jpg","text":"TemporaryFile(/tmp/multipartBody8088951701167031907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318422838,"filename":"image_16112025_17_53_22_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/edb3cfb7e76ebef290b97f97457c416c.jpg","text":"TemporaryFile(/tmp/multipartBody7770698107076511852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318422838,"filename":"image_16112025_17_53_34_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08d719aaadacada5e4f4dab2e26a452d.jpg","text":"TemporaryFile(/tmp/multipartBody3706846445556760016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318422838,"filename":"image_16112025_17_53_19_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26af8ab26c78b3657ce8bd8c53c3470f.jpg","text":"TemporaryFile(/tmp/multipartBody9144086001085373917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318422838,"filename":"image_16112025_17_53_26_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/412d51dc8401c96d56712ad16b8b75a4.jpg","text":"TemporaryFile(/tmp/multipartBody7654317651266111432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318422838,"filename":"image_16112025_17_53_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/11/16/a9c19210f939e008121b615388ffe7ce.jpg","text":"TemporaryFile(/tmp/multipartBody6854889553408911043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318422838,"filename":"image_16112025_17_53_31_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763233","file1":"1394763232","file0":"1394763231","file4":"1394763238","file5":"1394763240","file3":"1394763236"},"map_files_photo_id_array":[{"photo_id":"1394763240","filename":"file5"},{"photo_id":"1394763233","filename":"file2"},{"photo_id":"1394763238","filename":"file4"},{"photo_id":"1394763232","filename":"file1"},{"photo_id":"1394763231","filename":"file0"},{"photo_id":"1394763236","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763232":["hashtag1","hashtag2"]},{"1394763240":["hashtag1","hashtag2"]},{"1394763231":["hashtag1","hashtag2"]},{"1394763233":["hashtag1","hashtag2"]},{"1394763236":["hashtag1","hashtag2"]},{"1394763238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763232, 1394763240, 1394763231, 1394763233, 1394763236, 1394763238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.896308183670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:40:02.766345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_37_2687.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_40_2687.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_43_3659.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_46_2687.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_49_2650.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_52_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_37_2687.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_40_2687.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_43_3659.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_46_2687.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_49_2650.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_52_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763247","1394763243","1394763251","1394763245","1394763242","1394763244"],"photo_ids_order":["1394763242","1394763243","1394763244","1394763245","1394763247","1394763251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87081442183a18abd506fe84f6508cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1688313943785331507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318463448,"filename":"image_16112025_17_53_49_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c52dae95971079644724f409a67eab1.jpg","text":"TemporaryFile(/tmp/multipartBody6070025541449147774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318463448,"filename":"image_16112025_17_53_40_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa40dfce0e0fdf4c498e600379509d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4494360828346329661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318463448,"filename":"image_16112025_17_53_52_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01c1460d787e42b3c14d561f10e744ed.jpg","text":"TemporaryFile(/tmp/multipartBody8282213012986632146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318463448,"filename":"image_16112025_17_53_46_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b072c1d0699c125e5161c9e6bf0f247.jpg","text":"TemporaryFile(/tmp/multipartBody5514976357011922854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318463448,"filename":"image_16112025_17_53_37_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2f8c19ff71247a01c73de429b0476a9.jpg","text":"TemporaryFile(/tmp/multipartBody9010381904791700702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318463448,"filename":"image_16112025_17_53_43_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763244","file1":"1394763243","file0":"1394763242","file4":"1394763247","file5":"1394763251","file3":"1394763245"},"map_files_photo_id_array":[{"photo_id":"1394763251","filename":"file5"},{"photo_id":"1394763244","filename":"file2"},{"photo_id":"1394763247","filename":"file4"},{"photo_id":"1394763243","filename":"file1"},{"photo_id":"1394763242","filename":"file0"},{"photo_id":"1394763245","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763247":["hashtag1","hashtag2"]},{"1394763243":["hashtag1","hashtag2"]},{"1394763251":["hashtag1","hashtag2"]},{"1394763245":["hashtag1","hashtag2"]},{"1394763242":["hashtag1","hashtag2"]},{"1394763244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763247, 1394763243, 1394763251, 1394763245, 1394763242, 1394763244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74933958053589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:40:42.379019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_55_2651.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_59_3644.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_01_2688.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_04_2900.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_07_2556.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_10_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_55_2651.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_59_3644.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_01_2688.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_04_2900.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_07_2556.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_10_3621.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.5426473617553711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:41:03.231913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_55_2651.jpg', '/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_59_3644.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_01_2688.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_04_2900.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_07_2556.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_10_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_55_2651.jpg
/home/pi/Desktop/images/16112025/17/53/image_16112025_17_53_59_3644.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_01_2688.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_04_2900.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_07_2556.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_10_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763261","1394763264","1394763263","1394763266","1394763268","1394763265"],"photo_ids_order":["1394763261","1394763263","1394763264","1394763265","1394763266","1394763268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fb01c1c4cf64b6a1cd5a510852e3cf1.jpg","text":"TemporaryFile(/tmp/multipartBody2055218660275190881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318523975,"filename":"image_16112025_17_53_55_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6807116732cfc11396af17f7558571ad.jpg","text":"TemporaryFile(/tmp/multipartBody3089055177957797055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318523975,"filename":"image_16112025_17_54_01_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a3b380e8f153bf83ab15ebdbbba13bb.jpg","text":"TemporaryFile(/tmp/multipartBody3005393032424299298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318523975,"filename":"image_16112025_17_53_59_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3781e1652d12e14121ead421cd283bc.jpg","text":"TemporaryFile(/tmp/multipartBody6144436798247002942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318523975,"filename":"image_16112025_17_54_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/11/16/08dadbb2e1a4d330e7b25e454e6cecd6.jpg","text":"TemporaryFile(/tmp/multipartBody6937828974754769106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318523975,"filename":"image_16112025_17_54_10_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9430c18c3583210dcd879a25ba993692.jpg","text":"TemporaryFile(/tmp/multipartBody4266684535658544592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318523975,"filename":"image_16112025_17_54_04_2900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763264","file1":"1394763263","file0":"1394763261","file4":"1394763266","file5":"1394763268","file3":"1394763265"},"map_files_photo_id_array":[{"photo_id":"1394763268","filename":"file5"},{"photo_id":"1394763264","filename":"file2"},{"photo_id":"1394763266","filename":"file4"},{"photo_id":"1394763263","filename":"file1"},{"photo_id":"1394763261","filename":"file0"},{"photo_id":"1394763265","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763261":["hashtag1","hashtag2"]},{"1394763264":["hashtag1","hashtag2"]},{"1394763263":["hashtag1","hashtag2"]},{"1394763266":["hashtag1","hashtag2"]},{"1394763268":["hashtag1","hashtag2"]},{"1394763265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763261, 1394763264, 1394763263, 1394763266, 1394763268, 1394763265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27860713005066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:41:42.584999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_13_2543.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_16_2749.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_20_3771.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_22_2501.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_25_2695.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_29_3940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_13_2543.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_16_2749.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_20_3771.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_22_2501.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_25_2695.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_29_3940.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763270","1394763273","1394763276","1394763272","1394763269","1394763274"],"photo_ids_order":["1394763269","1394763270","1394763272","1394763273","1394763274","1394763276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e64b55d8ba5bdcdad9cf98026987517.jpg","text":"TemporaryFile(/tmp/multipartBody1630267795941699081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318563215,"filename":"image_16112025_17_54_16_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb6256f70983d0bf10af49a4d03b0463.jpg","text":"TemporaryFile(/tmp/multipartBody4457914022714250614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318563215,"filename":"image_16112025_17_54_22_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01b870c61f6aa8a19dfacf0dd789be25.jpg","text":"TemporaryFile(/tmp/multipartBody8661855828677633821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318563215,"filename":"image_16112025_17_54_29_3940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1501c81432b3db655c26b6d305002723.jpg","text":"TemporaryFile(/tmp/multipartBody1751411407392810376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318563215,"filename":"image_16112025_17_54_20_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/186495a53750c3af55feded1b8b1f7e4.jpg","text":"TemporaryFile(/tmp/multipartBody4004455550326970165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318563215,"filename":"image_16112025_17_54_13_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98fcdd2ad894f7e5498b861fc5a05cea.jpg","text":"TemporaryFile(/tmp/multipartBody3311936973166240817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318563215,"filename":"image_16112025_17_54_25_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763272","file1":"1394763270","file0":"1394763269","file4":"1394763274","file5":"1394763276","file3":"1394763273"},"map_files_photo_id_array":[{"photo_id":"1394763276","filename":"file5"},{"photo_id":"1394763272","filename":"file2"},{"photo_id":"1394763274","filename":"file4"},{"photo_id":"1394763270","filename":"file1"},{"photo_id":"1394763269","filename":"file0"},{"photo_id":"1394763273","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763270":["hashtag1","hashtag2"]},{"1394763273":["hashtag1","hashtag2"]},{"1394763276":["hashtag1","hashtag2"]},{"1394763272":["hashtag1","hashtag2"]},{"1394763269":["hashtag1","hashtag2"]},{"1394763274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763270, 1394763273, 1394763276, 1394763272, 1394763269, 1394763274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34707427024841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:42:21.812224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_31_2703.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_34_2534.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_37_2797.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_40_3746.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_43_2614.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_46_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_31_2703.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_34_2534.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_37_2797.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_40_3746.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_43_2614.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_46_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763285","1394763279","1394763281","1394763287","1394763289","1394763283"],"photo_ids_order":["1394763279","1394763281","1394763283","1394763285","1394763287","1394763289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0baf5acd800bcf220425b6dc3e7d7bea.jpg","text":"TemporaryFile(/tmp/multipartBody484593043429517199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318602472,"filename":"image_16112025_17_54_40_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b424e0c22b1d633944e6e33ea1f410c.jpg","text":"TemporaryFile(/tmp/multipartBody4746418938220716783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318602472,"filename":"image_16112025_17_54_31_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9408be8e740c292fcd61c960e7df0d83.jpg","text":"TemporaryFile(/tmp/multipartBody5114125343304735717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318602472,"filename":"image_16112025_17_54_34_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86b9a6c87bbfbc47578f7501bd8ceb4c.jpg","text":"TemporaryFile(/tmp/multipartBody4887263520353537467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318602472,"filename":"image_16112025_17_54_43_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09f8046a231046dcd44096c9e46de085.jpg","text":"TemporaryFile(/tmp/multipartBody1460502053969683810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318602472,"filename":"image_16112025_17_54_46_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a25a160c162f7cb7812eb6fedd6b0292.jpg","text":"TemporaryFile(/tmp/multipartBody639443168266538501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318602472,"filename":"image_16112025_17_54_37_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763283","file1":"1394763281","file0":"1394763279","file4":"1394763287","file5":"1394763289","file3":"1394763285"},"map_files_photo_id_array":[{"photo_id":"1394763289","filename":"file5"},{"photo_id":"1394763283","filename":"file2"},{"photo_id":"1394763287","filename":"file4"},{"photo_id":"1394763281","filename":"file1"},{"photo_id":"1394763279","filename":"file0"},{"photo_id":"1394763285","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763285":["hashtag1","hashtag2"]},{"1394763279":["hashtag1","hashtag2"]},{"1394763281":["hashtag1","hashtag2"]},{"1394763287":["hashtag1","hashtag2"]},{"1394763289":["hashtag1","hashtag2"]},{"1394763283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763285, 1394763279, 1394763281, 1394763287, 1394763289, 1394763283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30533146858215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:43:02.878577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_49_3657.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_52_2811.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_55_2862.jpg', '/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_58_2793.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_07_3011.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_11_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_49_3657.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_52_2811.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_55_2862.jpg
/home/pi/Desktop/images/16112025/17/54/image_16112025_17_54_58_2793.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_07_3011.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_11_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763297","1394763291","1394763290","1394763293","1394763292","1394763295"],"photo_ids_order":["1394763290","1394763291","1394763292","1394763293","1394763295","1394763297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f268ada8256e16925e6c1b4495442161.jpg","text":"TemporaryFile(/tmp/multipartBody5841939634644718953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318643594,"filename":"image_16112025_17_56_11_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69cdc94917877df94853351655103ff6.jpg","text":"TemporaryFile(/tmp/multipartBody9068252989982144568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318643594,"filename":"image_16112025_17_54_52_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3c80fb2c89173654cb2d2fdde080e49.jpg","text":"TemporaryFile(/tmp/multipartBody6355595508604091197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318643594,"filename":"image_16112025_17_54_49_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85e6921abd19d0762508fd90e8dd3ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6733486205934778372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318643594,"filename":"image_16112025_17_54_58_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c763aa7c94c3f2a8c1003c401b8acf4.jpg","text":"TemporaryFile(/tmp/multipartBody6089310367449741139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318643594,"filename":"image_16112025_17_54_55_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d156138e4629b3c2f856cee47bbb78b9.jpg","text":"TemporaryFile(/tmp/multipartBody6262794948069929797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318643594,"filename":"image_16112025_17_56_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763292","file1":"1394763291","file0":"1394763290","file4":"1394763295","file5":"1394763297","file3":"1394763293"},"map_files_photo_id_array":[{"photo_id":"1394763297","filename":"file5"},{"photo_id":"1394763292","filename":"file2"},{"photo_id":"1394763295","filename":"file4"},{"photo_id":"1394763291","filename":"file1"},{"photo_id":"1394763290","filename":"file0"},{"photo_id":"1394763293","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763297":["hashtag1","hashtag2"]},{"1394763291":["hashtag1","hashtag2"]},{"1394763290":["hashtag1","hashtag2"]},{"1394763293":["hashtag1","hashtag2"]},{"1394763292":["hashtag1","hashtag2"]},{"1394763295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763297, 1394763291, 1394763290, 1394763293, 1394763292, 1394763295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17242074012756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:43:42.115320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_14_2590.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_17_3629.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_20_2814.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_23_2620.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_25_2646.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_29_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_14_2590.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_17_3629.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_20_2814.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_23_2620.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_25_2646.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_29_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763301","1394763303","1394763306","1394763299","1394763302","1394763305"],"photo_ids_order":["1394763299","1394763301","1394763302","1394763303","1394763305","1394763306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2394359050c4f9ae1061802a0ba87d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6050368487366112540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318682789,"filename":"image_16112025_17_56_17_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7146e41fb2c9c2a32c188a607fde0305.jpg","text":"TemporaryFile(/tmp/multipartBody6487932705453641599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318682789,"filename":"image_16112025_17_56_23_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9974dfaf15cca07f805888ad8ebb0fba.jpg","text":"TemporaryFile(/tmp/multipartBody6192205815510658531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318682789,"filename":"image_16112025_17_56_29_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2304713b50a1c2fc61e5befc6d861816.jpg","text":"TemporaryFile(/tmp/multipartBody1111570516066458953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318682789,"filename":"image_16112025_17_56_14_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1eb905746361841ee575d4513c026e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3394914120341029623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318682789,"filename":"image_16112025_17_56_20_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a63dc0cb3363c46cadf3fb0b9de3153.jpg","text":"TemporaryFile(/tmp/multipartBody8463883641122599635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318682789,"filename":"image_16112025_17_56_25_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763302","file1":"1394763301","file0":"1394763299","file4":"1394763305","file5":"1394763306","file3":"1394763303"},"map_files_photo_id_array":[{"photo_id":"1394763306","filename":"file5"},{"photo_id":"1394763302","filename":"file2"},{"photo_id":"1394763305","filename":"file4"},{"photo_id":"1394763301","filename":"file1"},{"photo_id":"1394763299","filename":"file0"},{"photo_id":"1394763303","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763301":["hashtag1","hashtag2"]},{"1394763303":["hashtag1","hashtag2"]},{"1394763306":["hashtag1","hashtag2"]},{"1394763299":["hashtag1","hashtag2"]},{"1394763302":["hashtag1","hashtag2"]},{"1394763305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763301, 1394763303, 1394763306, 1394763299, 1394763302, 1394763305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38351488113403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:44:22.303965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_32_2700.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_35_3658.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_38_2588.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_40_2619.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_44_3626.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_47_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_32_2700.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_35_3658.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_38_2588.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_40_2619.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_44_3626.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_47_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763319","1394763310","1394763322","1394763315","1394763312","1394763317"],"photo_ids_order":["1394763310","1394763312","1394763315","1394763317","1394763319","1394763322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77d743c0c7336cad1d7384b84d16eb17.jpg","text":"TemporaryFile(/tmp/multipartBody9023792228461037520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318722993,"filename":"image_16112025_17_56_44_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb915477724cb7f53f9844b3a57ea213.jpg","text":"TemporaryFile(/tmp/multipartBody1745750338710786156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318722993,"filename":"image_16112025_17_56_32_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed92c004aa201a907bc1233f1cee334b.jpg","text":"TemporaryFile(/tmp/multipartBody5556539618507607314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318722993,"filename":"image_16112025_17_56_47_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de9be98359a6016d9744fee3eeaf419b.jpg","text":"TemporaryFile(/tmp/multipartBody2806470493828720622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318722993,"filename":"image_16112025_17_56_38_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f0a5b14eb53ac906d3930d79cd280e5.jpg","text":"TemporaryFile(/tmp/multipartBody7472005266134265965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318722993,"filename":"image_16112025_17_56_35_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c69b6995de00ab51a1cba48f320e09c.jpg","text":"TemporaryFile(/tmp/multipartBody9194621573950868141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318722993,"filename":"image_16112025_17_56_40_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763315","file1":"1394763312","file0":"1394763310","file4":"1394763319","file5":"1394763322","file3":"1394763317"},"map_files_photo_id_array":[{"photo_id":"1394763322","filename":"file5"},{"photo_id":"1394763315","filename":"file2"},{"photo_id":"1394763319","filename":"file4"},{"photo_id":"1394763312","filename":"file1"},{"photo_id":"1394763310","filename":"file0"},{"photo_id":"1394763317","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763319":["hashtag1","hashtag2"]},{"1394763310":["hashtag1","hashtag2"]},{"1394763322":["hashtag1","hashtag2"]},{"1394763315":["hashtag1","hashtag2"]},{"1394763312":["hashtag1","hashtag2"]},{"1394763317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763319, 1394763310, 1394763322, 1394763315, 1394763312, 1394763317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25891089439392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:45:03.174807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_49_2786.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_53_3591.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_56_2573.jpg', '/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_58_2618.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_02_3597.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_05_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_49_2786.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_53_3591.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_56_2573.jpg
/home/pi/Desktop/images/16112025/17/56/image_16112025_17_56_58_2618.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_02_3597.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_05_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763325","1394763334","1394763328","1394763330","1394763327","1394763323"],"photo_ids_order":["1394763323","1394763325","1394763327","1394763328","1394763330","1394763334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea8ac6ed37c0d37b023a02cc9e0d3e54.jpg","text":"TemporaryFile(/tmp/multipartBody5881729561706496582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318763950,"filename":"image_16112025_17_56_53_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7d89eb3840b50c74ae51f9564ed3609.jpg","text":"TemporaryFile(/tmp/multipartBody8214250268488385904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318763950,"filename":"image_16112025_17_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/11/16/144e856acd5051a9ddccfd638459a65f.jpg","text":"TemporaryFile(/tmp/multipartBody8955172638961721131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318763950,"filename":"image_16112025_17_56_58_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41160cbd79229e8ccca3efb814a62f0e.jpg","text":"TemporaryFile(/tmp/multipartBody1547559665494757333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318763950,"filename":"image_16112025_17_57_02_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7014e61d94d88d0bada8787d435383c4.jpg","text":"TemporaryFile(/tmp/multipartBody3916257821519719939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318763950,"filename":"image_16112025_17_56_56_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ea4717cfff4fe4eac5bfae10ebf43a3.jpg","text":"TemporaryFile(/tmp/multipartBody1026175422900496646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318763950,"filename":"image_16112025_17_56_49_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763327","file1":"1394763325","file0":"1394763323","file4":"1394763330","file5":"1394763334","file3":"1394763328"},"map_files_photo_id_array":[{"photo_id":"1394763334","filename":"file5"},{"photo_id":"1394763327","filename":"file2"},{"photo_id":"1394763330","filename":"file4"},{"photo_id":"1394763325","filename":"file1"},{"photo_id":"1394763323","filename":"file0"},{"photo_id":"1394763328","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763325":["hashtag1","hashtag2"]},{"1394763334":["hashtag1","hashtag2"]},{"1394763328":["hashtag1","hashtag2"]},{"1394763330":["hashtag1","hashtag2"]},{"1394763327":["hashtag1","hashtag2"]},{"1394763323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763325, 1394763334, 1394763328, 1394763330, 1394763327, 1394763323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65188384056091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:45:42.622200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_07_2597.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_11_3582.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_14_2713.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_16_2807.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_20_3783.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_23_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_07_2597.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_11_3582.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_14_2713.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_16_2807.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_20_3783.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_23_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763340","1394763336","1394763345","1394763339","1394763341","1394763343"],"photo_ids_order":["1394763336","1394763339","1394763340","1394763341","1394763343","1394763345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc92b81f2064b9f8bca65049ff45ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody2278731253805401999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318803260,"filename":"image_16112025_17_57_14_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6c6b12047ceca9bb49c8ffaa635c92ed.jpg","text":"TemporaryFile(/tmp/multipartBody447751621181681481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318803260,"filename":"image_16112025_17_57_07_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/796177fab9ed2817020d7d7804576c97.jpg","text":"TemporaryFile(/tmp/multipartBody1319130292656510267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318803260,"filename":"image_16112025_17_57_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/11/16/61f59021d7c30b73a4aa9b08222ee66b.jpg","text":"TemporaryFile(/tmp/multipartBody3398570446089988414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318803260,"filename":"image_16112025_17_57_11_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8670ed1d16cc144351e4522c1c3e425.jpg","text":"TemporaryFile(/tmp/multipartBody6807497611135089435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318803260,"filename":"image_16112025_17_57_16_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/043d47ad58a437704dfd7da89723164f.jpg","text":"TemporaryFile(/tmp/multipartBody7156530601806024696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318803260,"filename":"image_16112025_17_57_20_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763340","file1":"1394763339","file0":"1394763336","file4":"1394763343","file5":"1394763345","file3":"1394763341"},"map_files_photo_id_array":[{"photo_id":"1394763345","filename":"file5"},{"photo_id":"1394763340","filename":"file2"},{"photo_id":"1394763343","filename":"file4"},{"photo_id":"1394763339","filename":"file1"},{"photo_id":"1394763336","filename":"file0"},{"photo_id":"1394763341","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763340":["hashtag1","hashtag2"]},{"1394763336":["hashtag1","hashtag2"]},{"1394763345":["hashtag1","hashtag2"]},{"1394763339":["hashtag1","hashtag2"]},{"1394763341":["hashtag1","hashtag2"]},{"1394763343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763340, 1394763336, 1394763345, 1394763339, 1394763341, 1394763343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31519865989685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:46:21.908787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_25_2642.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_28_2668.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_32_3612.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_34_2631.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_38_3523.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_41_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_25_2642.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_28_2668.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_32_3612.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_34_2631.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_38_3523.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_41_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763352","1394763354","1394763348","1394763350","1394763353","1394763355"],"photo_ids_order":["1394763348","1394763350","1394763352","1394763353","1394763354","1394763355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca5039291dc4aa3f9bd742d8c218db0b.jpg","text":"TemporaryFile(/tmp/multipartBody4821736026898935695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318842619,"filename":"image_16112025_17_57_32_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/165a02f305aceecee87ba930131f03d2.jpg","text":"TemporaryFile(/tmp/multipartBody1715209043354082620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318842619,"filename":"image_16112025_17_57_38_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1efb7ea9a94759f86f7f7207ed830aa.jpg","text":"TemporaryFile(/tmp/multipartBody4941692447120519362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318842619,"filename":"image_16112025_17_57_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/11/16/70744128aced233bc1b555a3d369fded.jpg","text":"TemporaryFile(/tmp/multipartBody7186810822019653331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318842619,"filename":"image_16112025_17_57_28_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be2ca88366676f972074ac4b86e34b51.jpg","text":"TemporaryFile(/tmp/multipartBody3847824210233770290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318842619,"filename":"image_16112025_17_57_34_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20d9c9cfb74dac1c7194fc8e52120d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8189373489532381646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318842619,"filename":"image_16112025_17_57_41_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763352","file1":"1394763350","file0":"1394763348","file4":"1394763354","file5":"1394763355","file3":"1394763353"},"map_files_photo_id_array":[{"photo_id":"1394763355","filename":"file5"},{"photo_id":"1394763352","filename":"file2"},{"photo_id":"1394763354","filename":"file4"},{"photo_id":"1394763350","filename":"file1"},{"photo_id":"1394763348","filename":"file0"},{"photo_id":"1394763353","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763352":["hashtag1","hashtag2"]},{"1394763354":["hashtag1","hashtag2"]},{"1394763348":["hashtag1","hashtag2"]},{"1394763350":["hashtag1","hashtag2"]},{"1394763353":["hashtag1","hashtag2"]},{"1394763355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763352, 1394763354, 1394763348, 1394763350, 1394763353, 1394763355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66594886779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:47:02.794565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_43_2643.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_47_3792.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_50_2836.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_53_2607.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_55_2737.jpg', '/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_59_3527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_43_2643.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_47_3792.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_50_2836.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_53_2607.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_55_2737.jpg
/home/pi/Desktop/images/16112025/17/57/image_16112025_17_57_59_3527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763360","1394763362","1394763365","1394763359","1394763356","1394763358"],"photo_ids_order":["1394763356","1394763358","1394763359","1394763360","1394763362","1394763365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/99409e4ae211d96a5f04891632e0f55c.jpg","text":"TemporaryFile(/tmp/multipartBody8924298694285231763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318883537,"filename":"image_16112025_17_57_53_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/484cb4efbdd16dd0f87fd5daf04f293b.jpg","text":"TemporaryFile(/tmp/multipartBody6875533592717515464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318883537,"filename":"image_16112025_17_57_55_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55b9b25c5b88ef69472665338e55f73a.jpg","text":"TemporaryFile(/tmp/multipartBody2946480972722245574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318883537,"filename":"image_16112025_17_57_59_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/425b5fc9c2e8c4c8bdae74f56f70d162.jpg","text":"TemporaryFile(/tmp/multipartBody9189899480550343472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318883537,"filename":"image_16112025_17_57_50_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ca13d93d1f4c8a22890525fe394f803.jpg","text":"TemporaryFile(/tmp/multipartBody6429909695979775778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318883537,"filename":"image_16112025_17_57_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/11/16/c234721ad94e9785c1d7bb79cae2bc80.jpg","text":"TemporaryFile(/tmp/multipartBody7980757400526486502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318883537,"filename":"image_16112025_17_57_47_3792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763359","file1":"1394763358","file0":"1394763356","file4":"1394763362","file5":"1394763365","file3":"1394763360"},"map_files_photo_id_array":[{"photo_id":"1394763365","filename":"file5"},{"photo_id":"1394763359","filename":"file2"},{"photo_id":"1394763362","filename":"file4"},{"photo_id":"1394763358","filename":"file1"},{"photo_id":"1394763356","filename":"file0"},{"photo_id":"1394763360","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763360":["hashtag1","hashtag2"]},{"1394763362":["hashtag1","hashtag2"]},{"1394763365":["hashtag1","hashtag2"]},{"1394763359":["hashtag1","hashtag2"]},{"1394763356":["hashtag1","hashtag2"]},{"1394763358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763360, 1394763362, 1394763365, 1394763359, 1394763356, 1394763358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56655764579773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:47:42.016374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_01_2697.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_04_2749.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_08_3766.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_11_2835.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_13_2632.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_17_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_01_2697.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_04_2749.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_08_3766.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_11_2835.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_13_2632.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_17_3549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763372","1394763371","1394763374","1394763373","1394763367","1394763370"],"photo_ids_order":["1394763367","1394763370","1394763371","1394763372","1394763373","1394763374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e92829d68fdc82437b0bdd5134ef0489.jpg","text":"TemporaryFile(/tmp/multipartBody6393634324922753784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318922664,"filename":"image_16112025_17_58_11_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b8a9abd22f1b0360575bc40a72afacb.jpg","text":"TemporaryFile(/tmp/multipartBody8236440926590719861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318922664,"filename":"image_16112025_17_58_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/11/16/054f6df32af72231b03f24409a47a17a.jpg","text":"TemporaryFile(/tmp/multipartBody6929285042650172713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318922664,"filename":"image_16112025_17_58_17_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66e2aa2d7875d40c5476dbf2c55cf4c3.jpg","text":"TemporaryFile(/tmp/multipartBody9148680523607906989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318922664,"filename":"image_16112025_17_58_13_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2693af46fa3d7727ceae5af740d2714.jpg","text":"TemporaryFile(/tmp/multipartBody8867297988913431890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318922664,"filename":"image_16112025_17_58_01_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04d4cf66e18e5635869de1608bb5e8fa.jpg","text":"TemporaryFile(/tmp/multipartBody9124447674969532585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318922664,"filename":"image_16112025_17_58_04_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763371","file1":"1394763370","file0":"1394763367","file4":"1394763373","file5":"1394763374","file3":"1394763372"},"map_files_photo_id_array":[{"photo_id":"1394763374","filename":"file5"},{"photo_id":"1394763371","filename":"file2"},{"photo_id":"1394763373","filename":"file4"},{"photo_id":"1394763370","filename":"file1"},{"photo_id":"1394763367","filename":"file0"},{"photo_id":"1394763372","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763372":["hashtag1","hashtag2"]},{"1394763371":["hashtag1","hashtag2"]},{"1394763374":["hashtag1","hashtag2"]},{"1394763373":["hashtag1","hashtag2"]},{"1394763367":["hashtag1","hashtag2"]},{"1394763370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763372, 1394763371, 1394763374, 1394763373, 1394763367, 1394763370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76714038848877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:48:22.296335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_20_2577.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_22_2495.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_26_3686.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_30_3970.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_31_1564.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_35_3522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_20_2577.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_22_2495.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_26_3686.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_30_3970.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_31_1564.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_35_3522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763378","1394763380","1394763377","1394763382","1394763376","1394763379"],"photo_ids_order":["1394763376","1394763377","1394763378","1394763379","1394763380","1394763382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7aa5a28c33dd493112c144542025d11d.jpg","text":"TemporaryFile(/tmp/multipartBody791173436038092592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318962963,"filename":"image_16112025_17_58_26_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/348bd5d1b3dbdfdc3b514e448fc10a43.jpg","text":"TemporaryFile(/tmp/multipartBody1148855022579056534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318962963,"filename":"image_16112025_17_58_31_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6285b9ccf720a52086140521edcae79e.jpg","text":"TemporaryFile(/tmp/multipartBody524408864259107480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318962963,"filename":"image_16112025_17_58_22_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6aef43649b8b7eecd03a0b341310c7e6.jpg","text":"TemporaryFile(/tmp/multipartBody5643670333718974532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318962963,"filename":"image_16112025_17_58_35_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27a3f4ea6b864dd62f9e292ee5b10b31.jpg","text":"TemporaryFile(/tmp/multipartBody87076348774247887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318962963,"filename":"image_16112025_17_58_20_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfa3426924a271953d5dad269d7ae3f1.jpg","text":"TemporaryFile(/tmp/multipartBody254283869565332451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763318962963,"filename":"image_16112025_17_58_30_3970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763378","file1":"1394763377","file0":"1394763376","file4":"1394763380","file5":"1394763382","file3":"1394763379"},"map_files_photo_id_array":[{"photo_id":"1394763382","filename":"file5"},{"photo_id":"1394763378","filename":"file2"},{"photo_id":"1394763380","filename":"file4"},{"photo_id":"1394763377","filename":"file1"},{"photo_id":"1394763376","filename":"file0"},{"photo_id":"1394763379","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763378":["hashtag1","hashtag2"]},{"1394763380":["hashtag1","hashtag2"]},{"1394763377":["hashtag1","hashtag2"]},{"1394763382":["hashtag1","hashtag2"]},{"1394763376":["hashtag1","hashtag2"]},{"1394763379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763378, 1394763380, 1394763377, 1394763382, 1394763376, 1394763379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48755884170532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:49:03.462657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_37_2634.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_40_2760.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_44_3526.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_47_2872.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_49_2529.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_53_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_37_2634.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_40_2760.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_44_3526.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_47_2872.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_49_2529.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_53_3786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1394763390","1394763384","1394763383","1394763386","1394763385","1394763388"],"photo_ids_order":["1394763383","1394763384","1394763385","1394763386","1394763388","1394763390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e27e856d7c2285eef2729c93b72050ef.jpg","text":"TemporaryFile(/tmp/multipartBody4071925009767942587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319004281,"filename":"image_16112025_17_58_53_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8880b19abe09dd51f969f221a71c495c.jpg","text":"TemporaryFile(/tmp/multipartBody6858272876139025459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319004281,"filename":"image_16112025_17_58_40_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64cf44cefd9f964a0f987734c992d44d.jpg","text":"TemporaryFile(/tmp/multipartBody8172050120621811970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319004281,"filename":"image_16112025_17_58_37_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6c764971feb55d1ec11e56fff6d48e1.jpg","text":"TemporaryFile(/tmp/multipartBody4608540447210714361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319004281,"filename":"image_16112025_17_58_47_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bc8b520b4e977d55daed3b95c22fe6f.jpg","text":"TemporaryFile(/tmp/multipartBody6990095527872030567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319004281,"filename":"image_16112025_17_58_44_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/403abe7f90116f1574801cf52f7bdf5a.jpg","text":"TemporaryFile(/tmp/multipartBody7279748507852174259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319004281,"filename":"image_16112025_17_58_49_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763385","file1":"1394763384","file0":"1394763383","file4":"1394763388","file5":"1394763390","file3":"1394763386"},"map_files_photo_id_array":[{"photo_id":"1394763390","filename":"file5"},{"photo_id":"1394763385","filename":"file2"},{"photo_id":"1394763388","filename":"file4"},{"photo_id":"1394763384","filename":"file1"},{"photo_id":"1394763383","filename":"file0"},{"photo_id":"1394763386","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763390":["hashtag1","hashtag2"]},{"1394763384":["hashtag1","hashtag2"]},{"1394763383":["hashtag1","hashtag2"]},{"1394763386":["hashtag1","hashtag2"]},{"1394763385":["hashtag1","hashtag2"]},{"1394763388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763390, 1394763384, 1394763383, 1394763386, 1394763385, 1394763388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.113898038864136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:50:02.571165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_56_2577.jpg', '/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_58_2788.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_02_3655.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_05_2599.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_07_2613.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_11_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_56_2577.jpg
/home/pi/Desktop/images/16112025/17/58/image_16112025_17_58_58_2788.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_02_3655.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_05_2599.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_07_2613.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_11_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763406","1394763400","1394763399","1394763403","1394763398","1394763401"],"photo_ids_order":["1394763398","1394763399","1394763400","1394763401","1394763403","1394763406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/add2490eb7819ede4e1bbe0cf3171ceb.jpg","text":"TemporaryFile(/tmp/multipartBody4421681122528222936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319063326,"filename":"image_16112025_17_59_11_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93ca2fca558d710facf26a54710ea538.jpg","text":"TemporaryFile(/tmp/multipartBody7936766776701359490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319063326,"filename":"image_16112025_17_59_02_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fd6281455cdc0ca9572a2764e74e8df.jpg","text":"TemporaryFile(/tmp/multipartBody8239224735952303182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319063326,"filename":"image_16112025_17_58_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/11/16/1a827dc5116539e32ed8be05170c53e5.jpg","text":"TemporaryFile(/tmp/multipartBody7032383746718570114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319063326,"filename":"image_16112025_17_59_07_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bf8fa6fc9c970f39e245893fdc4a28c.jpg","text":"TemporaryFile(/tmp/multipartBody4699060700120257847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319063326,"filename":"image_16112025_17_58_56_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2867b3d184700a0543b8458d5c34f813.jpg","text":"TemporaryFile(/tmp/multipartBody2737709524205132829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319063326,"filename":"image_16112025_17_59_05_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763400","file1":"1394763399","file0":"1394763398","file4":"1394763403","file5":"1394763406","file3":"1394763401"},"map_files_photo_id_array":[{"photo_id":"1394763406","filename":"file5"},{"photo_id":"1394763400","filename":"file2"},{"photo_id":"1394763403","filename":"file4"},{"photo_id":"1394763399","filename":"file1"},{"photo_id":"1394763398","filename":"file0"},{"photo_id":"1394763401","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763406":["hashtag1","hashtag2"]},{"1394763400":["hashtag1","hashtag2"]},{"1394763399":["hashtag1","hashtag2"]},{"1394763403":["hashtag1","hashtag2"]},{"1394763398":["hashtag1","hashtag2"]},{"1394763401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763406, 1394763400, 1394763399, 1394763403, 1394763398, 1394763401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.625704526901245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:50:42.083486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_14_2723.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_16_2702.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_20_3630.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_23_2709.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_25_2801.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_28_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_14_2723.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_16_2702.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_20_3630.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_23_2709.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_25_2801.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_28_2622.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.2156691551208496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:51:03.457838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_14_2723.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_16_2702.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_20_3630.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_23_2709.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_25_2801.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_28_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_14_2723.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_16_2702.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_20_3630.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_23_2709.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_25_2801.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_28_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763418","1394763427","1394763421","1394763420","1394763423","1394763419"],"photo_ids_order":["1394763418","1394763419","1394763420","1394763421","1394763423","1394763427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a00ccaad9b79078e99526b9423056401.jpg","text":"TemporaryFile(/tmp/multipartBody268569869406615114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319124192,"filename":"image_16112025_17_59_14_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f4e15ea4e8d60c674fdccb337a0c0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1439159227700274270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319124192,"filename":"image_16112025_17_59_28_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bf0c2e82288591698ba89982be926e30.jpg","text":"TemporaryFile(/tmp/multipartBody48458238579555697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319124192,"filename":"image_16112025_17_59_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/11/16/20617f3082d03c60669a1da8b666888e.jpg","text":"TemporaryFile(/tmp/multipartBody9173741911220158634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319124192,"filename":"image_16112025_17_59_20_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c29cc908556ef33c484550657452252.jpg","text":"TemporaryFile(/tmp/multipartBody6325220060553243528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319124192,"filename":"image_16112025_17_59_25_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e73bd992da1f5c6e3ff75a2b22af646.jpg","text":"TemporaryFile(/tmp/multipartBody2053984827361284544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319124192,"filename":"image_16112025_17_59_16_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763420","file1":"1394763419","file0":"1394763418","file4":"1394763423","file5":"1394763427","file3":"1394763421"},"map_files_photo_id_array":[{"photo_id":"1394763427","filename":"file5"},{"photo_id":"1394763420","filename":"file2"},{"photo_id":"1394763423","filename":"file4"},{"photo_id":"1394763419","filename":"file1"},{"photo_id":"1394763418","filename":"file0"},{"photo_id":"1394763421","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763418":["hashtag1","hashtag2"]},{"1394763427":["hashtag1","hashtag2"]},{"1394763421":["hashtag1","hashtag2"]},{"1394763420":["hashtag1","hashtag2"]},{"1394763423":["hashtag1","hashtag2"]},{"1394763419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763418, 1394763427, 1394763421, 1394763420, 1394763423, 1394763419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69840145111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:51:42.753813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_32_3789.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_34_2656.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_37_2792.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_40_2676.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_43_3546.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_46_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_32_3789.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_34_2656.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_37_2792.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_40_2676.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_43_3546.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_46_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763430","1394763433","1394763435","1394763434","1394763437","1394763436"],"photo_ids_order":["1394763430","1394763433","1394763434","1394763435","1394763436","1394763437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/82b4a2611b993776cbf81fc88b97bfed.jpg","text":"TemporaryFile(/tmp/multipartBody2765220007221122669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319163383,"filename":"image_16112025_17_59_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/11/16/6c7eb0f7756e555975342d729621c059.jpg","text":"TemporaryFile(/tmp/multipartBody862896932593420480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319163383,"filename":"image_16112025_17_59_34_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21a801183c5e014b3d00f76ee5034288.jpg","text":"TemporaryFile(/tmp/multipartBody3349759830137634761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319163383,"filename":"image_16112025_17_59_40_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2aa87b16a74f086856890b242fb3252c.jpg","text":"TemporaryFile(/tmp/multipartBody4843947287136769707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319163383,"filename":"image_16112025_17_59_37_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0be915f3f7503df4712847f82312ab5c.jpg","text":"TemporaryFile(/tmp/multipartBody4200025756400966135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319163383,"filename":"image_16112025_17_59_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/11/16/d7b7a009b5240e5773b43ba06d6b527a.jpg","text":"TemporaryFile(/tmp/multipartBody2187667271724234453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319163383,"filename":"image_16112025_17_59_43_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763434","file1":"1394763433","file0":"1394763430","file4":"1394763436","file5":"1394763437","file3":"1394763435"},"map_files_photo_id_array":[{"photo_id":"1394763437","filename":"file5"},{"photo_id":"1394763434","filename":"file2"},{"photo_id":"1394763436","filename":"file4"},{"photo_id":"1394763433","filename":"file1"},{"photo_id":"1394763430","filename":"file0"},{"photo_id":"1394763435","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763430":["hashtag1","hashtag2"]},{"1394763433":["hashtag1","hashtag2"]},{"1394763435":["hashtag1","hashtag2"]},{"1394763434":["hashtag1","hashtag2"]},{"1394763437":["hashtag1","hashtag2"]},{"1394763436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763430, 1394763433, 1394763435, 1394763434, 1394763437, 1394763436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8634135723114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:52:22.038834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_49_2766.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_53_3771.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_56_2793.jpg', '/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_58_2818.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_07_3010.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_11_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_49_2766.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_53_3771.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_56_2793.jpg
/home/pi/Desktop/images/16112025/17/59/image_16112025_17_59_58_2818.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_07_3010.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_11_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763451","1394763441","1394763444","1394763446","1394763449","1394763448"],"photo_ids_order":["1394763441","1394763444","1394763446","1394763448","1394763449","1394763451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da603daea0d8b4ccee91b1e81f286ff4.jpg","text":"TemporaryFile(/tmp/multipartBody3319911967141859894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319205675,"filename":"image_16112025_18_00_11_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e059ecd80e43ebdfdf1b69b1516e486.jpg","text":"TemporaryFile(/tmp/multipartBody3291438779457901723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319205675,"filename":"image_16112025_17_59_49_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9dbd330fab6439c2c42c243c1492f70.jpg","text":"TemporaryFile(/tmp/multipartBody1018703991086649457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319205675,"filename":"image_16112025_17_59_53_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e2863f5948dcf0ffe58c95929ca1083.jpg","text":"TemporaryFile(/tmp/multipartBody4730383298893536486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319205675,"filename":"image_16112025_17_59_56_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b27411128d88d244ab1177c484fc1d00.jpg","text":"TemporaryFile(/tmp/multipartBody664905849429424661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319205675,"filename":"image_16112025_18_00_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/11/16/4e9f87b0894c4d4888ca984c42471fbb.jpg","text":"TemporaryFile(/tmp/multipartBody7037014711071198507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319205675,"filename":"image_16112025_17_59_58_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763446","file1":"1394763444","file0":"1394763441","file4":"1394763449","file5":"1394763451","file3":"1394763448"},"map_files_photo_id_array":[{"photo_id":"1394763451","filename":"file5"},{"photo_id":"1394763446","filename":"file2"},{"photo_id":"1394763449","filename":"file4"},{"photo_id":"1394763444","filename":"file1"},{"photo_id":"1394763441","filename":"file0"},{"photo_id":"1394763448","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763451":["hashtag1","hashtag2"]},{"1394763441":["hashtag1","hashtag2"]},{"1394763444":["hashtag1","hashtag2"]},{"1394763446":["hashtag1","hashtag2"]},{"1394763449":["hashtag1","hashtag2"]},{"1394763448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763451, 1394763441, 1394763444, 1394763446, 1394763449, 1394763448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9691698551178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:53:02.945679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_14_2816.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_16_2576.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_20_3561.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_23_2783.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_25_2580.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_29_3513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_14_2816.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_16_2576.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_20_3561.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_23_2783.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_25_2580.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_29_3513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763456","1394763461","1394763458","1394763452","1394763454","1394763457"],"photo_ids_order":["1394763452","1394763454","1394763456","1394763457","1394763458","1394763461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3e594764f74eecb8af4eede03bc6279.jpg","text":"TemporaryFile(/tmp/multipartBody7567121068421936073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319243690,"filename":"image_16112025_18_00_20_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e3a0d302145ff4f23f5acd65537a1f7.jpg","text":"TemporaryFile(/tmp/multipartBody5800248497693244914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319243690,"filename":"image_16112025_18_00_29_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df8038b29bb7fd466fbb7f56475df79b.jpg","text":"TemporaryFile(/tmp/multipartBody4952393504874668848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319243690,"filename":"image_16112025_18_00_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/11/16/db7ed62be8fb32c95c07e26ae35aa5a2.jpg","text":"TemporaryFile(/tmp/multipartBody8126820924169426086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319243690,"filename":"image_16112025_18_00_14_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cd887ea679ce565daf9b083914ff461.jpg","text":"TemporaryFile(/tmp/multipartBody8063915626831709218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319243690,"filename":"image_16112025_18_00_16_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14c7ca4b2b46412db029a6b4cb4642fa.jpg","text":"TemporaryFile(/tmp/multipartBody1984042181687603772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319243690,"filename":"image_16112025_18_00_23_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763456","file1":"1394763454","file0":"1394763452","file4":"1394763458","file5":"1394763461","file3":"1394763457"},"map_files_photo_id_array":[{"photo_id":"1394763461","filename":"file5"},{"photo_id":"1394763456","filename":"file2"},{"photo_id":"1394763458","filename":"file4"},{"photo_id":"1394763454","filename":"file1"},{"photo_id":"1394763452","filename":"file0"},{"photo_id":"1394763457","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763456":["hashtag1","hashtag2"]},{"1394763461":["hashtag1","hashtag2"]},{"1394763458":["hashtag1","hashtag2"]},{"1394763452":["hashtag1","hashtag2"]},{"1394763454":["hashtag1","hashtag2"]},{"1394763457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763456, 1394763461, 1394763458, 1394763452, 1394763454, 1394763457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49520802497864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:53:42.233230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_34_2735.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_38_3735.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_40_2565.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_44_3605.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_46_2510.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_49_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_34_2735.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_38_3735.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_40_2565.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_44_3605.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_46_2510.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_49_2773.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.5746777057647705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:54:03.297068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_34_2735.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_38_3735.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_40_2565.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_44_3605.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_46_2510.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_49_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_34_2735.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_38_3735.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_40_2565.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_44_3605.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_46_2510.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_49_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763471","1394763468","1394763476","1394763470","1394763473","1394763469"],"photo_ids_order":["1394763468","1394763469","1394763470","1394763471","1394763473","1394763476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f311f740c889d985bbfd7a50c46e72ad.jpg","text":"TemporaryFile(/tmp/multipartBody3045252642067283688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319304043,"filename":"image_16112025_18_00_44_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5eadf3c0ed4cefcd1c2af34da5c17815.jpg","text":"TemporaryFile(/tmp/multipartBody2928366683364324558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319304043,"filename":"image_16112025_18_00_34_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbe924cfd1f84f02d6b7a7eaf533f425.jpg","text":"TemporaryFile(/tmp/multipartBody6793826332739648258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319304043,"filename":"image_16112025_18_00_49_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cf55ddb10cb538989612bac3cc0ce30.jpg","text":"TemporaryFile(/tmp/multipartBody8515283540662974806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319304043,"filename":"image_16112025_18_00_40_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d024592966e5d5d0f58f93ee7ce1731.jpg","text":"TemporaryFile(/tmp/multipartBody1586654717040960315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319304043,"filename":"image_16112025_18_00_46_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3d930b11ef4e3e9301b531360553bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1649338927021151477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319304043,"filename":"image_16112025_18_00_38_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763470","file1":"1394763469","file0":"1394763468","file4":"1394763473","file5":"1394763476","file3":"1394763471"},"map_files_photo_id_array":[{"photo_id":"1394763476","filename":"file5"},{"photo_id":"1394763470","filename":"file2"},{"photo_id":"1394763473","filename":"file4"},{"photo_id":"1394763469","filename":"file1"},{"photo_id":"1394763468","filename":"file0"},{"photo_id":"1394763471","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763471":["hashtag1","hashtag2"]},{"1394763468":["hashtag1","hashtag2"]},{"1394763476":["hashtag1","hashtag2"]},{"1394763470":["hashtag1","hashtag2"]},{"1394763473":["hashtag1","hashtag2"]},{"1394763469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763471, 1394763468, 1394763476, 1394763470, 1394763473, 1394763469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.374845027923584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:54:42.417834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_52_2800.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_56_3695.jpg', '/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_58_2534.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_02_3643.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_05_2604.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_11_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_52_2800.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_56_3695.jpg
/home/pi/Desktop/images/16112025/18/00/image_16112025_18_00_58_2534.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_02_3643.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_05_2604.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_11_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763483","1394763486","1394763480","1394763482","1394763484","1394763481"],"photo_ids_order":["1394763480","1394763481","1394763482","1394763483","1394763484","1394763486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fadc87e729ec3d8350fad71dc0c924b4.jpg","text":"TemporaryFile(/tmp/multipartBody2763405878929442045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319343103,"filename":"image_16112025_18_01_02_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed73246cf44c6ede69e5abab709c11bd.jpg","text":"TemporaryFile(/tmp/multipartBody4749790043823318653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319343103,"filename":"image_16112025_18_01_11_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a810ffc9e9900f6c0c98b51ace81f425.jpg","text":"TemporaryFile(/tmp/multipartBody6143218954596627350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319343103,"filename":"image_16112025_18_00_52_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59f39bb63858428727faac2451d3ed39.jpg","text":"TemporaryFile(/tmp/multipartBody9151969353112002006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319343103,"filename":"image_16112025_18_00_58_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9caeac141c006d744d2b392c454fc29b.jpg","text":"TemporaryFile(/tmp/multipartBody4820700108600288419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319343103,"filename":"image_16112025_18_01_05_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7472f1ef2be5971470773dfbbfdd0740.jpg","text":"TemporaryFile(/tmp/multipartBody3295737301352113984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319343103,"filename":"image_16112025_18_00_56_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763482","file1":"1394763481","file0":"1394763480","file4":"1394763484","file5":"1394763486","file3":"1394763483"},"map_files_photo_id_array":[{"photo_id":"1394763486","filename":"file5"},{"photo_id":"1394763482","filename":"file2"},{"photo_id":"1394763484","filename":"file4"},{"photo_id":"1394763481","filename":"file1"},{"photo_id":"1394763480","filename":"file0"},{"photo_id":"1394763483","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763483":["hashtag1","hashtag2"]},{"1394763486":["hashtag1","hashtag2"]},{"1394763480":["hashtag1","hashtag2"]},{"1394763482":["hashtag1","hashtag2"]},{"1394763484":["hashtag1","hashtag2"]},{"1394763481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763483, 1394763486, 1394763480, 1394763482, 1394763484, 1394763481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29155373573303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:55:22.451486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_14_2694.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_16_2804.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_19_2548.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_23_3682.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_25_2686.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_28_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_14_2694.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_16_2804.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_19_2548.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_23_3682.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_25_2686.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_28_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763492","1394763489","1394763494","1394763488","1394763491","1394763490"],"photo_ids_order":["1394763488","1394763489","1394763490","1394763491","1394763492","1394763494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12326fc3f2875592ac4d4bce6915acec.jpg","text":"TemporaryFile(/tmp/multipartBody8469576036903240659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319383103,"filename":"image_16112025_18_01_25_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/02df9b0ac1a361206616525556823148.jpg","text":"TemporaryFile(/tmp/multipartBody7356894747322793263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319383103,"filename":"image_16112025_18_01_16_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/502f1cb49cca2bbd3d2309fc7e652f16.jpg","text":"TemporaryFile(/tmp/multipartBody6613379712593713522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319383103,"filename":"image_16112025_18_01_28_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/120bc90acc7e512096509e145fa4da3f.jpg","text":"TemporaryFile(/tmp/multipartBody2463611463943351501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319383103,"filename":"image_16112025_18_01_14_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d2edc15ead13eca928ece292f7f4a56.jpg","text":"TemporaryFile(/tmp/multipartBody6113789639742685701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319383103,"filename":"image_16112025_18_01_23_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/376523969aa7f2e87237285791d2304b.jpg","text":"TemporaryFile(/tmp/multipartBody5090703533651085015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319383103,"filename":"image_16112025_18_01_19_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763490","file1":"1394763489","file0":"1394763488","file4":"1394763492","file5":"1394763494","file3":"1394763491"},"map_files_photo_id_array":[{"photo_id":"1394763494","filename":"file5"},{"photo_id":"1394763490","filename":"file2"},{"photo_id":"1394763492","filename":"file4"},{"photo_id":"1394763489","filename":"file1"},{"photo_id":"1394763488","filename":"file0"},{"photo_id":"1394763491","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763492":["hashtag1","hashtag2"]},{"1394763489":["hashtag1","hashtag2"]},{"1394763494":["hashtag1","hashtag2"]},{"1394763488":["hashtag1","hashtag2"]},{"1394763491":["hashtag1","hashtag2"]},{"1394763490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763492, 1394763489, 1394763494, 1394763488, 1394763491, 1394763490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24666404724121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:56:03.033875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_32_3574.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_34_2527.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_38_3605.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_40_2644.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_43_2841.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_47_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_32_3574.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_34_2527.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_38_3605.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_40_2644.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_43_2841.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_47_3670.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.5963830947875977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 19:56:22.637052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_32_3574.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_34_2527.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_38_3605.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_40_2644.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_43_2841.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_47_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_32_3574.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_34_2527.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_38_3605.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_40_2644.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_43_2841.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_47_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763502","1394763505","1394763501","1394763504","1394763507","1394763503"],"photo_ids_order":["1394763501","1394763502","1394763503","1394763504","1394763505","1394763507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e425ba811c40e566c9ad391634d3ba31.jpg","text":"TemporaryFile(/tmp/multipartBody4446784942617932683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319443263,"filename":"image_16112025_18_01_34_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ea5186412981a804397b2e7e53a7b0b.jpg","text":"TemporaryFile(/tmp/multipartBody1706561409623060437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319443263,"filename":"image_16112025_18_01_43_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30d6602e69dc6e3e98ebc898454d1cb6.jpg","text":"TemporaryFile(/tmp/multipartBody2304333290844485360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319443263,"filename":"image_16112025_18_01_32_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/360d3e6e0bf79f758d50d4eb7d77ae16.jpg","text":"TemporaryFile(/tmp/multipartBody4040447078681594569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319443263,"filename":"image_16112025_18_01_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/11/16/93fc36e018e81481a465479d48824d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2410087898368273723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319443263,"filename":"image_16112025_18_01_47_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9f36426d94b13bf292df0f517128bcf.jpg","text":"TemporaryFile(/tmp/multipartBody7815143098181611480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319443263,"filename":"image_16112025_18_01_38_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763503","file1":"1394763502","file0":"1394763501","file4":"1394763505","file5":"1394763507","file3":"1394763504"},"map_files_photo_id_array":[{"photo_id":"1394763507","filename":"file5"},{"photo_id":"1394763503","filename":"file2"},{"photo_id":"1394763505","filename":"file4"},{"photo_id":"1394763502","filename":"file1"},{"photo_id":"1394763501","filename":"file0"},{"photo_id":"1394763504","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763502":["hashtag1","hashtag2"]},{"1394763505":["hashtag1","hashtag2"]},{"1394763501":["hashtag1","hashtag2"]},{"1394763504":["hashtag1","hashtag2"]},{"1394763507":["hashtag1","hashtag2"]},{"1394763503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763502, 1394763505, 1394763501, 1394763504, 1394763507, 1394763503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.941784143447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:57:02.597737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_49_2595.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_52_2610.jpg', '/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_56_3750.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_05_3574.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_07_2579.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_13_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_49_2595.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_52_2610.jpg
/home/pi/Desktop/images/16112025/18/01/image_16112025_18_01_56_3750.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_05_3574.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_07_2579.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_13_2861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763511","1394763513","1394763516","1394763510","1394763512","1394763515"],"photo_ids_order":["1394763510","1394763511","1394763512","1394763513","1394763515","1394763516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6c1246d0fd68b76e2a6d9fa5ad73e0a.jpg","text":"TemporaryFile(/tmp/multipartBody6851548806513270660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319483358,"filename":"image_16112025_18_01_52_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a68bd9748183de6a302cadf07c8fb665.jpg","text":"TemporaryFile(/tmp/multipartBody6252775327670675348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319483358,"filename":"image_16112025_18_02_05_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58a7b0dcd7dbd62323627418f018c834.jpg","text":"TemporaryFile(/tmp/multipartBody2551949367964706343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319483358,"filename":"image_16112025_18_02_13_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14746ebcf0e5e040cae8a943d8ef0ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5097784884718825862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319483358,"filename":"image_16112025_18_01_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/11/16/d8a6f590bd4d23a4d3765b0fa629ab56.jpg","text":"TemporaryFile(/tmp/multipartBody690298239784440400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319483358,"filename":"image_16112025_18_01_56_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ee85a9bce951c6d7a37b20199cce46d.jpg","text":"TemporaryFile(/tmp/multipartBody8877736716470171388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319483358,"filename":"image_16112025_18_02_07_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763512","file1":"1394763511","file0":"1394763510","file4":"1394763515","file5":"1394763516","file3":"1394763513"},"map_files_photo_id_array":[{"photo_id":"1394763516","filename":"file5"},{"photo_id":"1394763512","filename":"file2"},{"photo_id":"1394763515","filename":"file4"},{"photo_id":"1394763511","filename":"file1"},{"photo_id":"1394763510","filename":"file0"},{"photo_id":"1394763513","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763511":["hashtag1","hashtag2"]},{"1394763513":["hashtag1","hashtag2"]},{"1394763516":["hashtag1","hashtag2"]},{"1394763510":["hashtag1","hashtag2"]},{"1394763512":["hashtag1","hashtag2"]},{"1394763515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763511, 1394763513, 1394763516, 1394763510, 1394763512, 1394763515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.949222564697266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:57:41.904204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_17_3709.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_26_3702.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_28_2656.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_31_2572.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_34_3590.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_37_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_17_3709.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_26_3702.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_28_2656.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_31_2572.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_34_3590.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_37_2782.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394763523","1394763517","1394763522","1394763524","1394763521","1394763520"],"photo_ids_order":["1394763517","1394763520","1394763521","1394763522","1394763523","1394763524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a7742ce0629ffb1bb38bfa41f4f38f0.jpg","text":"TemporaryFile(/tmp/multipartBody3009215513854505535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319522532,"filename":"image_16112025_18_02_34_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5ace3bb340a90a7e8a8dd87baf7fdad.jpg","text":"TemporaryFile(/tmp/multipartBody8543623921227119074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319522532,"filename":"image_16112025_18_02_17_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b4f45f189d4fd335d041a7d8cf2311f.jpg","text":"TemporaryFile(/tmp/multipartBody6344322824228318431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319522532,"filename":"image_16112025_18_02_31_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b9609acf750fa0e445933d778c65138.jpg","text":"TemporaryFile(/tmp/multipartBody4521991703544102552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319522532,"filename":"image_16112025_18_02_37_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/022b392df4ce9f64c045976e7f5dd7d2.jpg","text":"TemporaryFile(/tmp/multipartBody5329167200255861222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319522532,"filename":"image_16112025_18_02_28_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f54ce8eead214b0068fa5ab09e90626.jpg","text":"TemporaryFile(/tmp/multipartBody3906269243637459756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319522532,"filename":"image_16112025_18_02_26_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394763521","file1":"1394763520","file0":"1394763517","file4":"1394763523","file5":"1394763524","file3":"1394763522"},"map_files_photo_id_array":[{"photo_id":"1394763524","filename":"file5"},{"photo_id":"1394763521","filename":"file2"},{"photo_id":"1394763523","filename":"file4"},{"photo_id":"1394763520","filename":"file1"},{"photo_id":"1394763517","filename":"file0"},{"photo_id":"1394763522","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394763523":["hashtag1","hashtag2"]},{"1394763517":["hashtag1","hashtag2"]},{"1394763522":["hashtag1","hashtag2"]},{"1394763524":["hashtag1","hashtag2"]},{"1394763521":["hashtag1","hashtag2"]},{"1394763520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394763523, 1394763517, 1394763522, 1394763524, 1394763521, 1394763520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9183189868927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 19:59:03.409941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_40_2544.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_46_2717.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_49_2591.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_55_2554.jpg', '/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_58_2889.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_01_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_40_2544.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_46_2717.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_49_2591.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_55_2554.jpg
/home/pi/Desktop/images/16112025/18/02/image_16112025_18_02_58_2889.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_01_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394764032","1394764166","1394764099","1394763953","1394764318","1394764246"],"photo_ids_order":["1394763953","1394764032","1394764099","1394764166","1394764246","1394764318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e08637da4cd8d6e55739a3f09724a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3323488683204907166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319604171,"filename":"image_16112025_18_02_46_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cee1a5abfbed2ba99cd6077336a91a0.jpg","text":"TemporaryFile(/tmp/multipartBody1362942374365408747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319604171,"filename":"image_16112025_18_02_55_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8dd7d2b148c26533ca3f8d5f1a8088ff.jpg","text":"TemporaryFile(/tmp/multipartBody4920418278666841280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319604171,"filename":"image_16112025_18_02_49_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad8d7712c15687759b19216642a96318.jpg","text":"TemporaryFile(/tmp/multipartBody2451879715178206433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319604171,"filename":"image_16112025_18_02_40_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22da6dd33052d44fdb991517c618cf6a.jpg","text":"TemporaryFile(/tmp/multipartBody9152443470061591012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319604171,"filename":"image_16112025_18_03_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/11/16/423a196624dfacd7239b950e3446352e.jpg","text":"TemporaryFile(/tmp/multipartBody8111970354662193538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319604171,"filename":"image_16112025_18_02_58_2889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394764099","file1":"1394764032","file0":"1394763953","file4":"1394764246","file5":"1394764318","file3":"1394764166"},"map_files_photo_id_array":[{"photo_id":"1394764318","filename":"file5"},{"photo_id":"1394764099","filename":"file2"},{"photo_id":"1394764246","filename":"file4"},{"photo_id":"1394764032","filename":"file1"},{"photo_id":"1394763953","filename":"file0"},{"photo_id":"1394764166","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394764032":["hashtag1","hashtag2"]},{"1394764166":["hashtag1","hashtag2"]},{"1394764099":["hashtag1","hashtag2"]},{"1394763953":["hashtag1","hashtag2"]},{"1394764318":["hashtag1","hashtag2"]},{"1394764246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394764032, 1394764166, 1394764099, 1394763953, 1394764318, 1394764246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.060178995132446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 19:59:42.256691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_07_2712.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_11_3549.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_13_2613.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_16_2681.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_19_2769.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_22_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_07_2712.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_11_3549.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_13_2613.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_16_2681.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_19_2769.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_22_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394764869","1394764737","1394764938","1394764806","1394764592","1394764666"],"photo_ids_order":["1394764592","1394764666","1394764737","1394764806","1394764869","1394764938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05409bdc1b11b64a6501573afc02171c.jpg","text":"TemporaryFile(/tmp/multipartBody5916295434923271506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319642881,"filename":"image_16112025_18_03_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/11/16/1c38796829c363e96f9e10241ad18afc.jpg","text":"TemporaryFile(/tmp/multipartBody8128431895686191138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319642881,"filename":"image_16112025_18_03_13_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2d1e60d32c589ab8390e578e3eba99f.jpg","text":"TemporaryFile(/tmp/multipartBody5387465862290454477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319642881,"filename":"image_16112025_18_03_22_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7a40debea9ac05aa559a5be0b0d999b.jpg","text":"TemporaryFile(/tmp/multipartBody4552645275517350767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319642881,"filename":"image_16112025_18_03_16_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f645e83fa1053487a362ca4ad00cada.jpg","text":"TemporaryFile(/tmp/multipartBody642900791945774683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319642881,"filename":"image_16112025_18_03_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/11/16/9af28c85d99b753ea0edcdc29597ece1.jpg","text":"TemporaryFile(/tmp/multipartBody1651894677848476200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319642881,"filename":"image_16112025_18_03_11_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394764737","file1":"1394764666","file0":"1394764592","file4":"1394764869","file5":"1394764938","file3":"1394764806"},"map_files_photo_id_array":[{"photo_id":"1394764938","filename":"file5"},{"photo_id":"1394764737","filename":"file2"},{"photo_id":"1394764869","filename":"file4"},{"photo_id":"1394764666","filename":"file1"},{"photo_id":"1394764592","filename":"file0"},{"photo_id":"1394764806","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394764869":["hashtag1","hashtag2"]},{"1394764737":["hashtag1","hashtag2"]},{"1394764938":["hashtag1","hashtag2"]},{"1394764806":["hashtag1","hashtag2"]},{"1394764592":["hashtag1","hashtag2"]},{"1394764666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394764869, 1394764737, 1394764938, 1394764806, 1394764592, 1394764666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.547093629837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:00:22.491143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_31_2637.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_34_2655.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_37_3511.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_40_2739.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_43_2719.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_47_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_31_2637.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_34_2655.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_37_3511.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_40_2739.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_43_2719.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_47_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765226","1394765192","1394765189","1394765188","1394765193","1394765190"],"photo_ids_order":["1394765188","1394765189","1394765190","1394765192","1394765193","1394765226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e985a967c366c04f755c5076350a891.jpg","text":"TemporaryFile(/tmp/multipartBody7119341366457484677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319683153,"filename":"image_16112025_18_03_47_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/213c1174db1fbd90991bfcf3878a1381.jpg","text":"TemporaryFile(/tmp/multipartBody7381469354102785032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319683153,"filename":"image_16112025_18_03_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/11/16/9590fb63ce4093408119be38f0f9fcaa.jpg","text":"TemporaryFile(/tmp/multipartBody4568313463732790662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319683153,"filename":"image_16112025_18_03_34_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d62db3015b61f456cef59bf5bcccfad3.jpg","text":"TemporaryFile(/tmp/multipartBody3862385097772964209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319683153,"filename":"image_16112025_18_03_31_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67447fdc40e19f41ce2b829aebcaa23a.jpg","text":"TemporaryFile(/tmp/multipartBody7553668118347111676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319683153,"filename":"image_16112025_18_03_43_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0c884ffbe9b958fd18a083ef2a3a43e.jpg","text":"TemporaryFile(/tmp/multipartBody5299060608771720453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319683153,"filename":"image_16112025_18_03_37_3511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765190","file1":"1394765189","file0":"1394765188","file4":"1394765193","file5":"1394765226","file3":"1394765192"},"map_files_photo_id_array":[{"photo_id":"1394765226","filename":"file5"},{"photo_id":"1394765190","filename":"file2"},{"photo_id":"1394765193","filename":"file4"},{"photo_id":"1394765189","filename":"file1"},{"photo_id":"1394765188","filename":"file0"},{"photo_id":"1394765192","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765226":["hashtag1","hashtag2"]},{"1394765192":["hashtag1","hashtag2"]},{"1394765189":["hashtag1","hashtag2"]},{"1394765188":["hashtag1","hashtag2"]},{"1394765193":["hashtag1","hashtag2"]},{"1394765190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765226, 1394765192, 1394765189, 1394765188, 1394765193, 1394765190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62979030609131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:01:03.489258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_49_2614.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_52_2699.jpg', '/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_58_2634.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_01_2597.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_04_3622.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_07_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_49_2614.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_52_2699.jpg
/home/pi/Desktop/images/16112025/18/03/image_16112025_18_03_58_2634.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_01_2597.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_04_3622.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_07_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765424","1394765532","1394765380","1394765332","1394765493","1394765457"],"photo_ids_order":["1394765332","1394765380","1394765424","1394765457","1394765493","1394765532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f82e23aab6957b5773fa23e49f8c2c0.jpg","text":"TemporaryFile(/tmp/multipartBody5885719533899619441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319724236,"filename":"image_16112025_18_03_58_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3be4e5767b0f6a538c49d11df8782a3.jpg","text":"TemporaryFile(/tmp/multipartBody8042593311406415768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319724236,"filename":"image_16112025_18_04_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/11/16/c16f3a8a5ecd4194ca2ff295b0fbd3c3.jpg","text":"TemporaryFile(/tmp/multipartBody3936757676113849298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319724236,"filename":"image_16112025_18_03_52_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/315418d6778c1203119a673e48a10f21.jpg","text":"TemporaryFile(/tmp/multipartBody3614203289772940717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319724236,"filename":"image_16112025_18_03_49_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f63b2578dd180b168c6f474195ca4a7.jpg","text":"TemporaryFile(/tmp/multipartBody2267374867101973541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319724236,"filename":"image_16112025_18_04_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/11/16/faa01210540db9fcb1dbb5a160e0ee02.jpg","text":"TemporaryFile(/tmp/multipartBody3767414381809051553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319724236,"filename":"image_16112025_18_04_01_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765424","file1":"1394765380","file0":"1394765332","file4":"1394765493","file5":"1394765532","file3":"1394765457"},"map_files_photo_id_array":[{"photo_id":"1394765532","filename":"file5"},{"photo_id":"1394765424","filename":"file2"},{"photo_id":"1394765493","filename":"file4"},{"photo_id":"1394765380","filename":"file1"},{"photo_id":"1394765332","filename":"file0"},{"photo_id":"1394765457","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765424":["hashtag1","hashtag2"]},{"1394765532":["hashtag1","hashtag2"]},{"1394765380":["hashtag1","hashtag2"]},{"1394765332":["hashtag1","hashtag2"]},{"1394765493":["hashtag1","hashtag2"]},{"1394765457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765424, 1394765532, 1394765380, 1394765332, 1394765493, 1394765457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82505655288696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:01:42.628558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_11_3629.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_13_2742.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_20_3691.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_25_2520.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_28_3664.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_31_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_11_3629.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_13_2742.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_20_3691.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_25_2520.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_28_3664.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_31_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765631","1394765660","1394765663","1394765666","1394765621","1394765665"],"photo_ids_order":["1394765621","1394765631","1394765660","1394765663","1394765665","1394765666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e076506e64f1d09c3df009e65433e83f.jpg","text":"TemporaryFile(/tmp/multipartBody1512824748238222062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319763293,"filename":"image_16112025_18_04_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/11/16/35055d93fcfe0b9345f5973417b2ecb1.jpg","text":"TemporaryFile(/tmp/multipartBody9169165118249577210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319763293,"filename":"image_16112025_18_04_20_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49e835250fc2cec0efab35224d2a99bb.jpg","text":"TemporaryFile(/tmp/multipartBody852280812202196645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319763293,"filename":"image_16112025_18_04_25_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/302d3421d7cf3c5a1e64c9547a12927b.jpg","text":"TemporaryFile(/tmp/multipartBody6221357430030731265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319763293,"filename":"image_16112025_18_04_31_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72d938ac45afcb675fcb3b4ae2e47322.jpg","text":"TemporaryFile(/tmp/multipartBody5104726317621151001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319763293,"filename":"image_16112025_18_04_11_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b4856a96ecff436f183232daa8fb835.jpg","text":"TemporaryFile(/tmp/multipartBody4550916343774136038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319763293,"filename":"image_16112025_18_04_28_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765660","file1":"1394765631","file0":"1394765621","file4":"1394765665","file5":"1394765666","file3":"1394765663"},"map_files_photo_id_array":[{"photo_id":"1394765666","filename":"file5"},{"photo_id":"1394765660","filename":"file2"},{"photo_id":"1394765665","filename":"file4"},{"photo_id":"1394765631","filename":"file1"},{"photo_id":"1394765621","filename":"file0"},{"photo_id":"1394765663","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765631":["hashtag1","hashtag2"]},{"1394765660":["hashtag1","hashtag2"]},{"1394765663":["hashtag1","hashtag2"]},{"1394765666":["hashtag1","hashtag2"]},{"1394765621":["hashtag1","hashtag2"]},{"1394765665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765631, 1394765660, 1394765663, 1394765666, 1394765621, 1394765665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09662866592407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:02:21.837160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_34_2691.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_40_2680.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_43_2631.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_47_3711.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_49_2767.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_52_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_34_2691.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_40_2680.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_43_2631.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_47_3711.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_49_2767.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_52_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765675","1394765672","1394765674","1394765676","1394765670","1394765673"],"photo_ids_order":["1394765670","1394765672","1394765673","1394765674","1394765675","1394765676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27c15c9c83f0c175b0901e0ec5fd5d46.jpg","text":"TemporaryFile(/tmp/multipartBody825634509342079451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319802494,"filename":"image_16112025_18_04_49_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8ea70e7880e65930ff2a855adeed508.jpg","text":"TemporaryFile(/tmp/multipartBody65084003663252330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319802494,"filename":"image_16112025_18_04_40_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a3a2be9724e0a418724c76fa0acbc61.jpg","text":"TemporaryFile(/tmp/multipartBody2540832652508466430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319802494,"filename":"image_16112025_18_04_47_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8a83043aa226799601b1c5fd5788a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1068958264805202294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319802494,"filename":"image_16112025_18_04_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/11/16/5033e227d3b26f49d74a92bbf0dce8e6.jpg","text":"TemporaryFile(/tmp/multipartBody951531714599621710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319802494,"filename":"image_16112025_18_04_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/11/16/6b466dd2d2e454ce6c2934d5ea648769.jpg","text":"TemporaryFile(/tmp/multipartBody8444358244977714718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319802494,"filename":"image_16112025_18_04_43_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765673","file1":"1394765672","file0":"1394765670","file4":"1394765675","file5":"1394765676","file3":"1394765674"},"map_files_photo_id_array":[{"photo_id":"1394765676","filename":"file5"},{"photo_id":"1394765673","filename":"file2"},{"photo_id":"1394765675","filename":"file4"},{"photo_id":"1394765672","filename":"file1"},{"photo_id":"1394765670","filename":"file0"},{"photo_id":"1394765674","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765675":["hashtag1","hashtag2"]},{"1394765672":["hashtag1","hashtag2"]},{"1394765674":["hashtag1","hashtag2"]},{"1394765676":["hashtag1","hashtag2"]},{"1394765670":["hashtag1","hashtag2"]},{"1394765673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765675, 1394765672, 1394765674, 1394765676, 1394765670, 1394765673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77644062042236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:03:02.781782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_55_2748.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_58_2772.jpg', '/home/pi/Desktop/images/16112025/18/04/image_16112025_18_05_01_3750.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_04_2652.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_10_3641.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_13_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_55_2748.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_04_58_2772.jpg
/home/pi/Desktop/images/16112025/18/04/image_16112025_18_05_01_3750.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_04_2652.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_10_3641.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_13_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765684","1394765678","1394765686","1394765689","1394765680","1394765682"],"photo_ids_order":["1394765678","1394765680","1394765682","1394765684","1394765686","1394765689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/119f7819093d4f7216069681d1d71204.jpg","text":"TemporaryFile(/tmp/multipartBody7856654638509468298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319843492,"filename":"image_16112025_18_05_04_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f28d6012e99a30c2c6c4246645d1761.jpg","text":"TemporaryFile(/tmp/multipartBody810690424161686747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319843492,"filename":"image_16112025_18_04_55_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc256a853ac55bd4b5085cfa1ee8a1ec.jpg","text":"TemporaryFile(/tmp/multipartBody330417102048552395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319843492,"filename":"image_16112025_18_05_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/11/16/ec708be5972525702f5a6c8068dc1ae4.jpg","text":"TemporaryFile(/tmp/multipartBody7897723566867653710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319843492,"filename":"image_16112025_18_05_13_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c10846e1b25b62377276b0d8020e168.jpg","text":"TemporaryFile(/tmp/multipartBody2693275047327032069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319843492,"filename":"image_16112025_18_04_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/11/16/8056d21b8c6eb5f92650f69b7f7bfbd1.jpg","text":"TemporaryFile(/tmp/multipartBody3475725310980786254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319843492,"filename":"image_16112025_18_05_01_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765682","file1":"1394765680","file0":"1394765678","file4":"1394765686","file5":"1394765689","file3":"1394765684"},"map_files_photo_id_array":[{"photo_id":"1394765689","filename":"file5"},{"photo_id":"1394765682","filename":"file2"},{"photo_id":"1394765686","filename":"file4"},{"photo_id":"1394765680","filename":"file1"},{"photo_id":"1394765678","filename":"file0"},{"photo_id":"1394765684","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765684":["hashtag1","hashtag2"]},{"1394765678":["hashtag1","hashtag2"]},{"1394765686":["hashtag1","hashtag2"]},{"1394765689":["hashtag1","hashtag2"]},{"1394765680":["hashtag1","hashtag2"]},{"1394765682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765684, 1394765678, 1394765686, 1394765689, 1394765680, 1394765682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.374374866485596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:03:42.135663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_19_2575.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_22_2497.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_28_2994.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_31_2565.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_37_2581.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_40_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_19_2575.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_22_2497.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_28_2994.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_31_2565.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_37_2581.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_40_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765693","1394765696","1394765692","1394765695","1394765694","1394765697"],"photo_ids_order":["1394765692","1394765693","1394765694","1394765695","1394765696","1394765697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af0fa4fd91236b870643063775f41546.jpg","text":"TemporaryFile(/tmp/multipartBody1342108335202603229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319882762,"filename":"image_16112025_18_05_22_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b96f0d5d85e25e89e0496008674a0b9d.jpg","text":"TemporaryFile(/tmp/multipartBody4998776904477704494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319882762,"filename":"image_16112025_18_05_37_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1460ddec453f8716de3380dcffa15107.jpg","text":"TemporaryFile(/tmp/multipartBody6300887912010892609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319882762,"filename":"image_16112025_18_05_19_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8b3ad4ce33d3fc06323bf304c311e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1570696154629009406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319882762,"filename":"image_16112025_18_05_31_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8f596388237875a449ba749bba26419.jpg","text":"TemporaryFile(/tmp/multipartBody2128761184145984244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319882762,"filename":"image_16112025_18_05_28_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a00d7c53bd8bd5f225eeb254a33b2bdc.jpg","text":"TemporaryFile(/tmp/multipartBody3009875317194037678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319882762,"filename":"image_16112025_18_05_40_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765694","file1":"1394765693","file0":"1394765692","file4":"1394765696","file5":"1394765697","file3":"1394765695"},"map_files_photo_id_array":[{"photo_id":"1394765697","filename":"file5"},{"photo_id":"1394765694","filename":"file2"},{"photo_id":"1394765696","filename":"file4"},{"photo_id":"1394765693","filename":"file1"},{"photo_id":"1394765692","filename":"file0"},{"photo_id":"1394765695","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765693":["hashtag1","hashtag2"]},{"1394765696":["hashtag1","hashtag2"]},{"1394765692":["hashtag1","hashtag2"]},{"1394765695":["hashtag1","hashtag2"]},{"1394765694":["hashtag1","hashtag2"]},{"1394765697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765693, 1394765696, 1394765692, 1394765695, 1394765694, 1394765697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63982844352722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:04:22.424351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_46_2880.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_49_2748.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_52_2687.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_55_3621.jpg', '/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_58_2569.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_01_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_46_2880.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_49_2748.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_52_2687.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_55_3621.jpg
/home/pi/Desktop/images/16112025/18/05/image_16112025_18_05_58_2569.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_01_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765709","1394765700","1394765711","1394765705","1394765702","1394765707"],"photo_ids_order":["1394765700","1394765702","1394765705","1394765707","1394765709","1394765711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ab295bf944a5d80a49955bca3377d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5844210775997087479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319923079,"filename":"image_16112025_18_05_58_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92968fe06c9afa7a943375a3fac09f56.jpg","text":"TemporaryFile(/tmp/multipartBody9089755743510163620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319923079,"filename":"image_16112025_18_05_46_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b615f7fe6523d3640e80d33afe2c0c7.jpg","text":"TemporaryFile(/tmp/multipartBody7915339366196006881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319923079,"filename":"image_16112025_18_06_01_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f383cf719244f181ed688b5b44a65e01.jpg","text":"TemporaryFile(/tmp/multipartBody7238484190297842296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319923079,"filename":"image_16112025_18_05_52_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ddbe4430a566f065c5a7c4a27f061dd.jpg","text":"TemporaryFile(/tmp/multipartBody1091640337108306391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319923079,"filename":"image_16112025_18_05_49_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d8318caf035aed75c8171b673bb85cd.jpg","text":"TemporaryFile(/tmp/multipartBody1087825309186954252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319923079,"filename":"image_16112025_18_05_55_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765705","file1":"1394765702","file0":"1394765700","file4":"1394765709","file5":"1394765711","file3":"1394765707"},"map_files_photo_id_array":[{"photo_id":"1394765711","filename":"file5"},{"photo_id":"1394765705","filename":"file2"},{"photo_id":"1394765709","filename":"file4"},{"photo_id":"1394765702","filename":"file1"},{"photo_id":"1394765700","filename":"file0"},{"photo_id":"1394765707","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765709":["hashtag1","hashtag2"]},{"1394765700":["hashtag1","hashtag2"]},{"1394765711":["hashtag1","hashtag2"]},{"1394765705":["hashtag1","hashtag2"]},{"1394765702":["hashtag1","hashtag2"]},{"1394765707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765709, 1394765700, 1394765711, 1394765705, 1394765702, 1394765707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41595959663391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:05:03.369681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_04_3560.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_09_2600.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_19_2803.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_22_3666.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_25_2674.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_28_2886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_04_3560.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_09_2600.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_19_2803.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_22_3666.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_25_2674.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_28_2886.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765715","1394765720","1394765714","1394765717","1394765722","1394765713"],"photo_ids_order":["1394765713","1394765714","1394765715","1394765717","1394765720","1394765722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66b547eac5052d4156a97bce754873b7.jpg","text":"TemporaryFile(/tmp/multipartBody8242828149995575186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319964099,"filename":"image_16112025_18_06_19_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a44caf9ebb2141b2199c1a6062952d9.jpg","text":"TemporaryFile(/tmp/multipartBody2573147563112589632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319964099,"filename":"image_16112025_18_06_25_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/91d30688a1aae3f0c1ff196f23ec3e56.jpg","text":"TemporaryFile(/tmp/multipartBody3853183701194436161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319964099,"filename":"image_16112025_18_06_09_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da12e86e607c5c3f241af97ed404cd3f.jpg","text":"TemporaryFile(/tmp/multipartBody1760365811527152874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319964099,"filename":"image_16112025_18_06_22_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dccbb44882f12f790fff3e085400d1e9.jpg","text":"TemporaryFile(/tmp/multipartBody2224798076507911047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319964099,"filename":"image_16112025_18_06_28_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d87ff24f17447ea7e97695f537a8126e.jpg","text":"TemporaryFile(/tmp/multipartBody3184192965062149364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763319964099,"filename":"image_16112025_18_06_04_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765715","file1":"1394765714","file0":"1394765713","file4":"1394765720","file5":"1394765722","file3":"1394765717"},"map_files_photo_id_array":[{"photo_id":"1394765722","filename":"file5"},{"photo_id":"1394765715","filename":"file2"},{"photo_id":"1394765720","filename":"file4"},{"photo_id":"1394765714","filename":"file1"},{"photo_id":"1394765713","filename":"file0"},{"photo_id":"1394765717","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765715":["hashtag1","hashtag2"]},{"1394765720":["hashtag1","hashtag2"]},{"1394765714":["hashtag1","hashtag2"]},{"1394765717":["hashtag1","hashtag2"]},{"1394765722":["hashtag1","hashtag2"]},{"1394765713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765715, 1394765720, 1394765714, 1394765717, 1394765722, 1394765713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11964273452759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:05:42.686212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_31_2663.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_37_2683.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_39_2570.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_52_2602.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_54_2502.jpg', '/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_58_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_31_2663.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_37_2683.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_39_2570.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_52_2602.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_54_2502.jpg
/home/pi/Desktop/images/16112025/18/06/image_16112025_18_06_58_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765724","1394765726","1394765729","1394765728","1394765730","1394765727"],"photo_ids_order":["1394765724","1394765726","1394765727","1394765728","1394765729","1394765730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6342dd59d0bc858d496eb340f7c5b960.jpg","text":"TemporaryFile(/tmp/multipartBody5255766478375718303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320003321,"filename":"image_16112025_18_06_31_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4154e0c6c29744d7d51ff5904261b0e5.jpg","text":"TemporaryFile(/tmp/multipartBody7829107269592000052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320003321,"filename":"image_16112025_18_06_37_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fd8ca721beb154146eaf6153ff6cf81.jpg","text":"TemporaryFile(/tmp/multipartBody5096085324080784606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320003321,"filename":"image_16112025_18_06_54_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7843cecad97a9b87109a1a2fcc18300f.jpg","text":"TemporaryFile(/tmp/multipartBody7323917720575794844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320003321,"filename":"image_16112025_18_06_52_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77e78d2a6a746a3bed2e8e8cdf7f4d09.jpg","text":"TemporaryFile(/tmp/multipartBody2213520285085944096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320003321,"filename":"image_16112025_18_06_58_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/653f4d1600094de3e81b52a7f0990e7f.jpg","text":"TemporaryFile(/tmp/multipartBody8166111181294975306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320003321,"filename":"image_16112025_18_06_39_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765727","file1":"1394765726","file0":"1394765724","file4":"1394765729","file5":"1394765730","file3":"1394765728"},"map_files_photo_id_array":[{"photo_id":"1394765730","filename":"file5"},{"photo_id":"1394765727","filename":"file2"},{"photo_id":"1394765729","filename":"file4"},{"photo_id":"1394765726","filename":"file1"},{"photo_id":"1394765724","filename":"file0"},{"photo_id":"1394765728","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765724":["hashtag1","hashtag2"]},{"1394765726":["hashtag1","hashtag2"]},{"1394765729":["hashtag1","hashtag2"]},{"1394765728":["hashtag1","hashtag2"]},{"1394765730":["hashtag1","hashtag2"]},{"1394765727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765724, 1394765726, 1394765729, 1394765728, 1394765730, 1394765727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.530545473098755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:06:21.970043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_01_2730.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_03_2674.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_07_3549.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_10_2612.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_13_3671.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_16_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_01_2730.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_03_2674.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_07_3549.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_10_2612.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_13_3671.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_16_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765741","1394765738","1394765732","1394765735","1394765737","1394765733"],"photo_ids_order":["1394765732","1394765733","1394765735","1394765737","1394765738","1394765741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b6215eb935adb5a04525c470ea92f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8286482803994784848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320042646,"filename":"image_16112025_18_07_16_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2c2f8b7847fde5c8eabc5355b360f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4662426865277568289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320042646,"filename":"image_16112025_18_07_13_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1988eb3e24e429bb14d9bde8a3b9a3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2364424485983865261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320042646,"filename":"image_16112025_18_07_01_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c79437a033caedb9adb0c5478b99d38a.jpg","text":"TemporaryFile(/tmp/multipartBody7237732245778115741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320042646,"filename":"image_16112025_18_07_07_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88801569e6f7095b96989b81fd4aeeeb.jpg","text":"TemporaryFile(/tmp/multipartBody5589143331312828823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320042646,"filename":"image_16112025_18_07_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/11/16/1156ef8bc40ae372ac6eae1a8f73b867.jpg","text":"TemporaryFile(/tmp/multipartBody6970734985909630251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320042646,"filename":"image_16112025_18_07_03_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765735","file1":"1394765733","file0":"1394765732","file4":"1394765738","file5":"1394765741","file3":"1394765737"},"map_files_photo_id_array":[{"photo_id":"1394765741","filename":"file5"},{"photo_id":"1394765735","filename":"file2"},{"photo_id":"1394765738","filename":"file4"},{"photo_id":"1394765733","filename":"file1"},{"photo_id":"1394765732","filename":"file0"},{"photo_id":"1394765737","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765741":["hashtag1","hashtag2"]},{"1394765738":["hashtag1","hashtag2"]},{"1394765732":["hashtag1","hashtag2"]},{"1394765735":["hashtag1","hashtag2"]},{"1394765737":["hashtag1","hashtag2"]},{"1394765733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765741, 1394765738, 1394765732, 1394765735, 1394765737, 1394765733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81665515899658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:07:02.786178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_19_2691.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_21_2643.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_25_3846.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_28_2666.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_31_3598.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_34_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_19_2691.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_21_2643.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_25_3846.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_28_2666.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_31_3598.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_34_2510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765747","1394765752","1394765749","1394765745","1394765754","1394765748"],"photo_ids_order":["1394765745","1394765747","1394765748","1394765749","1394765752","1394765754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/667a1bb6cadf734432e77e74c6624b50.jpg","text":"TemporaryFile(/tmp/multipartBody7011963988351744530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320083537,"filename":"image_16112025_18_07_21_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a0aa45c87ab3ec4962df684fb76d3e3.jpg","text":"TemporaryFile(/tmp/multipartBody388409435401745324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320083537,"filename":"image_16112025_18_07_31_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e8ce3c787cde5488d7304471cd475e4.jpg","text":"TemporaryFile(/tmp/multipartBody3734975793980701474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320083537,"filename":"image_16112025_18_07_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/11/16/0a813ef437d3f5c0d5f46c16c647cf58.jpg","text":"TemporaryFile(/tmp/multipartBody1823526234200420665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320083537,"filename":"image_16112025_18_07_19_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13e684b797403b332257121f7a28acd2.jpg","text":"TemporaryFile(/tmp/multipartBody7816359762762816307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320083537,"filename":"image_16112025_18_07_34_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dd6fea07204e7520de6d847ea3a01d8.jpg","text":"TemporaryFile(/tmp/multipartBody2320580572458191233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320083537,"filename":"image_16112025_18_07_25_3846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765748","file1":"1394765747","file0":"1394765745","file4":"1394765752","file5":"1394765754","file3":"1394765749"},"map_files_photo_id_array":[{"photo_id":"1394765754","filename":"file5"},{"photo_id":"1394765748","filename":"file2"},{"photo_id":"1394765752","filename":"file4"},{"photo_id":"1394765747","filename":"file1"},{"photo_id":"1394765745","filename":"file0"},{"photo_id":"1394765749","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765747":["hashtag1","hashtag2"]},{"1394765752":["hashtag1","hashtag2"]},{"1394765749":["hashtag1","hashtag2"]},{"1394765745":["hashtag1","hashtag2"]},{"1394765754":["hashtag1","hashtag2"]},{"1394765748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765747, 1394765752, 1394765749, 1394765745, 1394765754, 1394765748)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.16894721984863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:08:02.297530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 20:08:21.910232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_36_2535.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_43_2542.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_45_2785.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_49_3552.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_52_2676.jpg', '/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_55_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_36_2535.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_43_2542.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_45_2785.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_49_3552.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_52_2676.jpg
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_55_3541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765762","1394765765","1394765761","1394765755","1394765758","1394765763"],"photo_ids_order":["1394765755","1394765758","1394765761","1394765762","1394765763","1394765765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/52d7f2d8c4562929e3fe6da49cd7ddcf.jpg","text":"TemporaryFile(/tmp/multipartBody2006790513747058958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320162536,"filename":"image_16112025_18_07_49_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/793ddc156f013c5bfe5980f3387c53a0.jpg","text":"TemporaryFile(/tmp/multipartBody4887936621803936139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320162536,"filename":"image_16112025_18_07_55_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39dfc3328ab06b9daacdeffe5f0c9040.jpg","text":"TemporaryFile(/tmp/multipartBody3015029878326688974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320162536,"filename":"image_16112025_18_07_45_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d3f5b873870435a373c827765b9c648.jpg","text":"TemporaryFile(/tmp/multipartBody809798246488540748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320162536,"filename":"image_16112025_18_07_36_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab975b2c81e1e218eaee77ebe6619d21.jpg","text":"TemporaryFile(/tmp/multipartBody336722335480267383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320162536,"filename":"image_16112025_18_07_43_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d5c471d7be5901de5fdb1d0b3fe90f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1305491812802989074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320162536,"filename":"image_16112025_18_07_52_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765761","file1":"1394765758","file0":"1394765755","file4":"1394765763","file5":"1394765765","file3":"1394765762"},"map_files_photo_id_array":[{"photo_id":"1394765765","filename":"file5"},{"photo_id":"1394765761","filename":"file2"},{"photo_id":"1394765763","filename":"file4"},{"photo_id":"1394765758","filename":"file1"},{"photo_id":"1394765755","filename":"file0"},{"photo_id":"1394765762","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765762":["hashtag1","hashtag2"]},{"1394765765":["hashtag1","hashtag2"]},{"1394765761":["hashtag1","hashtag2"]},{"1394765755":["hashtag1","hashtag2"]},{"1394765758":["hashtag1","hashtag2"]},{"1394765763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765762, 1394765765, 1394765761, 1394765755, 1394765758, 1394765763)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.67978525161743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:09:22.118136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 20:09:42.071052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_58_2809.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_01_2869.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_07_3584.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_10_2577.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_13_2813.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_21_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/07/image_16112025_18_07_58_2809.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_01_2869.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_07_3584.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_10_2577.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_13_2813.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_21_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765777","1394765779","1394765773","1394765776","1394765775","1394765778"],"photo_ids_order":["1394765773","1394765775","1394765776","1394765777","1394765778","1394765779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67f3d037c3d4597ca00b88a452ec26c6.jpg","text":"TemporaryFile(/tmp/multipartBody3156165664192009037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320242710,"filename":"image_16112025_18_08_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/11/16/84779f7b411a71c6eea1b3dc88f8089b.jpg","text":"TemporaryFile(/tmp/multipartBody1348120743312523041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320242710,"filename":"image_16112025_18_08_21_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/325786220f58c30cd4f009f33070b2d0.jpg","text":"TemporaryFile(/tmp/multipartBody7964777338016582796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320242710,"filename":"image_16112025_18_07_58_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38e233e6ca8b845abf1679aa8733e63c.jpg","text":"TemporaryFile(/tmp/multipartBody7770479383635222859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320242710,"filename":"image_16112025_18_08_07_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96be64fc3416e9b5704d3e432dcadd47.jpg","text":"TemporaryFile(/tmp/multipartBody786108695346840113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320242710,"filename":"image_16112025_18_08_01_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6c2c3886fecda8f53fd61c60167c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody1211773476074152978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320242710,"filename":"image_16112025_18_08_13_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765776","file1":"1394765775","file0":"1394765773","file4":"1394765778","file5":"1394765779","file3":"1394765777"},"map_files_photo_id_array":[{"photo_id":"1394765779","filename":"file5"},{"photo_id":"1394765776","filename":"file2"},{"photo_id":"1394765778","filename":"file4"},{"photo_id":"1394765775","filename":"file1"},{"photo_id":"1394765773","filename":"file0"},{"photo_id":"1394765777","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765777":["hashtag1","hashtag2"]},{"1394765779":["hashtag1","hashtag2"]},{"1394765773":["hashtag1","hashtag2"]},{"1394765776":["hashtag1","hashtag2"]},{"1394765775":["hashtag1","hashtag2"]},{"1394765778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765777, 1394765779, 1394765773, 1394765776, 1394765775, 1394765778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59699296951294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:10:23.537694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_24_2782.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_28_3540.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_31_2711.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_34_3563.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_39_2626.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_43_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_24_2782.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_28_3540.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_31_2711.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_34_3563.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_39_2626.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_43_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765786","1394765783","1394765785","1394765790","1394765784","1394765787"],"photo_ids_order":["1394765783","1394765784","1394765785","1394765786","1394765787","1394765790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d064fb15363997aadd44df5a69be79c9.jpg","text":"TemporaryFile(/tmp/multipartBody6428675407885978751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320285247,"filename":"image_16112025_18_08_34_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6fe4a0cac38546fd359a2d956bfe058.jpg","text":"TemporaryFile(/tmp/multipartBody2939705122808059008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320285247,"filename":"image_16112025_18_08_24_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69cdb0d1ba045ba62efcd6685cc583ee.jpg","text":"TemporaryFile(/tmp/multipartBody1982713442474794631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320285247,"filename":"image_16112025_18_08_31_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5d890bb2b5bca738054d790476bba5a.jpg","text":"TemporaryFile(/tmp/multipartBody5219796594257180376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320285247,"filename":"image_16112025_18_08_43_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e97c654c35a835c079697871da867a3.jpg","text":"TemporaryFile(/tmp/multipartBody3202444748525861972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320285247,"filename":"image_16112025_18_08_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/11/16/6d0252a48e75b3a91630d6bc4cedca6e.jpg","text":"TemporaryFile(/tmp/multipartBody5456136768069246711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320285247,"filename":"image_16112025_18_08_39_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765785","file1":"1394765784","file0":"1394765783","file4":"1394765787","file5":"1394765790","file3":"1394765786"},"map_files_photo_id_array":[{"photo_id":"1394765790","filename":"file5"},{"photo_id":"1394765785","filename":"file2"},{"photo_id":"1394765787","filename":"file4"},{"photo_id":"1394765784","filename":"file1"},{"photo_id":"1394765783","filename":"file0"},{"photo_id":"1394765786","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765786":["hashtag1","hashtag2"]},{"1394765783":["hashtag1","hashtag2"]},{"1394765785":["hashtag1","hashtag2"]},{"1394765790":["hashtag1","hashtag2"]},{"1394765784":["hashtag1","hashtag2"]},{"1394765787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765786, 1394765783, 1394765785, 1394765790, 1394765784, 1394765787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.969377756118774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:11:03.371347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_48_2641.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_51_2874.jpg', '/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_55_3758.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_04_3596.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_06_2668.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_10_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_48_2641.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_51_2874.jpg
/home/pi/Desktop/images/16112025/18/08/image_16112025_18_08_55_3758.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_04_3596.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_06_2668.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_10_3704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765792","1394765795","1394765798","1394765794","1394765796","1394765800"],"photo_ids_order":["1394765792","1394765794","1394765795","1394765796","1394765798","1394765800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/218f0f7e7375487ba985ef1f992c0235.jpg","text":"TemporaryFile(/tmp/multipartBody2693898082841868382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320324090,"filename":"image_16112025_18_08_48_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1188f6040a0d667f42a02c3ffe3450c8.jpg","text":"TemporaryFile(/tmp/multipartBody8162052618659973092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320324090,"filename":"image_16112025_18_08_55_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7bbc53e6834dbfebd033ea8d82b55f6.jpg","text":"TemporaryFile(/tmp/multipartBody4390317111470918777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320324090,"filename":"image_16112025_18_09_06_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/679c759e66f7195575a1c44d4fd42fc6.jpg","text":"TemporaryFile(/tmp/multipartBody8097950835769605637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320324090,"filename":"image_16112025_18_08_51_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8807ccefc016251a9f2aecd3e154ad3.jpg","text":"TemporaryFile(/tmp/multipartBody3037510915466212861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320324090,"filename":"image_16112025_18_09_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/11/16/71e2a33ea265ae55b69b5777f69c4450.jpg","text":"TemporaryFile(/tmp/multipartBody6850370192737678751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320324090,"filename":"image_16112025_18_09_10_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765795","file1":"1394765794","file0":"1394765792","file4":"1394765798","file5":"1394765800","file3":"1394765796"},"map_files_photo_id_array":[{"photo_id":"1394765800","filename":"file5"},{"photo_id":"1394765795","filename":"file2"},{"photo_id":"1394765798","filename":"file4"},{"photo_id":"1394765794","filename":"file1"},{"photo_id":"1394765792","filename":"file0"},{"photo_id":"1394765796","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765792":["hashtag1","hashtag2"]},{"1394765795":["hashtag1","hashtag2"]},{"1394765798":["hashtag1","hashtag2"]},{"1394765794":["hashtag1","hashtag2"]},{"1394765796":["hashtag1","hashtag2"]},{"1394765800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765792, 1394765795, 1394765798, 1394765794, 1394765796, 1394765800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.418593645095825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:11:42.750313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_13_2684.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_19_3596.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_22_2734.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_24_2586.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_34_1524.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_38_1866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_13_2684.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_19_3596.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_22_2734.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_24_2586.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_34_1524.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_38_1866.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765814","1394765813","1394765816","1394765815","1394765809","1394765811"],"photo_ids_order":["1394765809","1394765811","1394765813","1394765814","1394765815","1394765816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/109c88e55a8dfc816424207f8758a016.jpg","text":"TemporaryFile(/tmp/multipartBody3974879753868855480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320366322,"filename":"image_16112025_18_09_24_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d45c13604fb6d8b11172619582339ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1630837765859419113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320366322,"filename":"image_16112025_18_09_22_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/663257802f5debaa2660652553f22133.jpg","text":"TemporaryFile(/tmp/multipartBody5599252914127749693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320366322,"filename":"image_16112025_18_09_38_1866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c254f4d2e05da0de394194863b4a5000.jpg","text":"TemporaryFile(/tmp/multipartBody511380558181683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320366322,"filename":"image_16112025_18_09_34_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b518fc4fd023dabfa1499ee7b83dca56.jpg","text":"TemporaryFile(/tmp/multipartBody8734586313228369089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320366322,"filename":"image_16112025_18_09_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/11/16/97faf6ffb0bfe9e07edbf5a87a6d8672.jpg","text":"TemporaryFile(/tmp/multipartBody38945743442875671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320366322,"filename":"image_16112025_18_09_19_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765813","file1":"1394765811","file0":"1394765809","file4":"1394765815","file5":"1394765816","file3":"1394765814"},"map_files_photo_id_array":[{"photo_id":"1394765816","filename":"file5"},{"photo_id":"1394765813","filename":"file2"},{"photo_id":"1394765815","filename":"file4"},{"photo_id":"1394765811","filename":"file1"},{"photo_id":"1394765809","filename":"file0"},{"photo_id":"1394765814","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765814":["hashtag1","hashtag2"]},{"1394765813":["hashtag1","hashtag2"]},{"1394765816":["hashtag1","hashtag2"]},{"1394765815":["hashtag1","hashtag2"]},{"1394765809":["hashtag1","hashtag2"]},{"1394765811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765814, 1394765813, 1394765816, 1394765815, 1394765809, 1394765811)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.966909408569336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:12:42.029261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_39_1550.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_43_3590.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_46_2675.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_48_2605.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_52_3676.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_55_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_39_1550.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_43_3590.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_46_2675.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_48_2605.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_52_3676.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_55_2662.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.5773749351501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:13:02.937400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 20:13:22.242429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 20:13:42.245364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_39_1550.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_43_3590.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_46_2675.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_48_2605.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_52_3676.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_55_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_39_1550.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_43_3590.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_46_2675.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_48_2605.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_52_3676.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_55_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765835","1394765840","1394765837","1394765834","1394765836","1394765838"],"photo_ids_order":["1394765834","1394765835","1394765836","1394765837","1394765838","1394765840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f47ac73e96d8b456820c4b9b23344e94.jpg","text":"TemporaryFile(/tmp/multipartBody335202339212584520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320482870,"filename":"image_16112025_18_09_43_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5b2b281332d47b69d594e9bbd2d2e5e.jpg","text":"TemporaryFile(/tmp/multipartBody4964940162438707958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320482870,"filename":"image_16112025_18_09_55_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2d7489dfd126001b07653d4f594dc97.jpg","text":"TemporaryFile(/tmp/multipartBody7198497636965355556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320482870,"filename":"image_16112025_18_09_48_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/659844150161f471e4a959f624e892f9.jpg","text":"TemporaryFile(/tmp/multipartBody5550889271395740655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320482870,"filename":"image_16112025_18_09_39_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7404895c377ddd91bb56be1e0c9ed5ea.jpg","text":"TemporaryFile(/tmp/multipartBody5099205218062184964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320482870,"filename":"image_16112025_18_09_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/11/16/d6067b9360a33d2b9c1bde090982d7be.jpg","text":"TemporaryFile(/tmp/multipartBody816857784020071532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320482870,"filename":"image_16112025_18_09_52_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765836","file1":"1394765835","file0":"1394765834","file4":"1394765838","file5":"1394765840","file3":"1394765837"},"map_files_photo_id_array":[{"photo_id":"1394765840","filename":"file5"},{"photo_id":"1394765836","filename":"file2"},{"photo_id":"1394765838","filename":"file4"},{"photo_id":"1394765835","filename":"file1"},{"photo_id":"1394765834","filename":"file0"},{"photo_id":"1394765837","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765835":["hashtag1","hashtag2"]},{"1394765840":["hashtag1","hashtag2"]},{"1394765837":["hashtag1","hashtag2"]},{"1394765834":["hashtag1","hashtag2"]},{"1394765836":["hashtag1","hashtag2"]},{"1394765838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765835, 1394765840, 1394765837, 1394765834, 1394765836, 1394765838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.978981733322144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:14:22.477391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_57_2700.jpg', '/home/pi/Desktop/images/16112025/18/09/image_16112025_18_10_00_2657.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_04_3552.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_06_2623.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_10_3663.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_13_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_09_57_2700.jpg
/home/pi/Desktop/images/16112025/18/09/image_16112025_18_10_00_2657.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_04_3552.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_06_2623.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_10_3663.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_13_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765851","1394765854","1394765856","1394765850","1394765853","1394765847"],"photo_ids_order":["1394765847","1394765850","1394765851","1394765853","1394765854","1394765856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4931840535b56a62501fe4465dfd4f5.jpg","text":"TemporaryFile(/tmp/multipartBody8325794070149800745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320523166,"filename":"image_16112025_18_10_04_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/939a0fad1e6eac1b55cbee0132fd261e.jpg","text":"TemporaryFile(/tmp/multipartBody2322921310719244827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320523166,"filename":"image_16112025_18_10_10_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/000dde8855252b24809db587046f7a8f.jpg","text":"TemporaryFile(/tmp/multipartBody3800933328502025390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320523166,"filename":"image_16112025_18_10_13_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0b67a5b3a48f5cd2c96ddde4cb5c94e.jpg","text":"TemporaryFile(/tmp/multipartBody6866081086930782570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320523166,"filename":"image_16112025_18_10_00_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ed7718fb471648528700cd405417ef4.jpg","text":"TemporaryFile(/tmp/multipartBody5845014069593483758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320523166,"filename":"image_16112025_18_10_06_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c52c350d567305a86f798c2712b14b6a.jpg","text":"TemporaryFile(/tmp/multipartBody8370402578213130142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320523166,"filename":"image_16112025_18_09_57_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765851","file1":"1394765850","file0":"1394765847","file4":"1394765854","file5":"1394765856","file3":"1394765853"},"map_files_photo_id_array":[{"photo_id":"1394765856","filename":"file5"},{"photo_id":"1394765851","filename":"file2"},{"photo_id":"1394765854","filename":"file4"},{"photo_id":"1394765850","filename":"file1"},{"photo_id":"1394765847","filename":"file0"},{"photo_id":"1394765853","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765851":["hashtag1","hashtag2"]},{"1394765854":["hashtag1","hashtag2"]},{"1394765856":["hashtag1","hashtag2"]},{"1394765850":["hashtag1","hashtag2"]},{"1394765853":["hashtag1","hashtag2"]},{"1394765847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765851, 1394765854, 1394765856, 1394765850, 1394765853, 1394765847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85126805305481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:15:02.617667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_15_2645.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_19_3605.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_22_2658.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_33_2612.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_37_3670.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_40_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_15_2645.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_19_3605.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_22_2658.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_33_2612.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_37_3670.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_40_2775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765861","1394765858","1394765860","1394765862","1394765865","1394765868"],"photo_ids_order":["1394765858","1394765860","1394765861","1394765862","1394765865","1394765868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c685a60fb9019ca9844692255dd227f3.jpg","text":"TemporaryFile(/tmp/multipartBody7622554947774884634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320563327,"filename":"image_16112025_18_10_22_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25b966b6be040759376b75a6e0092e22.jpg","text":"TemporaryFile(/tmp/multipartBody8700524565828830992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320563327,"filename":"image_16112025_18_10_15_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cccbe02362069e83b24f04321b1fe194.jpg","text":"TemporaryFile(/tmp/multipartBody7801683591151713791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320563327,"filename":"image_16112025_18_10_19_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa2f5d2a28d966908466012b91ce15f8.jpg","text":"TemporaryFile(/tmp/multipartBody355257838333262323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320563327,"filename":"image_16112025_18_10_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/11/16/7f8cb8fef005b83194999ab086857670.jpg","text":"TemporaryFile(/tmp/multipartBody2874944955126251874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320563327,"filename":"image_16112025_18_10_37_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4744a80a35bb0e757aa277f960e34b67.jpg","text":"TemporaryFile(/tmp/multipartBody5152177746827053074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320563327,"filename":"image_16112025_18_10_40_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765861","file1":"1394765860","file0":"1394765858","file4":"1394765865","file5":"1394765868","file3":"1394765862"},"map_files_photo_id_array":[{"photo_id":"1394765868","filename":"file5"},{"photo_id":"1394765861","filename":"file2"},{"photo_id":"1394765865","filename":"file4"},{"photo_id":"1394765860","filename":"file1"},{"photo_id":"1394765858","filename":"file0"},{"photo_id":"1394765862","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765861":["hashtag1","hashtag2"]},{"1394765858":["hashtag1","hashtag2"]},{"1394765860":["hashtag1","hashtag2"]},{"1394765862":["hashtag1","hashtag2"]},{"1394765865":["hashtag1","hashtag2"]},{"1394765868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765861, 1394765858, 1394765860, 1394765862, 1394765865, 1394765868)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.85144782066345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:16:02.698162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_42_2594.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_46_3625.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_48_2660.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_52_3519.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_55_2701.jpg', '/home/pi/Desktop/images/16112025/18/10/image_16112025_18_11_00_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_42_2594.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_46_3625.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_48_2660.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_52_3519.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_10_55_2701.jpg
/home/pi/Desktop/images/16112025/18/10/image_16112025_18_11_00_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765870","1394765872","1394765869","1394765874","1394765877","1394765871"],"photo_ids_order":["1394765869","1394765870","1394765871","1394765872","1394765874","1394765877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2300d44d4e7542eb213035f2a24992af.jpg","text":"TemporaryFile(/tmp/multipartBody8456218460641865850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320623389,"filename":"image_16112025_18_10_46_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d738f79a71d7245a85d2bb9d168b01fb.jpg","text":"TemporaryFile(/tmp/multipartBody8899110634706158923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320623389,"filename":"image_16112025_18_10_52_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/557b4a6c7b588200329dd6b90ff7a98f.jpg","text":"TemporaryFile(/tmp/multipartBody6722993318643923472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320623389,"filename":"image_16112025_18_10_42_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b96b1617925cab53052794592a8a81e.jpg","text":"TemporaryFile(/tmp/multipartBody7788727408768047650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320623389,"filename":"image_16112025_18_10_55_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4e664820ce144df384a734ff56292d9.jpg","text":"TemporaryFile(/tmp/multipartBody3494051719460429314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320623389,"filename":"image_16112025_18_11_00_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eefcfec4d24abc164b1f655dba02aa68.jpg","text":"TemporaryFile(/tmp/multipartBody1214620013713928012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320623389,"filename":"image_16112025_18_10_48_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765871","file1":"1394765870","file0":"1394765869","file4":"1394765874","file5":"1394765877","file3":"1394765872"},"map_files_photo_id_array":[{"photo_id":"1394765877","filename":"file5"},{"photo_id":"1394765871","filename":"file2"},{"photo_id":"1394765874","filename":"file4"},{"photo_id":"1394765870","filename":"file1"},{"photo_id":"1394765869","filename":"file0"},{"photo_id":"1394765872","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765870":["hashtag1","hashtag2"]},{"1394765872":["hashtag1","hashtag2"]},{"1394765869":["hashtag1","hashtag2"]},{"1394765874":["hashtag1","hashtag2"]},{"1394765877":["hashtag1","hashtag2"]},{"1394765871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765870, 1394765872, 1394765869, 1394765874, 1394765877, 1394765871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98294138908386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:16:42.219672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_04_3671.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_09_2750.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_13_3614.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_15_2655.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_19_3531.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_22_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_04_3671.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_09_2750.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_13_3614.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_15_2655.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_19_3531.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_22_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765885","1394765881","1394765884","1394765887","1394765883","1394765886"],"photo_ids_order":["1394765881","1394765883","1394765884","1394765885","1394765886","1394765887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1680a390810f5c7b7d9069528631f4b2.jpg","text":"TemporaryFile(/tmp/multipartBody8299668972758957702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320662854,"filename":"image_16112025_18_11_15_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d42e4d17928e6db05bacf504d7bf7d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4223629640554174779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320662854,"filename":"image_16112025_18_11_04_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f93a0735963fa7597853d6bf92633a6.jpg","text":"TemporaryFile(/tmp/multipartBody4566241622748275279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320662854,"filename":"image_16112025_18_11_13_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6d69f91553ac390655e30ca57f6a5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4615189879082351684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320662854,"filename":"image_16112025_18_11_22_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dd95f3a6c80a16304c8676cc40b6e93.jpg","text":"TemporaryFile(/tmp/multipartBody2755326701293420939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320662854,"filename":"image_16112025_18_11_09_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c132d4ed13c3ae77e31b26a45934b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5669795636947007063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320662854,"filename":"image_16112025_18_11_19_3531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765884","file1":"1394765883","file0":"1394765881","file4":"1394765886","file5":"1394765887","file3":"1394765885"},"map_files_photo_id_array":[{"photo_id":"1394765887","filename":"file5"},{"photo_id":"1394765884","filename":"file2"},{"photo_id":"1394765886","filename":"file4"},{"photo_id":"1394765883","filename":"file1"},{"photo_id":"1394765881","filename":"file0"},{"photo_id":"1394765885","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765885":["hashtag1","hashtag2"]},{"1394765881":["hashtag1","hashtag2"]},{"1394765884":["hashtag1","hashtag2"]},{"1394765887":["hashtag1","hashtag2"]},{"1394765883":["hashtag1","hashtag2"]},{"1394765886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765885, 1394765881, 1394765884, 1394765887, 1394765883, 1394765886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94401264190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:17:22.490738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_28_3608.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_31_2772.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_33_2663.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_36_2648.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_46_3630.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_48_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_28_3608.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_31_2772.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_33_2663.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_36_2648.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_46_3630.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_48_2524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765891","1394765894","1394765890","1394765893","1394765892","1394765895"],"photo_ids_order":["1394765890","1394765891","1394765892","1394765893","1394765894","1394765895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae33b8722aef1d86332236994b3f5683.jpg","text":"TemporaryFile(/tmp/multipartBody8547548716288066915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320703154,"filename":"image_16112025_18_11_31_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b0e80fa802ad8462c19b9ec05cf6a61.jpg","text":"TemporaryFile(/tmp/multipartBody5013567497436372132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320703154,"filename":"image_16112025_18_11_46_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc67f23f767237a25b36e00f57e2f2be.jpg","text":"TemporaryFile(/tmp/multipartBody3863946543940639199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320703154,"filename":"image_16112025_18_11_28_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/242827e5e0c90d18a60d4b32f5f4980f.jpg","text":"TemporaryFile(/tmp/multipartBody7309154446517743139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320703154,"filename":"image_16112025_18_11_36_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f3b9bac6298cec88a8e1ecc66cc8d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5985353370098567342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320703154,"filename":"image_16112025_18_11_33_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4524caae98383e4f21b683d1d1c6d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody5309068224623256648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320703154,"filename":"image_16112025_18_11_48_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765892","file1":"1394765891","file0":"1394765890","file4":"1394765894","file5":"1394765895","file3":"1394765893"},"map_files_photo_id_array":[{"photo_id":"1394765895","filename":"file5"},{"photo_id":"1394765892","filename":"file2"},{"photo_id":"1394765894","filename":"file4"},{"photo_id":"1394765891","filename":"file1"},{"photo_id":"1394765890","filename":"file0"},{"photo_id":"1394765893","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765891":["hashtag1","hashtag2"]},{"1394765894":["hashtag1","hashtag2"]},{"1394765890":["hashtag1","hashtag2"]},{"1394765893":["hashtag1","hashtag2"]},{"1394765892":["hashtag1","hashtag2"]},{"1394765895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765891, 1394765894, 1394765890, 1394765893, 1394765892, 1394765895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84183168411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:18:03.017076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_51_2759.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_55_3707.jpg', '/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_57_2636.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_04_3833.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_09_2554.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_12_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_51_2759.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_55_3707.jpg
/home/pi/Desktop/images/16112025/18/11/image_16112025_18_11_57_2636.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_04_3833.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_09_2554.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_12_2816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765897","1394765896","1394765900","1394765899","1394765902","1394765898"],"photo_ids_order":["1394765896","1394765897","1394765898","1394765899","1394765900","1394765902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/531c38010fdf71e654c139decca8164d.jpg","text":"TemporaryFile(/tmp/multipartBody295970317811859376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320743700,"filename":"image_16112025_18_11_55_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d03cee1a50c4b4d58a9c22cdff915a1.jpg","text":"TemporaryFile(/tmp/multipartBody7054774000051953415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320743700,"filename":"image_16112025_18_11_51_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6e963e6d21633fcdfe22deb4c404d88.jpg","text":"TemporaryFile(/tmp/multipartBody8988183687980102514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320743700,"filename":"image_16112025_18_12_09_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89c89816a42574d8c363cc9ae9ff03cf.jpg","text":"TemporaryFile(/tmp/multipartBody8566956700664884915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320743700,"filename":"image_16112025_18_12_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/11/16/2172ebeeda934dfe16d49dad686fc277.jpg","text":"TemporaryFile(/tmp/multipartBody5953961799771239857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320743700,"filename":"image_16112025_18_12_12_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d198fdb9eb4baa793ab9274207bab8be.jpg","text":"TemporaryFile(/tmp/multipartBody6801353373537915271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320743700,"filename":"image_16112025_18_11_57_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765898","file1":"1394765897","file0":"1394765896","file4":"1394765900","file5":"1394765902","file3":"1394765899"},"map_files_photo_id_array":[{"photo_id":"1394765902","filename":"file5"},{"photo_id":"1394765898","filename":"file2"},{"photo_id":"1394765900","filename":"file4"},{"photo_id":"1394765897","filename":"file1"},{"photo_id":"1394765896","filename":"file0"},{"photo_id":"1394765899","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765897":["hashtag1","hashtag2"]},{"1394765896":["hashtag1","hashtag2"]},{"1394765900":["hashtag1","hashtag2"]},{"1394765899":["hashtag1","hashtag2"]},{"1394765902":["hashtag1","hashtag2"]},{"1394765898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765897, 1394765896, 1394765900, 1394765899, 1394765902, 1394765898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4617657661438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:18:42.664018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_16_3681.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_18_2641.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_21_2678.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_27_2610.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_31_3685.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_36_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_16_3681.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_18_2641.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_21_2678.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_27_2610.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_31_3685.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_36_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765907","1394765904","1394765906","1394765909","1394765908","1394765905"],"photo_ids_order":["1394765904","1394765905","1394765906","1394765907","1394765908","1394765909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b5bb6ce2ab234d1ca0a3027b723bdcb.jpg","text":"TemporaryFile(/tmp/multipartBody3980810700238245730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320783356,"filename":"image_16112025_18_12_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/11/16/34fec344447885c5a48c45c768f92b69.jpg","text":"TemporaryFile(/tmp/multipartBody6885683528906915198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320783356,"filename":"image_16112025_18_12_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/11/16/12f7a914460709864c97d694d7f85067.jpg","text":"TemporaryFile(/tmp/multipartBody3894543645343045395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320783356,"filename":"image_16112025_18_12_21_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2968fea7e16ce578ad45adad8977fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4290138744351230832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320783356,"filename":"image_16112025_18_12_36_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/471c0eeb9e7b807a67d1b7f74464d8b4.jpg","text":"TemporaryFile(/tmp/multipartBody6251932233686706748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320783356,"filename":"image_16112025_18_12_31_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45a90adbd8cae0b7b17448085af37445.jpg","text":"TemporaryFile(/tmp/multipartBody2782003823491730999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320783356,"filename":"image_16112025_18_12_18_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765906","file1":"1394765905","file0":"1394765904","file4":"1394765908","file5":"1394765909","file3":"1394765907"},"map_files_photo_id_array":[{"photo_id":"1394765909","filename":"file5"},{"photo_id":"1394765906","filename":"file2"},{"photo_id":"1394765908","filename":"file4"},{"photo_id":"1394765905","filename":"file1"},{"photo_id":"1394765904","filename":"file0"},{"photo_id":"1394765907","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765907":["hashtag1","hashtag2"]},{"1394765904":["hashtag1","hashtag2"]},{"1394765906":["hashtag1","hashtag2"]},{"1394765909":["hashtag1","hashtag2"]},{"1394765908":["hashtag1","hashtag2"]},{"1394765905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765907, 1394765904, 1394765906, 1394765909, 1394765908, 1394765905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52713179588318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:19:21.849677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_40_3633.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_43_2837.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_45_2655.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_48_2647.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_52_3817.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_54_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_40_3633.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_43_2837.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_45_2655.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_48_2647.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_52_3817.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_54_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765913","1394765916","1394765918","1394765915","1394765920","1394765917"],"photo_ids_order":["1394765913","1394765915","1394765916","1394765917","1394765918","1394765920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8df62273eec34fe6637308aadb60005e.jpg","text":"TemporaryFile(/tmp/multipartBody8156008887750108998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320822481,"filename":"image_16112025_18_12_40_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e41cd79b4f7075600d8773b6f955c6f2.jpg","text":"TemporaryFile(/tmp/multipartBody5534313289822508065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320822481,"filename":"image_16112025_18_12_45_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b7919587d16ba20282df9106e696131.jpg","text":"TemporaryFile(/tmp/multipartBody6461248690134047159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320822481,"filename":"image_16112025_18_12_52_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/832db32a6d53fae08f73456831d1f0e1.jpg","text":"TemporaryFile(/tmp/multipartBody136793097941623594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320822481,"filename":"image_16112025_18_12_43_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dc51a2af383d5eeea0590e598938cab.jpg","text":"TemporaryFile(/tmp/multipartBody787361207330569327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320822481,"filename":"image_16112025_18_12_54_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8e2c8c435743ad9868917914066df77.jpg","text":"TemporaryFile(/tmp/multipartBody6696924229077194011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320822481,"filename":"image_16112025_18_12_48_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765916","file1":"1394765915","file0":"1394765913","file4":"1394765918","file5":"1394765920","file3":"1394765917"},"map_files_photo_id_array":[{"photo_id":"1394765920","filename":"file5"},{"photo_id":"1394765916","filename":"file2"},{"photo_id":"1394765918","filename":"file4"},{"photo_id":"1394765915","filename":"file1"},{"photo_id":"1394765913","filename":"file0"},{"photo_id":"1394765917","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765913":["hashtag1","hashtag2"]},{"1394765916":["hashtag1","hashtag2"]},{"1394765918":["hashtag1","hashtag2"]},{"1394765915":["hashtag1","hashtag2"]},{"1394765920":["hashtag1","hashtag2"]},{"1394765917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765913, 1394765916, 1394765918, 1394765915, 1394765920, 1394765917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74137830734253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:20:02.577874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_57_2692.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_13_01_3592.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_03_2503.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_25_3594.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_27_2591.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_30_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_57_2692.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_13_01_3592.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_03_2503.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_25_3594.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_27_2591.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_30_2510.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.6007003784179688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:20:22.105513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_57_2692.jpg', '/home/pi/Desktop/images/16112025/18/12/image_16112025_18_13_01_3592.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_03_2503.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_25_3594.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_27_2591.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_30_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_12_57_2692.jpg
/home/pi/Desktop/images/16112025/18/12/image_16112025_18_13_01_3592.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_03_2503.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_25_3594.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_27_2591.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_30_2510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765933","1394765927","1394765932","1394765935","1394765929","1394765931"],"photo_ids_order":["1394765927","1394765929","1394765931","1394765932","1394765933","1394765935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bec4251cdb88ae71fa6d50f7a1a4cb22.jpg","text":"TemporaryFile(/tmp/multipartBody3484644531007839724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320882805,"filename":"image_16112025_18_13_27_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed514e0f098486fb99256ed1bda59217.jpg","text":"TemporaryFile(/tmp/multipartBody6152706514925439418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320882805,"filename":"image_16112025_18_12_57_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eef43139f0f306113006704e9b7d924.jpg","text":"TemporaryFile(/tmp/multipartBody1109749225915473147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320882805,"filename":"image_16112025_18_13_25_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8be57e514eccd4992135be267860ff53.jpg","text":"TemporaryFile(/tmp/multipartBody6773170345549841191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320882805,"filename":"image_16112025_18_13_30_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9296533fd22a857fa241fa7f4b9d9f74.jpg","text":"TemporaryFile(/tmp/multipartBody1366512947300144836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320882805,"filename":"image_16112025_18_13_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/11/16/afcb3470e9ae2494ebec9dc83406b4bc.jpg","text":"TemporaryFile(/tmp/multipartBody2386060467034184525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320882805,"filename":"image_16112025_18_13_03_2503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765931","file1":"1394765929","file0":"1394765927","file4":"1394765933","file5":"1394765935","file3":"1394765932"},"map_files_photo_id_array":[{"photo_id":"1394765935","filename":"file5"},{"photo_id":"1394765931","filename":"file2"},{"photo_id":"1394765933","filename":"file4"},{"photo_id":"1394765929","filename":"file1"},{"photo_id":"1394765927","filename":"file0"},{"photo_id":"1394765932","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765933":["hashtag1","hashtag2"]},{"1394765927":["hashtag1","hashtag2"]},{"1394765932":["hashtag1","hashtag2"]},{"1394765935":["hashtag1","hashtag2"]},{"1394765929":["hashtag1","hashtag2"]},{"1394765931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765933, 1394765927, 1394765932, 1394765935, 1394765929, 1394765931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22969102859497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:21:03.038657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_33_3529.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_36_2849.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_39_2607.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_42_3564.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_49_3706.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_51_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_33_3529.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_36_2849.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_39_2607.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_42_3564.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_49_3706.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_51_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765940","1394765942","1394765939","1394765944","1394765938","1394765937"],"photo_ids_order":["1394765937","1394765938","1394765939","1394765940","1394765942","1394765944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b70f3658cb15d5e4529ec3d6a7538015.jpg","text":"TemporaryFile(/tmp/multipartBody606459110313263726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320923813,"filename":"image_16112025_18_13_42_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8e958d2bd4c5d57b2f1d6e14fc3183b.jpg","text":"TemporaryFile(/tmp/multipartBody4516246364722195401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320923813,"filename":"image_16112025_18_13_49_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b37f20218cf3be45a3da4130adf7a58.jpg","text":"TemporaryFile(/tmp/multipartBody579693642854305735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320923813,"filename":"image_16112025_18_13_39_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75afe17d386bb31e3dbbd717a62afb41.jpg","text":"TemporaryFile(/tmp/multipartBody7535227660687267964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320923813,"filename":"image_16112025_18_13_51_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cbcc909e10430c3db84a9ddcbd2f644.jpg","text":"TemporaryFile(/tmp/multipartBody8735529326052372378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320923813,"filename":"image_16112025_18_13_36_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d0c0dbd3df6f98acefac983ee195729.jpg","text":"TemporaryFile(/tmp/multipartBody7721829516251036143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320923813,"filename":"image_16112025_18_13_33_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765939","file1":"1394765938","file0":"1394765937","file4":"1394765942","file5":"1394765944","file3":"1394765940"},"map_files_photo_id_array":[{"photo_id":"1394765944","filename":"file5"},{"photo_id":"1394765939","filename":"file2"},{"photo_id":"1394765942","filename":"file4"},{"photo_id":"1394765938","filename":"file1"},{"photo_id":"1394765937","filename":"file0"},{"photo_id":"1394765940","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765940":["hashtag1","hashtag2"]},{"1394765942":["hashtag1","hashtag2"]},{"1394765939":["hashtag1","hashtag2"]},{"1394765944":["hashtag1","hashtag2"]},{"1394765938":["hashtag1","hashtag2"]},{"1394765937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765940, 1394765942, 1394765939, 1394765944, 1394765938, 1394765937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.427894592285156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:21:42.377158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_54_2868.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_57_2693.jpg', '/home/pi/Desktop/images/16112025/18/13/image_16112025_18_14_00_2875.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_03_3759.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_12_3697.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_15_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_54_2868.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_13_57_2693.jpg
/home/pi/Desktop/images/16112025/18/13/image_16112025_18_14_00_2875.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_03_3759.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_12_3697.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_15_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765949","1394765957","1394765951","1394765959","1394765953","1394765955"],"photo_ids_order":["1394765949","1394765951","1394765953","1394765955","1394765957","1394765959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d6368a329fb4189a77e73f43aed8192.jpg","text":"TemporaryFile(/tmp/multipartBody2210790336863146781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320963015,"filename":"image_16112025_18_13_54_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac5ce1a07b0c31387e103d42415e003b.jpg","text":"TemporaryFile(/tmp/multipartBody3413537635021828386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320963015,"filename":"image_16112025_18_14_12_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe2d21183e3ce46e4dee08e7c1d6f9cb.jpg","text":"TemporaryFile(/tmp/multipartBody4935201819365729419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320963015,"filename":"image_16112025_18_13_57_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcf94e50181f31bc90689a8abbfa9f96.jpg","text":"TemporaryFile(/tmp/multipartBody6202408778639851444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320963015,"filename":"image_16112025_18_14_15_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da4a41711240c55840483c4236cc7bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8229439986350669565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320963015,"filename":"image_16112025_18_14_00_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6402b56a38016e052338d3fbd5de4231.jpg","text":"TemporaryFile(/tmp/multipartBody4186436315818727806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763320963015,"filename":"image_16112025_18_14_03_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765953","file1":"1394765951","file0":"1394765949","file4":"1394765957","file5":"1394765959","file3":"1394765955"},"map_files_photo_id_array":[{"photo_id":"1394765959","filename":"file5"},{"photo_id":"1394765953","filename":"file2"},{"photo_id":"1394765957","filename":"file4"},{"photo_id":"1394765951","filename":"file1"},{"photo_id":"1394765949","filename":"file0"},{"photo_id":"1394765955","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765949":["hashtag1","hashtag2"]},{"1394765957":["hashtag1","hashtag2"]},{"1394765951":["hashtag1","hashtag2"]},{"1394765959":["hashtag1","hashtag2"]},{"1394765953":["hashtag1","hashtag2"]},{"1394765955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765949, 1394765957, 1394765951, 1394765959, 1394765953, 1394765955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40193271636963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:22:22.609604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_19_3557.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_21_2685.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_27_3699.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_32_4391.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_33_1624.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_42_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_19_3557.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_21_2685.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_27_3699.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_32_4391.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_33_1624.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_42_3619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765972","1394765966","1394765975","1394765963","1394765970","1394765967"],"photo_ids_order":["1394765963","1394765966","1394765967","1394765970","1394765972","1394765975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03f30e1220d83decd9330aa671b4e3c2.jpg","text":"TemporaryFile(/tmp/multipartBody8987516833958067323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321003303,"filename":"image_16112025_18_14_33_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06142436064435c4136ca2a9c2bf357f.jpg","text":"TemporaryFile(/tmp/multipartBody6580307458059877125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321003303,"filename":"image_16112025_18_14_21_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/101cad81292e250b967a71f58d725970.jpg","text":"TemporaryFile(/tmp/multipartBody5542878441333532592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321003303,"filename":"image_16112025_18_14_42_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f219eeef07f531180c3975b9cdb331e2.jpg","text":"TemporaryFile(/tmp/multipartBody3856015649611208551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321003303,"filename":"image_16112025_18_14_19_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d43bedc75d88d6f53749f45416cbdecd.jpg","text":"TemporaryFile(/tmp/multipartBody3514960345998637809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321003303,"filename":"image_16112025_18_14_32_4391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/542d5c1cb02c2cf80970da17b786f9d4.jpg","text":"TemporaryFile(/tmp/multipartBody7945430830519842608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321003303,"filename":"image_16112025_18_14_27_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765967","file1":"1394765966","file0":"1394765963","file4":"1394765972","file5":"1394765975","file3":"1394765970"},"map_files_photo_id_array":[{"photo_id":"1394765975","filename":"file5"},{"photo_id":"1394765967","filename":"file2"},{"photo_id":"1394765972","filename":"file4"},{"photo_id":"1394765966","filename":"file1"},{"photo_id":"1394765963","filename":"file0"},{"photo_id":"1394765970","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765972":["hashtag1","hashtag2"]},{"1394765966":["hashtag1","hashtag2"]},{"1394765975":["hashtag1","hashtag2"]},{"1394765963":["hashtag1","hashtag2"]},{"1394765970":["hashtag1","hashtag2"]},{"1394765967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765972, 1394765966, 1394765975, 1394765963, 1394765970, 1394765967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.367348432540894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:23:02.497384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_45_2582.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_48_2648.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_51_3655.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_54_2696.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_57_2573.jpg', '/home/pi/Desktop/images/16112025/18/14/image_16112025_18_15_00_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_45_2582.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_48_2648.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_51_3655.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_54_2696.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_14_57_2573.jpg
/home/pi/Desktop/images/16112025/18/14/image_16112025_18_15_00_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765984","1394765978","1394765981","1394765982","1394765985","1394765979"],"photo_ids_order":["1394765978","1394765979","1394765981","1394765982","1394765984","1394765985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97e689a6d5a5afb9c35201125af19e25.jpg","text":"TemporaryFile(/tmp/multipartBody4003821956396556645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321043239,"filename":"image_16112025_18_14_57_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e7ee8f35d2e56df6d9ee910b3115669.jpg","text":"TemporaryFile(/tmp/multipartBody5400394554346533341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321043239,"filename":"image_16112025_18_14_45_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adbdc7c9000b62242b9fb7695bcd0c4a.jpg","text":"TemporaryFile(/tmp/multipartBody5128816388990846696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321043239,"filename":"image_16112025_18_14_51_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45811e9d8e09dd756d6d654cc104f1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2424110886490755700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321043239,"filename":"image_16112025_18_14_54_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a18fe2aff4d1917d4ce71dfd80c4347.jpg","text":"TemporaryFile(/tmp/multipartBody2788333977745140986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321043239,"filename":"image_16112025_18_15_00_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b5a5a91dffd79e9d3c2608449698bba.jpg","text":"TemporaryFile(/tmp/multipartBody2393875255738709102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321043239,"filename":"image_16112025_18_14_48_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765981","file1":"1394765979","file0":"1394765978","file4":"1394765984","file5":"1394765985","file3":"1394765982"},"map_files_photo_id_array":[{"photo_id":"1394765985","filename":"file5"},{"photo_id":"1394765981","filename":"file2"},{"photo_id":"1394765984","filename":"file4"},{"photo_id":"1394765979","filename":"file1"},{"photo_id":"1394765978","filename":"file0"},{"photo_id":"1394765982","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765984":["hashtag1","hashtag2"]},{"1394765978":["hashtag1","hashtag2"]},{"1394765981":["hashtag1","hashtag2"]},{"1394765982":["hashtag1","hashtag2"]},{"1394765985":["hashtag1","hashtag2"]},{"1394765979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765984, 1394765978, 1394765981, 1394765982, 1394765985, 1394765979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93603301048279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:23:41.800927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_03_2702.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_06_2707.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_09_3749.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_15_2651.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_18_2780.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_27_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_03_2702.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_06_2707.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_09_3749.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_15_2651.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_18_2780.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_27_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394765990","1394765989","1394765992","1394765986","1394765991","1394765988"],"photo_ids_order":["1394765986","1394765988","1394765989","1394765990","1394765991","1394765992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/767ac201c26a34e6cab63573301f542a.jpg","text":"TemporaryFile(/tmp/multipartBody6964071893236425496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321082431,"filename":"image_16112025_18_15_15_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/426373484268e79a949d00979579ba86.jpg","text":"TemporaryFile(/tmp/multipartBody5881470735680144331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321082431,"filename":"image_16112025_18_15_09_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc1c2474310ea7b375eeab28fb24be85.jpg","text":"TemporaryFile(/tmp/multipartBody3533951712908680163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321082431,"filename":"image_16112025_18_15_27_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21b0893ea746467007e151f4b3a910be.jpg","text":"TemporaryFile(/tmp/multipartBody6754591990110343512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321082431,"filename":"image_16112025_18_15_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/11/16/8ffb14489b3f2ffbd13bc5e975bc58af.jpg","text":"TemporaryFile(/tmp/multipartBody4050834508344042251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321082431,"filename":"image_16112025_18_15_18_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7550e058264c3233161a4804a97e030.jpg","text":"TemporaryFile(/tmp/multipartBody6632078339478307126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321082431,"filename":"image_16112025_18_15_06_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765989","file1":"1394765988","file0":"1394765986","file4":"1394765991","file5":"1394765992","file3":"1394765990"},"map_files_photo_id_array":[{"photo_id":"1394765992","filename":"file5"},{"photo_id":"1394765989","filename":"file2"},{"photo_id":"1394765991","filename":"file4"},{"photo_id":"1394765988","filename":"file1"},{"photo_id":"1394765986","filename":"file0"},{"photo_id":"1394765990","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394765990":["hashtag1","hashtag2"]},{"1394765989":["hashtag1","hashtag2"]},{"1394765992":["hashtag1","hashtag2"]},{"1394765986":["hashtag1","hashtag2"]},{"1394765991":["hashtag1","hashtag2"]},{"1394765988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394765990, 1394765989, 1394765992, 1394765986, 1394765991, 1394765988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53473901748657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:24:22.663554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_30_3529.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_36_3572.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_39_2624.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_42_2681.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_45_3765.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_48_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_30_3529.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_36_3572.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_39_2624.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_42_2681.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_45_3765.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_48_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766003","1394765999","1394765995","1394766001","1394765997","1394766006"],"photo_ids_order":["1394765995","1394765997","1394765999","1394766001","1394766003","1394766006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4511c4840bb5a5ed0eae1852aec4f8a6.jpg","text":"TemporaryFile(/tmp/multipartBody6994061005982150735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321123323,"filename":"image_16112025_18_15_45_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4465e0bc8b25fde94bbf721447b4f021.jpg","text":"TemporaryFile(/tmp/multipartBody9050112811063134440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321123323,"filename":"image_16112025_18_15_39_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fe5b0df95335c25888faf7cfb48bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody2192056828859324295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321123323,"filename":"image_16112025_18_15_30_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbc5d59c89679b061a4a90e3be3f1651.jpg","text":"TemporaryFile(/tmp/multipartBody4078537138581457735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321123323,"filename":"image_16112025_18_15_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/11/16/a342bdd28d6fe69443ba36c8aee06231.jpg","text":"TemporaryFile(/tmp/multipartBody5703778870073469668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321123323,"filename":"image_16112025_18_15_36_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/570da5133c105349392d8583b0bea791.jpg","text":"TemporaryFile(/tmp/multipartBody8404325190722747052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321123323,"filename":"image_16112025_18_15_48_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394765999","file1":"1394765997","file0":"1394765995","file4":"1394766003","file5":"1394766006","file3":"1394766001"},"map_files_photo_id_array":[{"photo_id":"1394766006","filename":"file5"},{"photo_id":"1394765999","filename":"file2"},{"photo_id":"1394766003","filename":"file4"},{"photo_id":"1394765997","filename":"file1"},{"photo_id":"1394765995","filename":"file0"},{"photo_id":"1394766001","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766003":["hashtag1","hashtag2"]},{"1394765999":["hashtag1","hashtag2"]},{"1394765995":["hashtag1","hashtag2"]},{"1394766001":["hashtag1","hashtag2"]},{"1394765997":["hashtag1","hashtag2"]},{"1394766006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766003, 1394765999, 1394765995, 1394766001, 1394765997, 1394766006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24207258224487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:25:02.942847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_51_2742.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_54_2643.jpg', '/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_57_3709.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_03_2679.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_05_2855.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_09_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_51_2742.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_54_2643.jpg
/home/pi/Desktop/images/16112025/18/15/image_16112025_18_15_57_3709.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_03_2679.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_05_2855.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_09_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766017","1394766014","1394766013","1394766022","1394766012","1394766015"],"photo_ids_order":["1394766012","1394766013","1394766014","1394766015","1394766017","1394766022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09cd8a4e2a324012821ab1287e422933.jpg","text":"TemporaryFile(/tmp/multipartBody3043760971106558483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321163692,"filename":"image_16112025_18_16_05_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45a8d7491c26bb3d9a92b28924ccf36f.jpg","text":"TemporaryFile(/tmp/multipartBody7473667058180195422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321163692,"filename":"image_16112025_18_15_57_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea4624a70ae4712daba7983b0b3a9a36.jpg","text":"TemporaryFile(/tmp/multipartBody3168725809272561621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321163692,"filename":"image_16112025_18_15_54_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/629822e79c7042225b55b2d04d28c70d.jpg","text":"TemporaryFile(/tmp/multipartBody1442042791978721946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321163692,"filename":"image_16112025_18_16_09_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4757acbc9b547acfceec68817af8c3c7.jpg","text":"TemporaryFile(/tmp/multipartBody7309126927883330404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321163692,"filename":"image_16112025_18_15_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/11/16/3edf732b1ef6fc5aed75c00b14d49487.jpg","text":"TemporaryFile(/tmp/multipartBody7735363501961622379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321163692,"filename":"image_16112025_18_16_03_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766014","file1":"1394766013","file0":"1394766012","file4":"1394766017","file5":"1394766022","file3":"1394766015"},"map_files_photo_id_array":[{"photo_id":"1394766022","filename":"file5"},{"photo_id":"1394766014","filename":"file2"},{"photo_id":"1394766017","filename":"file4"},{"photo_id":"1394766013","filename":"file1"},{"photo_id":"1394766012","filename":"file0"},{"photo_id":"1394766015","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766017":["hashtag1","hashtag2"]},{"1394766014":["hashtag1","hashtag2"]},{"1394766013":["hashtag1","hashtag2"]},{"1394766022":["hashtag1","hashtag2"]},{"1394766012":["hashtag1","hashtag2"]},{"1394766015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766017, 1394766014, 1394766013, 1394766022, 1394766012, 1394766015)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.55706191062927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:26:04.843702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_12_2554.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_14_2809.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_18_3655.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_21_2589.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_27_2729.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_30_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_12_2554.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_14_2809.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_18_3655.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_21_2589.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_27_2729.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_30_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: 0.8444883823394775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:26:22.251718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_12_2554.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_14_2809.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_18_3655.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_21_2589.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_27_2729.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_30_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_12_2554.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_14_2809.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_18_3655.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_21_2589.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_27_2729.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_30_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766038","1394766040","1394766042","1394766036","1394766039","1394766033"],"photo_ids_order":["1394766033","1394766036","1394766038","1394766039","1394766040","1394766042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebde2604397a81b76f03e503669be57b.jpg","text":"TemporaryFile(/tmp/multipartBody3237050808521845158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321242954,"filename":"image_16112025_18_16_18_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86e4830d92e9132ee5053e0be8bc8092.jpg","text":"TemporaryFile(/tmp/multipartBody3904695871751833601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321242954,"filename":"image_16112025_18_16_27_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2629f0e28573555d2e360dd62a643959.jpg","text":"TemporaryFile(/tmp/multipartBody1464838318476334382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321242954,"filename":"image_16112025_18_16_30_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81b3b3de72b4c24d4e9115912f781718.jpg","text":"TemporaryFile(/tmp/multipartBody8141506666140125966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321242954,"filename":"image_16112025_18_16_14_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/975c764b553f4d3c8fbb5fbd8794737a.jpg","text":"TemporaryFile(/tmp/multipartBody8280833169338145978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321242954,"filename":"image_16112025_18_16_21_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56ad6ab32d9833daf692e62edd0930a1.jpg","text":"TemporaryFile(/tmp/multipartBody1436486093496730639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321242954,"filename":"image_16112025_18_16_12_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766038","file1":"1394766036","file0":"1394766033","file4":"1394766040","file5":"1394766042","file3":"1394766039"},"map_files_photo_id_array":[{"photo_id":"1394766042","filename":"file5"},{"photo_id":"1394766038","filename":"file2"},{"photo_id":"1394766040","filename":"file4"},{"photo_id":"1394766036","filename":"file1"},{"photo_id":"1394766033","filename":"file0"},{"photo_id":"1394766039","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766038":["hashtag1","hashtag2"]},{"1394766040":["hashtag1","hashtag2"]},{"1394766042":["hashtag1","hashtag2"]},{"1394766036":["hashtag1","hashtag2"]},{"1394766039":["hashtag1","hashtag2"]},{"1394766033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766038, 1394766040, 1394766042, 1394766036, 1394766039, 1394766033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6412627696991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:27:03.120894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_33_3620.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_36_2781.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_42_2593.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_45_2683.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_47_2648.jpg', '/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_51_3841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_33_3620.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_36_2781.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_42_2593.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_45_2683.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_47_2648.jpg
/home/pi/Desktop/images/16112025/18/16/image_16112025_18_16_51_3841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766047","1394766044","1394766046","1394766054","1394766051","1394766045"],"photo_ids_order":["1394766044","1394766045","1394766046","1394766047","1394766051","1394766054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a4469355799f700c08cf12d57e64e53.jpg","text":"TemporaryFile(/tmp/multipartBody4265675306834631795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321283848,"filename":"image_16112025_18_16_45_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c43a862a49299a70373d3c78326012c2.jpg","text":"TemporaryFile(/tmp/multipartBody8780675394339508654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321283848,"filename":"image_16112025_18_16_33_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/840cedc28cf9fc0133042cc5b51a1616.jpg","text":"TemporaryFile(/tmp/multipartBody621291764280129592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321283848,"filename":"image_16112025_18_16_42_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de6dec6df70f3f07af062b044c95efd3.jpg","text":"TemporaryFile(/tmp/multipartBody4418094206715283577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321283848,"filename":"image_16112025_18_16_51_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9bd70cf2abb97814354601a53180683e.jpg","text":"TemporaryFile(/tmp/multipartBody6731140038911204760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321283848,"filename":"image_16112025_18_16_47_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cabedd050f645ed2c03e5b283e6a9e35.jpg","text":"TemporaryFile(/tmp/multipartBody8779607484594786371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321283848,"filename":"image_16112025_18_16_36_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766046","file1":"1394766045","file0":"1394766044","file4":"1394766051","file5":"1394766054","file3":"1394766047"},"map_files_photo_id_array":[{"photo_id":"1394766054","filename":"file5"},{"photo_id":"1394766046","filename":"file2"},{"photo_id":"1394766051","filename":"file4"},{"photo_id":"1394766045","filename":"file1"},{"photo_id":"1394766044","filename":"file0"},{"photo_id":"1394766047","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766047":["hashtag1","hashtag2"]},{"1394766044":["hashtag1","hashtag2"]},{"1394766046":["hashtag1","hashtag2"]},{"1394766054":["hashtag1","hashtag2"]},{"1394766051":["hashtag1","hashtag2"]},{"1394766045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766047, 1394766044, 1394766046, 1394766054, 1394766051, 1394766045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38278555870056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:27:42.473676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_03_2547.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_09_2687.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_11_2539.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_15_3746.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_18_2605.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_21_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_03_2547.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_09_2687.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_11_2539.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_15_3746.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_18_2605.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_21_2771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766059","1394766062","1394766061","1394766058","1394766060","1394766057"],"photo_ids_order":["1394766057","1394766058","1394766059","1394766060","1394766061","1394766062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7dca68964124e867be718cd0e40f9ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4708220229167723043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321323108,"filename":"image_16112025_18_17_11_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09609d88586f4c0d50c1c8b2171e7df2.jpg","text":"TemporaryFile(/tmp/multipartBody3549257183279778484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321323108,"filename":"image_16112025_18_17_21_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca31c3839edc029d38644e4816ea2710.jpg","text":"TemporaryFile(/tmp/multipartBody2179103193016532485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321323108,"filename":"image_16112025_18_17_18_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc43f8e078f13668e54d2ddf5515e064.jpg","text":"TemporaryFile(/tmp/multipartBody5139163861518530905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321323108,"filename":"image_16112025_18_17_09_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e55127d29112edadbf6301c45a636ea.jpg","text":"TemporaryFile(/tmp/multipartBody7452029315731554813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321323108,"filename":"image_16112025_18_17_15_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97437df3081db368d143a05f8d095fde.jpg","text":"TemporaryFile(/tmp/multipartBody5942777641234398589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321323108,"filename":"image_16112025_18_17_03_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766059","file1":"1394766058","file0":"1394766057","file4":"1394766061","file5":"1394766062","file3":"1394766060"},"map_files_photo_id_array":[{"photo_id":"1394766062","filename":"file5"},{"photo_id":"1394766059","filename":"file2"},{"photo_id":"1394766061","filename":"file4"},{"photo_id":"1394766058","filename":"file1"},{"photo_id":"1394766057","filename":"file0"},{"photo_id":"1394766060","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766059":["hashtag1","hashtag2"]},{"1394766062":["hashtag1","hashtag2"]},{"1394766061":["hashtag1","hashtag2"]},{"1394766058":["hashtag1","hashtag2"]},{"1394766060":["hashtag1","hashtag2"]},{"1394766057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766059, 1394766062, 1394766061, 1394766058, 1394766060, 1394766057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43154215812683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:28:22.701642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_24_3704.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_27_2691.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_30_2683.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_32_2678.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_36_3732.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_39_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_24_3704.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_27_2691.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_30_2683.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_32_2678.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_36_3732.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_39_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766071","1394766074","1394766070","1394766067","1394766069","1394766066"],"photo_ids_order":["1394766066","1394766067","1394766069","1394766070","1394766071","1394766074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/452d3956c0330849430e6c20af642949.jpg","text":"TemporaryFile(/tmp/multipartBody7175277262597211385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321363361,"filename":"image_16112025_18_17_36_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6dba25441fa9529ec3f00e30c22c679.jpg","text":"TemporaryFile(/tmp/multipartBody8229419030297427911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321363361,"filename":"image_16112025_18_17_39_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/748b644569be35941660e596c46b5fee.jpg","text":"TemporaryFile(/tmp/multipartBody8873680570811737193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321363361,"filename":"image_16112025_18_17_32_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62e286daeb16a785312abd489e5bdbee.jpg","text":"TemporaryFile(/tmp/multipartBody8921003467294632179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321363361,"filename":"image_16112025_18_17_27_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25007a468378c516f6d39edd0aa6b88c.jpg","text":"TemporaryFile(/tmp/multipartBody4856513861822137396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321363361,"filename":"image_16112025_18_17_30_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/308ef25c7b1f95d1916e6df2562649f5.jpg","text":"TemporaryFile(/tmp/multipartBody464674338838378605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321363361,"filename":"image_16112025_18_17_24_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766069","file1":"1394766067","file0":"1394766066","file4":"1394766071","file5":"1394766074","file3":"1394766070"},"map_files_photo_id_array":[{"photo_id":"1394766074","filename":"file5"},{"photo_id":"1394766069","filename":"file2"},{"photo_id":"1394766071","filename":"file4"},{"photo_id":"1394766067","filename":"file1"},{"photo_id":"1394766066","filename":"file0"},{"photo_id":"1394766070","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766071":["hashtag1","hashtag2"]},{"1394766074":["hashtag1","hashtag2"]},{"1394766070":["hashtag1","hashtag2"]},{"1394766067":["hashtag1","hashtag2"]},{"1394766069":["hashtag1","hashtag2"]},{"1394766066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766071, 1394766074, 1394766070, 1394766067, 1394766069, 1394766066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.684404611587524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:29:03.027242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_42_3607.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_45_2755.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_48_2642.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_50_2809.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_54_3621.jpg', '/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_57_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_42_3607.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_45_2755.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_48_2642.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_50_2809.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_54_3621.jpg
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_57_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766080","1394766076","1394766087","1394766081","1394766078","1394766083"],"photo_ids_order":["1394766076","1394766078","1394766080","1394766081","1394766083","1394766087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61470149dd759333b563d9ab27476f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2780163286789246082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321403841,"filename":"image_16112025_18_17_48_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f05f2283e574dd505d979d86777e72cc.jpg","text":"TemporaryFile(/tmp/multipartBody6967576933433814607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321403841,"filename":"image_16112025_18_17_42_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/37cea916cf06905673a35e7540b87282.jpg","text":"TemporaryFile(/tmp/multipartBody85043677227127655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321403841,"filename":"image_16112025_18_17_57_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e75a103422b92df7d8daf3c74572756e.jpg","text":"TemporaryFile(/tmp/multipartBody4200205983105037613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321403841,"filename":"image_16112025_18_17_50_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/458e5441fa3ddca56ab02f723c3463fb.jpg","text":"TemporaryFile(/tmp/multipartBody6422002653963788452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321403841,"filename":"image_16112025_18_17_45_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fd4ae52420345f9bb49c03c1f57bdb9.jpg","text":"TemporaryFile(/tmp/multipartBody810931964524795989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321403841,"filename":"image_16112025_18_17_54_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766080","file1":"1394766078","file0":"1394766076","file4":"1394766083","file5":"1394766087","file3":"1394766081"},"map_files_photo_id_array":[{"photo_id":"1394766087","filename":"file5"},{"photo_id":"1394766080","filename":"file2"},{"photo_id":"1394766083","filename":"file4"},{"photo_id":"1394766078","filename":"file1"},{"photo_id":"1394766076","filename":"file0"},{"photo_id":"1394766081","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766080":["hashtag1","hashtag2"]},{"1394766076":["hashtag1","hashtag2"]},{"1394766087":["hashtag1","hashtag2"]},{"1394766081":["hashtag1","hashtag2"]},{"1394766078":["hashtag1","hashtag2"]},{"1394766083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766080, 1394766076, 1394766087, 1394766081, 1394766078, 1394766083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.761934757232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:29:41.980498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_59_2714.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_03_3634.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_06_2563.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_09_3608.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_12_2657.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_14_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_59_2714.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_03_3634.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_06_2563.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_09_3608.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_12_2657.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_14_2635.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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8be2e4d9b</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8be2e4d9b</strong>.
uploaded 0 photos
time to upload: 47.19547390937805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:30:42.255210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_59_2714.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_03_3634.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_06_2563.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_09_3608.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_12_2657.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_14_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_59_2714.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_03_3634.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_06_2563.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_09_3608.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_12_2657.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_14_2635.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.5757389068603516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:31:02.969400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_59_2714.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_03_3634.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_06_2563.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_09_3608.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_12_2657.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_14_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/17/image_16112025_18_17_59_2714.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_03_3634.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_06_2563.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_09_3608.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_12_2657.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_14_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766110","1394766113","1394766109","1394766117","1394766111","1394766108"],"photo_ids_order":["1394766108","1394766109","1394766110","1394766111","1394766113","1394766117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18a7bf2753a3275c3053dac4fdc60caf.jpg","text":"TemporaryFile(/tmp/multipartBody925219637312179646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321523701,"filename":"image_16112025_18_18_06_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03082a348c86e83aade9aa0ad3ee4172.jpg","text":"TemporaryFile(/tmp/multipartBody7897750917611756416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321523701,"filename":"image_16112025_18_18_12_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36b1306e515efe5ba5fa4b76c24418f5.jpg","text":"TemporaryFile(/tmp/multipartBody1529310864152521940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321523701,"filename":"image_16112025_18_18_03_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c244f8a783aba440dd2f5214f37ca2aa.jpg","text":"TemporaryFile(/tmp/multipartBody5495564240160564264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321523701,"filename":"image_16112025_18_18_14_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47b4eecfd45c262abcecdb0e6a9da570.jpg","text":"TemporaryFile(/tmp/multipartBody6089396042348562789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321523701,"filename":"image_16112025_18_18_09_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/362a7374ed72bee16c8fe704677129f5.jpg","text":"TemporaryFile(/tmp/multipartBody5647304695587201454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321523701,"filename":"image_16112025_18_17_59_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766110","file1":"1394766109","file0":"1394766108","file4":"1394766113","file5":"1394766117","file3":"1394766111"},"map_files_photo_id_array":[{"photo_id":"1394766117","filename":"file5"},{"photo_id":"1394766110","filename":"file2"},{"photo_id":"1394766113","filename":"file4"},{"photo_id":"1394766109","filename":"file1"},{"photo_id":"1394766108","filename":"file0"},{"photo_id":"1394766111","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766110":["hashtag1","hashtag2"]},{"1394766113":["hashtag1","hashtag2"]},{"1394766109":["hashtag1","hashtag2"]},{"1394766117":["hashtag1","hashtag2"]},{"1394766111":["hashtag1","hashtag2"]},{"1394766108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766110, 1394766113, 1394766109, 1394766117, 1394766111, 1394766108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82839870452881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:31:42.547952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_17_2704.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_21_3591.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_23_2661.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_27_3610.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_30_2700.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_33_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_17_2704.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_21_3591.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_23_2661.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_27_3610.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_30_2700.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_33_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766128","1394766122","1394766125","1394766124","1394766127","1394766123"],"photo_ids_order":["1394766122","1394766123","1394766124","1394766125","1394766127","1394766128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f92efa3dcd095d97da936f30e0887e0a.jpg","text":"TemporaryFile(/tmp/multipartBody6808764883259826939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321563184,"filename":"image_16112025_18_18_33_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/647628be5a916047efb367397db59b95.jpg","text":"TemporaryFile(/tmp/multipartBody3162439518240502415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321563184,"filename":"image_16112025_18_18_17_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33dafe31e38f500e0e5242007e971658.jpg","text":"TemporaryFile(/tmp/multipartBody7176277611409461912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321563184,"filename":"image_16112025_18_18_27_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15f96fffacc9e343b347f96391953af8.jpg","text":"TemporaryFile(/tmp/multipartBody469262635278932538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321563184,"filename":"image_16112025_18_18_23_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7a5669baa4700d15cc0713cbecb2c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3105025602816040548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321563184,"filename":"image_16112025_18_18_30_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ebc8b48d1cebd3438a9c7ae495312b1.jpg","text":"TemporaryFile(/tmp/multipartBody1548512304849115836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321563184,"filename":"image_16112025_18_18_21_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766124","file1":"1394766123","file0":"1394766122","file4":"1394766127","file5":"1394766128","file3":"1394766125"},"map_files_photo_id_array":[{"photo_id":"1394766128","filename":"file5"},{"photo_id":"1394766124","filename":"file2"},{"photo_id":"1394766127","filename":"file4"},{"photo_id":"1394766123","filename":"file1"},{"photo_id":"1394766122","filename":"file0"},{"photo_id":"1394766125","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766128":["hashtag1","hashtag2"]},{"1394766122":["hashtag1","hashtag2"]},{"1394766125":["hashtag1","hashtag2"]},{"1394766124":["hashtag1","hashtag2"]},{"1394766127":["hashtag1","hashtag2"]},{"1394766123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766128, 1394766122, 1394766125, 1394766124, 1394766127, 1394766123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.978142976760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:32:22.748502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_39_2725.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_41_2618.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_45_3617.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_48_2608.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_50_2881.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_53_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_39_2725.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_41_2618.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_45_3617.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_48_2608.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_50_2881.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_53_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766134","1394766137","1394766130","1394766133","1394766135","1394766132"],"photo_ids_order":["1394766130","1394766132","1394766133","1394766134","1394766135","1394766137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2fda1c3d8b6185acb42737409c64004.jpg","text":"TemporaryFile(/tmp/multipartBody7020215934672565540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321603416,"filename":"image_16112025_18_18_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/11/16/b8129880d87caba3dd5ff7ac17e06e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2597703935127938945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321603416,"filename":"image_16112025_18_18_53_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcb14fa1006e8044aeb54e53b8337f1e.jpg","text":"TemporaryFile(/tmp/multipartBody544772235648139267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321603416,"filename":"image_16112025_18_18_39_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9b587226b0dae4aca5119e55820f4315.jpg","text":"TemporaryFile(/tmp/multipartBody778777640013174541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321603416,"filename":"image_16112025_18_18_45_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b1f608a6fbc2f9b61d1370588d23632.jpg","text":"TemporaryFile(/tmp/multipartBody5871746472655746746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321603416,"filename":"image_16112025_18_18_50_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a5ba97a88cb04b1469902e72c36904a.jpg","text":"TemporaryFile(/tmp/multipartBody9081994307876952493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321603416,"filename":"image_16112025_18_18_41_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766133","file1":"1394766132","file0":"1394766130","file4":"1394766135","file5":"1394766137","file3":"1394766134"},"map_files_photo_id_array":[{"photo_id":"1394766137","filename":"file5"},{"photo_id":"1394766133","filename":"file2"},{"photo_id":"1394766135","filename":"file4"},{"photo_id":"1394766132","filename":"file1"},{"photo_id":"1394766130","filename":"file0"},{"photo_id":"1394766134","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766134":["hashtag1","hashtag2"]},{"1394766137":["hashtag1","hashtag2"]},{"1394766130":["hashtag1","hashtag2"]},{"1394766133":["hashtag1","hashtag2"]},{"1394766135":["hashtag1","hashtag2"]},{"1394766132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766134, 1394766137, 1394766130, 1394766133, 1394766135, 1394766132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33711552619934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:33:02.803357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_57_3684.jpg', '/home/pi/Desktop/images/16112025/18/18/image_16112025_18_19_00_2715.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_02_2617.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_06_3658.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_09_2622.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_11_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_18_57_3684.jpg
/home/pi/Desktop/images/16112025/18/18/image_16112025_18_19_00_2715.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_02_2617.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_06_3658.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_09_2622.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_11_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766146","1394766143","1394766142","1394766151","1394766148","1394766144"],"photo_ids_order":["1394766142","1394766143","1394766144","1394766146","1394766148","1394766151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71df89249b20065ec5025d7cec0eee0e.jpg","text":"TemporaryFile(/tmp/multipartBody7571556117167659507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321643498,"filename":"image_16112025_18_19_06_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfae9acdf1d588193b77155bf6935691.jpg","text":"TemporaryFile(/tmp/multipartBody5540145244301265483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321643498,"filename":"image_16112025_18_19_00_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26cfd5ff1a8682a41c4a920894aef7cf.jpg","text":"TemporaryFile(/tmp/multipartBody8073211680300475219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321643498,"filename":"image_16112025_18_18_57_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc2ec03d9af00c974792f97ea1a8f378.jpg","text":"TemporaryFile(/tmp/multipartBody1505202230542127930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321643498,"filename":"image_16112025_18_19_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/11/16/e4f7fd18c95ce727dd25d03f9edfecd1.jpg","text":"TemporaryFile(/tmp/multipartBody921626750720241719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321643498,"filename":"image_16112025_18_19_09_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f42ca528f0312b145bb4d50db2cb1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5737982312546105847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321643498,"filename":"image_16112025_18_19_02_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766144","file1":"1394766143","file0":"1394766142","file4":"1394766148","file5":"1394766151","file3":"1394766146"},"map_files_photo_id_array":[{"photo_id":"1394766151","filename":"file5"},{"photo_id":"1394766144","filename":"file2"},{"photo_id":"1394766148","filename":"file4"},{"photo_id":"1394766143","filename":"file1"},{"photo_id":"1394766142","filename":"file0"},{"photo_id":"1394766146","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766146":["hashtag1","hashtag2"]},{"1394766143":["hashtag1","hashtag2"]},{"1394766142":["hashtag1","hashtag2"]},{"1394766151":["hashtag1","hashtag2"]},{"1394766148":["hashtag1","hashtag2"]},{"1394766144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766146, 1394766143, 1394766142, 1394766151, 1394766148, 1394766144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0694363117218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:33:42.087051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_15_3593.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_17_2539.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_21_3665.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_24_2606.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_26_2629.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_30_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_15_3593.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_17_2539.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_21_3665.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_24_2606.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_26_2629.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_30_3539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766158","1394766161","1394766155","1394766160","1394766157","1394766159"],"photo_ids_order":["1394766155","1394766157","1394766158","1394766159","1394766160","1394766161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2292e17226341b55de74b5d722c46d1b.jpg","text":"TemporaryFile(/tmp/multipartBody1818993243324157555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321682720,"filename":"image_16112025_18_19_21_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0275cc15e64ad3818e0b37b96420a52.jpg","text":"TemporaryFile(/tmp/multipartBody8039482146521603950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321682720,"filename":"image_16112025_18_19_30_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a560b5e7eadd0785946c4b2ce1b9aa46.jpg","text":"TemporaryFile(/tmp/multipartBody4176771648181188220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321682720,"filename":"image_16112025_18_19_15_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01a5e881b64b73afa54aae430642df37.jpg","text":"TemporaryFile(/tmp/multipartBody6695937345492660674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321682720,"filename":"image_16112025_18_19_26_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cc932881ac71bb0ad6829e1b8df8410.jpg","text":"TemporaryFile(/tmp/multipartBody4638718175282901566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321682720,"filename":"image_16112025_18_19_17_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10319674c0cd2c206611ec0a9c3b3201.jpg","text":"TemporaryFile(/tmp/multipartBody4126405747835221080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321682720,"filename":"image_16112025_18_19_24_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766158","file1":"1394766157","file0":"1394766155","file4":"1394766160","file5":"1394766161","file3":"1394766159"},"map_files_photo_id_array":[{"photo_id":"1394766161","filename":"file5"},{"photo_id":"1394766158","filename":"file2"},{"photo_id":"1394766160","filename":"file4"},{"photo_id":"1394766157","filename":"file1"},{"photo_id":"1394766155","filename":"file0"},{"photo_id":"1394766159","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766158":["hashtag1","hashtag2"]},{"1394766161":["hashtag1","hashtag2"]},{"1394766155":["hashtag1","hashtag2"]},{"1394766160":["hashtag1","hashtag2"]},{"1394766157":["hashtag1","hashtag2"]},{"1394766159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766158, 1394766161, 1394766155, 1394766160, 1394766157, 1394766159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.639540672302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:34:22.455256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_32_2542.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_36_3532.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_39_2740.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_51_3666.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_56_2650.jpg', '/home/pi/Desktop/images/16112025/18/19/image_16112025_18_20_00_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_32_2542.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_36_3532.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_39_2740.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_51_3666.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_19_56_2650.jpg
/home/pi/Desktop/images/16112025/18/19/image_16112025_18_20_00_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766170","1394766164","1394766167","1394766163","1394766166","1394766168"],"photo_ids_order":["1394766163","1394766164","1394766166","1394766167","1394766168","1394766170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e5287ad3baabb4ee30324adaef43a09.jpg","text":"TemporaryFile(/tmp/multipartBody5380245137389099271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321723118,"filename":"image_16112025_18_20_00_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc55542228145f860ac9bc0853a7f39c.jpg","text":"TemporaryFile(/tmp/multipartBody8367309122994770051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321723118,"filename":"image_16112025_18_19_36_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a3d8a7bb79f3dee55f3ce72ac374251.jpg","text":"TemporaryFile(/tmp/multipartBody8932988643308533468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321723118,"filename":"image_16112025_18_19_51_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc7abf4b0f0fa4013855911f08767d53.jpg","text":"TemporaryFile(/tmp/multipartBody2181778832554896723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321723118,"filename":"image_16112025_18_19_32_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f45b517dd6e59f4637d21edf3cc3d33f.jpg","text":"TemporaryFile(/tmp/multipartBody1128579766951037631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321723118,"filename":"image_16112025_18_19_39_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3d6e19fa306b3de3d2033ec2c8624af5.jpg","text":"TemporaryFile(/tmp/multipartBody2747794387968706902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321723118,"filename":"image_16112025_18_19_56_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766166","file1":"1394766164","file0":"1394766163","file4":"1394766168","file5":"1394766170","file3":"1394766167"},"map_files_photo_id_array":[{"photo_id":"1394766170","filename":"file5"},{"photo_id":"1394766166","filename":"file2"},{"photo_id":"1394766168","filename":"file4"},{"photo_id":"1394766164","filename":"file1"},{"photo_id":"1394766163","filename":"file0"},{"photo_id":"1394766167","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766170":["hashtag1","hashtag2"]},{"1394766164":["hashtag1","hashtag2"]},{"1394766167":["hashtag1","hashtag2"]},{"1394766163":["hashtag1","hashtag2"]},{"1394766166":["hashtag1","hashtag2"]},{"1394766168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766170, 1394766164, 1394766167, 1394766163, 1394766166, 1394766168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.118934869766235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:35:03.067806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_03_2679.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_05_2878.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_08_2626.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_12_3723.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_14_2571.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_17_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_03_2679.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_05_2878.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_08_2626.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_12_3723.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_14_2571.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_17_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766173","1394766178","1394766172","1394766171","1394766174","1394766176"],"photo_ids_order":["1394766171","1394766172","1394766173","1394766174","1394766176","1394766178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1fa84062ad63ffcb172a239f3e186d9b.jpg","text":"TemporaryFile(/tmp/multipartBody5228098155758778161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321763820,"filename":"image_16112025_18_20_08_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b68ea5b2e13659f6619db9d8081a8d8.jpg","text":"TemporaryFile(/tmp/multipartBody137457321979185920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321763820,"filename":"image_16112025_18_20_17_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/60c745820d2e52b557fbe076846b31ed.jpg","text":"TemporaryFile(/tmp/multipartBody8261358466176573655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321763820,"filename":"image_16112025_18_20_05_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1b135f25ee3ee61f9569d5ba6e2cc51.jpg","text":"TemporaryFile(/tmp/multipartBody2469972468859531730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321763820,"filename":"image_16112025_18_20_03_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f32d84b139649e8bc30abc6a4c9f09a7.jpg","text":"TemporaryFile(/tmp/multipartBody8045761178298435180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321763820,"filename":"image_16112025_18_20_12_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bb7b748abe5227b1d67b3a2773370b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1240131650457839761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321763820,"filename":"image_16112025_18_20_14_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766173","file1":"1394766172","file0":"1394766171","file4":"1394766176","file5":"1394766178","file3":"1394766174"},"map_files_photo_id_array":[{"photo_id":"1394766178","filename":"file5"},{"photo_id":"1394766173","filename":"file2"},{"photo_id":"1394766176","filename":"file4"},{"photo_id":"1394766172","filename":"file1"},{"photo_id":"1394766171","filename":"file0"},{"photo_id":"1394766174","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766173":["hashtag1","hashtag2"]},{"1394766178":["hashtag1","hashtag2"]},{"1394766172":["hashtag1","hashtag2"]},{"1394766171":["hashtag1","hashtag2"]},{"1394766174":["hashtag1","hashtag2"]},{"1394766176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766173, 1394766178, 1394766172, 1394766171, 1394766174, 1394766176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.398396015167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:35:42.583540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_27_3668.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_30_2833.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_32_2604.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_39_3530.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_45_3678.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_48_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_27_3668.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_30_2833.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_32_2604.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_39_3530.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_45_3678.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_48_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766185","1394766188","1394766187","1394766186","1394766189","1394766182"],"photo_ids_order":["1394766182","1394766185","1394766186","1394766187","1394766188","1394766189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f76e69a69072b01b22bff999224011d0.jpg","text":"TemporaryFile(/tmp/multipartBody5647553182258383082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321803213,"filename":"image_16112025_18_20_30_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f139ffb443f053272d1785bdd330ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3428754153097104009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321803213,"filename":"image_16112025_18_20_45_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68cb011cddf1c32baf813f91ea91d2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7611053323996860457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321803213,"filename":"image_16112025_18_20_39_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3267f4d13b66fc4eebc7c671882a2ee.jpg","text":"TemporaryFile(/tmp/multipartBody2801575745184202611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321803213,"filename":"image_16112025_18_20_32_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19b364b77a1175142c9f763da6f766cb.jpg","text":"TemporaryFile(/tmp/multipartBody6232172666899138984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321803213,"filename":"image_16112025_18_20_48_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6bbe20705158d1de90050cc3081816b.jpg","text":"TemporaryFile(/tmp/multipartBody1549984610393830849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321803213,"filename":"image_16112025_18_20_27_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766186","file1":"1394766185","file0":"1394766182","file4":"1394766188","file5":"1394766189","file3":"1394766187"},"map_files_photo_id_array":[{"photo_id":"1394766189","filename":"file5"},{"photo_id":"1394766186","filename":"file2"},{"photo_id":"1394766188","filename":"file4"},{"photo_id":"1394766185","filename":"file1"},{"photo_id":"1394766182","filename":"file0"},{"photo_id":"1394766187","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766185":["hashtag1","hashtag2"]},{"1394766188":["hashtag1","hashtag2"]},{"1394766187":["hashtag1","hashtag2"]},{"1394766186":["hashtag1","hashtag2"]},{"1394766189":["hashtag1","hashtag2"]},{"1394766182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766185, 1394766188, 1394766187, 1394766186, 1394766189, 1394766182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2089056968689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:36:21.847751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 20:36:41.861228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_50_2775.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_54_3553.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_57_2638.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_59_2667.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_03_3563.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_05_2364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_50_2775.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_54_3553.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_57_2638.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_59_2667.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_03_3563.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_05_2364.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.5800254344940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:37:02.640619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_50_2775.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_54_3553.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_57_2638.jpg', '/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_59_2667.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_03_3563.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_05_2364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_50_2775.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_54_3553.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_57_2638.jpg
/home/pi/Desktop/images/16112025/18/20/image_16112025_18_20_59_2667.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_03_3563.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_05_2364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766206","1394766205","1394766208","1394766202","1394766210","1394766204"],"photo_ids_order":["1394766202","1394766204","1394766205","1394766206","1394766208","1394766210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/337ef97b191ca5a6666da4d141647db2.jpg","text":"TemporaryFile(/tmp/multipartBody198459505440961539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321883372,"filename":"image_16112025_18_20_59_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/226b6896e9d45c34ca5173e6ed8a8a03.jpg","text":"TemporaryFile(/tmp/multipartBody4671446014691414144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321883372,"filename":"image_16112025_18_20_57_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d66ab1e1cbab08794ddb72498230b98.jpg","text":"TemporaryFile(/tmp/multipartBody9151871779376649997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321883372,"filename":"image_16112025_18_21_03_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1db73481ae5b47bcacd5b231662d4102.jpg","text":"TemporaryFile(/tmp/multipartBody8433778068084739760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321883372,"filename":"image_16112025_18_20_50_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa53907255e0da5a032079598ba614b1.jpg","text":"TemporaryFile(/tmp/multipartBody2563350425643262728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321883372,"filename":"image_16112025_18_21_05_2364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b78a295c4156131be9facdadd4133db9.jpg","text":"TemporaryFile(/tmp/multipartBody3623424879722393586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321883372,"filename":"image_16112025_18_20_54_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766205","file1":"1394766204","file0":"1394766202","file4":"1394766208","file5":"1394766210","file3":"1394766206"},"map_files_photo_id_array":[{"photo_id":"1394766210","filename":"file5"},{"photo_id":"1394766205","filename":"file2"},{"photo_id":"1394766208","filename":"file4"},{"photo_id":"1394766204","filename":"file1"},{"photo_id":"1394766202","filename":"file0"},{"photo_id":"1394766206","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766206":["hashtag1","hashtag2"]},{"1394766205":["hashtag1","hashtag2"]},{"1394766208":["hashtag1","hashtag2"]},{"1394766202":["hashtag1","hashtag2"]},{"1394766210":["hashtag1","hashtag2"]},{"1394766204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766206, 1394766205, 1394766208, 1394766202, 1394766210, 1394766204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38493204116821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:37:41.993326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_08_2837.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_12_3594.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_14_2614.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_17_2770.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_24_2651.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_26_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_08_2837.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_12_3594.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_14_2614.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_17_2770.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_24_2651.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_26_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766215","1394766218","1394766214","1394766217","1394766216","1394766213"],"photo_ids_order":["1394766213","1394766214","1394766215","1394766216","1394766217","1394766218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89771de47e3f9054864758d0d049ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody5535751288432811803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321922624,"filename":"image_16112025_18_21_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/11/16/9fac7e73431793036e4fc963e464498b.jpg","text":"TemporaryFile(/tmp/multipartBody657691440373468118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321922624,"filename":"image_16112025_18_21_26_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6ea4b1c9e7e349fd5523e6bf84e8e92.jpg","text":"TemporaryFile(/tmp/multipartBody5412906729127072175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321922624,"filename":"image_16112025_18_21_12_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a86cb6dbdef405e963772597a75e4691.jpg","text":"TemporaryFile(/tmp/multipartBody4583379374870339360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321922624,"filename":"image_16112025_18_21_24_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58bbf9dbba67d6bf5e74f6c95871cce1.jpg","text":"TemporaryFile(/tmp/multipartBody433565283618956701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321922624,"filename":"image_16112025_18_21_17_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50b49d1cb488e78c7db7e6a70849fc99.jpg","text":"TemporaryFile(/tmp/multipartBody638674752323256710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321922624,"filename":"image_16112025_18_21_08_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766215","file1":"1394766214","file0":"1394766213","file4":"1394766217","file5":"1394766218","file3":"1394766216"},"map_files_photo_id_array":[{"photo_id":"1394766218","filename":"file5"},{"photo_id":"1394766215","filename":"file2"},{"photo_id":"1394766217","filename":"file4"},{"photo_id":"1394766214","filename":"file1"},{"photo_id":"1394766213","filename":"file0"},{"photo_id":"1394766216","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766215":["hashtag1","hashtag2"]},{"1394766218":["hashtag1","hashtag2"]},{"1394766214":["hashtag1","hashtag2"]},{"1394766217":["hashtag1","hashtag2"]},{"1394766216":["hashtag1","hashtag2"]},{"1394766213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766215, 1394766218, 1394766214, 1394766217, 1394766216, 1394766213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27953338623047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:38:22.267317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_29_2678.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_33_3787.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_36_2758.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_38_2755.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_54_3639.jpg', '/home/pi/Desktop/images/16112025/18/21/image_16112025_18_22_00_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_29_2678.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_33_3787.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_36_2758.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_38_2755.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_21_54_3639.jpg
/home/pi/Desktop/images/16112025/18/21/image_16112025_18_22_00_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766230","1394766227","1394766224","1394766226","1394766222","1394766228"],"photo_ids_order":["1394766222","1394766224","1394766226","1394766227","1394766228","1394766230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c002fd80e1568d662355f88df34d83d6.jpg","text":"TemporaryFile(/tmp/multipartBody6469922454146375752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321962927,"filename":"image_16112025_18_22_00_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ecc76d3dab9414e326fc85bb00948bc5.jpg","text":"TemporaryFile(/tmp/multipartBody8106242004564942890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321962927,"filename":"image_16112025_18_21_38_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dac1d9191f19dbc18d31ecc6a7818965.jpg","text":"TemporaryFile(/tmp/multipartBody7481530009376875369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321962927,"filename":"image_16112025_18_21_33_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63c7365ec7c27e893df4ac2feb638801.jpg","text":"TemporaryFile(/tmp/multipartBody2463872480214424347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321962927,"filename":"image_16112025_18_21_36_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ebdc577f637be74509374ef82c6651f.jpg","text":"TemporaryFile(/tmp/multipartBody673113895588726664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321962927,"filename":"image_16112025_18_21_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/11/16/98e10b004f50ca98149d8a7b13e062fc.jpg","text":"TemporaryFile(/tmp/multipartBody7782810849774704690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763321962927,"filename":"image_16112025_18_21_54_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766226","file1":"1394766224","file0":"1394766222","file4":"1394766228","file5":"1394766230","file3":"1394766227"},"map_files_photo_id_array":[{"photo_id":"1394766230","filename":"file5"},{"photo_id":"1394766226","filename":"file2"},{"photo_id":"1394766228","filename":"file4"},{"photo_id":"1394766224","filename":"file1"},{"photo_id":"1394766222","filename":"file0"},{"photo_id":"1394766227","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766230":["hashtag1","hashtag2"]},{"1394766227":["hashtag1","hashtag2"]},{"1394766224":["hashtag1","hashtag2"]},{"1394766226":["hashtag1","hashtag2"]},{"1394766222":["hashtag1","hashtag2"]},{"1394766228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766230, 1394766227, 1394766224, 1394766226, 1394766222, 1394766228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2607696056366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:39:03.445033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_02_2602.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_05_2762.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_09_3668.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_11_2664.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_14_2613.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_18_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_02_2602.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_05_2762.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_09_3668.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_11_2664.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_14_2613.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_18_3545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766233","1394766232","1394766235","1394766240","1394766234","1394766237"],"photo_ids_order":["1394766232","1394766233","1394766234","1394766235","1394766237","1394766240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9598ec341dc5401c51a87afd5c88c9e.jpg","text":"TemporaryFile(/tmp/multipartBody5627324264296802016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322004230,"filename":"image_16112025_18_22_05_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c59db76dbbf0fd453bb2ba7b297b1bce.jpg","text":"TemporaryFile(/tmp/multipartBody2311591939245654946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322004230,"filename":"image_16112025_18_22_02_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30486fa520b1a4a631870ad9189600d7.jpg","text":"TemporaryFile(/tmp/multipartBody1001748813944882896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322004230,"filename":"image_16112025_18_22_11_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6adb2c5812b06c572506b62a2235c696.jpg","text":"TemporaryFile(/tmp/multipartBody3872261884163894225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322004230,"filename":"image_16112025_18_22_18_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89086c3714ec488c4f573bea72b8961e.jpg","text":"TemporaryFile(/tmp/multipartBody234600597365847636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322004230,"filename":"image_16112025_18_22_09_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bfd1ba1ac05e9e043a7d54be2d2f3dd0.jpg","text":"TemporaryFile(/tmp/multipartBody211743566485562002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322004230,"filename":"image_16112025_18_22_14_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766234","file1":"1394766233","file0":"1394766232","file4":"1394766237","file5":"1394766240","file3":"1394766235"},"map_files_photo_id_array":[{"photo_id":"1394766240","filename":"file5"},{"photo_id":"1394766234","filename":"file2"},{"photo_id":"1394766237","filename":"file4"},{"photo_id":"1394766233","filename":"file1"},{"photo_id":"1394766232","filename":"file0"},{"photo_id":"1394766235","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766233":["hashtag1","hashtag2"]},{"1394766232":["hashtag1","hashtag2"]},{"1394766235":["hashtag1","hashtag2"]},{"1394766240":["hashtag1","hashtag2"]},{"1394766234":["hashtag1","hashtag2"]},{"1394766237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766233, 1394766232, 1394766235, 1394766240, 1394766234, 1394766237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81430768966675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:39:42.551890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_20_2867.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_29_2770.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_32_2560.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_36_3648.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_38_2603.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_42_3793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_20_2867.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_29_2770.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_32_2560.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_36_3648.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_38_2603.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_42_3793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766245","1394766248","1394766242","1394766244","1394766247","1394766246"],"photo_ids_order":["1394766242","1394766244","1394766245","1394766246","1394766247","1394766248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad537c82bd3f562d31ca6ef379fed2c4.jpg","text":"TemporaryFile(/tmp/multipartBody6108930182902278505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322043217,"filename":"image_16112025_18_22_32_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ab601f559503fa569564d9f942de2c5.jpg","text":"TemporaryFile(/tmp/multipartBody3266413779960233357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322043217,"filename":"image_16112025_18_22_42_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ca1f124aeb1b2c099b72378c8a9d931.jpg","text":"TemporaryFile(/tmp/multipartBody2155949843289685883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322043217,"filename":"image_16112025_18_22_20_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a8a67c1ccb4a6de2fcb4ea80f4109f2.jpg","text":"TemporaryFile(/tmp/multipartBody4149381807473687749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322043217,"filename":"image_16112025_18_22_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/11/16/c57d74ffab5deb574d9b5c80d99b6786.jpg","text":"TemporaryFile(/tmp/multipartBody2012048958565410299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322043217,"filename":"image_16112025_18_22_38_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac3ef74ff569879c6f075f803b04ba30.jpg","text":"TemporaryFile(/tmp/multipartBody6523032205993563679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322043217,"filename":"image_16112025_18_22_36_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766245","file1":"1394766244","file0":"1394766242","file4":"1394766247","file5":"1394766248","file3":"1394766246"},"map_files_photo_id_array":[{"photo_id":"1394766248","filename":"file5"},{"photo_id":"1394766245","filename":"file2"},{"photo_id":"1394766247","filename":"file4"},{"photo_id":"1394766244","filename":"file1"},{"photo_id":"1394766242","filename":"file0"},{"photo_id":"1394766246","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766245":["hashtag1","hashtag2"]},{"1394766248":["hashtag1","hashtag2"]},{"1394766242":["hashtag1","hashtag2"]},{"1394766244":["hashtag1","hashtag2"]},{"1394766247":["hashtag1","hashtag2"]},{"1394766246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766245, 1394766248, 1394766242, 1394766244, 1394766247, 1394766246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.739659547805786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:40:22.824286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_44_1754.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_47_3692.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_50_2541.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_54_3661.jpg', '/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_59_2754.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_08_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_44_1754.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_47_3692.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_50_2541.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_54_3661.jpg
/home/pi/Desktop/images/16112025/18/22/image_16112025_18_22_59_2754.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_08_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766251","1394766250","1394766253","1394766252","1394766255","1394766249"],"photo_ids_order":["1394766249","1394766250","1394766251","1394766252","1394766253","1394766255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d5e8ed455f4e8681260bc755cb32252.jpg","text":"TemporaryFile(/tmp/multipartBody634104035806730622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322083502,"filename":"image_16112025_18_22_50_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c489c2e27f21464e7c9539eff5af834.jpg","text":"TemporaryFile(/tmp/multipartBody3338939299376807937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322083502,"filename":"image_16112025_18_22_47_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f700b48673c4c336191feaeabc73e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody2935652803341848619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322083502,"filename":"image_16112025_18_22_59_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c90d8cb42c6441f7db62f1eae13fb5e6.jpg","text":"TemporaryFile(/tmp/multipartBody3228180051055000112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322083502,"filename":"image_16112025_18_22_54_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/958803040be8be5b1da8adc540055299.jpg","text":"TemporaryFile(/tmp/multipartBody4918926607960286346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322083502,"filename":"image_16112025_18_23_08_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e0a80d412b2c2524e9fb829050be683.jpg","text":"TemporaryFile(/tmp/multipartBody6410513155784371308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322083502,"filename":"image_16112025_18_22_44_1754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766251","file1":"1394766250","file0":"1394766249","file4":"1394766253","file5":"1394766255","file3":"1394766252"},"map_files_photo_id_array":[{"photo_id":"1394766255","filename":"file5"},{"photo_id":"1394766251","filename":"file2"},{"photo_id":"1394766253","filename":"file4"},{"photo_id":"1394766250","filename":"file1"},{"photo_id":"1394766249","filename":"file0"},{"photo_id":"1394766252","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766251":["hashtag1","hashtag2"]},{"1394766250":["hashtag1","hashtag2"]},{"1394766253":["hashtag1","hashtag2"]},{"1394766252":["hashtag1","hashtag2"]},{"1394766255":["hashtag1","hashtag2"]},{"1394766249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766251, 1394766250, 1394766253, 1394766252, 1394766255, 1394766249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43915390968323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:41:02.666643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_12_3591.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_14_2619.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_20_2788.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_23_3681.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_29_2796.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_32_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_12_3591.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_14_2619.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_20_2788.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_23_3681.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_29_2796.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_32_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766257","1394766260","1394766262","1394766259","1394766264","1394766258"],"photo_ids_order":["1394766257","1394766258","1394766259","1394766260","1394766262","1394766264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3553675c48bc715eb1c746ae4d458e72.jpg","text":"TemporaryFile(/tmp/multipartBody5590776746005119393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322123412,"filename":"image_16112025_18_23_12_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2c9cb957d0101fac2780342d8c9a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody2403290482326466481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322123412,"filename":"image_16112025_18_23_23_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8217e0200bcf406f4377b6f74bde3995.jpg","text":"TemporaryFile(/tmp/multipartBody4027945894430181444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322123412,"filename":"image_16112025_18_23_29_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34a09a49c18d2fb8310c148da2809451.jpg","text":"TemporaryFile(/tmp/multipartBody1767569152740519562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322123412,"filename":"image_16112025_18_23_20_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa05da3c56668f9479ce8ad71e15318e.jpg","text":"TemporaryFile(/tmp/multipartBody8436441035176002688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322123412,"filename":"image_16112025_18_23_32_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/019718f98466003042929b5c3cae00ab.jpg","text":"TemporaryFile(/tmp/multipartBody1204640825644677916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322123412,"filename":"image_16112025_18_23_14_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766259","file1":"1394766258","file0":"1394766257","file4":"1394766262","file5":"1394766264","file3":"1394766260"},"map_files_photo_id_array":[{"photo_id":"1394766264","filename":"file5"},{"photo_id":"1394766259","filename":"file2"},{"photo_id":"1394766262","filename":"file4"},{"photo_id":"1394766258","filename":"file1"},{"photo_id":"1394766257","filename":"file0"},{"photo_id":"1394766260","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766257":["hashtag1","hashtag2"]},{"1394766260":["hashtag1","hashtag2"]},{"1394766262":["hashtag1","hashtag2"]},{"1394766259":["hashtag1","hashtag2"]},{"1394766264":["hashtag1","hashtag2"]},{"1394766258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766257, 1394766260, 1394766262, 1394766259, 1394766264, 1394766258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94794011116028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:41:42.026641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_35_2709.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_38_2527.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_41_3669.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_47_2555.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_51_3703.jpg', '/home/pi/Desktop/images/16112025/18/23/image_16112025_18_24_00_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_35_2709.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_38_2527.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_41_3669.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_47_2555.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_23_51_3703.jpg
/home/pi/Desktop/images/16112025/18/23/image_16112025_18_24_00_3744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766272","1394766269","1394766274","1394766270","1394766276","1394766275"],"photo_ids_order":["1394766269","1394766270","1394766272","1394766274","1394766275","1394766276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2654807d19a91cb386063cda7e89e70a.jpg","text":"TemporaryFile(/tmp/multipartBody6306713156317883091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322162655,"filename":"image_16112025_18_23_41_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96e075e3c2d2d195455ca11e1e650fad.jpg","text":"TemporaryFile(/tmp/multipartBody3912974634340543307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322162655,"filename":"image_16112025_18_23_35_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5bdaece9582a1c4b2614be06585ae0a.jpg","text":"TemporaryFile(/tmp/multipartBody9216242872855938644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322162655,"filename":"image_16112025_18_23_47_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d18eeb51894a92bb2b70135b46db27b.jpg","text":"TemporaryFile(/tmp/multipartBody4679749763845147769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322162655,"filename":"image_16112025_18_23_38_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b7b9e7c8f19cf8e46e1ae5ad15abed1.jpg","text":"TemporaryFile(/tmp/multipartBody8035147174884431454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322162655,"filename":"image_16112025_18_24_00_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb00024d1577c78c124bc6ce50259e36.jpg","text":"TemporaryFile(/tmp/multipartBody5745613493073597913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322162655,"filename":"image_16112025_18_23_51_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766272","file1":"1394766270","file0":"1394766269","file4":"1394766275","file5":"1394766276","file3":"1394766274"},"map_files_photo_id_array":[{"photo_id":"1394766276","filename":"file5"},{"photo_id":"1394766272","filename":"file2"},{"photo_id":"1394766275","filename":"file4"},{"photo_id":"1394766270","filename":"file1"},{"photo_id":"1394766269","filename":"file0"},{"photo_id":"1394766274","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766272":["hashtag1","hashtag2"]},{"1394766269":["hashtag1","hashtag2"]},{"1394766274":["hashtag1","hashtag2"]},{"1394766270":["hashtag1","hashtag2"]},{"1394766276":["hashtag1","hashtag2"]},{"1394766275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766272, 1394766269, 1394766274, 1394766270, 1394766276, 1394766275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32331395149231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:42:22.327747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_02_2805.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_10_1493.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_11_1630.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_14_2858.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_17_2767.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_20_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_02_2805.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_10_1493.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_11_1630.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_14_2858.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_17_2767.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_20_2671.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.6061608791351318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:42:42.253276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_02_2805.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_10_1493.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_11_1630.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_14_2858.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_17_2767.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_20_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_02_2805.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_10_1493.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_11_1630.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_14_2858.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_17_2767.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_20_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766292","1394766295","1394766289","1394766294","1394766293","1394766296"],"photo_ids_order":["1394766289","1394766292","1394766293","1394766294","1394766295","1394766296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/590b06ec1d63df2b1bc3e79f43f31477.jpg","text":"TemporaryFile(/tmp/multipartBody9134025355997292489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322222919,"filename":"image_16112025_18_24_10_1493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a2bb253e6b9f4281eea374df42e06b8.jpg","text":"TemporaryFile(/tmp/multipartBody4836835651738737496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322222919,"filename":"image_16112025_18_24_17_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f8ee02cb93ba5764acfafa42764c94d.jpg","text":"TemporaryFile(/tmp/multipartBody8609082025677532443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322222919,"filename":"image_16112025_18_24_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/11/16/886978bf15af111d4a36f2acbaf0ffa9.jpg","text":"TemporaryFile(/tmp/multipartBody5922268413296883527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322222919,"filename":"image_16112025_18_24_14_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b03489dfca634d2950015ae20b4dcf0d.jpg","text":"TemporaryFile(/tmp/multipartBody6159777790832319789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322222919,"filename":"image_16112025_18_24_11_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/147d418acadc443250e6ec03755bbd7f.jpg","text":"TemporaryFile(/tmp/multipartBody2211994994118086452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322222919,"filename":"image_16112025_18_24_20_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766293","file1":"1394766292","file0":"1394766289","file4":"1394766295","file5":"1394766296","file3":"1394766294"},"map_files_photo_id_array":[{"photo_id":"1394766296","filename":"file5"},{"photo_id":"1394766293","filename":"file2"},{"photo_id":"1394766295","filename":"file4"},{"photo_id":"1394766292","filename":"file1"},{"photo_id":"1394766289","filename":"file0"},{"photo_id":"1394766294","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766292":["hashtag1","hashtag2"]},{"1394766295":["hashtag1","hashtag2"]},{"1394766289":["hashtag1","hashtag2"]},{"1394766294":["hashtag1","hashtag2"]},{"1394766293":["hashtag1","hashtag2"]},{"1394766296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766292, 1394766295, 1394766289, 1394766294, 1394766293, 1394766296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92717409133911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:43:22.519445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_24_3841.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_26_2620.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_29_2753.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_32_2682.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_35_3685.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_38_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_24_3841.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_26_2620.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_29_2753.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_32_2682.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_35_3685.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_38_2502.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766300","1394766299","1394766302","1394766298","1394766297","1394766301"],"photo_ids_order":["1394766297","1394766298","1394766299","1394766300","1394766301","1394766302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/173d02855ecbe56e518d30c665643763.jpg","text":"TemporaryFile(/tmp/multipartBody905253503474356880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322263184,"filename":"image_16112025_18_24_32_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/adbff84aa60441a46ecbb6a4164a3743.jpg","text":"TemporaryFile(/tmp/multipartBody2236106373271658861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322263184,"filename":"image_16112025_18_24_29_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/716a63938b95747e3bbb795e1ac2e966.jpg","text":"TemporaryFile(/tmp/multipartBody2481622190788151346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322263184,"filename":"image_16112025_18_24_38_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d38cd4b479bf15c97a288f7c3ab307fd.jpg","text":"TemporaryFile(/tmp/multipartBody4342656563535840665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322263184,"filename":"image_16112025_18_24_26_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7406859c25a3d1baf140699e0573552.jpg","text":"TemporaryFile(/tmp/multipartBody5829135275824195058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322263184,"filename":"image_16112025_18_24_24_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4940fe8a3b54f8a2b6a90d7e4c4dfc8d.jpg","text":"TemporaryFile(/tmp/multipartBody8278258804641804989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322263184,"filename":"image_16112025_18_24_35_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766299","file1":"1394766298","file0":"1394766297","file4":"1394766301","file5":"1394766302","file3":"1394766300"},"map_files_photo_id_array":[{"photo_id":"1394766302","filename":"file5"},{"photo_id":"1394766299","filename":"file2"},{"photo_id":"1394766301","filename":"file4"},{"photo_id":"1394766298","filename":"file1"},{"photo_id":"1394766297","filename":"file0"},{"photo_id":"1394766300","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766300":["hashtag1","hashtag2"]},{"1394766299":["hashtag1","hashtag2"]},{"1394766302":["hashtag1","hashtag2"]},{"1394766298":["hashtag1","hashtag2"]},{"1394766297":["hashtag1","hashtag2"]},{"1394766301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766300, 1394766299, 1394766302, 1394766298, 1394766297, 1394766301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.722241163253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:44:03.400874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_41_3665.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_44_2947.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_47_2496.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_50_2615.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_53_3576.jpg', '/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_56_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_41_3665.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_44_2947.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_47_2496.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_50_2615.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_53_3576.jpg
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_56_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766311","1394766308","1394766310","1394766304","1394766313","1394766306"],"photo_ids_order":["1394766304","1394766306","1394766308","1394766310","1394766311","1394766313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cd708c01019c734305dfaa466383721.jpg","text":"TemporaryFile(/tmp/multipartBody1464574820031300877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322304170,"filename":"image_16112025_18_24_53_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3eca261eece4e77c99af82650fd48d7.jpg","text":"TemporaryFile(/tmp/multipartBody8322775227372675848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322304170,"filename":"image_16112025_18_24_47_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e4b124f94fd13117ad4e5d4e6bce569.jpg","text":"TemporaryFile(/tmp/multipartBody6816252530745435493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322304170,"filename":"image_16112025_18_24_50_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e18835d61c175ddc47fd4076d9d7e4cf.jpg","text":"TemporaryFile(/tmp/multipartBody3605095243004841144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322304170,"filename":"image_16112025_18_24_41_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0eacc80dbe0457c84fb4ca0a37641e86.jpg","text":"TemporaryFile(/tmp/multipartBody389509073479067623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322304170,"filename":"image_16112025_18_24_56_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/490d8f46f8c6ff560c3248ecb4f2f032.jpg","text":"TemporaryFile(/tmp/multipartBody8204575837983075098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322304170,"filename":"image_16112025_18_24_44_2947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766308","file1":"1394766306","file0":"1394766304","file4":"1394766311","file5":"1394766313","file3":"1394766310"},"map_files_photo_id_array":[{"photo_id":"1394766313","filename":"file5"},{"photo_id":"1394766308","filename":"file2"},{"photo_id":"1394766311","filename":"file4"},{"photo_id":"1394766306","filename":"file1"},{"photo_id":"1394766304","filename":"file0"},{"photo_id":"1394766310","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766311":["hashtag1","hashtag2"]},{"1394766308":["hashtag1","hashtag2"]},{"1394766310":["hashtag1","hashtag2"]},{"1394766304":["hashtag1","hashtag2"]},{"1394766313":["hashtag1","hashtag2"]},{"1394766306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766311, 1394766308, 1394766310, 1394766304, 1394766313, 1394766306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.495622873306274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:44:42.760563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_59_3608.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_23_2784.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_26_3671.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_29_2625.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_32_2753.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_35_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_59_3608.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_23_2784.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_26_3671.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_29_2625.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_32_2753.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_35_3745.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.5783610343933105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:45:03.237097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_59_3608.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_23_2784.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_26_3671.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_29_2625.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_32_2753.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_35_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/24/image_16112025_18_24_59_3608.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_23_2784.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_26_3671.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_29_2625.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_32_2753.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_35_3745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766332","1394766326","1394766329","1394766328","1394766327","1394766330"],"photo_ids_order":["1394766326","1394766327","1394766328","1394766329","1394766330","1394766332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c652af0dfe7c42216166b8f262c983d.jpg","text":"TemporaryFile(/tmp/multipartBody6088055289332744621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322363949,"filename":"image_16112025_18_25_35_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8a6b5cde8a3f719cb0be400ddee5393.jpg","text":"TemporaryFile(/tmp/multipartBody2818502905834788658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322363949,"filename":"image_16112025_18_24_59_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b349c13384838905c62bcd2897e22315.jpg","text":"TemporaryFile(/tmp/multipartBody3511771394503338080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322363949,"filename":"image_16112025_18_25_29_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6c1ee4702bcd70533fc87c2438d4964.jpg","text":"TemporaryFile(/tmp/multipartBody6531370888468710751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322363949,"filename":"image_16112025_18_25_26_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e686ef2dc07501985b57347e9e90dbcc.jpg","text":"TemporaryFile(/tmp/multipartBody7881031077283789623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322363949,"filename":"image_16112025_18_25_23_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ea847705f1bb80f485e3e1141506d0f.jpg","text":"TemporaryFile(/tmp/multipartBody429747427875396671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322363949,"filename":"image_16112025_18_25_32_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766328","file1":"1394766327","file0":"1394766326","file4":"1394766330","file5":"1394766332","file3":"1394766329"},"map_files_photo_id_array":[{"photo_id":"1394766332","filename":"file5"},{"photo_id":"1394766328","filename":"file2"},{"photo_id":"1394766330","filename":"file4"},{"photo_id":"1394766327","filename":"file1"},{"photo_id":"1394766326","filename":"file0"},{"photo_id":"1394766329","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766332":["hashtag1","hashtag2"]},{"1394766326":["hashtag1","hashtag2"]},{"1394766329":["hashtag1","hashtag2"]},{"1394766328":["hashtag1","hashtag2"]},{"1394766327":["hashtag1","hashtag2"]},{"1394766330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766332, 1394766326, 1394766329, 1394766328, 1394766327, 1394766330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74771332740784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:45:42.570513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_38_2605.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_48_4357.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_50_1756.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_53_3588.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_56_2533.jpg', '/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_58_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_38_2605.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_48_4357.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_50_1756.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_53_3588.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_56_2533.jpg
/home/pi/Desktop/images/16112025/18/25/image_16112025_18_25_58_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766341","1394766340","1394766343","1394766337","1394766342","1394766339"],"photo_ids_order":["1394766337","1394766339","1394766340","1394766341","1394766342","1394766343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71935556751c31f8bdb9c0c37df7d027.jpg","text":"TemporaryFile(/tmp/multipartBody4185124981188839507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322403201,"filename":"image_16112025_18_25_53_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a347e0ca686f9847a3b5027500ad289.jpg","text":"TemporaryFile(/tmp/multipartBody4684404626738417831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322403201,"filename":"image_16112025_18_25_50_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c9a5d5624647ade22906a7b47b84acf.jpg","text":"TemporaryFile(/tmp/multipartBody4098371651853094333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322403201,"filename":"image_16112025_18_25_58_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cc615c8c2c87e3fa8aa248fab5a3697.jpg","text":"TemporaryFile(/tmp/multipartBody2877232914873356545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322403201,"filename":"image_16112025_18_25_38_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc66b1d14b526c542f78c2922db66be2.jpg","text":"TemporaryFile(/tmp/multipartBody7040201362634070837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322403201,"filename":"image_16112025_18_25_56_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4e6b04f6d05e428df55545b6e831195.jpg","text":"TemporaryFile(/tmp/multipartBody5076983948518107869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322403201,"filename":"image_16112025_18_25_48_4357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766340","file1":"1394766339","file0":"1394766337","file4":"1394766342","file5":"1394766343","file3":"1394766341"},"map_files_photo_id_array":[{"photo_id":"1394766343","filename":"file5"},{"photo_id":"1394766340","filename":"file2"},{"photo_id":"1394766342","filename":"file4"},{"photo_id":"1394766339","filename":"file1"},{"photo_id":"1394766337","filename":"file0"},{"photo_id":"1394766341","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766341":["hashtag1","hashtag2"]},{"1394766340":["hashtag1","hashtag2"]},{"1394766343":["hashtag1","hashtag2"]},{"1394766337":["hashtag1","hashtag2"]},{"1394766342":["hashtag1","hashtag2"]},{"1394766339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766341, 1394766340, 1394766343, 1394766337, 1394766342, 1394766339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90960764884949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:46:21.801602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_02_3559.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_13_2597.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_17_3869.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_20_2574.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_23_2630.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_26_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_02_3559.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_13_2597.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_17_3869.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_20_2574.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_23_2630.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_26_3708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766353","1394766355","1394766349","1394766351","1394766345","1394766348"],"photo_ids_order":["1394766345","1394766348","1394766349","1394766351","1394766353","1394766355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af6fd03dbc0fb12eb1be077802d2d085.jpg","text":"TemporaryFile(/tmp/multipartBody8560555432062830965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322442434,"filename":"image_16112025_18_26_23_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4d71d5ae24a04caf860015f18da98db.jpg","text":"TemporaryFile(/tmp/multipartBody7104598955027907017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322442434,"filename":"image_16112025_18_26_26_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d51855f0d5cfe947b111122cfdac2d85.jpg","text":"TemporaryFile(/tmp/multipartBody7294859473536991000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322442434,"filename":"image_16112025_18_26_17_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/606eb7af2c8fd13df80abe098d75f377.jpg","text":"TemporaryFile(/tmp/multipartBody8057135797805107124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322442434,"filename":"image_16112025_18_26_20_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f269cefc09c2539b1726a86d1775368.jpg","text":"TemporaryFile(/tmp/multipartBody3493188992204363832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322442434,"filename":"image_16112025_18_26_02_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cadb64f205527914f9ae3b17dfc534fe.jpg","text":"TemporaryFile(/tmp/multipartBody4939145100005404290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322442434,"filename":"image_16112025_18_26_13_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766349","file1":"1394766348","file0":"1394766345","file4":"1394766353","file5":"1394766355","file3":"1394766351"},"map_files_photo_id_array":[{"photo_id":"1394766355","filename":"file5"},{"photo_id":"1394766349","filename":"file2"},{"photo_id":"1394766353","filename":"file4"},{"photo_id":"1394766348","filename":"file1"},{"photo_id":"1394766345","filename":"file0"},{"photo_id":"1394766351","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766353":["hashtag1","hashtag2"]},{"1394766355":["hashtag1","hashtag2"]},{"1394766349":["hashtag1","hashtag2"]},{"1394766351":["hashtag1","hashtag2"]},{"1394766345":["hashtag1","hashtag2"]},{"1394766348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766353, 1394766355, 1394766349, 1394766351, 1394766345, 1394766348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81944012641907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:47:02.816596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_29_2706.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_32_2600.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_35_3739.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_44_3548.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_53_3561.jpg', '/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_56_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_29_2706.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_32_2600.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_35_3739.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_44_3548.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_53_3561.jpg
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_56_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766362","1394766359","1394766364","1394766358","1394766360","1394766357"],"photo_ids_order":["1394766357","1394766358","1394766359","1394766360","1394766362","1394766364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e205321c5a28f32fbdeef4ce43b93623.jpg","text":"TemporaryFile(/tmp/multipartBody7517409737638801300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322483540,"filename":"image_16112025_18_26_53_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1316b46e59acf3a8076c1ed067a8f4cb.jpg","text":"TemporaryFile(/tmp/multipartBody4520249554512443630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322483540,"filename":"image_16112025_18_26_35_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c87ccb88cadf0022ca6efab1c1135b3.jpg","text":"TemporaryFile(/tmp/multipartBody7014111889643374809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322483540,"filename":"image_16112025_18_26_56_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9fd08cc2124c60e4d1652b2b30f8c30e.jpg","text":"TemporaryFile(/tmp/multipartBody6667350539908697848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322483540,"filename":"image_16112025_18_26_32_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3ec817b7ffadc23c8d756f8785442ae.jpg","text":"TemporaryFile(/tmp/multipartBody3157065160883285850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322483540,"filename":"image_16112025_18_26_44_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e42c75648f7c5c8761e93c0c77a8603e.jpg","text":"TemporaryFile(/tmp/multipartBody3657796768337260083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322483540,"filename":"image_16112025_18_26_29_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766359","file1":"1394766358","file0":"1394766357","file4":"1394766362","file5":"1394766364","file3":"1394766360"},"map_files_photo_id_array":[{"photo_id":"1394766364","filename":"file5"},{"photo_id":"1394766359","filename":"file2"},{"photo_id":"1394766362","filename":"file4"},{"photo_id":"1394766358","filename":"file1"},{"photo_id":"1394766357","filename":"file0"},{"photo_id":"1394766360","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766362":["hashtag1","hashtag2"]},{"1394766359":["hashtag1","hashtag2"]},{"1394766364":["hashtag1","hashtag2"]},{"1394766358":["hashtag1","hashtag2"]},{"1394766360":["hashtag1","hashtag2"]},{"1394766357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766362, 1394766359, 1394766364, 1394766358, 1394766360, 1394766357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51564908027649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:47:42.059602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_58_2776.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_02_3632.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_05_2734.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_07_2586.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_14_2662.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_17_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/26/image_16112025_18_26_58_2776.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_02_3632.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_05_2734.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_07_2586.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_14_2662.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_17_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766371","1394766368","1394766370","1394766372","1394766366","1394766369"],"photo_ids_order":["1394766366","1394766368","1394766369","1394766370","1394766371","1394766372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cecc0aff4ac2d5375874feaff392762.jpg","text":"TemporaryFile(/tmp/multipartBody1871549811026447180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322522705,"filename":"image_16112025_18_27_14_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/776f479e57a917b0693bbb093915c17e.jpg","text":"TemporaryFile(/tmp/multipartBody6301351353149198708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322522705,"filename":"image_16112025_18_27_02_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0f00de5c6e0da104f354641095af5031.jpg","text":"TemporaryFile(/tmp/multipartBody4505998420199222046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322522705,"filename":"image_16112025_18_27_07_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6524b86b0a065b422fb24692cacf9f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4497407222617288642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322522705,"filename":"image_16112025_18_27_17_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f63ba34dcc4cfb4ef95bb09367297dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8270638592862341082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322522705,"filename":"image_16112025_18_26_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/11/16/ec8689d0c84defd3ced77298b9f7abfb.jpg","text":"TemporaryFile(/tmp/multipartBody873337525451516490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322522705,"filename":"image_16112025_18_27_05_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766369","file1":"1394766368","file0":"1394766366","file4":"1394766371","file5":"1394766372","file3":"1394766370"},"map_files_photo_id_array":[{"photo_id":"1394766372","filename":"file5"},{"photo_id":"1394766369","filename":"file2"},{"photo_id":"1394766371","filename":"file4"},{"photo_id":"1394766368","filename":"file1"},{"photo_id":"1394766366","filename":"file0"},{"photo_id":"1394766370","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766371":["hashtag1","hashtag2"]},{"1394766368":["hashtag1","hashtag2"]},{"1394766370":["hashtag1","hashtag2"]},{"1394766372":["hashtag1","hashtag2"]},{"1394766366":["hashtag1","hashtag2"]},{"1394766369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766371, 1394766368, 1394766370, 1394766372, 1394766366, 1394766369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.972103118896484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:48:22.342663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_23_2848.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_26_2728.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_29_3640.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_32_2544.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_36_4465.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_38_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_23_2848.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_26_2728.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_29_3640.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_32_2544.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_36_4465.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_38_1743.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.5755870342254639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:48:42.308683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_23_2848.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_26_2728.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_29_3640.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_32_2544.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_36_4465.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_38_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_23_2848.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_26_2728.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_29_3640.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_32_2544.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_36_4465.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_38_1743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766383","1394766385","1394766382","1394766381","1394766384","1394766380"],"photo_ids_order":["1394766380","1394766381","1394766382","1394766383","1394766384","1394766385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0489751f235a357d9164ad5a86f9555e.jpg","text":"TemporaryFile(/tmp/multipartBody4109460314394010251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322582967,"filename":"image_16112025_18_27_32_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6aab736161c6ddf7bf96fbb85def94c5.jpg","text":"TemporaryFile(/tmp/multipartBody8639564641386275995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322582967,"filename":"image_16112025_18_27_38_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac6f2a7e22e1474c2393c076ea070064.jpg","text":"TemporaryFile(/tmp/multipartBody3288264618699432319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322582967,"filename":"image_16112025_18_27_29_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9412df6c756100c5bd45867d4281a10c.jpg","text":"TemporaryFile(/tmp/multipartBody7921519099489303398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322582967,"filename":"image_16112025_18_27_26_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a99ebad35cd4e92aff1ae99d4a4422e.jpg","text":"TemporaryFile(/tmp/multipartBody7242077774904027333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322582967,"filename":"image_16112025_18_27_36_4465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ec644ad461e80470a93c05e7c4a7374.jpg","text":"TemporaryFile(/tmp/multipartBody4772748263637666806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322582967,"filename":"image_16112025_18_27_23_2848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766382","file1":"1394766381","file0":"1394766380","file4":"1394766384","file5":"1394766385","file3":"1394766383"},"map_files_photo_id_array":[{"photo_id":"1394766385","filename":"file5"},{"photo_id":"1394766382","filename":"file2"},{"photo_id":"1394766384","filename":"file4"},{"photo_id":"1394766381","filename":"file1"},{"photo_id":"1394766380","filename":"file0"},{"photo_id":"1394766383","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766383":["hashtag1","hashtag2"]},{"1394766385":["hashtag1","hashtag2"]},{"1394766382":["hashtag1","hashtag2"]},{"1394766381":["hashtag1","hashtag2"]},{"1394766384":["hashtag1","hashtag2"]},{"1394766380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766383, 1394766385, 1394766382, 1394766381, 1394766384, 1394766380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67488121986389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:49:22.454445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_41_2608.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_47_2795.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_50_2725.jpg', '/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_58_2576.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_01_2762.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_05_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_41_2608.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_47_2795.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_50_2725.jpg
/home/pi/Desktop/images/16112025/18/27/image_16112025_18_27_58_2576.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_01_2762.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_05_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766391","1394766394","1394766390","1394766393","1394766392","1394766389"],"photo_ids_order":["1394766389","1394766390","1394766391","1394766392","1394766393","1394766394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3c1629733bcfaafc4c5ecfdea4cce1a.jpg","text":"TemporaryFile(/tmp/multipartBody1648802382912150708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322623097,"filename":"image_16112025_18_27_50_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e238831338c331c4f095e6850aed2a0a.jpg","text":"TemporaryFile(/tmp/multipartBody5160721367858447677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322623097,"filename":"image_16112025_18_28_05_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a708a117a877f707eddddc72fc449ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2888852509356344104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322623097,"filename":"image_16112025_18_27_47_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/daed21c9fd91adf7e177337ad0236dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1738448927493259090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322623097,"filename":"image_16112025_18_28_01_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96e254f6fcd8564deabf619f02a192c4.jpg","text":"TemporaryFile(/tmp/multipartBody5889822728013353817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322623097,"filename":"image_16112025_18_27_58_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb9bfccd477633dbcd77a4dd96ed6229.jpg","text":"TemporaryFile(/tmp/multipartBody8361006030119623353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322623097,"filename":"image_16112025_18_27_41_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766391","file1":"1394766390","file0":"1394766389","file4":"1394766393","file5":"1394766394","file3":"1394766392"},"map_files_photo_id_array":[{"photo_id":"1394766394","filename":"file5"},{"photo_id":"1394766391","filename":"file2"},{"photo_id":"1394766393","filename":"file4"},{"photo_id":"1394766390","filename":"file1"},{"photo_id":"1394766389","filename":"file0"},{"photo_id":"1394766392","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766391":["hashtag1","hashtag2"]},{"1394766394":["hashtag1","hashtag2"]},{"1394766390":["hashtag1","hashtag2"]},{"1394766393":["hashtag1","hashtag2"]},{"1394766392":["hashtag1","hashtag2"]},{"1394766389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766391, 1394766394, 1394766390, 1394766393, 1394766392, 1394766389)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.99628686904907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:50:22.614970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_07_2605.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_14_2604.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_16_2675.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_23_3794.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_26_2589.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_32_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_07_2605.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_14_2604.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_16_2675.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_23_3794.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_26_2589.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_32_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766401","1394766404","1394766403","1394766406","1394766399","1394766402"],"photo_ids_order":["1394766399","1394766401","1394766402","1394766403","1394766404","1394766406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4d635ab90f9aab2052bb4917cdb458f.jpg","text":"TemporaryFile(/tmp/multipartBody5838599468482761582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322683285,"filename":"image_16112025_18_28_14_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07cddf41ca3f2dcfade1e5e8c73fedcf.jpg","text":"TemporaryFile(/tmp/multipartBody2940571349797315740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322683285,"filename":"image_16112025_18_28_26_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc23e3014486db04c9d86363822a4056.jpg","text":"TemporaryFile(/tmp/multipartBody7024509923579776982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322683285,"filename":"image_16112025_18_28_23_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75fe85a2be9ffb0fb6d7f4d39159b17b.jpg","text":"TemporaryFile(/tmp/multipartBody6139624207167181240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322683285,"filename":"image_16112025_18_28_32_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2f7daeadb43074ac3f45bb033f3e00b0.jpg","text":"TemporaryFile(/tmp/multipartBody4735851046126031713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322683285,"filename":"image_16112025_18_28_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/11/16/a71c437214a04c45ff92e66167119049.jpg","text":"TemporaryFile(/tmp/multipartBody29446060258160318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322683285,"filename":"image_16112025_18_28_16_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766402","file1":"1394766401","file0":"1394766399","file4":"1394766404","file5":"1394766406","file3":"1394766403"},"map_files_photo_id_array":[{"photo_id":"1394766406","filename":"file5"},{"photo_id":"1394766402","filename":"file2"},{"photo_id":"1394766404","filename":"file4"},{"photo_id":"1394766401","filename":"file1"},{"photo_id":"1394766399","filename":"file0"},{"photo_id":"1394766403","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766401":["hashtag1","hashtag2"]},{"1394766404":["hashtag1","hashtag2"]},{"1394766403":["hashtag1","hashtag2"]},{"1394766406":["hashtag1","hashtag2"]},{"1394766399":["hashtag1","hashtag2"]},{"1394766402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766401, 1394766404, 1394766403, 1394766406, 1394766399, 1394766402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5636682510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:51:02.541952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_34_2495.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_38_3568.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_40_2536.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_44_3627.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_47_2737.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_49_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_34_2495.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_38_3568.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_40_2536.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_44_3627.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_47_2737.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_49_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766410","1394766412","1394766409","1394766414","1394766408","1394766411"],"photo_ids_order":["1394766408","1394766409","1394766410","1394766411","1394766412","1394766414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5441ada580e6acdf5ac318c09f52d557.jpg","text":"TemporaryFile(/tmp/multipartBody1054310202123323712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322723265,"filename":"image_16112025_18_28_40_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6d6830740c79bdaadc27157ffda3651.jpg","text":"TemporaryFile(/tmp/multipartBody2282711715978307841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322723265,"filename":"image_16112025_18_28_47_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b945fc9c4befe5ccc5075fd4a18d7f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6043946573333756987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322723265,"filename":"image_16112025_18_28_38_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93f9cbf5ca1dbcf9a68b6f2b122f2331.jpg","text":"TemporaryFile(/tmp/multipartBody1470058693014026711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322723265,"filename":"image_16112025_18_28_49_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85894c15124504c91ea79f4332f2f293.jpg","text":"TemporaryFile(/tmp/multipartBody3257685646353028884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322723265,"filename":"image_16112025_18_28_34_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b23d3d06fa34062a6bcfa984413902a.jpg","text":"TemporaryFile(/tmp/multipartBody3381971250406848525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322723265,"filename":"image_16112025_18_28_44_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766410","file1":"1394766409","file0":"1394766408","file4":"1394766412","file5":"1394766414","file3":"1394766411"},"map_files_photo_id_array":[{"photo_id":"1394766414","filename":"file5"},{"photo_id":"1394766410","filename":"file2"},{"photo_id":"1394766412","filename":"file4"},{"photo_id":"1394766409","filename":"file1"},{"photo_id":"1394766408","filename":"file0"},{"photo_id":"1394766411","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766410":["hashtag1","hashtag2"]},{"1394766412":["hashtag1","hashtag2"]},{"1394766409":["hashtag1","hashtag2"]},{"1394766414":["hashtag1","hashtag2"]},{"1394766408":["hashtag1","hashtag2"]},{"1394766411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766410, 1394766412, 1394766409, 1394766414, 1394766408, 1394766411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2743501663208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:51:41.851708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_52_2750.jpg', '/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_58_2687.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_02_3631.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_10_2625.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_14_3549.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_16_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_52_2750.jpg
/home/pi/Desktop/images/16112025/18/28/image_16112025_18_28_58_2687.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_02_3631.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_10_2625.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_14_3549.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_16_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766419","1394766422","1394766416","1394766421","1394766418","1394766420"],"photo_ids_order":["1394766416","1394766418","1394766419","1394766420","1394766421","1394766422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47ca55847ab2c2a0bd732e07a9307316.jpg","text":"TemporaryFile(/tmp/multipartBody8225925444926096928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322762485,"filename":"image_16112025_18_29_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/11/16/f2f23c1a15d19cd47124a21526b38857.jpg","text":"TemporaryFile(/tmp/multipartBody804859882497504700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322762485,"filename":"image_16112025_18_29_16_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11cab9ef77d3f88508c27c5d932f992e.jpg","text":"TemporaryFile(/tmp/multipartBody17584289107608992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322762485,"filename":"image_16112025_18_28_52_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/821696172d423471eac4b92a85f33f44.jpg","text":"TemporaryFile(/tmp/multipartBody3045706868502914034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322762485,"filename":"image_16112025_18_29_14_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7432d9c743277d5db90362f630c45646.jpg","text":"TemporaryFile(/tmp/multipartBody952539564196413745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322762485,"filename":"image_16112025_18_28_58_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/179872a1c8e07c81d558117e31111801.jpg","text":"TemporaryFile(/tmp/multipartBody5406885375156077134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322762485,"filename":"image_16112025_18_29_10_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766419","file1":"1394766418","file0":"1394766416","file4":"1394766421","file5":"1394766422","file3":"1394766420"},"map_files_photo_id_array":[{"photo_id":"1394766422","filename":"file5"},{"photo_id":"1394766419","filename":"file2"},{"photo_id":"1394766421","filename":"file4"},{"photo_id":"1394766418","filename":"file1"},{"photo_id":"1394766416","filename":"file0"},{"photo_id":"1394766420","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766419":["hashtag1","hashtag2"]},{"1394766422":["hashtag1","hashtag2"]},{"1394766416":["hashtag1","hashtag2"]},{"1394766421":["hashtag1","hashtag2"]},{"1394766418":["hashtag1","hashtag2"]},{"1394766420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766419, 1394766422, 1394766416, 1394766421, 1394766418, 1394766420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7198224067688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:52:22.108402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_20_3734.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_23_2670.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_29_3555.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_32_2794.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_34_2623.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_41_2505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_20_3734.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_23_2670.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_29_3555.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_32_2794.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_34_2623.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_41_2505.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766431","1394766425","1394766428","1394766424","1394766426","1394766429"],"photo_ids_order":["1394766424","1394766425","1394766426","1394766428","1394766429","1394766431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c79339da9c599674cbec16e17575c1d.jpg","text":"TemporaryFile(/tmp/multipartBody1257608602790568571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322802800,"filename":"image_16112025_18_29_41_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c704aff815482f1840c8ca99784ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody2808879162469588246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322802800,"filename":"image_16112025_18_29_23_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/262faaeefd535bd578f2597c400bf285.jpg","text":"TemporaryFile(/tmp/multipartBody176687900743748596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322802800,"filename":"image_16112025_18_29_32_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a442e7874952cd672b62690677e741a.jpg","text":"TemporaryFile(/tmp/multipartBody4064439229152626534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322802800,"filename":"image_16112025_18_29_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/11/16/c1eba88dc139a61f81da3740fc0c458f.jpg","text":"TemporaryFile(/tmp/multipartBody3993618978799257639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322802800,"filename":"image_16112025_18_29_29_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bfa27e6df0fb9278dc3377bd0cc229a.jpg","text":"TemporaryFile(/tmp/multipartBody795268393229476103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322802800,"filename":"image_16112025_18_29_34_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766426","file1":"1394766425","file0":"1394766424","file4":"1394766429","file5":"1394766431","file3":"1394766428"},"map_files_photo_id_array":[{"photo_id":"1394766431","filename":"file5"},{"photo_id":"1394766426","filename":"file2"},{"photo_id":"1394766429","filename":"file4"},{"photo_id":"1394766425","filename":"file1"},{"photo_id":"1394766424","filename":"file0"},{"photo_id":"1394766428","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766431":["hashtag1","hashtag2"]},{"1394766425":["hashtag1","hashtag2"]},{"1394766428":["hashtag1","hashtag2"]},{"1394766424":["hashtag1","hashtag2"]},{"1394766426":["hashtag1","hashtag2"]},{"1394766429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766431, 1394766425, 1394766428, 1394766424, 1394766426, 1394766429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23748540878296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:53:02.998252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_43_2631.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_47_3713.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_50_2658.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_52_2674.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_56_3614.jpg', '/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_58_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_43_2631.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_47_3713.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_50_2658.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_52_2674.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_56_3614.jpg
/home/pi/Desktop/images/16112025/18/29/image_16112025_18_29_58_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766437","1394766434","1394766436","1394766433","1394766435","1394766438"],"photo_ids_order":["1394766433","1394766434","1394766435","1394766436","1394766437","1394766438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8baa7a9fd38af0033eb53d5aeaad21a6.jpg","text":"TemporaryFile(/tmp/multipartBody196682092215400970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322843731,"filename":"image_16112025_18_29_56_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ac637688b82667f7d7100212d5b8ad3.jpg","text":"TemporaryFile(/tmp/multipartBody7251688995498734314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322843731,"filename":"image_16112025_18_29_47_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c86cd4d2665994d929195beb211ba77.jpg","text":"TemporaryFile(/tmp/multipartBody1355983938975973997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322843731,"filename":"image_16112025_18_29_52_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a0990d59bd376dd47e1e023377896b14.jpg","text":"TemporaryFile(/tmp/multipartBody8644697880774166466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322843731,"filename":"image_16112025_18_29_43_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f44771316f0de6e751c4cd5b0c3f65a.jpg","text":"TemporaryFile(/tmp/multipartBody6176533627791978190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322843731,"filename":"image_16112025_18_29_50_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15f250dddaff5cffd9174d8749220c45.jpg","text":"TemporaryFile(/tmp/multipartBody2937370216517795174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322843731,"filename":"image_16112025_18_29_58_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766435","file1":"1394766434","file0":"1394766433","file4":"1394766437","file5":"1394766438","file3":"1394766436"},"map_files_photo_id_array":[{"photo_id":"1394766438","filename":"file5"},{"photo_id":"1394766435","filename":"file2"},{"photo_id":"1394766437","filename":"file4"},{"photo_id":"1394766434","filename":"file1"},{"photo_id":"1394766433","filename":"file0"},{"photo_id":"1394766436","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766437":["hashtag1","hashtag2"]},{"1394766434":["hashtag1","hashtag2"]},{"1394766436":["hashtag1","hashtag2"]},{"1394766433":["hashtag1","hashtag2"]},{"1394766435":["hashtag1","hashtag2"]},{"1394766438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766437, 1394766434, 1394766436, 1394766433, 1394766435, 1394766438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54708385467529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:53:42.338482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_07_3010.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_10_3618.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_13_2772.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_17_3494.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_19_2699.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_22_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_07_3010.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_10_3618.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_13_2772.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_17_3494.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_19_2699.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_22_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766443","1394766440","1394766442","1394766439","1394766444","1394766441"],"photo_ids_order":["1394766439","1394766440","1394766441","1394766442","1394766443","1394766444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7d6427360b9bb3772e78d2a9bb1874d.jpg","text":"TemporaryFile(/tmp/multipartBody8188932530748890081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322882994,"filename":"image_16112025_18_30_19_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/193bfb12d05e94182b3a58c85c5d80b3.jpg","text":"TemporaryFile(/tmp/multipartBody8886804997675312378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322882994,"filename":"image_16112025_18_30_10_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09c084b5b33fce4af4fcd72d06f0e815.jpg","text":"TemporaryFile(/tmp/multipartBody989346992152270827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322882994,"filename":"image_16112025_18_30_17_3494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec7e79d02de3f5d59be3024c3ab9ed9e.jpg","text":"TemporaryFile(/tmp/multipartBody8869456167224174088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322882994,"filename":"image_16112025_18_30_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/11/16/02e101ce7c22a0aa5597ad92e62a28dd.jpg","text":"TemporaryFile(/tmp/multipartBody7560877537965301499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322882994,"filename":"image_16112025_18_30_22_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48ede1eb9de8dba5b981c5a1d2c688dd.jpg","text":"TemporaryFile(/tmp/multipartBody3737966828699482781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322882994,"filename":"image_16112025_18_30_13_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766441","file1":"1394766440","file0":"1394766439","file4":"1394766443","file5":"1394766444","file3":"1394766442"},"map_files_photo_id_array":[{"photo_id":"1394766444","filename":"file5"},{"photo_id":"1394766441","filename":"file2"},{"photo_id":"1394766443","filename":"file4"},{"photo_id":"1394766440","filename":"file1"},{"photo_id":"1394766439","filename":"file0"},{"photo_id":"1394766442","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766443":["hashtag1","hashtag2"]},{"1394766440":["hashtag1","hashtag2"]},{"1394766442":["hashtag1","hashtag2"]},{"1394766439":["hashtag1","hashtag2"]},{"1394766444":["hashtag1","hashtag2"]},{"1394766441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766443, 1394766440, 1394766442, 1394766439, 1394766444, 1394766441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27556490898132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:54:22.693561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_26_3547.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_28_2682.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_31_2668.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_35_3600.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_37_2615.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_40_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_26_3547.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_28_2682.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_31_2668.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_35_3600.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_37_2615.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_40_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766449","1394766448","1394766451","1394766450","1394766453","1394766447"],"photo_ids_order":["1394766447","1394766448","1394766449","1394766450","1394766451","1394766453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fb3d050f6f08b80e8f584807bce9b30.jpg","text":"TemporaryFile(/tmp/multipartBody3522389165907484618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322923374,"filename":"image_16112025_18_30_31_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3958d39b8cd4f3428080951f56e7300.jpg","text":"TemporaryFile(/tmp/multipartBody3672562528509212941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322923374,"filename":"image_16112025_18_30_28_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c49aa641f19636102428a49fcd536d4.jpg","text":"TemporaryFile(/tmp/multipartBody6476708785901060034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322923374,"filename":"image_16112025_18_30_37_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44e3f0f78f3f9a80b7e080103a79f6c6.jpg","text":"TemporaryFile(/tmp/multipartBody2582613626161893987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322923374,"filename":"image_16112025_18_30_35_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f578e1c668c6b69ab22cc519c2c573d9.jpg","text":"TemporaryFile(/tmp/multipartBody3978674471316918602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322923374,"filename":"image_16112025_18_30_40_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26fe869cc0cba8a098355f36ecf9eff3.jpg","text":"TemporaryFile(/tmp/multipartBody8899575669898011662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322923374,"filename":"image_16112025_18_30_26_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766449","file1":"1394766448","file0":"1394766447","file4":"1394766451","file5":"1394766453","file3":"1394766450"},"map_files_photo_id_array":[{"photo_id":"1394766453","filename":"file5"},{"photo_id":"1394766449","filename":"file2"},{"photo_id":"1394766451","filename":"file4"},{"photo_id":"1394766448","filename":"file1"},{"photo_id":"1394766447","filename":"file0"},{"photo_id":"1394766450","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766449":["hashtag1","hashtag2"]},{"1394766448":["hashtag1","hashtag2"]},{"1394766451":["hashtag1","hashtag2"]},{"1394766450":["hashtag1","hashtag2"]},{"1394766453":["hashtag1","hashtag2"]},{"1394766447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766449, 1394766448, 1394766451, 1394766450, 1394766453, 1394766447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.386550188064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:55:03.363391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 20:55:22.734177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_43_3627.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_46_2736.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_49_2698.jpg', '/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_52_2824.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_01_2653.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_05_3903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_43_3627.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_46_2736.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_49_2698.jpg
/home/pi/Desktop/images/16112025/18/30/image_16112025_18_30_52_2824.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_01_2653.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_05_3903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766461","1394766464","1394766458","1394766460","1394766463","1394766462"],"photo_ids_order":["1394766458","1394766460","1394766461","1394766462","1394766463","1394766464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9c4018049b952502f76f08ec2571466.jpg","text":"TemporaryFile(/tmp/multipartBody6355798230812657613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322983387,"filename":"image_16112025_18_30_49_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2fba3363dee156cd6c7ddcf0d731204a.jpg","text":"TemporaryFile(/tmp/multipartBody4223105368150706144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322983387,"filename":"image_16112025_18_31_05_3903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9ddd2849df1c3c1efb0257f5c34a926.jpg","text":"TemporaryFile(/tmp/multipartBody8688280186548606644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322983387,"filename":"image_16112025_18_30_43_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92c8ee0fdea5fba499b69e3a76e1aa59.jpg","text":"TemporaryFile(/tmp/multipartBody931775712373221043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322983387,"filename":"image_16112025_18_30_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/11/16/e2904127c076ba089c285cbde5ad7d39.jpg","text":"TemporaryFile(/tmp/multipartBody6146303278251211114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322983387,"filename":"image_16112025_18_31_01_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c59afd322bab5033968ed9de57d1bc72.jpg","text":"TemporaryFile(/tmp/multipartBody6310702664723085806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763322983387,"filename":"image_16112025_18_30_52_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766461","file1":"1394766460","file0":"1394766458","file4":"1394766463","file5":"1394766464","file3":"1394766462"},"map_files_photo_id_array":[{"photo_id":"1394766464","filename":"file5"},{"photo_id":"1394766461","filename":"file2"},{"photo_id":"1394766463","filename":"file4"},{"photo_id":"1394766460","filename":"file1"},{"photo_id":"1394766458","filename":"file0"},{"photo_id":"1394766462","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766461":["hashtag1","hashtag2"]},{"1394766464":["hashtag1","hashtag2"]},{"1394766458":["hashtag1","hashtag2"]},{"1394766460":["hashtag1","hashtag2"]},{"1394766463":["hashtag1","hashtag2"]},{"1394766462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766461, 1394766464, 1394766458, 1394766460, 1394766463, 1394766462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6144585609436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:56:02.559935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_07_2675.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_10_2714.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_13_2765.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_16_3668.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_19_2653.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_22_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_07_2675.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_10_2714.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_13_2765.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_16_3668.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_19_2653.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_22_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766470","1394766467","1394766472","1394766466","1394766465","1394766468"],"photo_ids_order":["1394766465","1394766466","1394766467","1394766468","1394766470","1394766472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e00d18c9160a52c28cb0ab9b415db15.jpg","text":"TemporaryFile(/tmp/multipartBody2033094914215940818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323023224,"filename":"image_16112025_18_31_19_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4c49e2f12d7f6797b3c680e0eb1717a.jpg","text":"TemporaryFile(/tmp/multipartBody5726409533352279690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323023224,"filename":"image_16112025_18_31_13_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03755da1e6bffaa09f9076c2da2769d4.jpg","text":"TemporaryFile(/tmp/multipartBody5774360981934376686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323023224,"filename":"image_16112025_18_31_22_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ea50d04769d207a808b7e4a7c7c2d14.jpg","text":"TemporaryFile(/tmp/multipartBody8710620574097032844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323023224,"filename":"image_16112025_18_31_10_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd7c48c7cc67eddc2485a941a977be26.jpg","text":"TemporaryFile(/tmp/multipartBody6157171028570498362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323023224,"filename":"image_16112025_18_31_07_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7aae4d64bc0b1fcc60ca71abfa1042a6.jpg","text":"TemporaryFile(/tmp/multipartBody9137344612443610638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323023224,"filename":"image_16112025_18_31_16_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766467","file1":"1394766466","file0":"1394766465","file4":"1394766470","file5":"1394766472","file3":"1394766468"},"map_files_photo_id_array":[{"photo_id":"1394766472","filename":"file5"},{"photo_id":"1394766467","filename":"file2"},{"photo_id":"1394766470","filename":"file4"},{"photo_id":"1394766466","filename":"file1"},{"photo_id":"1394766465","filename":"file0"},{"photo_id":"1394766468","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766470":["hashtag1","hashtag2"]},{"1394766467":["hashtag1","hashtag2"]},{"1394766472":["hashtag1","hashtag2"]},{"1394766466":["hashtag1","hashtag2"]},{"1394766465":["hashtag1","hashtag2"]},{"1394766468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766470, 1394766467, 1394766472, 1394766466, 1394766465, 1394766468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82138276100159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:56:42.094833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_25_3613.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_28_2693.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_31_2649.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_34_3574.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_37_2714.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_40_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_25_3613.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_28_2693.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_31_2649.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_34_3574.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_37_2714.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_40_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766485","1394766487","1394766480","1394766483","1394766477","1394766488"],"photo_ids_order":["1394766477","1394766480","1394766483","1394766485","1394766487","1394766488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/076be03633cdb213276ac506cdedff91.jpg","text":"TemporaryFile(/tmp/multipartBody6884781279477091558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323062755,"filename":"image_16112025_18_31_34_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bb8fa32ee3401a26f4aac532b4a373c.jpg","text":"TemporaryFile(/tmp/multipartBody5965502420191428993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323062755,"filename":"image_16112025_18_31_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/11/16/e0ac9b3852acd94dcac3b7ac24462767.jpg","text":"TemporaryFile(/tmp/multipartBody462224889410294629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323062755,"filename":"image_16112025_18_31_28_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48c67cccd52e3aab4c04770ffa7bee35.jpg","text":"TemporaryFile(/tmp/multipartBody6135093263013549971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323062755,"filename":"image_16112025_18_31_31_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f0210a1ceca3f78d2df58fa02f364e4.jpg","text":"TemporaryFile(/tmp/multipartBody7100233164889721998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323062755,"filename":"image_16112025_18_31_25_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36e7496aa01b4255985abd623f0ca5e6.jpg","text":"TemporaryFile(/tmp/multipartBody8832033892784239550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323062755,"filename":"image_16112025_18_31_40_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766483","file1":"1394766480","file0":"1394766477","file4":"1394766487","file5":"1394766488","file3":"1394766485"},"map_files_photo_id_array":[{"photo_id":"1394766488","filename":"file5"},{"photo_id":"1394766483","filename":"file2"},{"photo_id":"1394766487","filename":"file4"},{"photo_id":"1394766480","filename":"file1"},{"photo_id":"1394766477","filename":"file0"},{"photo_id":"1394766485","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766485":["hashtag1","hashtag2"]},{"1394766487":["hashtag1","hashtag2"]},{"1394766480":["hashtag1","hashtag2"]},{"1394766483":["hashtag1","hashtag2"]},{"1394766477":["hashtag1","hashtag2"]},{"1394766488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766485, 1394766487, 1394766480, 1394766483, 1394766477, 1394766488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61759305000305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 20:57:22.442829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_43_3611.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_46_2615.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_52_3562.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_55_2592.jpg', '/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_58_3524.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_01_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_43_3611.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_46_2615.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_52_3562.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_55_2592.jpg
/home/pi/Desktop/images/16112025/18/31/image_16112025_18_31_58_3524.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_01_2545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394766496","1394766500","1394766502","1394766498","1394766491","1394766494"],"photo_ids_order":["1394766491","1394766494","1394766496","1394766498","1394766500","1394766502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5aa672f0b0bc0a63b28448714a1fb79e.jpg","text":"TemporaryFile(/tmp/multipartBody6340477147146865765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323103109,"filename":"image_16112025_18_31_52_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6151467e169a12f76fa8a9d63f46b60e.jpg","text":"TemporaryFile(/tmp/multipartBody7069296838073056499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323103109,"filename":"image_16112025_18_31_58_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0091d05ac5f6d1894fea170338ee7f64.jpg","text":"TemporaryFile(/tmp/multipartBody763406788080342792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323103109,"filename":"image_16112025_18_32_01_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64ca7a73b51da02db249835c83c4f103.jpg","text":"TemporaryFile(/tmp/multipartBody3199121020475699866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323103109,"filename":"image_16112025_18_31_55_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38ab90399325e5e48a0a85063e0b2e6f.jpg","text":"TemporaryFile(/tmp/multipartBody983095584870458683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323103109,"filename":"image_16112025_18_31_43_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65d16b723decff3fab67eb7022550238.jpg","text":"TemporaryFile(/tmp/multipartBody5991021411395496942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323103109,"filename":"image_16112025_18_31_46_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394766496","file1":"1394766494","file0":"1394766491","file4":"1394766500","file5":"1394766502","file3":"1394766498"},"map_files_photo_id_array":[{"photo_id":"1394766502","filename":"file5"},{"photo_id":"1394766496","filename":"file2"},{"photo_id":"1394766500","filename":"file4"},{"photo_id":"1394766494","filename":"file1"},{"photo_id":"1394766491","filename":"file0"},{"photo_id":"1394766498","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394766496":["hashtag1","hashtag2"]},{"1394766500":["hashtag1","hashtag2"]},{"1394766502":["hashtag1","hashtag2"]},{"1394766498":["hashtag1","hashtag2"]},{"1394766491":["hashtag1","hashtag2"]},{"1394766494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394766496, 1394766500, 1394766502, 1394766498, 1394766491, 1394766494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73072123527527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 20:59:03.783390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_04_2738.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_07_3742.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_13_2645.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_16_3672.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_19_2575.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_22_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_04_2738.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_07_3742.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_13_2645.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_16_3672.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_19_2575.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_22_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394767205","1394767100","1394767291","1394767522","1394767428","1394767355"],"photo_ids_order":["1394767100","1394767205","1394767291","1394767355","1394767428","1394767522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1565a6b3f6bcf5b47d8f8de5b0213917.jpg","text":"TemporaryFile(/tmp/multipartBody6589514252260790962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323204548,"filename":"image_16112025_18_32_07_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e083c280c0688f5ecb2803c201656b77.jpg","text":"TemporaryFile(/tmp/multipartBody1409875242734265316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323204548,"filename":"image_16112025_18_32_04_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03ad7f7ece67422c4a33de720085b26f.jpg","text":"TemporaryFile(/tmp/multipartBody5007247085297173358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323204548,"filename":"image_16112025_18_32_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/799d48727c3ef1b0db0c0fd5c1ea7f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8265069339505092196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323204548,"filename":"image_16112025_18_32_22_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c363ab2ea4b7045657a04d44091fe4e.jpg","text":"TemporaryFile(/tmp/multipartBody5232916934264085609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323204548,"filename":"image_16112025_18_32_19_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef1cb83a703e193134704cc85f73dde2.jpg","text":"TemporaryFile(/tmp/multipartBody3158030209443063502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323204548,"filename":"image_16112025_18_32_16_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394767291","file1":"1394767205","file0":"1394767100","file4":"1394767428","file5":"1394767522","file3":"1394767355"},"map_files_photo_id_array":[{"photo_id":"1394767522","filename":"file5"},{"photo_id":"1394767291","filename":"file2"},{"photo_id":"1394767428","filename":"file4"},{"photo_id":"1394767205","filename":"file1"},{"photo_id":"1394767100","filename":"file0"},{"photo_id":"1394767355","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394767205":["hashtag1","hashtag2"]},{"1394767100":["hashtag1","hashtag2"]},{"1394767291":["hashtag1","hashtag2"]},{"1394767522":["hashtag1","hashtag2"]},{"1394767428":["hashtag1","hashtag2"]},{"1394767355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394767205, 1394767100, 1394767291, 1394767522, 1394767428, 1394767355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16352844238281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 20:59:42.775845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_25_3666.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_28_2846.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_31_2625.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_34_3509.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_37_2581.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_43_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_25_3666.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_28_2846.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_31_2625.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_34_3509.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_37_2581.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_43_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394767987","1394767915","1394767857","1394767824","1394768030","1394767952"],"photo_ids_order":["1394767824","1394767857","1394767915","1394767952","1394767987","1394768030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5b1b83b7d8f360e6916a4b0d095ea04.jpg","text":"TemporaryFile(/tmp/multipartBody5577596166580856652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323243407,"filename":"image_16112025_18_32_37_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9aee392f4a2e565f99636783784e339.jpg","text":"TemporaryFile(/tmp/multipartBody825168247899535733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323243407,"filename":"image_16112025_18_32_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/11/16/486a6f938342abb344f1c83e60c5cbc3.jpg","text":"TemporaryFile(/tmp/multipartBody865420436962927235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323243407,"filename":"image_16112025_18_32_28_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50289110b9254963592c0ccd539ead4d.jpg","text":"TemporaryFile(/tmp/multipartBody1741922494059915586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323243407,"filename":"image_16112025_18_32_25_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49977a5ea6cdf7a4ed7edd906097c84e.jpg","text":"TemporaryFile(/tmp/multipartBody2952029505277033587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323243407,"filename":"image_16112025_18_32_43_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abfe6de62ae8f7bc7a8db62f17a9aa4c.jpg","text":"TemporaryFile(/tmp/multipartBody3705191906192585859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323243407,"filename":"image_16112025_18_32_34_3509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394767915","file1":"1394767857","file0":"1394767824","file4":"1394767987","file5":"1394768030","file3":"1394767952"},"map_files_photo_id_array":[{"photo_id":"1394768030","filename":"file5"},{"photo_id":"1394767915","filename":"file2"},{"photo_id":"1394767987","filename":"file4"},{"photo_id":"1394767857","filename":"file1"},{"photo_id":"1394767824","filename":"file0"},{"photo_id":"1394767952","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394767987":["hashtag1","hashtag2"]},{"1394767915":["hashtag1","hashtag2"]},{"1394767857":["hashtag1","hashtag2"]},{"1394767824":["hashtag1","hashtag2"]},{"1394768030":["hashtag1","hashtag2"]},{"1394767952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394767987, 1394767915, 1394767857, 1394767824, 1394768030, 1394767952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.214555978775024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:00:22.313233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_46_2741.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_49_3569.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_52_2562.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_55_2640.jpg', '/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_58_3669.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_01_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_46_2741.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_49_3569.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_52_2562.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_55_2640.jpg
/home/pi/Desktop/images/16112025/18/32/image_16112025_18_32_58_3669.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_01_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768377","1394768391","1394768400","1394768399","1394768357","1394768324"],"photo_ids_order":["1394768324","1394768357","1394768377","1394768391","1394768399","1394768400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0810bcad0cf955f63f8c78fc90a5f21.jpg","text":"TemporaryFile(/tmp/multipartBody4946003317747987051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323283003,"filename":"image_16112025_18_32_52_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5df5ed71be8e960ca1debe6adec616e7.jpg","text":"TemporaryFile(/tmp/multipartBody1282320165564304304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323283003,"filename":"image_16112025_18_32_55_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1709e622e8fac53104832d591a15215e.jpg","text":"TemporaryFile(/tmp/multipartBody2959733875069517288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323283003,"filename":"image_16112025_18_33_01_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/214537f106074cac1de3cf84affe715c.jpg","text":"TemporaryFile(/tmp/multipartBody3291580684685728741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323283003,"filename":"image_16112025_18_32_58_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2496e1b0de3a2d1824b2ea2f9f7f5c29.jpg","text":"TemporaryFile(/tmp/multipartBody3544462630886946528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323283003,"filename":"image_16112025_18_32_49_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d75e061cd0b3e70bf2b36833fbf87f80.jpg","text":"TemporaryFile(/tmp/multipartBody3673242594352758313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323283003,"filename":"image_16112025_18_32_46_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768377","file1":"1394768357","file0":"1394768324","file4":"1394768399","file5":"1394768400","file3":"1394768391"},"map_files_photo_id_array":[{"photo_id":"1394768400","filename":"file5"},{"photo_id":"1394768377","filename":"file2"},{"photo_id":"1394768399","filename":"file4"},{"photo_id":"1394768357","filename":"file1"},{"photo_id":"1394768324","filename":"file0"},{"photo_id":"1394768391","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768377":["hashtag1","hashtag2"]},{"1394768391":["hashtag1","hashtag2"]},{"1394768400":["hashtag1","hashtag2"]},{"1394768399":["hashtag1","hashtag2"]},{"1394768357":["hashtag1","hashtag2"]},{"1394768324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768377, 1394768391, 1394768400, 1394768399, 1394768357, 1394768324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23798942565918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:01:03.216881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_07_3755.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_10_2618.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_13_2688.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_19_2628.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_25_3789.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_28_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_07_3755.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_10_2618.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_13_2688.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_19_2628.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_25_3789.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_28_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768449","1394768413","1394768401","1394768520","1394768483","1394768402"],"photo_ids_order":["1394768401","1394768402","1394768413","1394768449","1394768483","1394768520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/913b90ee26a272b72408714110c65f4e.jpg","text":"TemporaryFile(/tmp/multipartBody8617642956913924334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323323926,"filename":"image_16112025_18_33_19_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89a62fc1cbbe895da14a31191fb4077e.jpg","text":"TemporaryFile(/tmp/multipartBody1334648070042474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323323926,"filename":"image_16112025_18_33_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/11/16/f807bb152148ddef042ee1b61e769d2b.jpg","text":"TemporaryFile(/tmp/multipartBody728529700111521752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323323926,"filename":"image_16112025_18_33_07_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0571819f06f5d5f6952b60241702187a.jpg","text":"TemporaryFile(/tmp/multipartBody5930204697949133097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323323926,"filename":"image_16112025_18_33_28_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5ccff1ec7e5d6c3120bc09e205154183.jpg","text":"TemporaryFile(/tmp/multipartBody2132694748563882988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323323926,"filename":"image_16112025_18_33_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/11/16/4c0dacb900909df8fa63368484dd6992.jpg","text":"TemporaryFile(/tmp/multipartBody6969174731546401634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323323926,"filename":"image_16112025_18_33_10_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768413","file1":"1394768402","file0":"1394768401","file4":"1394768483","file5":"1394768520","file3":"1394768449"},"map_files_photo_id_array":[{"photo_id":"1394768520","filename":"file5"},{"photo_id":"1394768413","filename":"file2"},{"photo_id":"1394768483","filename":"file4"},{"photo_id":"1394768402","filename":"file1"},{"photo_id":"1394768401","filename":"file0"},{"photo_id":"1394768449","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768449":["hashtag1","hashtag2"]},{"1394768413":["hashtag1","hashtag2"]},{"1394768401":["hashtag1","hashtag2"]},{"1394768520":["hashtag1","hashtag2"]},{"1394768483":["hashtag1","hashtag2"]},{"1394768402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768449, 1394768413, 1394768401, 1394768520, 1394768483, 1394768402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66835856437683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:01:42.474416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_31_3498.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_34_2591.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_37_2567.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_43_2739.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_45_2579.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_49_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_31_3498.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_34_2591.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_37_2567.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_43_2739.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_45_2579.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_49_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768653","1394768650","1394768682","1394768676","1394768717","1394768683"],"photo_ids_order":["1394768650","1394768653","1394768676","1394768682","1394768683","1394768717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23635421ed98ea6af43e1f04aa127372.jpg","text":"TemporaryFile(/tmp/multipartBody7474913638992197039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323363106,"filename":"image_16112025_18_33_34_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09792f64ecfd694a59867bfced75fce1.jpg","text":"TemporaryFile(/tmp/multipartBody4791770262799207763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323363106,"filename":"image_16112025_18_33_31_3498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbec2b3da0299fdd5ee8e0cbe7060aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1334197331265829583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323363106,"filename":"image_16112025_18_33_43_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2316068f9c671cf77a6e14bf339e0024.jpg","text":"TemporaryFile(/tmp/multipartBody2900193623419093330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323363106,"filename":"image_16112025_18_33_37_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3cf2b2a9e5515e85702158cdde2b6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4671410907130193005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323363106,"filename":"image_16112025_18_33_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/11/16/5a03fef3bc9d66715e7a7d586115a56d.jpg","text":"TemporaryFile(/tmp/multipartBody2073180931662418799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323363106,"filename":"image_16112025_18_33_45_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768676","file1":"1394768653","file0":"1394768650","file4":"1394768683","file5":"1394768717","file3":"1394768682"},"map_files_photo_id_array":[{"photo_id":"1394768717","filename":"file5"},{"photo_id":"1394768676","filename":"file2"},{"photo_id":"1394768683","filename":"file4"},{"photo_id":"1394768653","filename":"file1"},{"photo_id":"1394768650","filename":"file0"},{"photo_id":"1394768682","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768653":["hashtag1","hashtag2"]},{"1394768650":["hashtag1","hashtag2"]},{"1394768682":["hashtag1","hashtag2"]},{"1394768676":["hashtag1","hashtag2"]},{"1394768717":["hashtag1","hashtag2"]},{"1394768683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768653, 1394768650, 1394768682, 1394768676, 1394768717, 1394768683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64871668815613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:02:22.788453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_55_3702.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_58_2742.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_01_2740.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_04_2757.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_07_3529.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_10_3002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_55_3702.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_58_2742.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_01_2740.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_04_2757.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_07_3529.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_10_3002.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.6078040599822998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:02:42.756459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_55_3702.jpg', '/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_58_2742.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_01_2740.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_04_2757.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_07_3529.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_10_3002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_55_3702.jpg
/home/pi/Desktop/images/16112025/18/33/image_16112025_18_33_58_2742.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_01_2740.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_04_2757.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_07_3529.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_10_3002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768734","1394768737","1394768733","1394768736","1394768735","1394768738"],"photo_ids_order":["1394768733","1394768734","1394768735","1394768736","1394768737","1394768738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b381ee34e3bd05961a790759267c11b.jpg","text":"TemporaryFile(/tmp/multipartBody3555301209786874210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323423393,"filename":"image_16112025_18_33_58_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d8a425c37e366f1e8a9354c907409ec.jpg","text":"TemporaryFile(/tmp/multipartBody3900241522066342410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323423393,"filename":"image_16112025_18_34_07_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e051c902be0c4a8dafd277787d8956a9.jpg","text":"TemporaryFile(/tmp/multipartBody8315697503246772272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323423393,"filename":"image_16112025_18_33_55_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a2097dfd66d5ebbeda83a170b0c62238.jpg","text":"TemporaryFile(/tmp/multipartBody4295214066031217479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323423393,"filename":"image_16112025_18_34_04_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5e5d2c69e76648c6b7a479d3aea0338.jpg","text":"TemporaryFile(/tmp/multipartBody335403759174042231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323423393,"filename":"image_16112025_18_34_01_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a83e4ab45c1be0cacec0b32b3d3b83d.jpg","text":"TemporaryFile(/tmp/multipartBody1320495017203068560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323423393,"filename":"image_16112025_18_34_10_3002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768735","file1":"1394768734","file0":"1394768733","file4":"1394768737","file5":"1394768738","file3":"1394768736"},"map_files_photo_id_array":[{"photo_id":"1394768738","filename":"file5"},{"photo_id":"1394768735","filename":"file2"},{"photo_id":"1394768737","filename":"file4"},{"photo_id":"1394768734","filename":"file1"},{"photo_id":"1394768733","filename":"file0"},{"photo_id":"1394768736","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768734":["hashtag1","hashtag2"]},{"1394768737":["hashtag1","hashtag2"]},{"1394768733":["hashtag1","hashtag2"]},{"1394768736":["hashtag1","hashtag2"]},{"1394768735":["hashtag1","hashtag2"]},{"1394768738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768734, 1394768737, 1394768733, 1394768736, 1394768735, 1394768738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49694466590881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:03:22.097977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_13_2690.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_15_2621.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_25_2668.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_28_3623.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_31_2460.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_34_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_13_2690.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_15_2621.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_25_2668.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_28_3623.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_31_2460.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_34_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768746","1394768743","1394768745","1394768748","1394768742","1394768744"],"photo_ids_order":["1394768742","1394768743","1394768744","1394768745","1394768746","1394768748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ec2eac22b9beb139362fc6aa42d096c.jpg","text":"TemporaryFile(/tmp/multipartBody1996282744972981274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323462761,"filename":"image_16112025_18_34_31_2460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/535e51386723e93c2a89740ffed334be.jpg","text":"TemporaryFile(/tmp/multipartBody8647246409819891978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323462761,"filename":"image_16112025_18_34_15_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80870d380198b7447c79a21edce9a98c.jpg","text":"TemporaryFile(/tmp/multipartBody6755885721803873636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323462761,"filename":"image_16112025_18_34_28_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f42b22597c2c72e9c93c428d81f0a2fa.jpg","text":"TemporaryFile(/tmp/multipartBody336143412399126872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323462761,"filename":"image_16112025_18_34_34_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/573ed7fee589bef125f9b5664eb3f867.jpg","text":"TemporaryFile(/tmp/multipartBody680261331817584575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323462761,"filename":"image_16112025_18_34_13_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd9e12119b5e132c5d33278185d59850.jpg","text":"TemporaryFile(/tmp/multipartBody8209609516773438780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323462761,"filename":"image_16112025_18_34_25_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768744","file1":"1394768743","file0":"1394768742","file4":"1394768746","file5":"1394768748","file3":"1394768745"},"map_files_photo_id_array":[{"photo_id":"1394768748","filename":"file5"},{"photo_id":"1394768744","filename":"file2"},{"photo_id":"1394768746","filename":"file4"},{"photo_id":"1394768743","filename":"file1"},{"photo_id":"1394768742","filename":"file0"},{"photo_id":"1394768745","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768746":["hashtag1","hashtag2"]},{"1394768743":["hashtag1","hashtag2"]},{"1394768745":["hashtag1","hashtag2"]},{"1394768748":["hashtag1","hashtag2"]},{"1394768742":["hashtag1","hashtag2"]},{"1394768744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768746, 1394768743, 1394768745, 1394768748, 1394768742, 1394768744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.777138233184814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:04:02.935848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_37_2851.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_43_2627.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_45_2739.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_49_3698.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_51_2477.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_55_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_37_2851.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_43_2627.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_45_2739.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_49_3698.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_51_2477.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_55_3682.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.6668708324432373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:04:22.289554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_37_2851.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_43_2627.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_45_2739.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_49_3698.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_51_2477.jpg', '/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_55_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_37_2851.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_43_2627.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_45_2739.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_49_3698.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_51_2477.jpg
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_55_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768767","1394768760","1394768762","1394768765","1394768759","1394768764"],"photo_ids_order":["1394768759","1394768760","1394768762","1394768764","1394768765","1394768767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9374e49034d3cbc0c5210feb564eafa3.jpg","text":"TemporaryFile(/tmp/multipartBody2045528620512503449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323522982,"filename":"image_16112025_18_34_55_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b12f36694930c9663d50e023d65f415d.jpg","text":"TemporaryFile(/tmp/multipartBody2162819118893525636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323522982,"filename":"image_16112025_18_34_43_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c8f05a80abfcb89ee853c23acdead6e.jpg","text":"TemporaryFile(/tmp/multipartBody3903328717956655817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323522982,"filename":"image_16112025_18_34_45_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a402ec94b4df4c4dc325b196ca3693b1.jpg","text":"TemporaryFile(/tmp/multipartBody557866624256533162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323522982,"filename":"image_16112025_18_34_51_2477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b50b9eb49671e4f7470c23fcbbc6150.jpg","text":"TemporaryFile(/tmp/multipartBody757962107811504140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323522982,"filename":"image_16112025_18_34_37_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67233b15b36e090e0336af8a76619fdb.jpg","text":"TemporaryFile(/tmp/multipartBody7355796228438535848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323522982,"filename":"image_16112025_18_34_49_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768762","file1":"1394768760","file0":"1394768759","file4":"1394768765","file5":"1394768767","file3":"1394768764"},"map_files_photo_id_array":[{"photo_id":"1394768767","filename":"file5"},{"photo_id":"1394768762","filename":"file2"},{"photo_id":"1394768765","filename":"file4"},{"photo_id":"1394768760","filename":"file1"},{"photo_id":"1394768759","filename":"file0"},{"photo_id":"1394768764","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768767":["hashtag1","hashtag2"]},{"1394768760":["hashtag1","hashtag2"]},{"1394768762":["hashtag1","hashtag2"]},{"1394768765":["hashtag1","hashtag2"]},{"1394768759":["hashtag1","hashtag2"]},{"1394768764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768767, 1394768760, 1394768762, 1394768765, 1394768759, 1394768764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74466633796692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:05:03.458258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_58_2715.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_04_3668.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_07_2676.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_09_2689.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_18_2594.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_22_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/34/image_16112025_18_34_58_2715.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_04_3668.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_07_2676.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_09_2689.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_18_2594.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_22_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768773","1394768775","1394768769","1394768771","1394768768","1394768770"],"photo_ids_order":["1394768768","1394768769","1394768770","1394768771","1394768773","1394768775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6941e69674ddfe3aaba5f35c06cabdd0.jpg","text":"TemporaryFile(/tmp/multipartBody8835072199072748002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323564161,"filename":"image_16112025_18_35_18_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80a3fc8902024181784ccf44f116586a.jpg","text":"TemporaryFile(/tmp/multipartBody9180704581306854606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323564161,"filename":"image_16112025_18_35_22_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aec183ada0ce8566dd23e2091c64a445.jpg","text":"TemporaryFile(/tmp/multipartBody1790599157667636885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323564161,"filename":"image_16112025_18_35_04_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/edc5b9037c4a64a12c48159f6eb75eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2103607970420247522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323564161,"filename":"image_16112025_18_35_09_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/956b307876d7efa694f5b9606edb91cd.jpg","text":"TemporaryFile(/tmp/multipartBody2987386521634343786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323564161,"filename":"image_16112025_18_34_58_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dabbd50730e06399d56a74b3024761e8.jpg","text":"TemporaryFile(/tmp/multipartBody3863457862543246357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323564161,"filename":"image_16112025_18_35_07_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768770","file1":"1394768769","file0":"1394768768","file4":"1394768773","file5":"1394768775","file3":"1394768771"},"map_files_photo_id_array":[{"photo_id":"1394768775","filename":"file5"},{"photo_id":"1394768770","filename":"file2"},{"photo_id":"1394768773","filename":"file4"},{"photo_id":"1394768769","filename":"file1"},{"photo_id":"1394768768","filename":"file0"},{"photo_id":"1394768771","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768773":["hashtag1","hashtag2"]},{"1394768775":["hashtag1","hashtag2"]},{"1394768769":["hashtag1","hashtag2"]},{"1394768771":["hashtag1","hashtag2"]},{"1394768768":["hashtag1","hashtag2"]},{"1394768770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768773, 1394768775, 1394768769, 1394768771, 1394768768, 1394768770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5752809047699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:05:42.631163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_25_2584.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_27_2632.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_31_3716.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_34_2694.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_37_3091.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_39_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_25_2584.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_27_2632.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_31_3716.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_34_2694.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_37_3091.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_39_2546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768776","1394768781","1394768780","1394768783","1394768782","1394768779"],"photo_ids_order":["1394768776","1394768779","1394768780","1394768781","1394768782","1394768783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3741ea1c9f96a21fa6a803830a238f25.jpg","text":"TemporaryFile(/tmp/multipartBody6298193005813333127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323603293,"filename":"image_16112025_18_35_25_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd9de266b537d5d93c59ee4199d969cf.jpg","text":"TemporaryFile(/tmp/multipartBody6503149963871204717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323603293,"filename":"image_16112025_18_35_34_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ce667dedd261d5a0c639021e2e8bdc3.jpg","text":"TemporaryFile(/tmp/multipartBody6495128945076700810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323603293,"filename":"image_16112025_18_35_31_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42d55d47fc7c3b5640c54c21515f9dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7852882000553415999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323603293,"filename":"image_16112025_18_35_39_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67b2e8641f782fac6663a49c9e9b77de.jpg","text":"TemporaryFile(/tmp/multipartBody5322337783785753491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323603293,"filename":"image_16112025_18_35_37_3091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87e6f5d27914e99eb0bc3ac9d54d5dfa.jpg","text":"TemporaryFile(/tmp/multipartBody848752089635215553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323603293,"filename":"image_16112025_18_35_27_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768780","file1":"1394768779","file0":"1394768776","file4":"1394768782","file5":"1394768783","file3":"1394768781"},"map_files_photo_id_array":[{"photo_id":"1394768783","filename":"file5"},{"photo_id":"1394768780","filename":"file2"},{"photo_id":"1394768782","filename":"file4"},{"photo_id":"1394768779","filename":"file1"},{"photo_id":"1394768776","filename":"file0"},{"photo_id":"1394768781","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768776":["hashtag1","hashtag2"]},{"1394768781":["hashtag1","hashtag2"]},{"1394768780":["hashtag1","hashtag2"]},{"1394768783":["hashtag1","hashtag2"]},{"1394768782":["hashtag1","hashtag2"]},{"1394768779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768776, 1394768781, 1394768780, 1394768783, 1394768782, 1394768779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02678942680359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:06:21.918215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_43_3750.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_46_2728.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_52_3586.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_55_2660.jpg', '/home/pi/Desktop/images/16112025/18/35/image_16112025_18_36_01_3654.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_04_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_43_3750.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_46_2728.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_52_3586.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_35_55_2660.jpg
/home/pi/Desktop/images/16112025/18/35/image_16112025_18_36_01_3654.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_04_2547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768788","1394768793","1394768796","1394768786","1394768789","1394768791"],"photo_ids_order":["1394768786","1394768788","1394768789","1394768791","1394768793","1394768796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d69309cb31f6a6e763f7713cfaf5574.jpg","text":"TemporaryFile(/tmp/multipartBody7349328193948376513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323642595,"filename":"image_16112025_18_35_46_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1beb36f1bbf146ad4dc3b7fe31c1a3b3.jpg","text":"TemporaryFile(/tmp/multipartBody7427302867588988212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323642595,"filename":"image_16112025_18_36_01_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/710232b4e8cf548db1998c67051e84cc.jpg","text":"TemporaryFile(/tmp/multipartBody3952128726526121112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323642595,"filename":"image_16112025_18_36_04_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b4a73fb57cad4f13a1e53c1872973bf.jpg","text":"TemporaryFile(/tmp/multipartBody4180014976444810496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323642595,"filename":"image_16112025_18_35_43_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da2ebaef393b60ab536f81c89a841288.jpg","text":"TemporaryFile(/tmp/multipartBody4335213321426478079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323642595,"filename":"image_16112025_18_35_52_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab61c311eb3d34e4168102b4d0b7ff74.jpg","text":"TemporaryFile(/tmp/multipartBody3238987740242435156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323642595,"filename":"image_16112025_18_35_55_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768789","file1":"1394768788","file0":"1394768786","file4":"1394768793","file5":"1394768796","file3":"1394768791"},"map_files_photo_id_array":[{"photo_id":"1394768796","filename":"file5"},{"photo_id":"1394768789","filename":"file2"},{"photo_id":"1394768793","filename":"file4"},{"photo_id":"1394768788","filename":"file1"},{"photo_id":"1394768786","filename":"file0"},{"photo_id":"1394768791","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768788":["hashtag1","hashtag2"]},{"1394768793":["hashtag1","hashtag2"]},{"1394768796":["hashtag1","hashtag2"]},{"1394768786":["hashtag1","hashtag2"]},{"1394768789":["hashtag1","hashtag2"]},{"1394768791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768788, 1394768793, 1394768796, 1394768786, 1394768789, 1394768791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46573305130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:07:02.892811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_06_2747.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_16_2677.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_18_2606.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_22_3619.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_27_2792.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_33_5612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_06_2747.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_16_2677.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_18_2606.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_22_3619.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_27_2792.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_33_5612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768800","1394768799","1394768798","1394768802","1394768804","1394768797"],"photo_ids_order":["1394768797","1394768798","1394768799","1394768800","1394768802","1394768804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/352b0f8187148cab4381b5579940d5f0.jpg","text":"TemporaryFile(/tmp/multipartBody3432061549853811363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323683588,"filename":"image_16112025_18_36_22_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/012a6487fec18f8c8c4d843cd341740a.jpg","text":"TemporaryFile(/tmp/multipartBody8441493482867834509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323683588,"filename":"image_16112025_18_36_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/11/16/2e6badfc7d25de9a7ea4214cba2f6eac.jpg","text":"TemporaryFile(/tmp/multipartBody7565138245557137427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323683588,"filename":"image_16112025_18_36_16_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7595b13784eef670d45e3bcc9c0466e0.jpg","text":"TemporaryFile(/tmp/multipartBody6372267689186519716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323683588,"filename":"image_16112025_18_36_27_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74f7a3dc2300e8a6499039e62a08c225.jpg","text":"TemporaryFile(/tmp/multipartBody8270224716842515943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323683588,"filename":"image_16112025_18_36_33_5612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e40f9fd604f2ac649871ff6f5e1b2929.jpg","text":"TemporaryFile(/tmp/multipartBody834505413499789797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323683588,"filename":"image_16112025_18_36_06_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768799","file1":"1394768798","file0":"1394768797","file4":"1394768802","file5":"1394768804","file3":"1394768800"},"map_files_photo_id_array":[{"photo_id":"1394768804","filename":"file5"},{"photo_id":"1394768799","filename":"file2"},{"photo_id":"1394768802","filename":"file4"},{"photo_id":"1394768798","filename":"file1"},{"photo_id":"1394768797","filename":"file0"},{"photo_id":"1394768800","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768800":["hashtag1","hashtag2"]},{"1394768799":["hashtag1","hashtag2"]},{"1394768798":["hashtag1","hashtag2"]},{"1394768802":["hashtag1","hashtag2"]},{"1394768804":["hashtag1","hashtag2"]},{"1394768797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768800, 1394768799, 1394768798, 1394768802, 1394768804, 1394768797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.014161825180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:07:42.111896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_35_1778.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_36_1832.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_43_2571.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_46_3438.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_49_2634.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_54_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_35_1778.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_36_1832.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_43_2571.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_46_3438.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_49_2634.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_54_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.5402460098266602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:08:02.850856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_35_1778.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_36_1832.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_43_2571.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_46_3438.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_49_2634.jpg', '/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_54_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_35_1778.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_36_1832.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_43_2571.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_46_3438.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_49_2634.jpg
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_54_2841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768815","1394768814","1394768817","1394768822","1394768816","1394768819"],"photo_ids_order":["1394768814","1394768815","1394768816","1394768817","1394768819","1394768822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca2980ef9f0ec77f40ed153030acda67.jpg","text":"TemporaryFile(/tmp/multipartBody6106789604908960060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323743543,"filename":"image_16112025_18_36_36_1832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/024fbd34f569f92c7de94ad35b317bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3556106925158122798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323743543,"filename":"image_16112025_18_36_35_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cdac524edf480c4304fd35e0a16ddee.jpg","text":"TemporaryFile(/tmp/multipartBody1202530203403893759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323743543,"filename":"image_16112025_18_36_46_3438.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa80980fb52723503841d22b4a38179a.jpg","text":"TemporaryFile(/tmp/multipartBody7856992508729658224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323743543,"filename":"image_16112025_18_36_54_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4ad6a01e386ce35889f825e38f60cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7343136935555736217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323743543,"filename":"image_16112025_18_36_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/11/16/2bfaedf0dab7b7860de73c3c0ab39316.jpg","text":"TemporaryFile(/tmp/multipartBody4554364826141818683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323743543,"filename":"image_16112025_18_36_49_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768816","file1":"1394768815","file0":"1394768814","file4":"1394768819","file5":"1394768822","file3":"1394768817"},"map_files_photo_id_array":[{"photo_id":"1394768822","filename":"file5"},{"photo_id":"1394768816","filename":"file2"},{"photo_id":"1394768819","filename":"file4"},{"photo_id":"1394768815","filename":"file1"},{"photo_id":"1394768814","filename":"file0"},{"photo_id":"1394768817","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768815":["hashtag1","hashtag2"]},{"1394768814":["hashtag1","hashtag2"]},{"1394768817":["hashtag1","hashtag2"]},{"1394768822":["hashtag1","hashtag2"]},{"1394768816":["hashtag1","hashtag2"]},{"1394768819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768815, 1394768814, 1394768817, 1394768822, 1394768816, 1394768819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98974895477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:08:42.360534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_58_3626.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_01_2708.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_03_2577.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_07_3638.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_09_2610.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_13_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/36/image_16112025_18_36_58_3626.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_01_2708.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_03_2577.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_07_3638.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_09_2610.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_13_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768827","1394768830","1394768824","1394768826","1394768825","1394768828"],"photo_ids_order":["1394768824","1394768825","1394768826","1394768827","1394768828","1394768830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75f2bf1e00355eb6726d36482e68a3c1.jpg","text":"TemporaryFile(/tmp/multipartBody2126422946042974052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323783056,"filename":"image_16112025_18_37_07_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6e945a3471738ea9b4cfebb6fc279864.jpg","text":"TemporaryFile(/tmp/multipartBody594304147584857620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323783056,"filename":"image_16112025_18_37_13_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/134b6154ead731ce83d475dcfda95248.jpg","text":"TemporaryFile(/tmp/multipartBody9106791226934018907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323783056,"filename":"image_16112025_18_36_58_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c25a4048aa836224db33cc00d24b9e2.jpg","text":"TemporaryFile(/tmp/multipartBody879114985207088413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323783056,"filename":"image_16112025_18_37_03_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2bb0d6ab3fcdae7832d4d9d2a3d307e.jpg","text":"TemporaryFile(/tmp/multipartBody1504038640916102714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323783056,"filename":"image_16112025_18_37_01_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f279dad3af99cf384a36a475b4aebcf.jpg","text":"TemporaryFile(/tmp/multipartBody8267933078277414397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323783056,"filename":"image_16112025_18_37_09_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768826","file1":"1394768825","file0":"1394768824","file4":"1394768828","file5":"1394768830","file3":"1394768827"},"map_files_photo_id_array":[{"photo_id":"1394768830","filename":"file5"},{"photo_id":"1394768826","filename":"file2"},{"photo_id":"1394768828","filename":"file4"},{"photo_id":"1394768825","filename":"file1"},{"photo_id":"1394768824","filename":"file0"},{"photo_id":"1394768827","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768827":["hashtag1","hashtag2"]},{"1394768830":["hashtag1","hashtag2"]},{"1394768824":["hashtag1","hashtag2"]},{"1394768826":["hashtag1","hashtag2"]},{"1394768825":["hashtag1","hashtag2"]},{"1394768828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768827, 1394768830, 1394768824, 1394768826, 1394768825, 1394768828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.225359201431274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:09:22.480279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_16_2615.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_18_2837.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_21_2631.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_25_3635.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_27_2607.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_31_3523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_16_2615.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_18_2837.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_21_2631.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_25_3635.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_27_2607.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_31_3523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768842","1394768839","1394768841","1394768838","1394768840","1394768837"],"photo_ids_order":["1394768837","1394768838","1394768839","1394768840","1394768841","1394768842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dcc686d6789d96fad5f4c5a43f4fa71d.jpg","text":"TemporaryFile(/tmp/multipartBody8367612278965006915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323823174,"filename":"image_16112025_18_37_31_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79107c397df32f0e92130bc97c0c47f2.jpg","text":"TemporaryFile(/tmp/multipartBody8172432120929699236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323823174,"filename":"image_16112025_18_37_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/11/16/23331a160644047b3be11b5eceb75cde.jpg","text":"TemporaryFile(/tmp/multipartBody6398313486841386710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323823174,"filename":"image_16112025_18_37_27_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9fcce32d4a59b69eaad88f72e7af9b1.jpg","text":"TemporaryFile(/tmp/multipartBody4707541065668641815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323823174,"filename":"image_16112025_18_37_18_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/450ab0e43e5eaed18da988ce73374b43.jpg","text":"TemporaryFile(/tmp/multipartBody7140541988292676285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323823174,"filename":"image_16112025_18_37_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/11/16/bc560e95e5639220bc632fbda2c50be2.jpg","text":"TemporaryFile(/tmp/multipartBody6031861046077746708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323823174,"filename":"image_16112025_18_37_16_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768839","file1":"1394768838","file0":"1394768837","file4":"1394768841","file5":"1394768842","file3":"1394768840"},"map_files_photo_id_array":[{"photo_id":"1394768842","filename":"file5"},{"photo_id":"1394768839","filename":"file2"},{"photo_id":"1394768841","filename":"file4"},{"photo_id":"1394768838","filename":"file1"},{"photo_id":"1394768837","filename":"file0"},{"photo_id":"1394768840","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768842":["hashtag1","hashtag2"]},{"1394768839":["hashtag1","hashtag2"]},{"1394768841":["hashtag1","hashtag2"]},{"1394768838":["hashtag1","hashtag2"]},{"1394768840":["hashtag1","hashtag2"]},{"1394768837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768842, 1394768839, 1394768841, 1394768838, 1394768840, 1394768837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05362844467163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:10:02.336604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_40_6290.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_43_1562.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_46_2644.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_48_2609.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_52_3688.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_54_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_40_6290.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_43_1562.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_46_2644.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_48_2609.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_52_3688.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_54_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768845","1394768848","1394768850","1394768844","1394768843","1394768846"],"photo_ids_order":["1394768843","1394768844","1394768845","1394768846","1394768848","1394768850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92c38a56004d193aa46fa952a31cf1b3.jpg","text":"TemporaryFile(/tmp/multipartBody6650770946906199233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323863038,"filename":"image_16112025_18_37_46_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1a59239366c95aa7ef6e5f6109b6569.jpg","text":"TemporaryFile(/tmp/multipartBody3606452796555938405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323863038,"filename":"image_16112025_18_37_52_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cff766423f540a684bb80c2cc3a80525.jpg","text":"TemporaryFile(/tmp/multipartBody4904306470390325858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323863038,"filename":"image_16112025_18_37_54_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8646214155d4e7d699245533e6d5298.jpg","text":"TemporaryFile(/tmp/multipartBody6682324343619889327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323863038,"filename":"image_16112025_18_37_43_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63199f84c77642b10021d48c4148c7a0.jpg","text":"TemporaryFile(/tmp/multipartBody815909664443656052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323863038,"filename":"image_16112025_18_37_40_6290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efb010f84839a6324b703b9ad56b5a5f.jpg","text":"TemporaryFile(/tmp/multipartBody7428364121581059367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323863038,"filename":"image_16112025_18_37_48_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768845","file1":"1394768844","file0":"1394768843","file4":"1394768848","file5":"1394768850","file3":"1394768846"},"map_files_photo_id_array":[{"photo_id":"1394768850","filename":"file5"},{"photo_id":"1394768845","filename":"file2"},{"photo_id":"1394768848","filename":"file4"},{"photo_id":"1394768844","filename":"file1"},{"photo_id":"1394768843","filename":"file0"},{"photo_id":"1394768846","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768845":["hashtag1","hashtag2"]},{"1394768848":["hashtag1","hashtag2"]},{"1394768850":["hashtag1","hashtag2"]},{"1394768844":["hashtag1","hashtag2"]},{"1394768843":["hashtag1","hashtag2"]},{"1394768846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768845, 1394768848, 1394768850, 1394768844, 1394768843, 1394768846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29603314399719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:10:41.964304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_58_3550.jpg', '/home/pi/Desktop/images/16112025/18/37/image_16112025_18_38_00_2505.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_04_3110.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_09_2682.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_13_3677.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_15_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_37_58_3550.jpg
/home/pi/Desktop/images/16112025/18/37/image_16112025_18_38_00_2505.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_04_3110.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_09_2682.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_13_3677.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_15_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768857","1394768856","1394768859","1394768853","1394768855","1394768858"],"photo_ids_order":["1394768853","1394768855","1394768856","1394768857","1394768858","1394768859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a4373d21d811d6e45e45e661e77c432.jpg","text":"TemporaryFile(/tmp/multipartBody7761326806266684420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323902595,"filename":"image_16112025_18_38_09_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65b4db9c78281156ce6f6f928954f5a6.jpg","text":"TemporaryFile(/tmp/multipartBody2313383489677802730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323902595,"filename":"image_16112025_18_38_04_3110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b293e848ac351525eb5dbf7b112a7d10.jpg","text":"TemporaryFile(/tmp/multipartBody5117819438801818868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323902595,"filename":"image_16112025_18_38_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/11/16/57ee35645b827ae719e9dda61022b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody994806934612470138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323902595,"filename":"image_16112025_18_37_58_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8aeaf3ef4f4d97086116fef18db4df0c.jpg","text":"TemporaryFile(/tmp/multipartBody2074741264183676414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323902595,"filename":"image_16112025_18_38_00_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06d20a497f83e31f8f28b1ec41830e57.jpg","text":"TemporaryFile(/tmp/multipartBody2640485232907384739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323902595,"filename":"image_16112025_18_38_13_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768856","file1":"1394768855","file0":"1394768853","file4":"1394768858","file5":"1394768859","file3":"1394768857"},"map_files_photo_id_array":[{"photo_id":"1394768859","filename":"file5"},{"photo_id":"1394768856","filename":"file2"},{"photo_id":"1394768858","filename":"file4"},{"photo_id":"1394768855","filename":"file1"},{"photo_id":"1394768853","filename":"file0"},{"photo_id":"1394768857","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768857":["hashtag1","hashtag2"]},{"1394768856":["hashtag1","hashtag2"]},{"1394768859":["hashtag1","hashtag2"]},{"1394768853":["hashtag1","hashtag2"]},{"1394768855":["hashtag1","hashtag2"]},{"1394768858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768857, 1394768856, 1394768859, 1394768853, 1394768855, 1394768858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.172080516815186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:11:22.177152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_18_2694.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_22_3642.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_33_2761.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_36_2641.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_40_3753.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_45_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_18_2694.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_22_3642.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_33_2761.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_36_2641.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_40_3753.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_45_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768866","1394768869","1394768865","1394768867","1394768864","1394768863"],"photo_ids_order":["1394768863","1394768864","1394768865","1394768866","1394768867","1394768869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1048df06cb09328f8eab44be1892c29a.jpg","text":"TemporaryFile(/tmp/multipartBody3874106387556796126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323942876,"filename":"image_16112025_18_38_36_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6896ffc68ef3c6884fba1ef60f580ac.jpg","text":"TemporaryFile(/tmp/multipartBody2066867530405015381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323942876,"filename":"image_16112025_18_38_45_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfd1113428dd677799cd9ecc6fce60f5.jpg","text":"TemporaryFile(/tmp/multipartBody7667405414340942169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323942876,"filename":"image_16112025_18_38_33_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abd7ee827a92cae9034e40036c00d2e5.jpg","text":"TemporaryFile(/tmp/multipartBody7074536085777036218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323942876,"filename":"image_16112025_18_38_40_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6fcd6e6f4b45984228ec19a153a15d90.jpg","text":"TemporaryFile(/tmp/multipartBody5508850709516570402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323942876,"filename":"image_16112025_18_38_22_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a57cc2a876cfe02dabb5dc227573c1d.jpg","text":"TemporaryFile(/tmp/multipartBody204283586926981086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323942876,"filename":"image_16112025_18_38_18_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768865","file1":"1394768864","file0":"1394768863","file4":"1394768867","file5":"1394768869","file3":"1394768866"},"map_files_photo_id_array":[{"photo_id":"1394768869","filename":"file5"},{"photo_id":"1394768865","filename":"file2"},{"photo_id":"1394768867","filename":"file4"},{"photo_id":"1394768864","filename":"file1"},{"photo_id":"1394768863","filename":"file0"},{"photo_id":"1394768866","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768866":["hashtag1","hashtag2"]},{"1394768869":["hashtag1","hashtag2"]},{"1394768865":["hashtag1","hashtag2"]},{"1394768867":["hashtag1","hashtag2"]},{"1394768864":["hashtag1","hashtag2"]},{"1394768863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768866, 1394768869, 1394768865, 1394768867, 1394768864, 1394768863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04434108734131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:12:02.873812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_54_2659.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_57_2753.jpg', '/home/pi/Desktop/images/16112025/18/38/image_16112025_18_39_01_3742.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_06_2549.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_10_3641.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_12_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_54_2659.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_38_57_2753.jpg
/home/pi/Desktop/images/16112025/18/38/image_16112025_18_39_01_3742.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_06_2549.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_10_3641.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_12_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768872","1394768875","1394768874","1394768877","1394768871","1394768873"],"photo_ids_order":["1394768871","1394768872","1394768873","1394768874","1394768875","1394768877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8aae893c0c2c4965446260eb722588b.jpg","text":"TemporaryFile(/tmp/multipartBody566514630543578607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323983542,"filename":"image_16112025_18_38_57_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4669a04248aa95502ff7b9715d9b8ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3665404076928320294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323983542,"filename":"image_16112025_18_39_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/11/16/919f6109048e9ec92ed547cf72d1d184.jpg","text":"TemporaryFile(/tmp/multipartBody8938146128101417481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323983542,"filename":"image_16112025_18_39_06_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3093fc4f6446e57770fe05e50e164fa1.jpg","text":"TemporaryFile(/tmp/multipartBody2756615006130283277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323983542,"filename":"image_16112025_18_39_12_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a9ed18f3609f06c15eec71c17a4946c.jpg","text":"TemporaryFile(/tmp/multipartBody6583658219141748973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323983542,"filename":"image_16112025_18_38_54_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05714aaebba2a071e3c4dd19136d7b29.jpg","text":"TemporaryFile(/tmp/multipartBody822125627826706809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763323983542,"filename":"image_16112025_18_39_01_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768873","file1":"1394768872","file0":"1394768871","file4":"1394768875","file5":"1394768877","file3":"1394768874"},"map_files_photo_id_array":[{"photo_id":"1394768877","filename":"file5"},{"photo_id":"1394768873","filename":"file2"},{"photo_id":"1394768875","filename":"file4"},{"photo_id":"1394768872","filename":"file1"},{"photo_id":"1394768871","filename":"file0"},{"photo_id":"1394768874","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768872":["hashtag1","hashtag2"]},{"1394768875":["hashtag1","hashtag2"]},{"1394768874":["hashtag1","hashtag2"]},{"1394768877":["hashtag1","hashtag2"]},{"1394768871":["hashtag1","hashtag2"]},{"1394768873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768872, 1394768875, 1394768874, 1394768877, 1394768871, 1394768873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23363661766052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:12:42.421880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_15_2720.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_19_3706.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_21_2621.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_24_2685.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_28_3643.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_30_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_15_2720.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_19_3706.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_21_2621.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_24_2685.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_28_3643.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_30_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768880","1394768883","1394768885","1394768879","1394768882","1394768881"],"photo_ids_order":["1394768879","1394768880","1394768881","1394768882","1394768883","1394768885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d46c4f1e0ef56baa6b27959fab2c37aa.jpg","text":"TemporaryFile(/tmp/multipartBody7309581183867611138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324023104,"filename":"image_16112025_18_39_19_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0632fd8692b5a913088f73433f6d1768.jpg","text":"TemporaryFile(/tmp/multipartBody8183556510557786123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324023104,"filename":"image_16112025_18_39_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/11/16/7727fab9ec6cb78ceb5568fec0a89dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1663578159727085219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324023104,"filename":"image_16112025_18_39_30_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5fb657013edccea7bb7622559fbe729.jpg","text":"TemporaryFile(/tmp/multipartBody3583208960390235039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324023104,"filename":"image_16112025_18_39_15_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19ea8b77f167ae45b91caafc991c303c.jpg","text":"TemporaryFile(/tmp/multipartBody6959320168449967862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324023104,"filename":"image_16112025_18_39_24_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/58049cdc5d3020a9a9b43975d7e1f62f.jpg","text":"TemporaryFile(/tmp/multipartBody1686824016687280528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324023104,"filename":"image_16112025_18_39_21_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768881","file1":"1394768880","file0":"1394768879","file4":"1394768883","file5":"1394768885","file3":"1394768882"},"map_files_photo_id_array":[{"photo_id":"1394768885","filename":"file5"},{"photo_id":"1394768881","filename":"file2"},{"photo_id":"1394768883","filename":"file4"},{"photo_id":"1394768880","filename":"file1"},{"photo_id":"1394768879","filename":"file0"},{"photo_id":"1394768882","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768880":["hashtag1","hashtag2"]},{"1394768883":["hashtag1","hashtag2"]},{"1394768885":["hashtag1","hashtag2"]},{"1394768879":["hashtag1","hashtag2"]},{"1394768882":["hashtag1","hashtag2"]},{"1394768881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768880, 1394768883, 1394768885, 1394768879, 1394768882, 1394768881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.656893730163574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:13:22.604040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_33_2611.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_37_3614.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_42_2676.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_45_3588.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_48_2581.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_52_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_33_2611.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_37_3614.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_42_2676.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_45_3588.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_48_2581.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_52_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768887","1394768892","1394768886","1394768889","1394768888","1394768890"],"photo_ids_order":["1394768886","1394768887","1394768888","1394768889","1394768890","1394768892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87a719881380fcf54516fead6b5bfa09.jpg","text":"TemporaryFile(/tmp/multipartBody7044132347178989091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324063255,"filename":"image_16112025_18_39_37_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f8dfb4aa3e64212b6710890474859ac.jpg","text":"TemporaryFile(/tmp/multipartBody996247150512519291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324063255,"filename":"image_16112025_18_39_52_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5fe1a00c81eb1f154350225d571d4bb6.jpg","text":"TemporaryFile(/tmp/multipartBody8725119440401650925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324063255,"filename":"image_16112025_18_39_33_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8412c777bd181358a1ffeaf65f1e8689.jpg","text":"TemporaryFile(/tmp/multipartBody1694307480283071440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324063255,"filename":"image_16112025_18_39_45_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6bd6d170ffb3030acf592ae5b893995f.jpg","text":"TemporaryFile(/tmp/multipartBody1956078469257458925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324063255,"filename":"image_16112025_18_39_42_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9cea39982d7bc8acf92fadd1c7fa49d.jpg","text":"TemporaryFile(/tmp/multipartBody1801287455587142638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324063255,"filename":"image_16112025_18_39_48_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768888","file1":"1394768887","file0":"1394768886","file4":"1394768890","file5":"1394768892","file3":"1394768889"},"map_files_photo_id_array":[{"photo_id":"1394768892","filename":"file5"},{"photo_id":"1394768888","filename":"file2"},{"photo_id":"1394768890","filename":"file4"},{"photo_id":"1394768887","filename":"file1"},{"photo_id":"1394768886","filename":"file0"},{"photo_id":"1394768889","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768887":["hashtag1","hashtag2"]},{"1394768892":["hashtag1","hashtag2"]},{"1394768886":["hashtag1","hashtag2"]},{"1394768889":["hashtag1","hashtag2"]},{"1394768888":["hashtag1","hashtag2"]},{"1394768890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768887, 1394768892, 1394768886, 1394768889, 1394768888, 1394768890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.509583950042725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:14:02.515728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_57_2721.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_40_01_3637.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_06_2692.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_10_3604.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_12_2822.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_15_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_57_2721.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_40_01_3637.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_06_2692.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_10_3604.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_12_2822.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_15_2565.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.7545771598815918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:14:21.842285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_57_2721.jpg', '/home/pi/Desktop/images/16112025/18/39/image_16112025_18_40_01_3637.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_06_2692.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_10_3604.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_12_2822.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_15_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_39_57_2721.jpg
/home/pi/Desktop/images/16112025/18/39/image_16112025_18_40_01_3637.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_06_2692.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_10_3604.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_12_2822.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_15_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768908","1394768902","1394768911","1394768905","1394768910","1394768913"],"photo_ids_order":["1394768902","1394768905","1394768908","1394768910","1394768911","1394768913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c924263f56ffa04afdbf7e2ce8c6dc4b.jpg","text":"TemporaryFile(/tmp/multipartBody4240750515512343875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324122498,"filename":"image_16112025_18_40_06_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7dde1c9185f3c2b0f291547fc8c8b65e.jpg","text":"TemporaryFile(/tmp/multipartBody1200081298897063763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324122498,"filename":"image_16112025_18_39_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/11/16/750a7689980d5498d81e63122609a1d3.jpg","text":"TemporaryFile(/tmp/multipartBody2925896199969656117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324122498,"filename":"image_16112025_18_40_12_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/997561b0476e1702577564c83361d104.jpg","text":"TemporaryFile(/tmp/multipartBody5377819490706246696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324122498,"filename":"image_16112025_18_40_01_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee2ed5013a52cbe60a4a523d663b2771.jpg","text":"TemporaryFile(/tmp/multipartBody1948193565129781363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324122498,"filename":"image_16112025_18_40_10_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9612903e025704f7cb2b9bf042080c76.jpg","text":"TemporaryFile(/tmp/multipartBody3963328985450570968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324122498,"filename":"image_16112025_18_40_15_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768908","file1":"1394768905","file0":"1394768902","file4":"1394768911","file5":"1394768913","file3":"1394768910"},"map_files_photo_id_array":[{"photo_id":"1394768913","filename":"file5"},{"photo_id":"1394768908","filename":"file2"},{"photo_id":"1394768911","filename":"file4"},{"photo_id":"1394768905","filename":"file1"},{"photo_id":"1394768902","filename":"file0"},{"photo_id":"1394768910","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768908":["hashtag1","hashtag2"]},{"1394768902":["hashtag1","hashtag2"]},{"1394768911":["hashtag1","hashtag2"]},{"1394768905":["hashtag1","hashtag2"]},{"1394768910":["hashtag1","hashtag2"]},{"1394768913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768908, 1394768902, 1394768911, 1394768905, 1394768910, 1394768913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8697612285614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:15:02.908756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_19_3673.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_30_2646.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_33_2537.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_36_3648.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_39_2798.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_45_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_19_3673.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_30_2646.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_33_2537.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_36_3648.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_39_2798.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_45_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768914","1394768917","1394768922","1394768919","1394768916","1394768915"],"photo_ids_order":["1394768914","1394768915","1394768916","1394768917","1394768919","1394768922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19fd27cc0b8db7b67596465555a06a12.jpg","text":"TemporaryFile(/tmp/multipartBody5751624895663017122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324163674,"filename":"image_16112025_18_40_19_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dc05c8c9ffd728216bd0e29bd2237ee.jpg","text":"TemporaryFile(/tmp/multipartBody7063156295598294714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324163674,"filename":"image_16112025_18_40_36_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e0ede4f7b75328b6229134e28367eb9.jpg","text":"TemporaryFile(/tmp/multipartBody7163447937720706289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324163674,"filename":"image_16112025_18_40_45_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5139dcde955ee39601245462e800ca45.jpg","text":"TemporaryFile(/tmp/multipartBody1623847371681276459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324163674,"filename":"image_16112025_18_40_39_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5459cfa2c0b037ab57eb978e8546b31c.jpg","text":"TemporaryFile(/tmp/multipartBody6601728702978248377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324163674,"filename":"image_16112025_18_40_33_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f053c148aaa4a854713c74d36ad1d1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3227181166895515481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324163674,"filename":"image_16112025_18_40_30_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768916","file1":"1394768915","file0":"1394768914","file4":"1394768919","file5":"1394768922","file3":"1394768917"},"map_files_photo_id_array":[{"photo_id":"1394768922","filename":"file5"},{"photo_id":"1394768916","filename":"file2"},{"photo_id":"1394768919","filename":"file4"},{"photo_id":"1394768915","filename":"file1"},{"photo_id":"1394768914","filename":"file0"},{"photo_id":"1394768917","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768914":["hashtag1","hashtag2"]},{"1394768917":["hashtag1","hashtag2"]},{"1394768922":["hashtag1","hashtag2"]},{"1394768919":["hashtag1","hashtag2"]},{"1394768916":["hashtag1","hashtag2"]},{"1394768915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768914, 1394768917, 1394768922, 1394768919, 1394768916, 1394768915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54215407371521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:15:42.085437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_48_2707.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_51_2648.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_54_3651.jpg', '/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_57_2558.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_06_2611.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_10_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_48_2707.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_51_2648.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_54_3651.jpg
/home/pi/Desktop/images/16112025/18/40/image_16112025_18_40_57_2558.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_06_2611.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_10_3611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768932","1394768929","1394768931","1394768925","1394768930","1394768927"],"photo_ids_order":["1394768925","1394768927","1394768929","1394768930","1394768931","1394768932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b69aa660db7c4b2a771365e477b4972.jpg","text":"TemporaryFile(/tmp/multipartBody4209686839939307524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324202739,"filename":"image_16112025_18_41_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/11/16/6b57d49e4a897fd1706a3e25a4466f46.jpg","text":"TemporaryFile(/tmp/multipartBody4736536488031757630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324202739,"filename":"image_16112025_18_40_54_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e0ece751855088ed7dc9b407c3aece9.jpg","text":"TemporaryFile(/tmp/multipartBody7636538399351105486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324202739,"filename":"image_16112025_18_41_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/11/16/879f68710d6c1bb34e59356a02ada0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1327589133710524481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324202739,"filename":"image_16112025_18_40_48_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90ebd910532725cdf2b871f406ca96cf.jpg","text":"TemporaryFile(/tmp/multipartBody1089610226743918512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324202739,"filename":"image_16112025_18_40_57_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b3d18d2dbba646f6b982230ffd05e27.jpg","text":"TemporaryFile(/tmp/multipartBody1446473398682919786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324202739,"filename":"image_16112025_18_40_51_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768929","file1":"1394768927","file0":"1394768925","file4":"1394768931","file5":"1394768932","file3":"1394768930"},"map_files_photo_id_array":[{"photo_id":"1394768932","filename":"file5"},{"photo_id":"1394768929","filename":"file2"},{"photo_id":"1394768931","filename":"file4"},{"photo_id":"1394768927","filename":"file1"},{"photo_id":"1394768925","filename":"file0"},{"photo_id":"1394768930","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768932":["hashtag1","hashtag2"]},{"1394768929":["hashtag1","hashtag2"]},{"1394768931":["hashtag1","hashtag2"]},{"1394768925":["hashtag1","hashtag2"]},{"1394768930":["hashtag1","hashtag2"]},{"1394768927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768932, 1394768929, 1394768931, 1394768925, 1394768930, 1394768927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83443212509155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:16:22.335384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_12_2581.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_15_2794.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_18_3573.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_21_2643.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_24_2551.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_36_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_12_2581.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_15_2794.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_18_3573.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_21_2643.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_24_2551.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_36_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768938","1394768935","1394768940","1394768933","1394768942","1394768939"],"photo_ids_order":["1394768933","1394768935","1394768938","1394768939","1394768940","1394768942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7e9598546a743b358ea8ae718aad353.jpg","text":"TemporaryFile(/tmp/multipartBody3988535806042675007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324242994,"filename":"image_16112025_18_41_18_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/698ac05f851d48af4582636a49d596f9.jpg","text":"TemporaryFile(/tmp/multipartBody2102434516791343183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324242994,"filename":"image_16112025_18_41_15_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f74674e8e1debe00f950622f8355de6a.jpg","text":"TemporaryFile(/tmp/multipartBody8660037032791919056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324242994,"filename":"image_16112025_18_41_24_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1c1dad15659c94323f2a7f9c2098e777.jpg","text":"TemporaryFile(/tmp/multipartBody8906768263458312293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324242994,"filename":"image_16112025_18_41_12_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dbbf72f2af4654e5b4f460d5125131f.jpg","text":"TemporaryFile(/tmp/multipartBody247082046658562784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324242994,"filename":"image_16112025_18_41_36_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4fbf673a01e3ce4063d0ffbf1571ec6.jpg","text":"TemporaryFile(/tmp/multipartBody4071519226277387436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324242994,"filename":"image_16112025_18_41_21_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768938","file1":"1394768935","file0":"1394768933","file4":"1394768940","file5":"1394768942","file3":"1394768939"},"map_files_photo_id_array":[{"photo_id":"1394768942","filename":"file5"},{"photo_id":"1394768938","filename":"file2"},{"photo_id":"1394768940","filename":"file4"},{"photo_id":"1394768935","filename":"file1"},{"photo_id":"1394768933","filename":"file0"},{"photo_id":"1394768939","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768938":["hashtag1","hashtag2"]},{"1394768935":["hashtag1","hashtag2"]},{"1394768940":["hashtag1","hashtag2"]},{"1394768933":["hashtag1","hashtag2"]},{"1394768942":["hashtag1","hashtag2"]},{"1394768939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768938, 1394768935, 1394768940, 1394768933, 1394768942, 1394768939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.735193967819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:17:03.324941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_39_2733.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_42_2645.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_45_3592.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_48_2754.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_51_2643.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_54_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_39_2733.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_42_2645.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_45_3592.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_48_2754.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_51_2643.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_54_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768950","1394768944","1394768949","1394768943","1394768946","1394768945"],"photo_ids_order":["1394768943","1394768944","1394768945","1394768946","1394768949","1394768950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11665f4ad2c2fa8632412a151f12a50b.jpg","text":"TemporaryFile(/tmp/multipartBody7419946595569232794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324284268,"filename":"image_16112025_18_41_54_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48f78511b706a2d453eacec9f97f8818.jpg","text":"TemporaryFile(/tmp/multipartBody6096356067058370452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324284268,"filename":"image_16112025_18_41_42_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47e787c7dc209d487d315a8417c4654f.jpg","text":"TemporaryFile(/tmp/multipartBody4467416788404897271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324284268,"filename":"image_16112025_18_41_51_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95ec585bc59de7c10b33b49f1edc4ba7.jpg","text":"TemporaryFile(/tmp/multipartBody376617128066489124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324284268,"filename":"image_16112025_18_41_39_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a1b3290ab37a2a97e03d6963398e0e2.jpg","text":"TemporaryFile(/tmp/multipartBody6767289892132661565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324284268,"filename":"image_16112025_18_41_48_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b384bfe1ce534df2218cd7b1655ffab.jpg","text":"TemporaryFile(/tmp/multipartBody8178035943095616337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324284268,"filename":"image_16112025_18_41_45_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768945","file1":"1394768944","file0":"1394768943","file4":"1394768949","file5":"1394768950","file3":"1394768946"},"map_files_photo_id_array":[{"photo_id":"1394768950","filename":"file5"},{"photo_id":"1394768945","filename":"file2"},{"photo_id":"1394768949","filename":"file4"},{"photo_id":"1394768944","filename":"file1"},{"photo_id":"1394768943","filename":"file0"},{"photo_id":"1394768946","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768950":["hashtag1","hashtag2"]},{"1394768944":["hashtag1","hashtag2"]},{"1394768949":["hashtag1","hashtag2"]},{"1394768943":["hashtag1","hashtag2"]},{"1394768946":["hashtag1","hashtag2"]},{"1394768945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768950, 1394768944, 1394768949, 1394768943, 1394768946, 1394768945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19973587989807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:17:42.520680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_57_2773.jpg', '/home/pi/Desktop/images/16112025/18/41/image_16112025_18_42_00_2781.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_09_2655.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_12_3618.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_18_2660.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_24_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_41_57_2773.jpg
/home/pi/Desktop/images/16112025/18/41/image_16112025_18_42_00_2781.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_09_2655.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_12_3618.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_18_2660.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_24_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768961","1394768955","1394768958","1394768960","1394768963","1394768962"],"photo_ids_order":["1394768955","1394768958","1394768960","1394768961","1394768962","1394768963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed487c644ab7ea6b872825662014c23d.jpg","text":"TemporaryFile(/tmp/multipartBody5941863418455601220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324323231,"filename":"image_16112025_18_42_12_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d76fe1e3ff515d1acf63508514f74cd7.jpg","text":"TemporaryFile(/tmp/multipartBody7727278936497729449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324323231,"filename":"image_16112025_18_41_57_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98608f4214a4555429b33721ec69d5fe.jpg","text":"TemporaryFile(/tmp/multipartBody4912604801475236881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324323231,"filename":"image_16112025_18_42_00_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8c207c23fa5c17acd404a8dbd5d6e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7277557901104076247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324323231,"filename":"image_16112025_18_42_09_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14be94460b954799030af864aa31919e.jpg","text":"TemporaryFile(/tmp/multipartBody647156544452078584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324323231,"filename":"image_16112025_18_42_24_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cc5f5b9dd2b1234504f4e8425df246f.jpg","text":"TemporaryFile(/tmp/multipartBody1705229808386256598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324323231,"filename":"image_16112025_18_42_18_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768960","file1":"1394768958","file0":"1394768955","file4":"1394768962","file5":"1394768963","file3":"1394768961"},"map_files_photo_id_array":[{"photo_id":"1394768963","filename":"file5"},{"photo_id":"1394768960","filename":"file2"},{"photo_id":"1394768962","filename":"file4"},{"photo_id":"1394768958","filename":"file1"},{"photo_id":"1394768955","filename":"file0"},{"photo_id":"1394768961","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768961":["hashtag1","hashtag2"]},{"1394768955":["hashtag1","hashtag2"]},{"1394768958":["hashtag1","hashtag2"]},{"1394768960":["hashtag1","hashtag2"]},{"1394768963":["hashtag1","hashtag2"]},{"1394768962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768961, 1394768955, 1394768958, 1394768960, 1394768963, 1394768962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.743348836898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:18:22.705152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_27_2864.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_30_2591.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_33_3676.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_36_2790.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_42_3611.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_45_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_27_2864.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_30_2591.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_33_3676.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_36_2790.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_42_3611.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_45_2743.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.5591022968292236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:18:42.713948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_27_2864.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_30_2591.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_33_3676.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_36_2790.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_42_3611.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_45_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_27_2864.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_30_2591.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_33_3676.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_36_2790.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_42_3611.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_45_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768973","1394768976","1394768979","1394768975","1394768974","1394768977"],"photo_ids_order":["1394768973","1394768974","1394768975","1394768976","1394768977","1394768979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f104e9762a9866b9a6e82fdc4118c26.jpg","text":"TemporaryFile(/tmp/multipartBody2777211210235790194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324383349,"filename":"image_16112025_18_42_27_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0faef6834deedc82b71a3bef2739f36c.jpg","text":"TemporaryFile(/tmp/multipartBody3135883578771697577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324383349,"filename":"image_16112025_18_42_36_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c1ddc0e862ac7be8be266d8dc7f083da.jpg","text":"TemporaryFile(/tmp/multipartBody8814116177668564852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324383349,"filename":"image_16112025_18_42_45_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfb45648c8e5bc2e34a1209864d417f3.jpg","text":"TemporaryFile(/tmp/multipartBody1862982728743210811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324383349,"filename":"image_16112025_18_42_33_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e12219137e91a8ae92299f7081acdb3b.jpg","text":"TemporaryFile(/tmp/multipartBody1955697787194220640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324383349,"filename":"image_16112025_18_42_30_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1087ab77a03c1e732c41723003315a2e.jpg","text":"TemporaryFile(/tmp/multipartBody8264296824345507662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324383349,"filename":"image_16112025_18_42_42_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768975","file1":"1394768974","file0":"1394768973","file4":"1394768977","file5":"1394768979","file3":"1394768976"},"map_files_photo_id_array":[{"photo_id":"1394768979","filename":"file5"},{"photo_id":"1394768975","filename":"file2"},{"photo_id":"1394768977","filename":"file4"},{"photo_id":"1394768974","filename":"file1"},{"photo_id":"1394768973","filename":"file0"},{"photo_id":"1394768976","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768973":["hashtag1","hashtag2"]},{"1394768976":["hashtag1","hashtag2"]},{"1394768979":["hashtag1","hashtag2"]},{"1394768975":["hashtag1","hashtag2"]},{"1394768974":["hashtag1","hashtag2"]},{"1394768977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768973, 1394768976, 1394768979, 1394768975, 1394768974, 1394768977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1831259727478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:19:21.985370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_48_2724.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_51_2654.jpg', '/home/pi/Desktop/images/16112025/18/42/image_16112025_18_43_00_3706.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_03_2551.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_08_2821.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_12_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_48_2724.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_42_51_2654.jpg
/home/pi/Desktop/images/16112025/18/42/image_16112025_18_43_00_3706.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_03_2551.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_08_2821.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_12_3747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394768985","1394768982","1394768984","1394768987","1394768981","1394768983"],"photo_ids_order":["1394768981","1394768982","1394768983","1394768984","1394768985","1394768987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc5dba7f5476aa708a5d19e25de9b97a.jpg","text":"TemporaryFile(/tmp/multipartBody2557447695537300775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324422658,"filename":"image_16112025_18_43_08_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5faebb2e910a97b4db3415f4cc9c8624.jpg","text":"TemporaryFile(/tmp/multipartBody4492610468346861591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324422658,"filename":"image_16112025_18_42_51_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b7c87535cb22b4fdb640c3dfae5d30d.jpg","text":"TemporaryFile(/tmp/multipartBody5226057274536027900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324422658,"filename":"image_16112025_18_43_03_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81454c37afff8ead38bf05c1e63764d2.jpg","text":"TemporaryFile(/tmp/multipartBody8187566527815412528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324422658,"filename":"image_16112025_18_43_12_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87ff058e0fabd8fef07c56d406bf000e.jpg","text":"TemporaryFile(/tmp/multipartBody6822978450142142129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324422658,"filename":"image_16112025_18_42_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/11/16/764c1c3c7479717fe9b72bdfc8969cb8.jpg","text":"TemporaryFile(/tmp/multipartBody2743582360664673596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324422658,"filename":"image_16112025_18_43_00_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768983","file1":"1394768982","file0":"1394768981","file4":"1394768985","file5":"1394768987","file3":"1394768984"},"map_files_photo_id_array":[{"photo_id":"1394768987","filename":"file5"},{"photo_id":"1394768983","filename":"file2"},{"photo_id":"1394768985","filename":"file4"},{"photo_id":"1394768982","filename":"file1"},{"photo_id":"1394768981","filename":"file0"},{"photo_id":"1394768984","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394768985":["hashtag1","hashtag2"]},{"1394768982":["hashtag1","hashtag2"]},{"1394768984":["hashtag1","hashtag2"]},{"1394768987":["hashtag1","hashtag2"]},{"1394768981":["hashtag1","hashtag2"]},{"1394768983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394768985, 1394768982, 1394768984, 1394768987, 1394768981, 1394768983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57329773902893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:20:02.819037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_18_2802.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_24_2662.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_27_2650.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_30_3757.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_33_2659.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_36_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_18_2802.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_24_2662.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_27_2650.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_30_3757.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_33_2659.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_36_2557.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.5867898464202881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:20:22.331255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_18_2802.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_24_2662.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_27_2650.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_30_3757.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_33_2659.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_36_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_18_2802.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_24_2662.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_27_2650.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_30_3757.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_33_2659.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_36_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769001","1394768997","1394768996","1394768999","1394768995","1394768998"],"photo_ids_order":["1394768995","1394768996","1394768997","1394768998","1394768999","1394769001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd3bc110ad1c169d8b1b8fc0f091decb.jpg","text":"TemporaryFile(/tmp/multipartBody6754045733765910723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324482989,"filename":"image_16112025_18_43_36_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ca3a517d43d52df23d94eb52e2a0a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7351782644285017688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324482989,"filename":"image_16112025_18_43_27_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/514614a019ddeca4c19578881b7f57b6.jpg","text":"TemporaryFile(/tmp/multipartBody8716640432947565658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324482989,"filename":"image_16112025_18_43_24_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1ed72cbc8c6cb6f1d7753759e595ad5a.jpg","text":"TemporaryFile(/tmp/multipartBody1687368119569638578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324482989,"filename":"image_16112025_18_43_33_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb54ed322b23f380dd744b668e2afa03.jpg","text":"TemporaryFile(/tmp/multipartBody5345030407613294837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324482989,"filename":"image_16112025_18_43_18_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6430d83d78a4b970453df90efb25d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2012145840003251527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324482989,"filename":"image_16112025_18_43_30_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394768997","file1":"1394768996","file0":"1394768995","file4":"1394768999","file5":"1394769001","file3":"1394768998"},"map_files_photo_id_array":[{"photo_id":"1394769001","filename":"file5"},{"photo_id":"1394768997","filename":"file2"},{"photo_id":"1394768999","filename":"file4"},{"photo_id":"1394768996","filename":"file1"},{"photo_id":"1394768995","filename":"file0"},{"photo_id":"1394768998","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769001":["hashtag1","hashtag2"]},{"1394768997":["hashtag1","hashtag2"]},{"1394768996":["hashtag1","hashtag2"]},{"1394768999":["hashtag1","hashtag2"]},{"1394768995":["hashtag1","hashtag2"]},{"1394768998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769001, 1394768997, 1394768996, 1394768999, 1394768995, 1394768998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0394651889801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:21:03.166012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_39_3780.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_42_2687.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_45_2703.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_48_3617.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_54_2586.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_57_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_39_3780.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_42_2687.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_45_2703.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_48_3617.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_54_2586.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_57_3673.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.6488237380981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:21:22.592834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_39_3780.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_42_2687.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_45_2703.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_48_3617.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_54_2586.jpg', '/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_57_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_39_3780.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_42_2687.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_45_2703.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_48_3617.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_54_2586.jpg
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_43_57_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769013","1394769010","1394769012","1394769009","1394769014","1394769011"],"photo_ids_order":["1394769009","1394769010","1394769011","1394769012","1394769013","1394769014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22159ae5de6612afa32d0b6a60f27115.jpg","text":"TemporaryFile(/tmp/multipartBody1268186767051813849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324543227,"filename":"image_16112025_18_43_54_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07251944a4b416d6fba16e21655a0a8e.jpg","text":"TemporaryFile(/tmp/multipartBody5802338699508619429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324543227,"filename":"image_16112025_18_43_42_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd4ca36171d842ee945aeb13f24bd671.jpg","text":"TemporaryFile(/tmp/multipartBody8418682860679712982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324543227,"filename":"image_16112025_18_43_48_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c247876f5bdc8b81d8f97f91ff1a4278.jpg","text":"TemporaryFile(/tmp/multipartBody7936320815791009792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324543227,"filename":"image_16112025_18_43_39_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/733228e992e1a8ef08d6dae0c037e05b.jpg","text":"TemporaryFile(/tmp/multipartBody7839319688421597505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324543227,"filename":"image_16112025_18_43_57_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b571ccc1bfe4ca21b81fea63af5a9c56.jpg","text":"TemporaryFile(/tmp/multipartBody1385441083541990634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324543227,"filename":"image_16112025_18_43_45_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769011","file1":"1394769010","file0":"1394769009","file4":"1394769013","file5":"1394769014","file3":"1394769012"},"map_files_photo_id_array":[{"photo_id":"1394769014","filename":"file5"},{"photo_id":"1394769011","filename":"file2"},{"photo_id":"1394769013","filename":"file4"},{"photo_id":"1394769010","filename":"file1"},{"photo_id":"1394769009","filename":"file0"},{"photo_id":"1394769012","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769013":["hashtag1","hashtag2"]},{"1394769010":["hashtag1","hashtag2"]},{"1394769012":["hashtag1","hashtag2"]},{"1394769009":["hashtag1","hashtag2"]},{"1394769014":["hashtag1","hashtag2"]},{"1394769011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769013, 1394769010, 1394769012, 1394769009, 1394769014, 1394769011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79900240898132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:22:02.426247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/43/image_16112025_18_44_00_2705.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_03_2577.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_06_3802.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_09_2630.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_12_2748.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_14_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/43/image_16112025_18_44_00_2705.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_03_2577.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_06_3802.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_09_2630.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_12_2748.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_14_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769016","1394769019","1394769018","1394769015","1394769020","1394769017"],"photo_ids_order":["1394769015","1394769016","1394769017","1394769018","1394769019","1394769020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/473795d78ec00520984866f827e0ca1b.jpg","text":"TemporaryFile(/tmp/multipartBody8014181146200277853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324583089,"filename":"image_16112025_18_44_03_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54d4f37409e5251dbbecf0b157bb70c0.jpg","text":"TemporaryFile(/tmp/multipartBody5802993141283760037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324583089,"filename":"image_16112025_18_44_12_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97d1d1dd8b60b5dba7d7ded4ecf956a6.jpg","text":"TemporaryFile(/tmp/multipartBody5407458163448591951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324583089,"filename":"image_16112025_18_44_09_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b08a4e1dc520604f4a58a9ade90f219a.jpg","text":"TemporaryFile(/tmp/multipartBody8133741896080266021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324583089,"filename":"image_16112025_18_44_00_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f38fbcdbc05bfd8e84a0b7e5d3efee80.jpg","text":"TemporaryFile(/tmp/multipartBody593889407670237510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324583089,"filename":"image_16112025_18_44_14_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8de2f5f589565a9589503ab5d3ba8e44.jpg","text":"TemporaryFile(/tmp/multipartBody1495603288556641489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324583089,"filename":"image_16112025_18_44_06_3802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769017","file1":"1394769016","file0":"1394769015","file4":"1394769019","file5":"1394769020","file3":"1394769018"},"map_files_photo_id_array":[{"photo_id":"1394769020","filename":"file5"},{"photo_id":"1394769017","filename":"file2"},{"photo_id":"1394769019","filename":"file4"},{"photo_id":"1394769016","filename":"file1"},{"photo_id":"1394769015","filename":"file0"},{"photo_id":"1394769018","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769016":["hashtag1","hashtag2"]},{"1394769019":["hashtag1","hashtag2"]},{"1394769018":["hashtag1","hashtag2"]},{"1394769015":["hashtag1","hashtag2"]},{"1394769020":["hashtag1","hashtag2"]},{"1394769017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769016, 1394769019, 1394769018, 1394769015, 1394769020, 1394769017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04003691673279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:22:41.922992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_18_3810.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_21_2723.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_27_3595.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_30_2564.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_39_2583.jpg', '/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_41_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_18_3810.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_21_2723.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_27_3595.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_30_2564.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_39_2583.jpg
/home/pi/Desktop/images/16112025/18/44/image_16112025_18_44_41_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769028","1394769022","1394769024","1394769027","1394769026","1394769025"],"photo_ids_order":["1394769022","1394769024","1394769025","1394769026","1394769027","1394769028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68deb06abd3e06ea379298a740214ff3.jpg","text":"TemporaryFile(/tmp/multipartBody3129394559603403715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324622630,"filename":"image_16112025_18_44_41_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75235217fa86b27fbcf5b6b4dec05c48.jpg","text":"TemporaryFile(/tmp/multipartBody4812384659074403325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324622630,"filename":"image_16112025_18_44_18_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/01e46831e43998283815e109abfcf0b1.jpg","text":"TemporaryFile(/tmp/multipartBody2391144817700940853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324622630,"filename":"image_16112025_18_44_21_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e16aea904831813072b2db1bd5a65970.jpg","text":"TemporaryFile(/tmp/multipartBody7170756294083383813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324622630,"filename":"image_16112025_18_44_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/11/16/d2891d6419ac740b4ca24483835dec9e.jpg","text":"TemporaryFile(/tmp/multipartBody4607248357505359051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324622630,"filename":"image_16112025_18_44_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/11/16/405e0c423887793b5d26622f95c99035.jpg","text":"TemporaryFile(/tmp/multipartBody7518149825912423879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324622630,"filename":"image_16112025_18_44_27_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769025","file1":"1394769024","file0":"1394769022","file4":"1394769027","file5":"1394769028","file3":"1394769026"},"map_files_photo_id_array":[{"photo_id":"1394769028","filename":"file5"},{"photo_id":"1394769025","filename":"file2"},{"photo_id":"1394769027","filename":"file4"},{"photo_id":"1394769024","filename":"file1"},{"photo_id":"1394769022","filename":"file0"},{"photo_id":"1394769026","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769028":["hashtag1","hashtag2"]},{"1394769022":["hashtag1","hashtag2"]},{"1394769024":["hashtag1","hashtag2"]},{"1394769027":["hashtag1","hashtag2"]},{"1394769026":["hashtag1","hashtag2"]},{"1394769025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769028, 1394769022, 1394769024, 1394769027, 1394769026, 1394769025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64008402824402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:23:22.262726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_07_3011.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_10_3634.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_13_3062.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_16_2549.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_19_3629.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_28_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_07_3011.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_10_3634.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_13_3062.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_16_2549.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_19_3629.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_28_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769034","1394769036","1394769030","1394769032","1394769038","1394769031"],"photo_ids_order":["1394769030","1394769031","1394769032","1394769034","1394769036","1394769038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/026d410a9033df977e640eac25ca84fd.jpg","text":"TemporaryFile(/tmp/multipartBody6468743283886170844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324662992,"filename":"image_16112025_18_46_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/11/16/97e9d692cc8d1309548503836fc61ea7.jpg","text":"TemporaryFile(/tmp/multipartBody4245688247449718098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324662992,"filename":"image_16112025_18_46_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/11/16/eb2ccc313b717a6dab9b06bad3a676a6.jpg","text":"TemporaryFile(/tmp/multipartBody6832106635891914906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324662992,"filename":"image_16112025_18_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/11/16/e0f914cdaeb909a1755c15628a6af16f.jpg","text":"TemporaryFile(/tmp/multipartBody2005542679770995772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324662992,"filename":"image_16112025_18_46_13_3062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21d0d8714fdbf79641d32bca5500194b.jpg","text":"TemporaryFile(/tmp/multipartBody4854592862717212419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324662992,"filename":"image_16112025_18_46_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/11/16/ee6f2b9377634c1d1b13fd81d5ceb5ee.jpg","text":"TemporaryFile(/tmp/multipartBody2208780969267499009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324662992,"filename":"image_16112025_18_46_10_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769032","file1":"1394769031","file0":"1394769030","file4":"1394769036","file5":"1394769038","file3":"1394769034"},"map_files_photo_id_array":[{"photo_id":"1394769038","filename":"file5"},{"photo_id":"1394769032","filename":"file2"},{"photo_id":"1394769036","filename":"file4"},{"photo_id":"1394769031","filename":"file1"},{"photo_id":"1394769030","filename":"file0"},{"photo_id":"1394769034","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769034":["hashtag1","hashtag2"]},{"1394769036":["hashtag1","hashtag2"]},{"1394769030":["hashtag1","hashtag2"]},{"1394769032":["hashtag1","hashtag2"]},{"1394769038":["hashtag1","hashtag2"]},{"1394769031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769034, 1394769036, 1394769030, 1394769032, 1394769038, 1394769031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.439494371414185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:24:03.173451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_31_3587.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_34_2607.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_40_2684.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_43_2678.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_46_3645.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_49_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_31_3587.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_34_2607.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_40_2684.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_43_2678.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_46_3645.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_49_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769040","1394769042","1394769041","1394769044","1394769043","1394769046"],"photo_ids_order":["1394769040","1394769041","1394769042","1394769043","1394769044","1394769046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fa901ec3fdd152503df465abf8cad44.jpg","text":"TemporaryFile(/tmp/multipartBody6690986494749045609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324703918,"filename":"image_16112025_18_46_31_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf114a7fc66e6f49229514f3ee0b2b62.jpg","text":"TemporaryFile(/tmp/multipartBody2145167706450199166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324703918,"filename":"image_16112025_18_46_40_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7feba2806d1075007afd627db16d4839.jpg","text":"TemporaryFile(/tmp/multipartBody4896675319731304417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324703918,"filename":"image_16112025_18_46_34_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a251077a6703d11eaf43e885a986954.jpg","text":"TemporaryFile(/tmp/multipartBody6742377228316156354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324703918,"filename":"image_16112025_18_46_46_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88a048c96a0a7d61a6b0d5a2f16f3e24.jpg","text":"TemporaryFile(/tmp/multipartBody6265593228566790082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324703918,"filename":"image_16112025_18_46_43_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbcc8da4256bcc1f95b235688fad29ba.jpg","text":"TemporaryFile(/tmp/multipartBody8786404733316268807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324703918,"filename":"image_16112025_18_46_49_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769042","file1":"1394769041","file0":"1394769040","file4":"1394769044","file5":"1394769046","file3":"1394769043"},"map_files_photo_id_array":[{"photo_id":"1394769046","filename":"file5"},{"photo_id":"1394769042","filename":"file2"},{"photo_id":"1394769044","filename":"file4"},{"photo_id":"1394769041","filename":"file1"},{"photo_id":"1394769040","filename":"file0"},{"photo_id":"1394769043","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769040":["hashtag1","hashtag2"]},{"1394769042":["hashtag1","hashtag2"]},{"1394769041":["hashtag1","hashtag2"]},{"1394769044":["hashtag1","hashtag2"]},{"1394769043":["hashtag1","hashtag2"]},{"1394769046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769040, 1394769042, 1394769041, 1394769044, 1394769043, 1394769046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5960590839386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:24:42.391684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_52_2740.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_54_2602.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_58_3736.jpg', '/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_04_3653.jpg', '/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_07_2698.jpg', '/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_10_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_52_2740.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_54_2602.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_58_3736.jpg
/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_04_3653.jpg
/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_07_2698.jpg
/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_10_2720.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.571394681930542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:25:03.294446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_52_2740.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_54_2602.jpg', '/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_58_3736.jpg', '/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_04_3653.jpg', '/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_07_2698.jpg', '/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_10_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_52_2740.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_54_2602.jpg
/home/pi/Desktop/images/16112025/18/46/image_16112025_18_46_58_3736.jpg
/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_04_3653.jpg
/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_07_2698.jpg
/home/pi/Desktop/images/16112025/18/47/image_16112025_18_47_10_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769055","1394769054","1394769057","1394769059","1394769062","1394769056"],"photo_ids_order":["1394769054","1394769055","1394769056","1394769057","1394769059","1394769062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fcadeb0fa81994d2ec7b89497228179d.jpg","text":"TemporaryFile(/tmp/multipartBody5206767560072055300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324764030,"filename":"image_16112025_18_46_54_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f76373a165e5516bd831f1babfbe76f.jpg","text":"TemporaryFile(/tmp/multipartBody2929168560942850529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324764030,"filename":"image_16112025_18_46_52_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6b5e513e6ecb0cb612795699a4f59c2.jpg","text":"TemporaryFile(/tmp/multipartBody1819558987630392756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324764030,"filename":"image_16112025_18_47_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/11/16/cac83cc3c6054958348da2995f2dc020.jpg","text":"TemporaryFile(/tmp/multipartBody2694901302687854993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324764030,"filename":"image_16112025_18_47_07_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/64e8d6d6612c92ca732683db2752964f.jpg","text":"TemporaryFile(/tmp/multipartBody3682463229387490151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324764030,"filename":"image_16112025_18_47_10_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6353ac5a4d85a2bcb3f9d89cfe17e011.jpg","text":"TemporaryFile(/tmp/multipartBody8435735487297783495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324764030,"filename":"image_16112025_18_46_58_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769056","file1":"1394769055","file0":"1394769054","file4":"1394769059","file5":"1394769062","file3":"1394769057"},"map_files_photo_id_array":[{"photo_id":"1394769062","filename":"file5"},{"photo_id":"1394769056","filename":"file2"},{"photo_id":"1394769059","filename":"file4"},{"photo_id":"1394769055","filename":"file1"},{"photo_id":"1394769054","filename":"file0"},{"photo_id":"1394769057","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769055":["hashtag1","hashtag2"]},{"1394769054":["hashtag1","hashtag2"]},{"1394769057":["hashtag1","hashtag2"]},{"1394769059":["hashtag1","hashtag2"]},{"1394769062":["hashtag1","hashtag2"]},{"1394769056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769055, 1394769054, 1394769057, 1394769059, 1394769062, 1394769056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.277841567993164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:25:42.606441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_11_3581.jpg', '/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_16_2859.jpg', '/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_20_3630.jpg', '/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_22_2614.jpg', '/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_31_2523.jpg', '/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_34_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_11_3581.jpg
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_16_2859.jpg
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_20_3630.jpg
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_22_2614.jpg
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_31_2523.jpg
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_34_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769069","1394769065","1394769068","1394769070","1394769064","1394769067"],"photo_ids_order":["1394769064","1394769065","1394769067","1394769068","1394769069","1394769070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff8d3c9b0d9f522873c29dad1e88f576.jpg","text":"TemporaryFile(/tmp/multipartBody2173486692935595888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324803236,"filename":"image_16112025_18_48_31_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a7084e71aad839947e385ee0574ec82.jpg","text":"TemporaryFile(/tmp/multipartBody8726827257841916670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324803236,"filename":"image_16112025_18_48_16_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ef4694181aebaecc472bccb998a60d3.jpg","text":"TemporaryFile(/tmp/multipartBody427919802534900135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324803236,"filename":"image_16112025_18_48_22_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5309f011ddb2a276a1eb4a2c0f4df1d.jpg","text":"TemporaryFile(/tmp/multipartBody6375167797631192900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324803236,"filename":"image_16112025_18_48_34_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08bb542720b92b95b26e55b46356ece6.jpg","text":"TemporaryFile(/tmp/multipartBody2766636403971400144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324803236,"filename":"image_16112025_18_48_11_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dcb1d0d117940bd3ac4b0c25b7db2e3.jpg","text":"TemporaryFile(/tmp/multipartBody9034631577938959423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324803236,"filename":"image_16112025_18_48_20_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769067","file1":"1394769065","file0":"1394769064","file4":"1394769069","file5":"1394769070","file3":"1394769068"},"map_files_photo_id_array":[{"photo_id":"1394769070","filename":"file5"},{"photo_id":"1394769067","filename":"file2"},{"photo_id":"1394769069","filename":"file4"},{"photo_id":"1394769065","filename":"file1"},{"photo_id":"1394769064","filename":"file0"},{"photo_id":"1394769068","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769069":["hashtag1","hashtag2"]},{"1394769065":["hashtag1","hashtag2"]},{"1394769068":["hashtag1","hashtag2"]},{"1394769070":["hashtag1","hashtag2"]},{"1394769064":["hashtag1","hashtag2"]},{"1394769067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769069, 1394769065, 1394769068, 1394769070, 1394769064, 1394769067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.340575218200684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:26:32.725633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_38_3692.jpg', '/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_41_2856.jpg', '/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_43_2689.jpg', '/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_52_2756.jpg', '/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_07_3012.jpg', '/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_14_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_38_3692.jpg
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_41_2856.jpg
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_43_2689.jpg
/home/pi/Desktop/images/16112025/18/48/image_16112025_18_48_52_2756.jpg
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_07_3012.jpg
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_14_2616.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":["1394769081","1394769078","1394769083","1394769077","1394769082","1394769079"],"photo_ids_order":["1394769077","1394769078","1394769079","1394769081","1394769082","1394769083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/881a476ba19e340679337d0959e11391.jpg","text":"TemporaryFile(/tmp/multipartBody3493006135686755648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324853376,"filename":"image_16112025_18_48_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/11/16/93f73e39ce11d5f0f2a74c1178b51ebe.jpg","text":"TemporaryFile(/tmp/multipartBody646521716883392814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324853376,"filename":"image_16112025_18_48_41_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9273276eee28d6d66c76204ca096f969.jpg","text":"TemporaryFile(/tmp/multipartBody2324367465067419617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324853376,"filename":"image_16112025_18_50_14_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/730edad7bd274f51ff61ea4b1ea99024.jpg","text":"TemporaryFile(/tmp/multipartBody3771960687583543711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324853376,"filename":"image_16112025_18_48_38_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96b2fd2a03f000433fead6e9a7fd7dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3332245766188971226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324853376,"filename":"image_16112025_18_50_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81eae1502e9bbb8ca87ed60a727fd4e9.jpg","text":"TemporaryFile(/tmp/multipartBody7719743923533305057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324853376,"filename":"image_16112025_18_48_43_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769079","file1":"1394769078","file0":"1394769077","file4":"1394769082","file5":"1394769083","file3":"1394769081"},"map_files_photo_id_array":[{"photo_id":"1394769083","filename":"file5"},{"photo_id":"1394769079","filename":"file2"},{"photo_id":"1394769082","filename":"file4"},{"photo_id":"1394769078","filename":"file1"},{"photo_id":"1394769077","filename":"file0"},{"photo_id":"1394769081","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769081":["hashtag1","hashtag2"]},{"1394769078":["hashtag1","hashtag2"]},{"1394769083":["hashtag1","hashtag2"]},{"1394769077":["hashtag1","hashtag2"]},{"1394769082":["hashtag1","hashtag2"]},{"1394769079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769081, 1394769078, 1394769083, 1394769077, 1394769082, 1394769079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85475540161133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:27:21.972918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_20_3571.jpg', '/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_23_2649.jpg', '/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_29_2704.jpg', '/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_31_2509.jpg', '/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_35_3674.jpg', '/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_38_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_20_3571.jpg
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_23_2649.jpg
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_29_2704.jpg
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_31_2509.jpg
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_35_3674.jpg
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_38_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769099","1394769090","1394769093","1394769087","1394769096","1394769101"],"photo_ids_order":["1394769087","1394769090","1394769093","1394769096","1394769099","1394769101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a73e3d17724371e08861c0215c8ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody5356580690459602228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324902628,"filename":"image_16112025_18_50_35_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51efbf533c71df19216a00f43e2f406d.jpg","text":"TemporaryFile(/tmp/multipartBody1552965298832015873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324902628,"filename":"image_16112025_18_50_23_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17c74e4a72fd36ae28282508172596a8.jpg","text":"TemporaryFile(/tmp/multipartBody5372998941341091093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324902628,"filename":"image_16112025_18_50_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/11/16/2b6eeb075c25fe62a136616dab49621b.jpg","text":"TemporaryFile(/tmp/multipartBody6013352196151142194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324902628,"filename":"image_16112025_18_50_20_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19f41fa05c1c5dc8ef65ea57a12f66f1.jpg","text":"TemporaryFile(/tmp/multipartBody8616648211393107361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324902628,"filename":"image_16112025_18_50_31_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb4915455ec0d04927bcfe27c0bdd335.jpg","text":"TemporaryFile(/tmp/multipartBody3689831494545738952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324902628,"filename":"image_16112025_18_50_38_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769093","file1":"1394769090","file0":"1394769087","file4":"1394769099","file5":"1394769101","file3":"1394769096"},"map_files_photo_id_array":[{"photo_id":"1394769101","filename":"file5"},{"photo_id":"1394769093","filename":"file2"},{"photo_id":"1394769099","filename":"file4"},{"photo_id":"1394769090","filename":"file1"},{"photo_id":"1394769087","filename":"file0"},{"photo_id":"1394769096","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769099":["hashtag1","hashtag2"]},{"1394769090":["hashtag1","hashtag2"]},{"1394769093":["hashtag1","hashtag2"]},{"1394769087":["hashtag1","hashtag2"]},{"1394769096":["hashtag1","hashtag2"]},{"1394769101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769099, 1394769090, 1394769093, 1394769087, 1394769096, 1394769101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8197283744812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:28:02.687627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_50_3618.jpg', '/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_53_2538.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_10_3591.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_13_2609.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_16_3668.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_19_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_50_3618.jpg
/home/pi/Desktop/images/16112025/18/50/image_16112025_18_50_53_2538.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_10_3591.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_13_2609.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_16_3668.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_19_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769106","1394769103","1394769111","1394769105","1394769108","1394769104"],"photo_ids_order":["1394769103","1394769104","1394769105","1394769106","1394769108","1394769111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6d6effbff05709e1e9461dedcb2ea58.jpg","text":"TemporaryFile(/tmp/multipartBody2381963991441795351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324943390,"filename":"image_16112025_18_52_13_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f5afd2d1f8f78a59c502a5423be0c37.jpg","text":"TemporaryFile(/tmp/multipartBody8813266151754436634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324943390,"filename":"image_16112025_18_50_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/11/16/9e4fcd599672037c2dacf388fe6c0852.jpg","text":"TemporaryFile(/tmp/multipartBody3497391311495758148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324943390,"filename":"image_16112025_18_52_19_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9e22bc527b373c1f423c3d4d42d4e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8860235400189400308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324943390,"filename":"image_16112025_18_52_10_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9834c8d382c5c6f9277c51b3a8a1cfd2.jpg","text":"TemporaryFile(/tmp/multipartBody6684528199919517400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324943390,"filename":"image_16112025_18_52_16_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7bafbea199ceafdd213aeee3b2e0c06.jpg","text":"TemporaryFile(/tmp/multipartBody1340874846798916750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763324943390,"filename":"image_16112025_18_50_53_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769105","file1":"1394769104","file0":"1394769103","file4":"1394769108","file5":"1394769111","file3":"1394769106"},"map_files_photo_id_array":[{"photo_id":"1394769111","filename":"file5"},{"photo_id":"1394769105","filename":"file2"},{"photo_id":"1394769108","filename":"file4"},{"photo_id":"1394769104","filename":"file1"},{"photo_id":"1394769103","filename":"file0"},{"photo_id":"1394769106","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769106":["hashtag1","hashtag2"]},{"1394769103":["hashtag1","hashtag2"]},{"1394769111":["hashtag1","hashtag2"]},{"1394769105":["hashtag1","hashtag2"]},{"1394769108":["hashtag1","hashtag2"]},{"1394769104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769106, 1394769103, 1394769111, 1394769105, 1394769108, 1394769104)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.967113971710205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:29:03.379017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_22_3150.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_28_3624.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_31_2734.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_34_2785.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_46_2706.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_49_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_22_3150.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_28_3624.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_31_2734.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_34_2785.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_46_2706.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_49_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769127","1394769121","1394769120","1394769123","1394769117","1394769118"],"photo_ids_order":["1394769117","1394769118","1394769120","1394769121","1394769123","1394769127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e58d307e1112e651805ea48c8c3815bc.jpg","text":"TemporaryFile(/tmp/multipartBody3057908819517848865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325004183,"filename":"image_16112025_18_52_49_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa35b2ebaaf0ae8f7c2f4bd31bd8f32e.jpg","text":"TemporaryFile(/tmp/multipartBody2907783142106554663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325004183,"filename":"image_16112025_18_52_34_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9dcdf357c6864225fb16f7441d079026.jpg","text":"TemporaryFile(/tmp/multipartBody6688311020337465887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325004183,"filename":"image_16112025_18_52_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b89c368a37dd481b8050229f6264054.jpg","text":"TemporaryFile(/tmp/multipartBody5242588823512159166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325004183,"filename":"image_16112025_18_52_46_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b220bfa7c3b7dec16289a0d4f2a7be6.jpg","text":"TemporaryFile(/tmp/multipartBody3341090373610552234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325004183,"filename":"image_16112025_18_52_22_3150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2de72c95712e5e7a97716da9f14b715d.jpg","text":"TemporaryFile(/tmp/multipartBody6613890583279656361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325004183,"filename":"image_16112025_18_52_28_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769120","file1":"1394769118","file0":"1394769117","file4":"1394769123","file5":"1394769127","file3":"1394769121"},"map_files_photo_id_array":[{"photo_id":"1394769127","filename":"file5"},{"photo_id":"1394769120","filename":"file2"},{"photo_id":"1394769123","filename":"file4"},{"photo_id":"1394769118","filename":"file1"},{"photo_id":"1394769117","filename":"file0"},{"photo_id":"1394769121","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769127":["hashtag1","hashtag2"]},{"1394769121":["hashtag1","hashtag2"]},{"1394769120":["hashtag1","hashtag2"]},{"1394769123":["hashtag1","hashtag2"]},{"1394769117":["hashtag1","hashtag2"]},{"1394769118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769127, 1394769121, 1394769120, 1394769123, 1394769117, 1394769118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51267623901367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:29:42.445397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_52_3713.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_55_2791.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_58_2619.jpg', '/home/pi/Desktop/images/16112025/18/52/image_16112025_18_53_01_3629.jpg', '/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_04_2518.jpg', '/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_07_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_52_3713.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_55_2791.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_52_58_2619.jpg
/home/pi/Desktop/images/16112025/18/52/image_16112025_18_53_01_3629.jpg
/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_04_2518.jpg
/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_07_3563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769141","1394769135","1394769138","1394769140","1394769137","1394769139"],"photo_ids_order":["1394769135","1394769137","1394769138","1394769139","1394769140","1394769141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ccec126fe5e9d27a0a305c579b26327e.jpg","text":"TemporaryFile(/tmp/multipartBody4507846127660108347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325043074,"filename":"image_16112025_18_53_07_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/829332f3fc354f69822aa5e03df6f972.jpg","text":"TemporaryFile(/tmp/multipartBody8754081095164767129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325043074,"filename":"image_16112025_18_52_52_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7047f49ddf20592bcce5e36b71e9fbd4.jpg","text":"TemporaryFile(/tmp/multipartBody7559252913422245570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325043074,"filename":"image_16112025_18_52_58_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/700e050e5a0be3050403afe870e5c287.jpg","text":"TemporaryFile(/tmp/multipartBody3313866942078245652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325043074,"filename":"image_16112025_18_53_04_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa1c7a136b357d6c5650d41ddd154b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5261148739567725125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325043074,"filename":"image_16112025_18_52_55_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/711115ab7f29599526a0991ab0ab1e9b.jpg","text":"TemporaryFile(/tmp/multipartBody5499824067158923500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325043074,"filename":"image_16112025_18_53_01_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769138","file1":"1394769137","file0":"1394769135","file4":"1394769140","file5":"1394769141","file3":"1394769139"},"map_files_photo_id_array":[{"photo_id":"1394769141","filename":"file5"},{"photo_id":"1394769138","filename":"file2"},{"photo_id":"1394769140","filename":"file4"},{"photo_id":"1394769137","filename":"file1"},{"photo_id":"1394769135","filename":"file0"},{"photo_id":"1394769139","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769141":["hashtag1","hashtag2"]},{"1394769135":["hashtag1","hashtag2"]},{"1394769138":["hashtag1","hashtag2"]},{"1394769140":["hashtag1","hashtag2"]},{"1394769137":["hashtag1","hashtag2"]},{"1394769139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769141, 1394769135, 1394769138, 1394769140, 1394769137, 1394769139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13307332992554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:30:22.653895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_10_2589.jpg', '/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_13_2668.jpg', '/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_16_3678.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_07_3017.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_11_3618.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_13_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_10_2589.jpg
/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_13_2668.jpg
/home/pi/Desktop/images/16112025/18/53/image_16112025_18_53_16_3678.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_07_3017.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_11_3618.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_13_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769144","1394769146","1394769149","1394769143","1394769142","1394769145"],"photo_ids_order":["1394769142","1394769143","1394769144","1394769145","1394769146","1394769149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c8660b098939f45aae8cf2c5ee74c66.jpg","text":"TemporaryFile(/tmp/multipartBody6725913583092134112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325083293,"filename":"image_16112025_18_53_16_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25b56b890a99ae6d19d55e2ae03f3bbb.jpg","text":"TemporaryFile(/tmp/multipartBody8676835435050110882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325083293,"filename":"image_16112025_18_54_11_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/451e6d155f4d1d233f76bf06cc8025b7.jpg","text":"TemporaryFile(/tmp/multipartBody1531989982253568823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325083293,"filename":"image_16112025_18_54_13_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a71a33b6241f54667ac46c64aa23296.jpg","text":"TemporaryFile(/tmp/multipartBody5179692164182005749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325083293,"filename":"image_16112025_18_53_13_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f817aad77127f7966e9189923a4f07ef.jpg","text":"TemporaryFile(/tmp/multipartBody4201578400486061273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325083293,"filename":"image_16112025_18_53_10_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8de63ce938efc36fc0ec022f1e33555f.jpg","text":"TemporaryFile(/tmp/multipartBody2439016358366939694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325083293,"filename":"image_16112025_18_54_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769144","file1":"1394769143","file0":"1394769142","file4":"1394769146","file5":"1394769149","file3":"1394769145"},"map_files_photo_id_array":[{"photo_id":"1394769149","filename":"file5"},{"photo_id":"1394769144","filename":"file2"},{"photo_id":"1394769146","filename":"file4"},{"photo_id":"1394769143","filename":"file1"},{"photo_id":"1394769142","filename":"file0"},{"photo_id":"1394769145","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769144":["hashtag1","hashtag2"]},{"1394769146":["hashtag1","hashtag2"]},{"1394769149":["hashtag1","hashtag2"]},{"1394769143":["hashtag1","hashtag2"]},{"1394769142":["hashtag1","hashtag2"]},{"1394769145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769144, 1394769146, 1394769149, 1394769143, 1394769142, 1394769145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66270399093628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:31:02.342830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_20_2616.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_22_2691.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_26_3716.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_41_2682.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_43_2813.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_47_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_20_2616.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_22_2691.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_26_3716.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_41_2682.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_43_2813.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_47_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769156","1394769150","1394769152","1394769154","1394769157","1394769151"],"photo_ids_order":["1394769150","1394769151","1394769152","1394769154","1394769156","1394769157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf69a857a753f51eb4f76e91d1e755b9.jpg","text":"TemporaryFile(/tmp/multipartBody1587245842987170294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325123154,"filename":"image_16112025_18_54_43_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73df11ace2eb290a0aac5a25d1ca076b.jpg","text":"TemporaryFile(/tmp/multipartBody8230832165181350128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325123154,"filename":"image_16112025_18_54_20_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6242713ef72290a0024776f19d09c2b.jpg","text":"TemporaryFile(/tmp/multipartBody4904081306660294500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325123154,"filename":"image_16112025_18_54_26_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e817e1338b09c5f715d874edfc6f22a.jpg","text":"TemporaryFile(/tmp/multipartBody893226928642104098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325123154,"filename":"image_16112025_18_54_41_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98c152c85ab90af994a5d501eb7b1525.jpg","text":"TemporaryFile(/tmp/multipartBody4081466624937867168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325123154,"filename":"image_16112025_18_54_47_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da285dea350b240509c94208ef622ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6573920161294584729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325123154,"filename":"image_16112025_18_54_22_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769152","file1":"1394769151","file0":"1394769150","file4":"1394769156","file5":"1394769157","file3":"1394769154"},"map_files_photo_id_array":[{"photo_id":"1394769157","filename":"file5"},{"photo_id":"1394769152","filename":"file2"},{"photo_id":"1394769156","filename":"file4"},{"photo_id":"1394769151","filename":"file1"},{"photo_id":"1394769150","filename":"file0"},{"photo_id":"1394769154","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769156":["hashtag1","hashtag2"]},{"1394769150":["hashtag1","hashtag2"]},{"1394769152":["hashtag1","hashtag2"]},{"1394769154":["hashtag1","hashtag2"]},{"1394769157":["hashtag1","hashtag2"]},{"1394769151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769156, 1394769150, 1394769152, 1394769154, 1394769157, 1394769151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.366361141204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:31:42.007871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_50_2589.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_52_2613.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_59_2670.jpg', '/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_01_2649.jpg', '/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_05_3755.jpg', '/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_08_2501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_50_2589.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_52_2613.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_59_2670.jpg
/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_01_2649.jpg
/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_05_3755.jpg
/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_08_2501.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.5402507781982422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:32:02.446664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_50_2589.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_52_2613.jpg', '/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_59_2670.jpg', '/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_01_2649.jpg', '/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_05_3755.jpg', '/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_08_2501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_50_2589.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_52_2613.jpg
/home/pi/Desktop/images/16112025/18/54/image_16112025_18_54_59_2670.jpg
/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_01_2649.jpg
/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_05_3755.jpg
/home/pi/Desktop/images/16112025/18/55/image_16112025_18_55_08_2501.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769168","1394769170","1394769167","1394769172","1394769169","1394769166"],"photo_ids_order":["1394769166","1394769167","1394769168","1394769169","1394769170","1394769172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4e67b50260ccce44fcaf3a421ec7d54.jpg","text":"TemporaryFile(/tmp/multipartBody8308370046071522784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325184824,"filename":"image_16112025_18_54_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/11/16/9d474cca410a8c9d647be01c224726f9.jpg","text":"TemporaryFile(/tmp/multipartBody7851102846380679572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325184824,"filename":"image_16112025_18_55_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/11/16/099e8c6b5917094a5aa1424ae4b9705b.jpg","text":"TemporaryFile(/tmp/multipartBody7265160585966565378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325184824,"filename":"image_16112025_18_54_52_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/760e4cc68f1335f454c6f08c21aee9db.jpg","text":"TemporaryFile(/tmp/multipartBody3867817565461930225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325184824,"filename":"image_16112025_18_55_08_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75f0a9e08e0ac5887485c0b098bd078d.jpg","text":"TemporaryFile(/tmp/multipartBody4122123962622728658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325184824,"filename":"image_16112025_18_55_01_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b63bcde13d5906d67fc53490809ae97.jpg","text":"TemporaryFile(/tmp/multipartBody6880289853328691816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325184824,"filename":"image_16112025_18_54_50_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769168","file1":"1394769167","file0":"1394769166","file4":"1394769170","file5":"1394769172","file3":"1394769169"},"map_files_photo_id_array":[{"photo_id":"1394769172","filename":"file5"},{"photo_id":"1394769168","filename":"file2"},{"photo_id":"1394769170","filename":"file4"},{"photo_id":"1394769167","filename":"file1"},{"photo_id":"1394769166","filename":"file0"},{"photo_id":"1394769169","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769168":["hashtag1","hashtag2"]},{"1394769170":["hashtag1","hashtag2"]},{"1394769167":["hashtag1","hashtag2"]},{"1394769172":["hashtag1","hashtag2"]},{"1394769169":["hashtag1","hashtag2"]},{"1394769166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769168, 1394769170, 1394769167, 1394769172, 1394769169, 1394769166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52384066581726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:32:42.088494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_06_3018.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_10_3642.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_13_2761.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_16_3533.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_19_2660.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_22_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_06_3018.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_10_3642.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_13_2761.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_16_3533.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_19_2660.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_22_2649.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.5844602584838867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:33:02.862495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_06_3018.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_10_3642.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_13_2761.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_16_3533.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_19_2660.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_22_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_06_3018.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_10_3642.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_13_2761.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_16_3533.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_19_2660.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_22_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769183","1394769180","1394769182","1394769185","1394769179","1394769181"],"photo_ids_order":["1394769179","1394769180","1394769181","1394769182","1394769183","1394769185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed829435cf2baa2fbbd6f0d607286131.jpg","text":"TemporaryFile(/tmp/multipartBody8548229939790601101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325243574,"filename":"image_16112025_18_56_19_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/993029557614c069302ed7d3403b2054.jpg","text":"TemporaryFile(/tmp/multipartBody6328717904815775496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325243574,"filename":"image_16112025_18_56_10_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8f2365bf7c3003be7f7f8e00fc98e720.jpg","text":"TemporaryFile(/tmp/multipartBody9029396540339566189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325243574,"filename":"image_16112025_18_56_16_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/548eb6b413486bcc69cbfbe88e4bfdc5.jpg","text":"TemporaryFile(/tmp/multipartBody3576256769014338996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325243574,"filename":"image_16112025_18_56_22_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f5695c3d0c9f6395c88ae1c8b88cea8b.jpg","text":"TemporaryFile(/tmp/multipartBody8393958791772203198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325243574,"filename":"image_16112025_18_56_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd34b5f69acfed4474fdd450c9029f02.jpg","text":"TemporaryFile(/tmp/multipartBody2290449143559645065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325243574,"filename":"image_16112025_18_56_13_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769181","file1":"1394769180","file0":"1394769179","file4":"1394769183","file5":"1394769185","file3":"1394769182"},"map_files_photo_id_array":[{"photo_id":"1394769185","filename":"file5"},{"photo_id":"1394769181","filename":"file2"},{"photo_id":"1394769183","filename":"file4"},{"photo_id":"1394769180","filename":"file1"},{"photo_id":"1394769179","filename":"file0"},{"photo_id":"1394769182","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769183":["hashtag1","hashtag2"]},{"1394769180":["hashtag1","hashtag2"]},{"1394769182":["hashtag1","hashtag2"]},{"1394769185":["hashtag1","hashtag2"]},{"1394769179":["hashtag1","hashtag2"]},{"1394769181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769183, 1394769180, 1394769182, 1394769185, 1394769179, 1394769181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.962069034576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:33:42.311007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_25_3700.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_28_2687.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_31_2714.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_34_3562.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_40_2678.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_51_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_25_3700.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_28_2687.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_31_2714.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_34_3562.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_40_2678.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_51_2856.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.5345239639282227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:34:03.262587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_25_3700.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_28_2687.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_31_2714.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_34_3562.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_40_2678.jpg', '/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_51_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_25_3700.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_28_2687.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_31_2714.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_34_3562.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_40_2678.jpg
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_51_2856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769195","1394769194","1394769197","1394769200","1394769203","1394769196"],"photo_ids_order":["1394769194","1394769195","1394769196","1394769197","1394769200","1394769203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65107b40465a3883e4ab9746e0d1bf33.jpg","text":"TemporaryFile(/tmp/multipartBody6873453473209662557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325304053,"filename":"image_16112025_18_56_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/11/16/c6a98978a72f146e354fd7d702045154.jpg","text":"TemporaryFile(/tmp/multipartBody3441428679479551302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325304053,"filename":"image_16112025_18_56_25_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/917be7b22de02d62466fb5767dbcb737.jpg","text":"TemporaryFile(/tmp/multipartBody6086572727588106426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325304053,"filename":"image_16112025_18_56_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/11/16/12e37abd128f08896c03068f1d8218b4.jpg","text":"TemporaryFile(/tmp/multipartBody7547217463005555486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325304053,"filename":"image_16112025_18_56_40_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87353e00876a120d89f025631a96febc.jpg","text":"TemporaryFile(/tmp/multipartBody3623032956878096650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325304053,"filename":"image_16112025_18_56_51_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb96195d5e7fd0ef3edf1c7b0b4a8c15.jpg","text":"TemporaryFile(/tmp/multipartBody836802665418570614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325304053,"filename":"image_16112025_18_56_31_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769196","file1":"1394769195","file0":"1394769194","file4":"1394769200","file5":"1394769203","file3":"1394769197"},"map_files_photo_id_array":[{"photo_id":"1394769203","filename":"file5"},{"photo_id":"1394769196","filename":"file2"},{"photo_id":"1394769200","filename":"file4"},{"photo_id":"1394769195","filename":"file1"},{"photo_id":"1394769194","filename":"file0"},{"photo_id":"1394769197","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769195":["hashtag1","hashtag2"]},{"1394769194":["hashtag1","hashtag2"]},{"1394769197":["hashtag1","hashtag2"]},{"1394769200":["hashtag1","hashtag2"]},{"1394769203":["hashtag1","hashtag2"]},{"1394769196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769195, 1394769194, 1394769197, 1394769200, 1394769203, 1394769196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97350239753723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:34:42.577568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_55_3854.jpg', '/home/pi/Desktop/images/16112025/18/57/image_16112025_18_57_10_2754.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_20_3560.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_22_2574.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_26_3620.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_35_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_55_3854.jpg
/home/pi/Desktop/images/16112025/18/57/image_16112025_18_57_10_2754.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_20_3560.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_22_2574.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_26_3620.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_35_3724.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.5406887531280518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:35:02.569568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_55_3854.jpg', '/home/pi/Desktop/images/16112025/18/57/image_16112025_18_57_10_2754.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_20_3560.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_22_2574.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_26_3620.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_35_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/56/image_16112025_18_56_55_3854.jpg
/home/pi/Desktop/images/16112025/18/57/image_16112025_18_57_10_2754.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_20_3560.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_22_2574.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_26_3620.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_35_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769211","1394769214","1394769216","1394769213","1394769212","1394769218"],"photo_ids_order":["1394769211","1394769212","1394769213","1394769214","1394769216","1394769218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c809d2770c66827cf589aaf264ccaf74.jpg","text":"TemporaryFile(/tmp/multipartBody262121574036176508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325363307,"filename":"image_16112025_18_56_55_3854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f810cd4e800d24a7da81ce1e4618428b.jpg","text":"TemporaryFile(/tmp/multipartBody9078198874180035905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325363307,"filename":"image_16112025_18_58_22_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59af7a846df1b78b4ac45dc1bc4f059c.jpg","text":"TemporaryFile(/tmp/multipartBody5698752717224001400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325363307,"filename":"image_16112025_18_58_26_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/159e6c3bc0c6415bbeadabeaad551725.jpg","text":"TemporaryFile(/tmp/multipartBody3678288171241677997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325363307,"filename":"image_16112025_18_58_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/11/16/dac8840eb011156c8270208b971aee91.jpg","text":"TemporaryFile(/tmp/multipartBody514810786818392173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325363307,"filename":"image_16112025_18_57_10_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3dba89a85e879043e02af9195421c1f.jpg","text":"TemporaryFile(/tmp/multipartBody6317541656494203642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325363307,"filename":"image_16112025_18_58_35_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769213","file1":"1394769212","file0":"1394769211","file4":"1394769216","file5":"1394769218","file3":"1394769214"},"map_files_photo_id_array":[{"photo_id":"1394769218","filename":"file5"},{"photo_id":"1394769213","filename":"file2"},{"photo_id":"1394769216","filename":"file4"},{"photo_id":"1394769212","filename":"file1"},{"photo_id":"1394769211","filename":"file0"},{"photo_id":"1394769214","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769211":["hashtag1","hashtag2"]},{"1394769214":["hashtag1","hashtag2"]},{"1394769216":["hashtag1","hashtag2"]},{"1394769213":["hashtag1","hashtag2"]},{"1394769212":["hashtag1","hashtag2"]},{"1394769218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769211, 1394769214, 1394769216, 1394769213, 1394769212, 1394769218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35454726219177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:35:41.806059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_37_2738.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_40_2569.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_44_3620.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_46_2591.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_49_2770.jpg', '/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_53_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_37_2738.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_40_2569.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_44_3620.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_46_2591.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_49_2770.jpg
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_53_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769226","1394769225","1394769219","1394769221","1394769224","1394769223"],"photo_ids_order":["1394769219","1394769221","1394769223","1394769224","1394769225","1394769226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f23cdaca333e4e7efdd48a4427c2d26.jpg","text":"TemporaryFile(/tmp/multipartBody8492853474529400701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325402439,"filename":"image_16112025_18_58_53_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/798bcf577dcf1d5418cb7bd5de7c13a5.jpg","text":"TemporaryFile(/tmp/multipartBody7649161622343574506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325402439,"filename":"image_16112025_18_58_49_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/383c690b79be68465450150986d7beba.jpg","text":"TemporaryFile(/tmp/multipartBody9103623404457768712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325402439,"filename":"image_16112025_18_58_37_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0b4279859d74b15afc92e8ff5af44e0.jpg","text":"TemporaryFile(/tmp/multipartBody1786859741507965704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325402439,"filename":"image_16112025_18_58_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/11/16/2cb66a7ca277d2edc41f31c620ac1a72.jpg","text":"TemporaryFile(/tmp/multipartBody7244078308782939800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325402439,"filename":"image_16112025_18_58_46_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/728ef36a623899b0f691077cfd2abb80.jpg","text":"TemporaryFile(/tmp/multipartBody8250289714056294798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325402439,"filename":"image_16112025_18_58_44_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769223","file1":"1394769221","file0":"1394769219","file4":"1394769225","file5":"1394769226","file3":"1394769224"},"map_files_photo_id_array":[{"photo_id":"1394769226","filename":"file5"},{"photo_id":"1394769223","filename":"file2"},{"photo_id":"1394769225","filename":"file4"},{"photo_id":"1394769221","filename":"file1"},{"photo_id":"1394769219","filename":"file0"},{"photo_id":"1394769224","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769226":["hashtag1","hashtag2"]},{"1394769225":["hashtag1","hashtag2"]},{"1394769219":["hashtag1","hashtag2"]},{"1394769221":["hashtag1","hashtag2"]},{"1394769224":["hashtag1","hashtag2"]},{"1394769223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769226, 1394769225, 1394769219, 1394769221, 1394769224, 1394769223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.525752782821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:36:22.066745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_59_3680.jpg', '/home/pi/Desktop/images/16112025/18/59/image_16112025_18_59_04_2597.jpg', '/home/pi/Desktop/images/16112025/18/59/image_16112025_18_59_08_3635.jpg', '/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_13_2620.jpg', '/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_16_3618.jpg', '/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_28_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/18/58/image_16112025_18_58_59_3680.jpg
/home/pi/Desktop/images/16112025/18/59/image_16112025_18_59_04_2597.jpg
/home/pi/Desktop/images/16112025/18/59/image_16112025_18_59_08_3635.jpg
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_13_2620.jpg
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_16_3618.jpg
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_28_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769240","1394769234","1394769237","1394769231","1394769239","1394769242"],"photo_ids_order":["1394769231","1394769234","1394769237","1394769239","1394769240","1394769242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f2015666fc36f914615be5163374d04.jpg","text":"TemporaryFile(/tmp/multipartBody8288051779011710226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325442754,"filename":"image_16112025_19_01_16_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21ea4f3bf9b1bebbbcf239bc48e69bc3.jpg","text":"TemporaryFile(/tmp/multipartBody7682000549811110308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325442754,"filename":"image_16112025_18_59_04_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c48a91631fa2d3e44ee9d12a7e00aef.jpg","text":"TemporaryFile(/tmp/multipartBody5201593896262391778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325442754,"filename":"image_16112025_18_59_08_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61b36eaa81d4729da15cb29209336362.jpg","text":"TemporaryFile(/tmp/multipartBody934935663740825073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325442754,"filename":"image_16112025_18_58_59_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f30dc85e336712e2c0d0e79d7897c09.jpg","text":"TemporaryFile(/tmp/multipartBody25030571814172455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325442754,"filename":"image_16112025_19_01_13_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8bceea2b9fdea6d38da1011fe9fadda.jpg","text":"TemporaryFile(/tmp/multipartBody8823221629264470453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325442754,"filename":"image_16112025_19_01_28_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769237","file1":"1394769234","file0":"1394769231","file4":"1394769240","file5":"1394769242","file3":"1394769239"},"map_files_photo_id_array":[{"photo_id":"1394769242","filename":"file5"},{"photo_id":"1394769237","filename":"file2"},{"photo_id":"1394769240","filename":"file4"},{"photo_id":"1394769234","filename":"file1"},{"photo_id":"1394769231","filename":"file0"},{"photo_id":"1394769239","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769240":["hashtag1","hashtag2"]},{"1394769234":["hashtag1","hashtag2"]},{"1394769237":["hashtag1","hashtag2"]},{"1394769231":["hashtag1","hashtag2"]},{"1394769239":["hashtag1","hashtag2"]},{"1394769242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769240, 1394769234, 1394769237, 1394769231, 1394769239, 1394769242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83484959602356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:37:02.946929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_31_2737.jpg', '/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_40_2668.jpg', '/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_43_3740.jpg', '/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_49_2649.jpg', '/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_52_3677.jpg', '/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_55_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_31_2737.jpg
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_40_2668.jpg
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_43_3740.jpg
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_49_2649.jpg
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_52_3677.jpg
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_55_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769246","1394769243","1394769245","1394769248","1394769250","1394769244"],"photo_ids_order":["1394769243","1394769244","1394769245","1394769246","1394769248","1394769250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2b5d2fb561defeb64c239776ce2bc92.jpg","text":"TemporaryFile(/tmp/multipartBody7213508747050126975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325483672,"filename":"image_16112025_19_01_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/11/16/62879a4b8bc6005510dad752c87acf48.jpg","text":"TemporaryFile(/tmp/multipartBody8354385911777749070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325483672,"filename":"image_16112025_19_01_31_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc25398b2cc169b4d2002b16dcea1ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6579299738843853478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325483672,"filename":"image_16112025_19_01_43_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0d44111892a5248cd1a242df80d5ee8e.jpg","text":"TemporaryFile(/tmp/multipartBody4379928533724198267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325483672,"filename":"image_16112025_19_01_52_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40b58c2346273cbb509d5baeb7afc77b.jpg","text":"TemporaryFile(/tmp/multipartBody1158389303827841706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325483672,"filename":"image_16112025_19_01_55_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f010ee12441831a193d4e33c5ec0bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8381610464633390087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325483672,"filename":"image_16112025_19_01_40_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769245","file1":"1394769244","file0":"1394769243","file4":"1394769248","file5":"1394769250","file3":"1394769246"},"map_files_photo_id_array":[{"photo_id":"1394769250","filename":"file5"},{"photo_id":"1394769245","filename":"file2"},{"photo_id":"1394769248","filename":"file4"},{"photo_id":"1394769244","filename":"file1"},{"photo_id":"1394769243","filename":"file0"},{"photo_id":"1394769246","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769246":["hashtag1","hashtag2"]},{"1394769243":["hashtag1","hashtag2"]},{"1394769245":["hashtag1","hashtag2"]},{"1394769248":["hashtag1","hashtag2"]},{"1394769250":["hashtag1","hashtag2"]},{"1394769244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769246, 1394769243, 1394769245, 1394769248, 1394769250, 1394769244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88356924057007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:37:42.200886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_58_2671.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_16_9024.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_19_1713.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_21_1655.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_25_1668.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_29_3269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/01/image_16112025_19_01_58_2671.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_16_9024.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_19_1713.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_21_1655.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_25_1668.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_29_3269.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769255","1394769258","1394769257","1394769253","1394769256","1394769259"],"photo_ids_order":["1394769253","1394769255","1394769256","1394769257","1394769258","1394769259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1235f26b4963caaf5aa696fefbc2d798.jpg","text":"TemporaryFile(/tmp/multipartBody5615051377593223126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325522832,"filename":"image_16112025_19_02_16_9024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c6ad89ed06a26a01aaa625d28107a51.jpg","text":"TemporaryFile(/tmp/multipartBody7947753171218487065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325522832,"filename":"image_16112025_19_02_25_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c767b6e82efb5c260590cbdada90f122.jpg","text":"TemporaryFile(/tmp/multipartBody7824145709298681041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325522832,"filename":"image_16112025_19_02_21_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b275ac0f8262a5816626885539196d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2523131029746885992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325522832,"filename":"image_16112025_19_01_58_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8134e9cc69a346212cf721181bef3210.jpg","text":"TemporaryFile(/tmp/multipartBody1352695518129059309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325522832,"filename":"image_16112025_19_02_19_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac8b6f7644d499189221c90dc175e911.jpg","text":"TemporaryFile(/tmp/multipartBody1968143479980391189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325522832,"filename":"image_16112025_19_02_29_3269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769256","file1":"1394769255","file0":"1394769253","file4":"1394769258","file5":"1394769259","file3":"1394769257"},"map_files_photo_id_array":[{"photo_id":"1394769259","filename":"file5"},{"photo_id":"1394769256","filename":"file2"},{"photo_id":"1394769258","filename":"file4"},{"photo_id":"1394769255","filename":"file1"},{"photo_id":"1394769253","filename":"file0"},{"photo_id":"1394769257","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769255":["hashtag1","hashtag2"]},{"1394769258":["hashtag1","hashtag2"]},{"1394769257":["hashtag1","hashtag2"]},{"1394769253":["hashtag1","hashtag2"]},{"1394769256":["hashtag1","hashtag2"]},{"1394769259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769255, 1394769258, 1394769257, 1394769253, 1394769256, 1394769259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59171676635742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:38:22.402154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_30_1625.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_32_1576.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_34_1749.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_37_3578.jpg', '/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_40_2663.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_30_1625.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_32_1576.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_34_1749.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_37_3578.jpg
/home/pi/Desktop/images/16112025/19/02/image_16112025_19_02_40_2663.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769264","1394769273","1394769261","1394769269","1394769266","1394769268"],"photo_ids_order":["1394769261","1394769264","1394769266","1394769268","1394769269","1394769273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/668e557847bf6b7b15e3743feb58abb6.jpg","text":"TemporaryFile(/tmp/multipartBody6977873362395535239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325563064,"filename":"image_16112025_19_02_32_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53d055ca99fe76c6908b2a36f3ad558b.jpg","text":"TemporaryFile(/tmp/multipartBody6369917474139630434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325563064,"filename":"image_16112025_19_04_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/11/16/d5a72616004371e1c3ffaca275bd691a.jpg","text":"TemporaryFile(/tmp/multipartBody2388427630857894286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325563064,"filename":"image_16112025_19_02_30_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac76db9d8ab315c99c893099d83b0a49.jpg","text":"TemporaryFile(/tmp/multipartBody1005290921692746745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325563064,"filename":"image_16112025_19_02_40_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ac1e8ddefbe692cfe2b805e7428414c.jpg","text":"TemporaryFile(/tmp/multipartBody6112590123618854318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325563064,"filename":"image_16112025_19_02_34_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/149b3548b714b000429683c70d2ba5e5.jpg","text":"TemporaryFile(/tmp/multipartBody3226925351284848638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325563064,"filename":"image_16112025_19_02_37_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769266","file1":"1394769264","file0":"1394769261","file4":"1394769269","file5":"1394769273","file3":"1394769268"},"map_files_photo_id_array":[{"photo_id":"1394769273","filename":"file5"},{"photo_id":"1394769266","filename":"file2"},{"photo_id":"1394769269","filename":"file4"},{"photo_id":"1394769264","filename":"file1"},{"photo_id":"1394769261","filename":"file0"},{"photo_id":"1394769268","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769264":["hashtag1","hashtag2"]},{"1394769273":["hashtag1","hashtag2"]},{"1394769261":["hashtag1","hashtag2"]},{"1394769269":["hashtag1","hashtag2"]},{"1394769266":["hashtag1","hashtag2"]},{"1394769268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769264, 1394769273, 1394769261, 1394769269, 1394769266, 1394769268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93238353729248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:39:03.683837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_11_3582.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_13_2690.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_22_2848.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_26_3579.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_29_2608.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_35_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_11_3582.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_13_2690.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_22_2848.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_26_3579.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_29_2608.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_35_3543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769285","1394769279","1394769276","1394769281","1394769278","1394769277"],"photo_ids_order":["1394769276","1394769277","1394769278","1394769279","1394769281","1394769285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a648777597302f8ad25af9bf7b494e5f.jpg","text":"TemporaryFile(/tmp/multipartBody7144793371253184911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325604470,"filename":"image_16112025_19_04_35_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d5561732d750aae0dc8efa41d96f873.jpg","text":"TemporaryFile(/tmp/multipartBody9045247778464998853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325604470,"filename":"image_16112025_19_04_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/11/16/fc1fb88775ba8f65acbea1a45b344552.jpg","text":"TemporaryFile(/tmp/multipartBody4608980400436709059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325604470,"filename":"image_16112025_19_04_11_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9cd835e8e3db1afe9d8191744b0dfd3a.jpg","text":"TemporaryFile(/tmp/multipartBody8975098583468769522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325604470,"filename":"image_16112025_19_04_29_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/748acd945a26e047cc65a74350c9d2a8.jpg","text":"TemporaryFile(/tmp/multipartBody5508589135746717265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325604470,"filename":"image_16112025_19_04_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/11/16/a20ec3a665a2eeaa2307bfe4d5e2a8a4.jpg","text":"TemporaryFile(/tmp/multipartBody7031859935079888076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325604470,"filename":"image_16112025_19_04_13_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769278","file1":"1394769277","file0":"1394769276","file4":"1394769281","file5":"1394769285","file3":"1394769279"},"map_files_photo_id_array":[{"photo_id":"1394769285","filename":"file5"},{"photo_id":"1394769278","filename":"file2"},{"photo_id":"1394769281","filename":"file4"},{"photo_id":"1394769277","filename":"file1"},{"photo_id":"1394769276","filename":"file0"},{"photo_id":"1394769279","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769285":["hashtag1","hashtag2"]},{"1394769279":["hashtag1","hashtag2"]},{"1394769276":["hashtag1","hashtag2"]},{"1394769281":["hashtag1","hashtag2"]},{"1394769278":["hashtag1","hashtag2"]},{"1394769277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769285, 1394769279, 1394769276, 1394769281, 1394769278, 1394769277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86514687538147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:39:42.669020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_38_2632.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_40_2675.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_44_3575.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_47_2715.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_53_3685.jpg', '/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_56_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_38_2632.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_40_2675.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_44_3575.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_47_2715.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_53_3685.jpg
/home/pi/Desktop/images/16112025/19/04/image_16112025_19_04_56_2872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769291","1394769288","1394769293","1394769287","1394769290","1394769292"],"photo_ids_order":["1394769287","1394769288","1394769290","1394769291","1394769292","1394769293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3efe65478e33da29237d25ed8b66bc58.jpg","text":"TemporaryFile(/tmp/multipartBody8072341144267582416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325643330,"filename":"image_16112025_19_04_47_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e5c0c38d52a429bda2ce36e6ff03d98.jpg","text":"TemporaryFile(/tmp/multipartBody2261405286414336051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325643330,"filename":"image_16112025_19_04_40_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0997e61a2c6feaf1fb59d5f207fa3944.jpg","text":"TemporaryFile(/tmp/multipartBody2186677996352874071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325643330,"filename":"image_16112025_19_04_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/11/16/7d0ee81aa005eada981b7092920c3308.jpg","text":"TemporaryFile(/tmp/multipartBody6158597618853745530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325643330,"filename":"image_16112025_19_04_38_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7e249f5a1e9f8c08845fd45e59731cb.jpg","text":"TemporaryFile(/tmp/multipartBody2516950924959912521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325643330,"filename":"image_16112025_19_04_44_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a24c4b57dd16fbb0ed6f86cc85fd3e9.jpg","text":"TemporaryFile(/tmp/multipartBody251625292981900730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325643330,"filename":"image_16112025_19_04_53_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769290","file1":"1394769288","file0":"1394769287","file4":"1394769292","file5":"1394769293","file3":"1394769291"},"map_files_photo_id_array":[{"photo_id":"1394769293","filename":"file5"},{"photo_id":"1394769290","filename":"file2"},{"photo_id":"1394769292","filename":"file4"},{"photo_id":"1394769288","filename":"file1"},{"photo_id":"1394769287","filename":"file0"},{"photo_id":"1394769291","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769291":["hashtag1","hashtag2"]},{"1394769288":["hashtag1","hashtag2"]},{"1394769293":["hashtag1","hashtag2"]},{"1394769287":["hashtag1","hashtag2"]},{"1394769290":["hashtag1","hashtag2"]},{"1394769292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769291, 1394769288, 1394769293, 1394769287, 1394769290, 1394769292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10047721862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:40:21.942068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/05/image_16112025_19_05_02_3657.jpg', '/home/pi/Desktop/images/16112025/19/05/image_16112025_19_05_05_2700.jpg', '/home/pi/Desktop/images/16112025/19/05/image_16112025_19_05_07_2663.jpg', '/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_13_2593.jpg', '/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_22_2581.jpg', '/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_25_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/05/image_16112025_19_05_02_3657.jpg
/home/pi/Desktop/images/16112025/19/05/image_16112025_19_05_05_2700.jpg
/home/pi/Desktop/images/16112025/19/05/image_16112025_19_05_07_2663.jpg
/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_13_2593.jpg
/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_22_2581.jpg
/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_25_3602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769304","1394769301","1394769300","1394769296","1394769298","1394769302"],"photo_ids_order":["1394769296","1394769298","1394769300","1394769301","1394769302","1394769304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d29286b1e6d21e9bd7a10c60e9575aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2436708864965437426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325682600,"filename":"image_16112025_19_06_25_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11ffbc2da87c3c36d4b8e4473d972921.jpg","text":"TemporaryFile(/tmp/multipartBody2322130525105378092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325682600,"filename":"image_16112025_19_06_13_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28c5ac03c11e3950112f54cdcbb8e2e5.jpg","text":"TemporaryFile(/tmp/multipartBody666783228229240014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325682600,"filename":"image_16112025_19_05_07_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09709373dac511666fc934aaec03957e.jpg","text":"TemporaryFile(/tmp/multipartBody6105781654334420000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325682600,"filename":"image_16112025_19_05_02_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbd62d3c2369851fcfcae83d2322e53f.jpg","text":"TemporaryFile(/tmp/multipartBody8554464907402888730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325682600,"filename":"image_16112025_19_05_05_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac942cf750da3dd762ca37c2b04e2dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1467510935115271662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325682600,"filename":"image_16112025_19_06_22_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769300","file1":"1394769298","file0":"1394769296","file4":"1394769302","file5":"1394769304","file3":"1394769301"},"map_files_photo_id_array":[{"photo_id":"1394769304","filename":"file5"},{"photo_id":"1394769300","filename":"file2"},{"photo_id":"1394769302","filename":"file4"},{"photo_id":"1394769298","filename":"file1"},{"photo_id":"1394769296","filename":"file0"},{"photo_id":"1394769301","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769304":["hashtag1","hashtag2"]},{"1394769301":["hashtag1","hashtag2"]},{"1394769300":["hashtag1","hashtag2"]},{"1394769296":["hashtag1","hashtag2"]},{"1394769298":["hashtag1","hashtag2"]},{"1394769302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769304, 1394769301, 1394769300, 1394769296, 1394769298, 1394769302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61798405647278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:41:02.751967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_31_3661.jpg', '/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_34_2593.jpg', '/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_37_2756.jpg', '/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_41_3697.jpg', '/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_43_2593.jpg', '/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_13_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_31_3661.jpg
/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_34_2593.jpg
/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_37_2756.jpg
/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_41_3697.jpg
/home/pi/Desktop/images/16112025/19/06/image_16112025_19_06_43_2593.jpg
/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_13_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769307","1394769309","1394769306","1394769311","1394769308","1394769305"],"photo_ids_order":["1394769305","1394769306","1394769307","1394769308","1394769309","1394769311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ce6a87a3437bb500932f34ca97c3323e.jpg","text":"TemporaryFile(/tmp/multipartBody4393856660972926068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325723529,"filename":"image_16112025_19_06_37_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd22aca784bd40ad926b5511afe3ef7f.jpg","text":"TemporaryFile(/tmp/multipartBody7553208836228678373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325723529,"filename":"image_16112025_19_06_43_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bedde604708a921f8c38832e68615c4.jpg","text":"TemporaryFile(/tmp/multipartBody6450671988737278674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325723529,"filename":"image_16112025_19_06_34_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49ad9bfef2e488e463c9e4dec74a0c23.jpg","text":"TemporaryFile(/tmp/multipartBody6819665905677421444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325723529,"filename":"image_16112025_19_08_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/11/16/f82a0e350ce792541f08686f53821026.jpg","text":"TemporaryFile(/tmp/multipartBody4385733468140210903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325723529,"filename":"image_16112025_19_06_41_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d47f0c1d6e881738788dd57693914729.jpg","text":"TemporaryFile(/tmp/multipartBody687828569434815661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325723529,"filename":"image_16112025_19_06_31_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769307","file1":"1394769306","file0":"1394769305","file4":"1394769309","file5":"1394769311","file3":"1394769308"},"map_files_photo_id_array":[{"photo_id":"1394769311","filename":"file5"},{"photo_id":"1394769307","filename":"file2"},{"photo_id":"1394769309","filename":"file4"},{"photo_id":"1394769306","filename":"file1"},{"photo_id":"1394769305","filename":"file0"},{"photo_id":"1394769308","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769307":["hashtag1","hashtag2"]},{"1394769309":["hashtag1","hashtag2"]},{"1394769306":["hashtag1","hashtag2"]},{"1394769311":["hashtag1","hashtag2"]},{"1394769308":["hashtag1","hashtag2"]},{"1394769305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769307, 1394769309, 1394769306, 1394769311, 1394769308, 1394769305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55433416366577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:41:42.114737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_16_2521.jpg', '/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_28_11981.jpg', '/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_33_1661.jpg', '/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_40_2699.jpg', '/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_43_2652.jpg', '/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_49_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_16_2521.jpg
/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_28_11981.jpg
/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_33_1661.jpg
/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_40_2699.jpg
/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_43_2652.jpg
/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_49_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769321","1394769318","1394769323","1394769320","1394769322","1394769316"],"photo_ids_order":["1394769316","1394769318","1394769320","1394769321","1394769322","1394769323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f940a632c523e076745a28a50982fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5524381394995554208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325762772,"filename":"image_16112025_19_08_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d47af2bd3500a04e90fa1df1b05e6015.jpg","text":"TemporaryFile(/tmp/multipartBody7060901675336269707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325762772,"filename":"image_16112025_19_08_28_11981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0169d3331804b34c3e4cfb29558ace92.jpg","text":"TemporaryFile(/tmp/multipartBody2293210944591936462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325762772,"filename":"image_16112025_19_08_49_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24f1cb9dfb1586463d3cd8ad66cecc27.jpg","text":"TemporaryFile(/tmp/multipartBody7951775483391353761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325762772,"filename":"image_16112025_19_08_33_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0db88bfd93c6c7f88689a6b3afd97be5.jpg","text":"TemporaryFile(/tmp/multipartBody8323257305678967977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325762772,"filename":"image_16112025_19_08_43_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4235aac2547c081cfe73a8bddd4fd067.jpg","text":"TemporaryFile(/tmp/multipartBody2658451621111830754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325762772,"filename":"image_16112025_19_08_16_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769320","file1":"1394769318","file0":"1394769316","file4":"1394769322","file5":"1394769323","file3":"1394769321"},"map_files_photo_id_array":[{"photo_id":"1394769323","filename":"file5"},{"photo_id":"1394769320","filename":"file2"},{"photo_id":"1394769322","filename":"file4"},{"photo_id":"1394769318","filename":"file1"},{"photo_id":"1394769316","filename":"file0"},{"photo_id":"1394769321","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769321":["hashtag1","hashtag2"]},{"1394769318":["hashtag1","hashtag2"]},{"1394769323":["hashtag1","hashtag2"]},{"1394769320":["hashtag1","hashtag2"]},{"1394769322":["hashtag1","hashtag2"]},{"1394769316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769321, 1394769318, 1394769323, 1394769320, 1394769322, 1394769316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23998999595642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:42:24.083199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_52_2625.jpg', '/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_02_10406.jpg', '/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_04_1772.jpg', '/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_06_1523.jpg', '/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_07_1572.jpg', '/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_09_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/08/image_16112025_19_08_52_2625.jpg
/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_02_10406.jpg
/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_04_1772.jpg
/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_06_1523.jpg
/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_07_1572.jpg
/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_09_1674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769333","1394769327","1394769336","1394769330","1394769329","1394769334"],"photo_ids_order":["1394769327","1394769329","1394769330","1394769333","1394769334","1394769336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c15a7b9208ee2fbd14c9a988e6af20f.jpg","text":"TemporaryFile(/tmp/multipartBody652441167380194093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325804768,"filename":"image_16112025_19_09_06_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/115e311948636e90d3d06306ea54e3b0.jpg","text":"TemporaryFile(/tmp/multipartBody542574222774856534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325804768,"filename":"image_16112025_19_08_52_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95185161ab1d4b8cb3c8e0604462ffc1.jpg","text":"TemporaryFile(/tmp/multipartBody6106988920876821388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325804768,"filename":"image_16112025_19_09_09_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e66a326a6807b75064fd558116bcc8c6.jpg","text":"TemporaryFile(/tmp/multipartBody3998405939600673280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325804768,"filename":"image_16112025_19_09_04_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c84f3343b6c32cbff91d8f629b86e1b.jpg","text":"TemporaryFile(/tmp/multipartBody6037051013661262075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325804768,"filename":"image_16112025_19_09_02_10406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78de94553408811e662d7816b642c093.jpg","text":"TemporaryFile(/tmp/multipartBody7696700286144794300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325804768,"filename":"image_16112025_19_09_07_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769330","file1":"1394769329","file0":"1394769327","file4":"1394769334","file5":"1394769336","file3":"1394769333"},"map_files_photo_id_array":[{"photo_id":"1394769336","filename":"file5"},{"photo_id":"1394769330","filename":"file2"},{"photo_id":"1394769334","filename":"file4"},{"photo_id":"1394769329","filename":"file1"},{"photo_id":"1394769327","filename":"file0"},{"photo_id":"1394769333","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769333":["hashtag1","hashtag2"]},{"1394769327":["hashtag1","hashtag2"]},{"1394769336":["hashtag1","hashtag2"]},{"1394769330":["hashtag1","hashtag2"]},{"1394769329":["hashtag1","hashtag2"]},{"1394769334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769333, 1394769327, 1394769336, 1394769330, 1394769329, 1394769334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.359763383865356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:43:03.390540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_11_1786.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_11_3690.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_16_2704.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_32_2662.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_34_2776.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_38_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/09/image_16112025_19_09_11_1786.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_11_3690.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_16_2704.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_32_2662.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_34_2776.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_38_3588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769348","1394769339","1394769341","1394769344","1394769338","1394769340"],"photo_ids_order":["1394769338","1394769339","1394769340","1394769341","1394769344","1394769348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57e0f49d39db15b2fcc434f3307839bb.jpg","text":"TemporaryFile(/tmp/multipartBody4766652939497658208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325844129,"filename":"image_16112025_19_10_38_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87239963a0649ff5762bc7153d4aced2.jpg","text":"TemporaryFile(/tmp/multipartBody3321122815206489562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325844129,"filename":"image_16112025_19_10_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/11/16/cfe8dbb0bc59817008e260cdf071068e.jpg","text":"TemporaryFile(/tmp/multipartBody3326240347172965075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325844129,"filename":"image_16112025_19_10_32_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/636f826e308f47b12c4110a0345159a2.jpg","text":"TemporaryFile(/tmp/multipartBody6915902596416530781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325844129,"filename":"image_16112025_19_10_34_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2268d5f967fe39c5e66e64f1ccfae8a6.jpg","text":"TemporaryFile(/tmp/multipartBody8760147403847211959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325844129,"filename":"image_16112025_19_09_11_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab6527e245c56409be88558c4fdcbbcf.jpg","text":"TemporaryFile(/tmp/multipartBody2901105785888797669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325844129,"filename":"image_16112025_19_10_16_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769340","file1":"1394769339","file0":"1394769338","file4":"1394769344","file5":"1394769348","file3":"1394769341"},"map_files_photo_id_array":[{"photo_id":"1394769348","filename":"file5"},{"photo_id":"1394769340","filename":"file2"},{"photo_id":"1394769344","filename":"file4"},{"photo_id":"1394769339","filename":"file1"},{"photo_id":"1394769338","filename":"file0"},{"photo_id":"1394769341","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769348":["hashtag1","hashtag2"]},{"1394769339":["hashtag1","hashtag2"]},{"1394769341":["hashtag1","hashtag2"]},{"1394769344":["hashtag1","hashtag2"]},{"1394769338":["hashtag1","hashtag2"]},{"1394769340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769348, 1394769339, 1394769341, 1394769344, 1394769338, 1394769340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.526384592056274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:43:42.703455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_41_2578.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_43_2676.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_49_2535.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_52_2697.jpg', '/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_56_3836.jpg', '/home/pi/Desktop/images/16112025/19/11/image_16112025_19_11_05_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_41_2578.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_43_2676.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_49_2535.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_52_2697.jpg
/home/pi/Desktop/images/16112025/19/10/image_16112025_19_10_56_3836.jpg
/home/pi/Desktop/images/16112025/19/11/image_16112025_19_11_05_1566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769351","1394769354","1394769356","1394769352","1394769355","1394769358"],"photo_ids_order":["1394769351","1394769352","1394769354","1394769355","1394769356","1394769358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e71faac066a6538ad8dc003a9d507a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1114268588728285836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325883336,"filename":"image_16112025_19_10_41_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/303e6e222fc4e9bb733259d01de9dad4.jpg","text":"TemporaryFile(/tmp/multipartBody6800654083471061144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325883336,"filename":"image_16112025_19_10_49_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eeb46ce4d8cd16a84a04146d3cace167.jpg","text":"TemporaryFile(/tmp/multipartBody8050128858548681058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325883336,"filename":"image_16112025_19_10_56_3836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f458a3056d15c346b2674bde86b8c687.jpg","text":"TemporaryFile(/tmp/multipartBody8764441438407894168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325883336,"filename":"image_16112025_19_10_43_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e86c0ca7b7f5008ab77854e9583fba0.jpg","text":"TemporaryFile(/tmp/multipartBody6409161725734949785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325883336,"filename":"image_16112025_19_10_52_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/009e401a626a5e0a18ed0b4347a88e7a.jpg","text":"TemporaryFile(/tmp/multipartBody16843419705775694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325883336,"filename":"image_16112025_19_11_05_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769354","file1":"1394769352","file0":"1394769351","file4":"1394769356","file5":"1394769358","file3":"1394769355"},"map_files_photo_id_array":[{"photo_id":"1394769358","filename":"file5"},{"photo_id":"1394769354","filename":"file2"},{"photo_id":"1394769356","filename":"file4"},{"photo_id":"1394769352","filename":"file1"},{"photo_id":"1394769351","filename":"file0"},{"photo_id":"1394769355","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769351":["hashtag1","hashtag2"]},{"1394769354":["hashtag1","hashtag2"]},{"1394769356":["hashtag1","hashtag2"]},{"1394769352":["hashtag1","hashtag2"]},{"1394769355":["hashtag1","hashtag2"]},{"1394769358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769351, 1394769354, 1394769356, 1394769352, 1394769355, 1394769358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89767336845398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:44:22.889153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/11/image_16112025_19_11_10_1510.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_07_3018.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_11_3821.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_13_2579.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_16_2651.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_26_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/11/image_16112025_19_11_10_1510.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_07_3018.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_11_3821.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_13_2579.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_16_2651.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_26_1643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769372","1394769375","1394769365","1394769370","1394769373","1394769367"],"photo_ids_order":["1394769365","1394769367","1394769370","1394769372","1394769373","1394769375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/908fcce101c49f2461dff4d4e8682bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2528345692322625928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325923582,"filename":"image_16112025_19_12_13_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7bf7ded63ca337b83287f3ec9ed9885.jpg","text":"TemporaryFile(/tmp/multipartBody5138936338295317624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325923582,"filename":"image_16112025_19_12_26_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4b43d0b7fedbb70c587fc6663f8aee5.jpg","text":"TemporaryFile(/tmp/multipartBody6551929328167186022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325923582,"filename":"image_16112025_19_11_10_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51be82f704f8b86bc95db6fd50e0d48f.jpg","text":"TemporaryFile(/tmp/multipartBody8616240110319476149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325923582,"filename":"image_16112025_19_12_11_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1eeade0c143dc3318b1f452d33562bed.jpg","text":"TemporaryFile(/tmp/multipartBody7388150530177818978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325923582,"filename":"image_16112025_19_12_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/11/16/31c520a00fcfa817bdd6b4911967515f.jpg","text":"TemporaryFile(/tmp/multipartBody632220307658544500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325923582,"filename":"image_16112025_19_12_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769370","file1":"1394769367","file0":"1394769365","file4":"1394769373","file5":"1394769375","file3":"1394769372"},"map_files_photo_id_array":[{"photo_id":"1394769375","filename":"file5"},{"photo_id":"1394769370","filename":"file2"},{"photo_id":"1394769373","filename":"file4"},{"photo_id":"1394769367","filename":"file1"},{"photo_id":"1394769365","filename":"file0"},{"photo_id":"1394769372","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769372":["hashtag1","hashtag2"]},{"1394769375":["hashtag1","hashtag2"]},{"1394769365":["hashtag1","hashtag2"]},{"1394769370":["hashtag1","hashtag2"]},{"1394769373":["hashtag1","hashtag2"]},{"1394769367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769372, 1394769375, 1394769365, 1394769370, 1394769373, 1394769367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31997752189636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:45:02.789023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_28_1632.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_29_1602.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_43_2712.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_47_3577.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_49_2673.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_52_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_28_1632.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_29_1602.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_43_2712.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_47_3577.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_49_2673.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_52_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769378","1394769377","1394769385","1394769379","1394769382","1394769376"],"photo_ids_order":["1394769376","1394769377","1394769378","1394769379","1394769382","1394769385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/de474576b7c33e9b733d7153c5e3273c.jpg","text":"TemporaryFile(/tmp/multipartBody7550479428084609976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325963915,"filename":"image_16112025_19_12_43_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44eff08533557138f0489824118de6bf.jpg","text":"TemporaryFile(/tmp/multipartBody1852626034017163653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325963915,"filename":"image_16112025_19_12_29_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2bacdd432645945b6799e40dbefd71c6.jpg","text":"TemporaryFile(/tmp/multipartBody4168241645722483184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325963915,"filename":"image_16112025_19_12_52_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e748a8f91b4754f6365fa1082fbdfa6a.jpg","text":"TemporaryFile(/tmp/multipartBody5243655258870130815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325963915,"filename":"image_16112025_19_12_47_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0971054f07aa91ed6c4aab639fc61b87.jpg","text":"TemporaryFile(/tmp/multipartBody4943038602444186365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325963915,"filename":"image_16112025_19_12_49_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1b241362f7d9bbed028d5b5f41d9cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5680226436913615269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763325963915,"filename":"image_16112025_19_12_28_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769378","file1":"1394769377","file0":"1394769376","file4":"1394769382","file5":"1394769385","file3":"1394769379"},"map_files_photo_id_array":[{"photo_id":"1394769385","filename":"file5"},{"photo_id":"1394769378","filename":"file2"},{"photo_id":"1394769382","filename":"file4"},{"photo_id":"1394769377","filename":"file1"},{"photo_id":"1394769376","filename":"file0"},{"photo_id":"1394769379","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769378":["hashtag1","hashtag2"]},{"1394769377":["hashtag1","hashtag2"]},{"1394769385":["hashtag1","hashtag2"]},{"1394769379":["hashtag1","hashtag2"]},{"1394769382":["hashtag1","hashtag2"]},{"1394769376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769378, 1394769377, 1394769385, 1394769379, 1394769382, 1394769376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16666388511658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:45:42.071338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_56_3581.jpg', '/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_58_2845.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_01_2571.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_05_3665.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_07_2577.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_16_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_56_3581.jpg
/home/pi/Desktop/images/16112025/19/12/image_16112025_19_12_58_2845.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_01_2571.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_05_3665.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_07_2577.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_16_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769390","1394769393","1394769392","1394769395","1394769394","1394769388"],"photo_ids_order":["1394769388","1394769390","1394769392","1394769393","1394769394","1394769395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1aeecbeaa13f2901ae0950b39f6fd031.jpg","text":"TemporaryFile(/tmp/multipartBody3942685073514434690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326002692,"filename":"image_16112025_19_12_58_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8921cbe8c0f231e77b8576defad562bb.jpg","text":"TemporaryFile(/tmp/multipartBody1727449776221922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326002692,"filename":"image_16112025_19_13_05_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93bf61e00fa542e97b164b5812f46a06.jpg","text":"TemporaryFile(/tmp/multipartBody8633836596477943714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326002692,"filename":"image_16112025_19_13_01_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2764bf4378a7ac9835c2ee81eecf4ed5.jpg","text":"TemporaryFile(/tmp/multipartBody4153486741388897325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326002692,"filename":"image_16112025_19_13_16_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94eac1762534ca997a6835c4179e2664.jpg","text":"TemporaryFile(/tmp/multipartBody3548032484020775561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326002692,"filename":"image_16112025_19_13_07_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/374aaab47977f471f70b4c2ebd3df3a5.jpg","text":"TemporaryFile(/tmp/multipartBody4176981752896297195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326002692,"filename":"image_16112025_19_12_56_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769392","file1":"1394769390","file0":"1394769388","file4":"1394769394","file5":"1394769395","file3":"1394769393"},"map_files_photo_id_array":[{"photo_id":"1394769395","filename":"file5"},{"photo_id":"1394769392","filename":"file2"},{"photo_id":"1394769394","filename":"file4"},{"photo_id":"1394769390","filename":"file1"},{"photo_id":"1394769388","filename":"file0"},{"photo_id":"1394769393","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769390":["hashtag1","hashtag2"]},{"1394769393":["hashtag1","hashtag2"]},{"1394769392":["hashtag1","hashtag2"]},{"1394769395":["hashtag1","hashtag2"]},{"1394769394":["hashtag1","hashtag2"]},{"1394769388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769390, 1394769393, 1394769392, 1394769395, 1394769394, 1394769388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01435112953186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:46:22.313919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_22_2638.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_26_3483.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_28_2598.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_31_2930.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_34_2562.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_40_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_22_2638.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_26_3483.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_28_2598.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_31_2930.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_34_2562.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_40_2509.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769403","1394769406","1394769400","1394769402","1394769398","1394769404"],"photo_ids_order":["1394769398","1394769400","1394769402","1394769403","1394769404","1394769406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b82954f2d2403aee8deba673ad3c959e.jpg","text":"TemporaryFile(/tmp/multipartBody2925875120028818151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326042961,"filename":"image_16112025_19_13_31_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45382ca08794aa553dbe20fcc8a8d18b.jpg","text":"TemporaryFile(/tmp/multipartBody7731057885798715059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326042961,"filename":"image_16112025_19_13_40_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1662ac7c64933d80533d0fdf6f410af9.jpg","text":"TemporaryFile(/tmp/multipartBody9042556064238386412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326042961,"filename":"image_16112025_19_13_26_3483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/feed8ce5c516da3cb54204e1cdf7eb42.jpg","text":"TemporaryFile(/tmp/multipartBody7317897909967161877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326042961,"filename":"image_16112025_19_13_28_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f89b091e671485e6ee32338094f6de4b.jpg","text":"TemporaryFile(/tmp/multipartBody7579904135014433553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326042961,"filename":"image_16112025_19_13_22_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2c63dc5930ad89c306c656798b5aa5d.jpg","text":"TemporaryFile(/tmp/multipartBody8849830085095961494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326042961,"filename":"image_16112025_19_13_34_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769402","file1":"1394769400","file0":"1394769398","file4":"1394769404","file5":"1394769406","file3":"1394769403"},"map_files_photo_id_array":[{"photo_id":"1394769406","filename":"file5"},{"photo_id":"1394769402","filename":"file2"},{"photo_id":"1394769404","filename":"file4"},{"photo_id":"1394769400","filename":"file1"},{"photo_id":"1394769398","filename":"file0"},{"photo_id":"1394769403","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769403":["hashtag1","hashtag2"]},{"1394769406":["hashtag1","hashtag2"]},{"1394769400":["hashtag1","hashtag2"]},{"1394769402":["hashtag1","hashtag2"]},{"1394769398":["hashtag1","hashtag2"]},{"1394769404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769403, 1394769406, 1394769400, 1394769402, 1394769398, 1394769404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6591956615448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:47:03.683572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_46_2602.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_52_2626.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_55_2912.jpg', '/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_58_2932.jpg', '/home/pi/Desktop/images/16112025/19/14/image_16112025_19_14_05_3602.jpg', '/home/pi/Desktop/images/16112025/19/14/image_16112025_19_14_07_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_46_2602.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_52_2626.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_55_2912.jpg
/home/pi/Desktop/images/16112025/19/13/image_16112025_19_13_58_2932.jpg
/home/pi/Desktop/images/16112025/19/14/image_16112025_19_14_05_3602.jpg
/home/pi/Desktop/images/16112025/19/14/image_16112025_19_14_07_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769412","1394769409","1394769414","1394769408","1394769410","1394769407"],"photo_ids_order":["1394769407","1394769408","1394769409","1394769410","1394769412","1394769414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b479b86517132a76d5c7edd0d75d0ef.jpg","text":"TemporaryFile(/tmp/multipartBody492504058451398191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326084424,"filename":"image_16112025_19_14_05_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9aa691199cee9481f407f12cf746aca.jpg","text":"TemporaryFile(/tmp/multipartBody7730577310479265877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326084424,"filename":"image_16112025_19_13_55_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a63d01a0abc35441c3ef5622fdd58144.jpg","text":"TemporaryFile(/tmp/multipartBody7064222005348551453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326084424,"filename":"image_16112025_19_14_07_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d970dc90bdb583f49f1c4475e25a1e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6769242840820341439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326084424,"filename":"image_16112025_19_13_52_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8461f185d390fb565cae0ef788835a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5353054584533753664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326084424,"filename":"image_16112025_19_13_58_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/596139c5b97fed72911eeedc2a197849.jpg","text":"TemporaryFile(/tmp/multipartBody8284928715901921884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326084424,"filename":"image_16112025_19_13_46_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769409","file1":"1394769408","file0":"1394769407","file4":"1394769412","file5":"1394769414","file3":"1394769410"},"map_files_photo_id_array":[{"photo_id":"1394769414","filename":"file5"},{"photo_id":"1394769409","filename":"file2"},{"photo_id":"1394769412","filename":"file4"},{"photo_id":"1394769408","filename":"file1"},{"photo_id":"1394769407","filename":"file0"},{"photo_id":"1394769410","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769412":["hashtag1","hashtag2"]},{"1394769409":["hashtag1","hashtag2"]},{"1394769414":["hashtag1","hashtag2"]},{"1394769408":["hashtag1","hashtag2"]},{"1394769410":["hashtag1","hashtag2"]},{"1394769407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769412, 1394769409, 1394769414, 1394769408, 1394769410, 1394769407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21719217300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:47:42.944092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/15/image_16112025_19_15_07_3018.jpg', '/home/pi/Desktop/images/16112025/19/15/image_16112025_19_15_16_2518.jpg', '/home/pi/Desktop/images/16112025/19/15/image_16112025_19_15_22_2635.jpg', '/home/pi/Desktop/images/16112025/19/15/image_16112025_19_15_37_2851.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_07_3020.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_10_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/15/image_16112025_19_15_07_3018.jpg
/home/pi/Desktop/images/16112025/19/15/image_16112025_19_15_16_2518.jpg
/home/pi/Desktop/images/16112025/19/15/image_16112025_19_15_22_2635.jpg
/home/pi/Desktop/images/16112025/19/15/image_16112025_19_15_37_2851.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_07_3020.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_10_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769424","1394769427","1394769426","1394769420","1394769423","1394769425"],"photo_ids_order":["1394769420","1394769423","1394769424","1394769425","1394769426","1394769427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbac70ccd8343344ed25daf2c650eef7.jpg","text":"TemporaryFile(/tmp/multipartBody8683482368051514119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326123571,"filename":"image_16112025_19_15_22_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46a5d42cd3c6a0e544fbdda07c54b605.jpg","text":"TemporaryFile(/tmp/multipartBody6823736700016489912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326123571,"filename":"image_16112025_19_17_10_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35ae3e141e272a91a5cb748b24aa3b54.jpg","text":"TemporaryFile(/tmp/multipartBody2304242187280333044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326123571,"filename":"image_16112025_19_17_07_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f7c1894998b88c0ed15cba9775185aa.jpg","text":"TemporaryFile(/tmp/multipartBody6382814969554818153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326123571,"filename":"image_16112025_19_15_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/11/16/2b0f6d2b2234b7a8daa54a0b9af780ad.jpg","text":"TemporaryFile(/tmp/multipartBody2122335709122671774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326123571,"filename":"image_16112025_19_15_16_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c24ad5f033cd11e8489ad9a3d60e23c0.jpg","text":"TemporaryFile(/tmp/multipartBody7090514182803452561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326123571,"filename":"image_16112025_19_15_37_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769424","file1":"1394769423","file0":"1394769420","file4":"1394769426","file5":"1394769427","file3":"1394769425"},"map_files_photo_id_array":[{"photo_id":"1394769427","filename":"file5"},{"photo_id":"1394769424","filename":"file2"},{"photo_id":"1394769426","filename":"file4"},{"photo_id":"1394769423","filename":"file1"},{"photo_id":"1394769420","filename":"file0"},{"photo_id":"1394769425","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769424":["hashtag1","hashtag2"]},{"1394769427":["hashtag1","hashtag2"]},{"1394769426":["hashtag1","hashtag2"]},{"1394769420":["hashtag1","hashtag2"]},{"1394769423":["hashtag1","hashtag2"]},{"1394769425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769424, 1394769427, 1394769426, 1394769420, 1394769423, 1394769425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47057509422302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:48:22.147285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_16_3558.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_25_1585.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_27_1747.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_29_1682.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_31_2521.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_35_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_16_3558.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_25_1585.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_27_1747.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_29_1682.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_31_2521.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_35_3593.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.5758054256439209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:48:42.188694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_16_3558.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_25_1585.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_27_1747.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_29_1682.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_31_2521.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_35_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_16_3558.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_25_1585.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_27_1747.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_29_1682.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_31_2521.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_35_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769445","1394769444","1394769447","1394769449","1394769446","1394769448"],"photo_ids_order":["1394769444","1394769445","1394769446","1394769447","1394769448","1394769449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/645917edcae1ae5b67e23d4d4aa9b2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5799978511232124799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326182814,"filename":"image_16112025_19_17_25_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca19bfe4cfd48835889da0475f4b14b3.jpg","text":"TemporaryFile(/tmp/multipartBody7801051287147106064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326182814,"filename":"image_16112025_19_17_16_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a84646d4a038a165befe5e49850df46e.jpg","text":"TemporaryFile(/tmp/multipartBody8560389728674212463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326182814,"filename":"image_16112025_19_17_29_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95b3f41f86a2b12931f5b3fabeb61cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5441154536721269990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326182814,"filename":"image_16112025_19_17_35_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1732e9364813678196b1e41e13d83fb7.jpg","text":"TemporaryFile(/tmp/multipartBody7455706938843771047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326182814,"filename":"image_16112025_19_17_27_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86c093527313e9d7d5b83fedf1d7d62c.jpg","text":"TemporaryFile(/tmp/multipartBody9209100341262532629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326182814,"filename":"image_16112025_19_17_31_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769446","file1":"1394769445","file0":"1394769444","file4":"1394769448","file5":"1394769449","file3":"1394769447"},"map_files_photo_id_array":[{"photo_id":"1394769449","filename":"file5"},{"photo_id":"1394769446","filename":"file2"},{"photo_id":"1394769448","filename":"file4"},{"photo_id":"1394769445","filename":"file1"},{"photo_id":"1394769444","filename":"file0"},{"photo_id":"1394769447","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769445":["hashtag1","hashtag2"]},{"1394769444":["hashtag1","hashtag2"]},{"1394769447":["hashtag1","hashtag2"]},{"1394769449":["hashtag1","hashtag2"]},{"1394769446":["hashtag1","hashtag2"]},{"1394769448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769445, 1394769444, 1394769447, 1394769449, 1394769446, 1394769448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.820568799972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:49:22.398715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_37_2677.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_40_2660.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_44_3640.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_49_2778.jpg', '/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_53_3582.jpg', '/home/pi/Desktop/images/16112025/19/18/image_16112025_19_18_02_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_37_2677.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_40_2660.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_44_3640.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_49_2778.jpg
/home/pi/Desktop/images/16112025/19/17/image_16112025_19_17_53_3582.jpg
/home/pi/Desktop/images/16112025/19/18/image_16112025_19_18_02_3734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769456","1394769459","1394769453","1394769458","1394769460","1394769454"],"photo_ids_order":["1394769453","1394769454","1394769456","1394769458","1394769459","1394769460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df13b4b6ddbef0bdd62c4696c264c52f.jpg","text":"TemporaryFile(/tmp/multipartBody4669949815259768056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326223037,"filename":"image_16112025_19_17_44_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/96cb896677c4efacc777f2210be9d341.jpg","text":"TemporaryFile(/tmp/multipartBody2313657829696158722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326223037,"filename":"image_16112025_19_17_53_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cf970733c8273ea54b1bc44b672c020.jpg","text":"TemporaryFile(/tmp/multipartBody4170115491272517016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326223037,"filename":"image_16112025_19_17_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/11/16/0a08f3e1d126dfd6fdaed434c6127874.jpg","text":"TemporaryFile(/tmp/multipartBody6454736976024619199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326223037,"filename":"image_16112025_19_17_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/11/16/a9cf56719ba8d56812864bd49e531350.jpg","text":"TemporaryFile(/tmp/multipartBody8188998867847122475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326223037,"filename":"image_16112025_19_18_02_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5dddd844cbbd477b8b507c423de9750.jpg","text":"TemporaryFile(/tmp/multipartBody2114974377117202493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326223037,"filename":"image_16112025_19_17_40_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769456","file1":"1394769454","file0":"1394769453","file4":"1394769459","file5":"1394769460","file3":"1394769458"},"map_files_photo_id_array":[{"photo_id":"1394769460","filename":"file5"},{"photo_id":"1394769456","filename":"file2"},{"photo_id":"1394769459","filename":"file4"},{"photo_id":"1394769454","filename":"file1"},{"photo_id":"1394769453","filename":"file0"},{"photo_id":"1394769458","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769456":["hashtag1","hashtag2"]},{"1394769459":["hashtag1","hashtag2"]},{"1394769453":["hashtag1","hashtag2"]},{"1394769458":["hashtag1","hashtag2"]},{"1394769460":["hashtag1","hashtag2"]},{"1394769454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769456, 1394769459, 1394769453, 1394769458, 1394769460, 1394769454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.773505449295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:50:05.732034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/18/image_16112025_19_18_07_2805.jpg', '/home/pi/Desktop/images/16112025/19/18/image_16112025_19_18_10_2693.jpg', '/home/pi/Desktop/images/16112025/19/19/image_16112025_19_19_06_3017.jpg', '/home/pi/Desktop/images/16112025/19/19/image_16112025_19_19_23_1655.jpg', '/home/pi/Desktop/images/16112025/19/19/image_16112025_19_19_25_1574.jpg', '/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_03_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/18/image_16112025_19_18_07_2805.jpg
/home/pi/Desktop/images/16112025/19/18/image_16112025_19_18_10_2693.jpg
/home/pi/Desktop/images/16112025/19/19/image_16112025_19_19_06_3017.jpg
/home/pi/Desktop/images/16112025/19/19/image_16112025_19_19_23_1655.jpg
/home/pi/Desktop/images/16112025/19/19/image_16112025_19_19_25_1574.jpg
/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_03_1517.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":["1394769471","1394769465","1394769468","1394769464","1394769466","1394769475"],"photo_ids_order":["1394769464","1394769465","1394769466","1394769468","1394769471","1394769475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d627378ded5234d0d786b7f826911c7.jpg","text":"TemporaryFile(/tmp/multipartBody5451602830545282143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326268951,"filename":"image_16112025_19_19_25_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dbe95272a948200813f44c6986877fbb.jpg","text":"TemporaryFile(/tmp/multipartBody6859590785468259534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326268951,"filename":"image_16112025_19_18_10_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75f018f1341affbf2f14d8997cd10b74.jpg","text":"TemporaryFile(/tmp/multipartBody1484338709516393083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326268951,"filename":"image_16112025_19_19_23_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8df3899655ed550d39ee1358f52ba455.jpg","text":"TemporaryFile(/tmp/multipartBody3160465107518395822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326268951,"filename":"image_16112025_19_18_07_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5480659f56cc3713fb692395a2f2e2f4.jpg","text":"TemporaryFile(/tmp/multipartBody2820390319534081686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326268951,"filename":"image_16112025_19_19_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87fadf6ac74177bec5736a0301c29995.jpg","text":"TemporaryFile(/tmp/multipartBody8386567656038800110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326268951,"filename":"image_16112025_19_20_03_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769466","file1":"1394769465","file0":"1394769464","file4":"1394769471","file5":"1394769475","file3":"1394769468"},"map_files_photo_id_array":[{"photo_id":"1394769475","filename":"file5"},{"photo_id":"1394769466","filename":"file2"},{"photo_id":"1394769471","filename":"file4"},{"photo_id":"1394769465","filename":"file1"},{"photo_id":"1394769464","filename":"file0"},{"photo_id":"1394769468","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769471":["hashtag1","hashtag2"]},{"1394769465":["hashtag1","hashtag2"]},{"1394769468":["hashtag1","hashtag2"]},{"1394769464":["hashtag1","hashtag2"]},{"1394769466":["hashtag1","hashtag2"]},{"1394769475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769471, 1394769465, 1394769468, 1394769464, 1394769466, 1394769475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04096817970276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:51:02.498792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_04_1616.jpg', '/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_08_1715.jpg', '/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_13_1618.jpg', '/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_16_1562.jpg', '/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_07_3015.jpg', '/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_11_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_04_1616.jpg
/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_08_1715.jpg
/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_13_1618.jpg
/home/pi/Desktop/images/16112025/19/20/image_16112025_19_20_16_1562.jpg
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_07_3015.jpg
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_11_3672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769480","1394769483","1394769486","1394769479","1394769478","1394769481"],"photo_ids_order":["1394769478","1394769479","1394769480","1394769481","1394769483","1394769486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c7638fc06968ca8d583832399824b11.jpg","text":"TemporaryFile(/tmp/multipartBody779168111811838584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326323278,"filename":"image_16112025_19_20_13_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b550697b262850258d12834a8a2b0c1.jpg","text":"TemporaryFile(/tmp/multipartBody5970742300439588649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326323278,"filename":"image_16112025_19_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/11/16/da8ea011e1564cb1e60a95c821e57012.jpg","text":"TemporaryFile(/tmp/multipartBody4497624621283790850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326323278,"filename":"image_16112025_19_21_11_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db93458670e209837f7b861bab1ab7be.jpg","text":"TemporaryFile(/tmp/multipartBody5192912873972141002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326323278,"filename":"image_16112025_19_20_08_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a63e48fd36a161be207c37697a169a5c.jpg","text":"TemporaryFile(/tmp/multipartBody2476035571386994380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326323278,"filename":"image_16112025_19_20_04_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1432a43329b83c7c6b74b341c72bd9d7.jpg","text":"TemporaryFile(/tmp/multipartBody8793860129890851231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326323278,"filename":"image_16112025_19_20_16_1562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769480","file1":"1394769479","file0":"1394769478","file4":"1394769483","file5":"1394769486","file3":"1394769481"},"map_files_photo_id_array":[{"photo_id":"1394769486","filename":"file5"},{"photo_id":"1394769480","filename":"file2"},{"photo_id":"1394769483","filename":"file4"},{"photo_id":"1394769479","filename":"file1"},{"photo_id":"1394769478","filename":"file0"},{"photo_id":"1394769481","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769480":["hashtag1","hashtag2"]},{"1394769483":["hashtag1","hashtag2"]},{"1394769486":["hashtag1","hashtag2"]},{"1394769479":["hashtag1","hashtag2"]},{"1394769478":["hashtag1","hashtag2"]},{"1394769481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769480, 1394769483, 1394769486, 1394769479, 1394769478, 1394769481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76223039627075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:51:42.006935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_13_2580.jpg', '/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_17_3665.jpg', '/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_32_2679.jpg', '/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_34_2515.jpg', '/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_38_4317.jpg', '/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_40_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_13_2580.jpg
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_17_3665.jpg
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_32_2679.jpg
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_34_2515.jpg
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_38_4317.jpg
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_40_1629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769502","1394769501","1394769494","1394769497","1394769500","1394769499"],"photo_ids_order":["1394769494","1394769497","1394769499","1394769500","1394769501","1394769502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5394201e7f87fe547603ae1f2871865.jpg","text":"TemporaryFile(/tmp/multipartBody6846580054810306234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326362744,"filename":"image_16112025_19_21_40_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f65fa3b71127425fcb6417e957dcfc6.jpg","text":"TemporaryFile(/tmp/multipartBody1015372533358039764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326362744,"filename":"image_16112025_19_21_38_4317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0879ab6a1fe1a1379db9471a6d1288b5.jpg","text":"TemporaryFile(/tmp/multipartBody2857449546492600101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326362744,"filename":"image_16112025_19_21_13_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/357570a505dfa3b7af404f7031a3027b.jpg","text":"TemporaryFile(/tmp/multipartBody252859236472148825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326362744,"filename":"image_16112025_19_21_17_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d71c64b75d2d27f3e2c59ca9bfa83406.jpg","text":"TemporaryFile(/tmp/multipartBody6716348993584004592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326362744,"filename":"image_16112025_19_21_34_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be44093fa17c2b7081960c6bc7e6decb.jpg","text":"TemporaryFile(/tmp/multipartBody155283724177759708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326362744,"filename":"image_16112025_19_21_32_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769499","file1":"1394769497","file0":"1394769494","file4":"1394769501","file5":"1394769502","file3":"1394769500"},"map_files_photo_id_array":[{"photo_id":"1394769502","filename":"file5"},{"photo_id":"1394769499","filename":"file2"},{"photo_id":"1394769501","filename":"file4"},{"photo_id":"1394769497","filename":"file1"},{"photo_id":"1394769494","filename":"file0"},{"photo_id":"1394769500","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769502":["hashtag1","hashtag2"]},{"1394769501":["hashtag1","hashtag2"]},{"1394769494":["hashtag1","hashtag2"]},{"1394769497":["hashtag1","hashtag2"]},{"1394769500":["hashtag1","hashtag2"]},{"1394769499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769502, 1394769501, 1394769494, 1394769497, 1394769500, 1394769499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.419883251190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:52:22.132357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_49_2750.jpg', '/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_58_2649.jpg', '/home/pi/Desktop/images/16112025/19/22/image_16112025_19_22_04_2554.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_06_3017.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_10_3690.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_15_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_49_2750.jpg
/home/pi/Desktop/images/16112025/19/21/image_16112025_19_21_58_2649.jpg
/home/pi/Desktop/images/16112025/19/22/image_16112025_19_22_04_2554.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_06_3017.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_10_3690.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_15_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769508","1394769507","1394769510","1394769504","1394769512","1394769515"],"photo_ids_order":["1394769504","1394769507","1394769508","1394769510","1394769512","1394769515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a1f1608b7839a78d30fbfc666fe920a.jpg","text":"TemporaryFile(/tmp/multipartBody2796320269029759286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326402781,"filename":"image_16112025_19_22_04_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9017adddd79ae2d7d865c9732a108246.jpg","text":"TemporaryFile(/tmp/multipartBody2191870427528759206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326402781,"filename":"image_16112025_19_21_58_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5c80b7b02dfa58436bd8a729595529ee.jpg","text":"TemporaryFile(/tmp/multipartBody6734632477345072456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326402781,"filename":"image_16112025_19_23_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8a1c7b42d3d4fc915102a7e988aa9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7247383350800334163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326402781,"filename":"image_16112025_19_21_49_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2a60db36afef34c2d7ff1fec49107ee.jpg","text":"TemporaryFile(/tmp/multipartBody7370586137085671300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326402781,"filename":"image_16112025_19_23_10_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8a652ae45c2c2ab1a8eeba0ac7be34a.jpg","text":"TemporaryFile(/tmp/multipartBody1818875987369710234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326402781,"filename":"image_16112025_19_23_15_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769508","file1":"1394769507","file0":"1394769504","file4":"1394769512","file5":"1394769515","file3":"1394769510"},"map_files_photo_id_array":[{"photo_id":"1394769515","filename":"file5"},{"photo_id":"1394769508","filename":"file2"},{"photo_id":"1394769512","filename":"file4"},{"photo_id":"1394769507","filename":"file1"},{"photo_id":"1394769504","filename":"file0"},{"photo_id":"1394769510","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769508":["hashtag1","hashtag2"]},{"1394769507":["hashtag1","hashtag2"]},{"1394769510":["hashtag1","hashtag2"]},{"1394769504":["hashtag1","hashtag2"]},{"1394769512":["hashtag1","hashtag2"]},{"1394769515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769508, 1394769507, 1394769510, 1394769504, 1394769512, 1394769515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91168713569641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:53:03.220456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_22_2547.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_33_2720.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_37_3738.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_40_2807.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_43_2681.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_45_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_22_2547.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_33_2720.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_37_3738.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_40_2807.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_43_2681.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_45_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769517","1394769519","1394769516","1394769521","1394769524","1394769518"],"photo_ids_order":["1394769516","1394769517","1394769518","1394769519","1394769521","1394769524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cad08dae9b9bb3fd780306c3ed324083.jpg","text":"TemporaryFile(/tmp/multipartBody3198564064300566344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326443940,"filename":"image_16112025_19_23_33_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5280143ffc9d39335945ed816f112880.jpg","text":"TemporaryFile(/tmp/multipartBody9203825910068459476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326443940,"filename":"image_16112025_19_23_40_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da8043e0be7ac57962bb4ca083e4b8d3.jpg","text":"TemporaryFile(/tmp/multipartBody759105188602131642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326443940,"filename":"image_16112025_19_23_22_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae47abbb88cf4b6c897baf1c0f1764d6.jpg","text":"TemporaryFile(/tmp/multipartBody4237219490424825824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326443940,"filename":"image_16112025_19_23_43_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c0fc1f17520a9816ea9dde89c974ca3.jpg","text":"TemporaryFile(/tmp/multipartBody402942213324554043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326443940,"filename":"image_16112025_19_23_45_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f5842821e03f953f8b91c43d3435b7d.jpg","text":"TemporaryFile(/tmp/multipartBody508196014254308360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326443940,"filename":"image_16112025_19_23_37_3738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769518","file1":"1394769517","file0":"1394769516","file4":"1394769521","file5":"1394769524","file3":"1394769519"},"map_files_photo_id_array":[{"photo_id":"1394769524","filename":"file5"},{"photo_id":"1394769518","filename":"file2"},{"photo_id":"1394769521","filename":"file4"},{"photo_id":"1394769517","filename":"file1"},{"photo_id":"1394769516","filename":"file0"},{"photo_id":"1394769519","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769517":["hashtag1","hashtag2"]},{"1394769519":["hashtag1","hashtag2"]},{"1394769516":["hashtag1","hashtag2"]},{"1394769521":["hashtag1","hashtag2"]},{"1394769524":["hashtag1","hashtag2"]},{"1394769518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769517, 1394769519, 1394769516, 1394769521, 1394769524, 1394769518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94534087181091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:53:42.409120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_52_2804.jpg', '/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_58_3599.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_01_2686.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_04_2750.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_07_3555.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_15_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_52_2804.jpg
/home/pi/Desktop/images/16112025/19/23/image_16112025_19_23_58_3599.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_01_2686.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_04_2750.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_07_3555.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_15_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769544","1394769537","1394769542","1394769539","1394769532","1394769541"],"photo_ids_order":["1394769532","1394769537","1394769539","1394769541","1394769542","1394769544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7548f741f3c74679528490070dacf5f.jpg","text":"TemporaryFile(/tmp/multipartBody1634306547223806951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326483108,"filename":"image_16112025_19_24_15_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/123bd6e7d393e2790ace5b4133732c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3954660913468786309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326483108,"filename":"image_16112025_19_23_58_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2cba77948b0cf0b55156d04f40056161.jpg","text":"TemporaryFile(/tmp/multipartBody3022254944288400758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326483108,"filename":"image_16112025_19_24_07_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ad9c32afbec2ba025bf8423109e2813.jpg","text":"TemporaryFile(/tmp/multipartBody8587770346124770458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326483108,"filename":"image_16112025_19_24_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/11/16/17afc784bf1aba04695d69f12bf8d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody2509031888959531382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326483108,"filename":"image_16112025_19_23_52_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5c24c9728182a03e0ff2f850d28cbc6.jpg","text":"TemporaryFile(/tmp/multipartBody599177821702525388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326483108,"filename":"image_16112025_19_24_04_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769539","file1":"1394769537","file0":"1394769532","file4":"1394769542","file5":"1394769544","file3":"1394769541"},"map_files_photo_id_array":[{"photo_id":"1394769544","filename":"file5"},{"photo_id":"1394769539","filename":"file2"},{"photo_id":"1394769542","filename":"file4"},{"photo_id":"1394769537","filename":"file1"},{"photo_id":"1394769532","filename":"file0"},{"photo_id":"1394769541","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769544":["hashtag1","hashtag2"]},{"1394769537":["hashtag1","hashtag2"]},{"1394769542":["hashtag1","hashtag2"]},{"1394769539":["hashtag1","hashtag2"]},{"1394769532":["hashtag1","hashtag2"]},{"1394769541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769544, 1394769537, 1394769542, 1394769539, 1394769532, 1394769541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16644620895386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:54:22.642365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_19_3654.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_25_3562.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_28_2592.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_30_2515.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_34_3608.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_37_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_19_3654.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_25_3562.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_28_2592.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_30_2515.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_34_3608.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_37_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769555","1394769560","1394769557","1394769551","1394769553","1394769556"],"photo_ids_order":["1394769551","1394769553","1394769555","1394769556","1394769557","1394769560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/55f402857381e8c38653b3d341c5acc9.jpg","text":"TemporaryFile(/tmp/multipartBody5734525818088407650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326523322,"filename":"image_16112025_19_24_28_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e3d8f97475c3e4462114060590cc183b.jpg","text":"TemporaryFile(/tmp/multipartBody2483254612263250772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326523322,"filename":"image_16112025_19_24_37_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6b58a452f4c7de0be88eb35323112e10.jpg","text":"TemporaryFile(/tmp/multipartBody7823742688527009601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326523322,"filename":"image_16112025_19_24_34_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f470330940760f36133e06b67d2c9610.jpg","text":"TemporaryFile(/tmp/multipartBody702366868151405994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326523322,"filename":"image_16112025_19_24_19_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1ca46e69afed6960e8cbe5ef90df2e1.jpg","text":"TemporaryFile(/tmp/multipartBody122453896754836393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326523322,"filename":"image_16112025_19_24_25_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8576f736522d9c43a5878319c3d2a3c.jpg","text":"TemporaryFile(/tmp/multipartBody1618827972720738750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326523322,"filename":"image_16112025_19_24_30_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769555","file1":"1394769553","file0":"1394769551","file4":"1394769557","file5":"1394769560","file3":"1394769556"},"map_files_photo_id_array":[{"photo_id":"1394769560","filename":"file5"},{"photo_id":"1394769555","filename":"file2"},{"photo_id":"1394769557","filename":"file4"},{"photo_id":"1394769553","filename":"file1"},{"photo_id":"1394769551","filename":"file0"},{"photo_id":"1394769556","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769555":["hashtag1","hashtag2"]},{"1394769560":["hashtag1","hashtag2"]},{"1394769557":["hashtag1","hashtag2"]},{"1394769551":["hashtag1","hashtag2"]},{"1394769553":["hashtag1","hashtag2"]},{"1394769556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769555, 1394769560, 1394769557, 1394769551, 1394769553, 1394769556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.469271183013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:55:02.542936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_39_2753.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_43_3554.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_46_2651.jpg', '/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_58_3380.jpg', '/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_17_3565.jpg', '/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_20_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_39_2753.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_43_3554.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_46_2651.jpg
/home/pi/Desktop/images/16112025/19/24/image_16112025_19_24_58_3380.jpg
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_17_3565.jpg
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_20_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769561","1394769564","1394769566","1394769569","1394769563","1394769562"],"photo_ids_order":["1394769561","1394769562","1394769563","1394769564","1394769566","1394769569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad90df283b9b2c32a69a1654d97518a3.jpg","text":"TemporaryFile(/tmp/multipartBody4628486037218260242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326563258,"filename":"image_16112025_19_24_39_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0b20232901a1b9a8db8095593b6c226.jpg","text":"TemporaryFile(/tmp/multipartBody9136623413042679616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326563258,"filename":"image_16112025_19_24_58_3380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/071c4bb5cb2424c1ae1a1f92432b8b64.jpg","text":"TemporaryFile(/tmp/multipartBody6578527379901344800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326563258,"filename":"image_16112025_19_26_17_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b8fff25d9eb45f40dc43364a817f7e16.jpg","text":"TemporaryFile(/tmp/multipartBody9029901819506886227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326563258,"filename":"image_16112025_19_26_20_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f281415d281a88c8d3993b392fc1b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7203821480491190946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326563258,"filename":"image_16112025_19_24_46_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa889dc142b68453660479884e75204c.jpg","text":"TemporaryFile(/tmp/multipartBody5401934241824467544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326563258,"filename":"image_16112025_19_24_43_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769563","file1":"1394769562","file0":"1394769561","file4":"1394769566","file5":"1394769569","file3":"1394769564"},"map_files_photo_id_array":[{"photo_id":"1394769569","filename":"file5"},{"photo_id":"1394769563","filename":"file2"},{"photo_id":"1394769566","filename":"file4"},{"photo_id":"1394769562","filename":"file1"},{"photo_id":"1394769561","filename":"file0"},{"photo_id":"1394769564","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769561":["hashtag1","hashtag2"]},{"1394769564":["hashtag1","hashtag2"]},{"1394769566":["hashtag1","hashtag2"]},{"1394769569":["hashtag1","hashtag2"]},{"1394769563":["hashtag1","hashtag2"]},{"1394769562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769561, 1394769564, 1394769566, 1394769569, 1394769563, 1394769562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31248426437378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:55:41.852568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_23_2797.jpg', '/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_25_2718.jpg', '/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_29_3561.jpg', '/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_32_2620.jpg', '/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_34_2796.jpg', '/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_43_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_23_2797.jpg
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_25_2718.jpg
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_29_3561.jpg
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_32_2620.jpg
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_34_2796.jpg
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_43_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769576","1394769579","1394769581","1394769578","1394769580","1394769574"],"photo_ids_order":["1394769574","1394769576","1394769578","1394769579","1394769580","1394769581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db11bd76c12e179b48844b67684eeb97.jpg","text":"TemporaryFile(/tmp/multipartBody4114557891694868895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326602481,"filename":"image_16112025_19_26_25_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8821acfe2b0ab3f76a36b7d355f35a7c.jpg","text":"TemporaryFile(/tmp/multipartBody4293626905619311015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326602481,"filename":"image_16112025_19_26_32_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1fb27da9580305758adf344997e456c4.jpg","text":"TemporaryFile(/tmp/multipartBody5273563687348740078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326602481,"filename":"image_16112025_19_26_43_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/89432b90553fb615b43351ae95915074.jpg","text":"TemporaryFile(/tmp/multipartBody7466394581029370021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326602481,"filename":"image_16112025_19_26_29_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3c9fdf0e2c35f4636a9ade5427f7de71.jpg","text":"TemporaryFile(/tmp/multipartBody6137820936075113307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326602481,"filename":"image_16112025_19_26_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/11/16/20494a831bfb14fb45c73ae092fddaec.jpg","text":"TemporaryFile(/tmp/multipartBody8473909693632486018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326602481,"filename":"image_16112025_19_26_23_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769578","file1":"1394769576","file0":"1394769574","file4":"1394769580","file5":"1394769581","file3":"1394769579"},"map_files_photo_id_array":[{"photo_id":"1394769581","filename":"file5"},{"photo_id":"1394769578","filename":"file2"},{"photo_id":"1394769580","filename":"file4"},{"photo_id":"1394769576","filename":"file1"},{"photo_id":"1394769574","filename":"file0"},{"photo_id":"1394769579","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769576":["hashtag1","hashtag2"]},{"1394769579":["hashtag1","hashtag2"]},{"1394769581":["hashtag1","hashtag2"]},{"1394769578":["hashtag1","hashtag2"]},{"1394769580":["hashtag1","hashtag2"]},{"1394769574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769576, 1394769579, 1394769581, 1394769578, 1394769580, 1394769574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.388832807540894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 21:56:22.669269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_46_3128.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_16_2603.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_20_3640.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_25_2579.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_29_3650.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_31_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/26/image_16112025_19_26_46_3128.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_16_2603.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_20_3640.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_25_2579.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_29_3650.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_31_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769594","1394769596","1394769595","1394769589","1394769592","1394769586"],"photo_ids_order":["1394769586","1394769589","1394769592","1394769594","1394769595","1394769596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/27de781f56ee4369eeeaf004e56447f9.jpg","text":"TemporaryFile(/tmp/multipartBody7808624763981447650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326643322,"filename":"image_16112025_19_28_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/11/16/90bd03260b5cbfa0fee46fdcc5b94c02.jpg","text":"TemporaryFile(/tmp/multipartBody1267524407990820857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326643322,"filename":"image_16112025_19_28_31_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fed77bb30d3c095377f2674757fc2940.jpg","text":"TemporaryFile(/tmp/multipartBody2789673242104617713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326643322,"filename":"image_16112025_19_28_29_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/14ba4546fde0f799b8f5825c6ee22629.jpg","text":"TemporaryFile(/tmp/multipartBody2090938514885737553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326643322,"filename":"image_16112025_19_28_16_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab1770c742aa494ce84c97e543bfd613.jpg","text":"TemporaryFile(/tmp/multipartBody6840805637630257950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326643322,"filename":"image_16112025_19_28_20_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fdab10526e9add719ed2ac43b3ac2383.jpg","text":"TemporaryFile(/tmp/multipartBody4297699197819015747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326643322,"filename":"image_16112025_19_26_46_3128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769592","file1":"1394769589","file0":"1394769586","file4":"1394769595","file5":"1394769596","file3":"1394769594"},"map_files_photo_id_array":[{"photo_id":"1394769596","filename":"file5"},{"photo_id":"1394769592","filename":"file2"},{"photo_id":"1394769595","filename":"file4"},{"photo_id":"1394769589","filename":"file1"},{"photo_id":"1394769586","filename":"file0"},{"photo_id":"1394769594","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769594":["hashtag1","hashtag2"]},{"1394769596":["hashtag1","hashtag2"]},{"1394769595":["hashtag1","hashtag2"]},{"1394769589":["hashtag1","hashtag2"]},{"1394769592":["hashtag1","hashtag2"]},{"1394769586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769594, 1394769596, 1394769595, 1394769589, 1394769592, 1394769586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87148904800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:57:02.610746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_35_3636.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_38_3526.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_40_1629.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_49_2573.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_52_2831.jpg', '/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_56_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_35_3636.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_38_3526.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_40_1629.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_49_2573.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_52_2831.jpg
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_56_3564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769597","1394769600","1394769599","1394769603","1394769602","1394769598"],"photo_ids_order":["1394769597","1394769598","1394769599","1394769600","1394769602","1394769603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/17c2559bb40656cea6441dde53caddbf.jpg","text":"TemporaryFile(/tmp/multipartBody5579459323866314244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326683342,"filename":"image_16112025_19_28_35_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3399bd5f93d2f26bddd59b6b13c57423.jpg","text":"TemporaryFile(/tmp/multipartBody3310026525233602314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326683342,"filename":"image_16112025_19_28_49_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fba32f66787cb7b8c38bd0e512b7ba24.jpg","text":"TemporaryFile(/tmp/multipartBody549945769380175396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326683342,"filename":"image_16112025_19_28_40_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/696427b1b74acf259e1a72d32de51b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1060347959166198379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326683342,"filename":"image_16112025_19_28_56_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7572a602ba44aafb0dc4a09b1cd5dd4.jpg","text":"TemporaryFile(/tmp/multipartBody974979808072316874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326683342,"filename":"image_16112025_19_28_52_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e54d3bfee118ca6d965ba0b1aa190eb.jpg","text":"TemporaryFile(/tmp/multipartBody7167707442941509736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326683342,"filename":"image_16112025_19_28_38_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769599","file1":"1394769598","file0":"1394769597","file4":"1394769602","file5":"1394769603","file3":"1394769600"},"map_files_photo_id_array":[{"photo_id":"1394769603","filename":"file5"},{"photo_id":"1394769599","filename":"file2"},{"photo_id":"1394769602","filename":"file4"},{"photo_id":"1394769598","filename":"file1"},{"photo_id":"1394769597","filename":"file0"},{"photo_id":"1394769600","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769597":["hashtag1","hashtag2"]},{"1394769600":["hashtag1","hashtag2"]},{"1394769599":["hashtag1","hashtag2"]},{"1394769603":["hashtag1","hashtag2"]},{"1394769602":["hashtag1","hashtag2"]},{"1394769598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769597, 1394769600, 1394769599, 1394769603, 1394769602, 1394769598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.480051040649414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:57:41.999229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_58_2677.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_01_2644.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_05_3616.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_07_2673.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_13_2597.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_16_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/28/image_16112025_19_28_58_2677.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_01_2644.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_05_3616.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_07_2673.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_13_2597.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_16_2768.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394769610","1394769604","1394769639","1394769606","1394769609","1394769608"],"photo_ids_order":["1394769604","1394769606","1394769608","1394769609","1394769610","1394769639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/227f2a2fcccd16f9eb45215b6b11d95f.jpg","text":"TemporaryFile(/tmp/multipartBody397271789730195690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326722625,"filename":"image_16112025_19_29_13_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b52355a9d40c9546c9b24b649c92db8.jpg","text":"TemporaryFile(/tmp/multipartBody7286917570047704424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326722625,"filename":"image_16112025_19_28_58_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a3add34127baddf0d1af9c3c74de730.jpg","text":"TemporaryFile(/tmp/multipartBody3387746025796054340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326722625,"filename":"image_16112025_19_29_16_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c46e55fcd7fc75e183822cce9148e1bd.jpg","text":"TemporaryFile(/tmp/multipartBody8050890485252100372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326722625,"filename":"image_16112025_19_29_01_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af9c3e8f015917a7c0749a441ab14b74.jpg","text":"TemporaryFile(/tmp/multipartBody5191790614690403354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326722625,"filename":"image_16112025_19_29_07_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1aaae151bd4fd94da9a8c2518386e494.jpg","text":"TemporaryFile(/tmp/multipartBody7833064240862110639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326722625,"filename":"image_16112025_19_29_05_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394769608","file1":"1394769606","file0":"1394769604","file4":"1394769610","file5":"1394769639","file3":"1394769609"},"map_files_photo_id_array":[{"photo_id":"1394769639","filename":"file5"},{"photo_id":"1394769608","filename":"file2"},{"photo_id":"1394769610","filename":"file4"},{"photo_id":"1394769606","filename":"file1"},{"photo_id":"1394769604","filename":"file0"},{"photo_id":"1394769609","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394769610":["hashtag1","hashtag2"]},{"1394769604":["hashtag1","hashtag2"]},{"1394769639":["hashtag1","hashtag2"]},{"1394769606":["hashtag1","hashtag2"]},{"1394769609":["hashtag1","hashtag2"]},{"1394769608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394769610, 1394769604, 1394769639, 1394769606, 1394769609, 1394769608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.677215814590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 21:59:03.388938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_20_3581.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_22_2678.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_28_2678.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_31_3660.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_34_2570.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_38_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_20_3581.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_22_2678.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_28_2678.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_31_3660.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_34_2570.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_38_3684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394770000","1394770071","1394769962","1394770107","1394770142","1394770037"],"photo_ids_order":["1394769962","1394770000","1394770037","1394770071","1394770107","1394770142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21570baf7dee4ac445bdac402a82dfb9.jpg","text":"TemporaryFile(/tmp/multipartBody5551387048997142442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326804267,"filename":"image_16112025_19_29_22_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a69a1af28db0b4cbadb1948f27a281d.jpg","text":"TemporaryFile(/tmp/multipartBody4640480946906058416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326804267,"filename":"image_16112025_19_29_31_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e22f218cf227d33e7c5a8248475ff06.jpg","text":"TemporaryFile(/tmp/multipartBody648757534271920064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326804267,"filename":"image_16112025_19_29_20_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8eb22ca17a2af898ad8e1f1c1af5add4.jpg","text":"TemporaryFile(/tmp/multipartBody8607818590621013470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326804267,"filename":"image_16112025_19_29_34_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/649ac960c77f5e42e4513c25c4328335.jpg","text":"TemporaryFile(/tmp/multipartBody4751034169681554867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326804267,"filename":"image_16112025_19_29_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/11/16/0fd4b27ff937f6de756b25970d247e9c.jpg","text":"TemporaryFile(/tmp/multipartBody1422610046288771974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326804267,"filename":"image_16112025_19_29_28_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394770037","file1":"1394770000","file0":"1394769962","file4":"1394770107","file5":"1394770142","file3":"1394770071"},"map_files_photo_id_array":[{"photo_id":"1394770142","filename":"file5"},{"photo_id":"1394770037","filename":"file2"},{"photo_id":"1394770107","filename":"file4"},{"photo_id":"1394770000","filename":"file1"},{"photo_id":"1394769962","filename":"file0"},{"photo_id":"1394770071","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394770000":["hashtag1","hashtag2"]},{"1394770071":["hashtag1","hashtag2"]},{"1394769962":["hashtag1","hashtag2"]},{"1394770107":["hashtag1","hashtag2"]},{"1394770142":["hashtag1","hashtag2"]},{"1394770037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394770000, 1394770071, 1394769962, 1394770107, 1394770142, 1394770037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.093817710876465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 21:59:42.332085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_49_2758.jpg', '/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_58_2744.jpg', '/home/pi/Desktop/images/16112025/19/30/image_16112025_19_30_07_3011.jpg', '/home/pi/Desktop/images/16112025/19/30/image_16112025_19_30_11_3629.jpg', '/home/pi/Desktop/images/16112025/19/30/image_16112025_19_30_13_2673.jpg', '/home/pi/Desktop/images/16112025/19/30/image_16112025_19_30_17_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_49_2758.jpg
/home/pi/Desktop/images/16112025/19/29/image_16112025_19_29_58_2744.jpg
/home/pi/Desktop/images/16112025/19/30/image_16112025_19_30_07_3011.jpg
/home/pi/Desktop/images/16112025/19/30/image_16112025_19_30_11_3629.jpg
/home/pi/Desktop/images/16112025/19/30/image_16112025_19_30_13_2673.jpg
/home/pi/Desktop/images/16112025/19/30/image_16112025_19_30_17_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394770288","1394770438","1394770324","1394770403","1394770495","1394770363"],"photo_ids_order":["1394770288","1394770324","1394770363","1394770403","1394770438","1394770495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cac2f6d17d80b05597796fc725726ca.jpg","text":"TemporaryFile(/tmp/multipartBody9124592426324296582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326842957,"filename":"image_16112025_19_29_49_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f6ed871c2fb1a42b7f61b7986361d1e.jpg","text":"TemporaryFile(/tmp/multipartBody3779674361839456524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326842957,"filename":"image_16112025_19_30_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/edfa892da85e31ea067a0f98dd336f94.jpg","text":"TemporaryFile(/tmp/multipartBody237212242816094022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326842957,"filename":"image_16112025_19_29_58_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cae11dfae6f8b1daa12480cd3a6442b.jpg","text":"TemporaryFile(/tmp/multipartBody8670221106585478276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326842957,"filename":"image_16112025_19_30_11_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bac3adf6e4493a056fba51ffe0d4b932.jpg","text":"TemporaryFile(/tmp/multipartBody4016479360359546002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326842957,"filename":"image_16112025_19_30_17_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23a187af05dac0c0f37ec7e7936df252.jpg","text":"TemporaryFile(/tmp/multipartBody4076576892295051647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326842957,"filename":"image_16112025_19_30_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394770363","file1":"1394770324","file0":"1394770288","file4":"1394770438","file5":"1394770495","file3":"1394770403"},"map_files_photo_id_array":[{"photo_id":"1394770495","filename":"file5"},{"photo_id":"1394770363","filename":"file2"},{"photo_id":"1394770438","filename":"file4"},{"photo_id":"1394770324","filename":"file1"},{"photo_id":"1394770288","filename":"file0"},{"photo_id":"1394770403","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394770288":["hashtag1","hashtag2"]},{"1394770438":["hashtag1","hashtag2"]},{"1394770324":["hashtag1","hashtag2"]},{"1394770403":["hashtag1","hashtag2"]},{"1394770495":["hashtag1","hashtag2"]},{"1394770363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394770288, 1394770438, 1394770324, 1394770403, 1394770495, 1394770363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.147063970565796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:00:22.603079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_10_3820.jpg', '/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_13_2751.jpg', '/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_36_2676.jpg', '/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_40_3554.jpg', '/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_43_2629.jpg', '/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_45_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_10_3820.jpg
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_13_2751.jpg
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_36_2676.jpg
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_40_3554.jpg
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_43_2629.jpg
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_45_2614.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":["1394770876","1394770962","1394770988","1394770922","1394770987","1394770789"],"photo_ids_order":["1394770789","1394770876","1394770922","1394770962","1394770987","1394770988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e827dbd7876801c9c21e14fd966a6305.jpg","text":"TemporaryFile(/tmp/multipartBody7083461909375985192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326883259,"filename":"image_16112025_19_31_13_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cd2020e4cb5c8fdf108f23f28037912.jpg","text":"TemporaryFile(/tmp/multipartBody2227307273647605157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326883259,"filename":"image_16112025_19_31_40_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e72386992b84e3e1c595570f857e21f2.jpg","text":"TemporaryFile(/tmp/multipartBody8331314089225320649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326883259,"filename":"image_16112025_19_31_45_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d9ff5f61641bbea18c6cb7206116895.jpg","text":"TemporaryFile(/tmp/multipartBody3945805344863270573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326883259,"filename":"image_16112025_19_31_36_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc7c60a2fb370b6200ebb88e7cfe431b.jpg","text":"TemporaryFile(/tmp/multipartBody8771520312421356570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326883259,"filename":"image_16112025_19_31_43_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/87786729de0d90f031f07e021f0fa4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2354397573409190603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326883259,"filename":"image_16112025_19_31_10_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394770922","file1":"1394770876","file0":"1394770789","file4":"1394770987","file5":"1394770988","file3":"1394770962"},"map_files_photo_id_array":[{"photo_id":"1394770988","filename":"file5"},{"photo_id":"1394770922","filename":"file2"},{"photo_id":"1394770987","filename":"file4"},{"photo_id":"1394770876","filename":"file1"},{"photo_id":"1394770789","filename":"file0"},{"photo_id":"1394770962","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394770876":["hashtag1","hashtag2"]},{"1394770962":["hashtag1","hashtag2"]},{"1394770988":["hashtag1","hashtag2"]},{"1394770922":["hashtag1","hashtag2"]},{"1394770987":["hashtag1","hashtag2"]},{"1394770789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394770876, 1394770962, 1394770988, 1394770922, 1394770987, 1394770789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.353118658065796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:01:22.826161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_49_3719.jpg', '/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_51_2598.jpg', '/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_55_3586.jpg', '/home/pi/Desktop/images/16112025/19/32/image_16112025_19_32_04_3745.jpg', '/home/pi/Desktop/images/16112025/19/32/image_16112025_19_32_16_3726.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_49_3719.jpg
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_51_2598.jpg
/home/pi/Desktop/images/16112025/19/31/image_16112025_19_31_55_3586.jpg
/home/pi/Desktop/images/16112025/19/32/image_16112025_19_32_04_3745.jpg
/home/pi/Desktop/images/16112025/19/32/image_16112025_19_32_16_3726.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394771430","1394771285","1394771357","1394771138","1394771210","1394771398"],"photo_ids_order":["1394771138","1394771210","1394771285","1394771357","1394771398","1394771430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e0911203ef2af7141aea02397a093aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5911196758641327866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326943518,"filename":"image_16112025_19_33_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e04ece9f6657d350d3ef61842ae4a032.jpg","text":"TemporaryFile(/tmp/multipartBody5126717202800432860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326943518,"filename":"image_16112025_19_31_55_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a73876951541c6d34f828f886bb613e.jpg","text":"TemporaryFile(/tmp/multipartBody4338128394053250782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326943518,"filename":"image_16112025_19_32_04_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9c99f0e9b5f1bc7f4964035b82cb43e.jpg","text":"TemporaryFile(/tmp/multipartBody6346619923796270859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326943518,"filename":"image_16112025_19_31_49_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/081c9bb29f7590c1d881732a58d2f182.jpg","text":"TemporaryFile(/tmp/multipartBody689020089716079719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326943518,"filename":"image_16112025_19_31_51_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8c6ad373a65bca7502b25ecc693aba03.jpg","text":"TemporaryFile(/tmp/multipartBody5235705262735639200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326943518,"filename":"image_16112025_19_32_16_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394771285","file1":"1394771210","file0":"1394771138","file4":"1394771398","file5":"1394771430","file3":"1394771357"},"map_files_photo_id_array":[{"photo_id":"1394771430","filename":"file5"},{"photo_id":"1394771285","filename":"file2"},{"photo_id":"1394771398","filename":"file4"},{"photo_id":"1394771210","filename":"file1"},{"photo_id":"1394771138","filename":"file0"},{"photo_id":"1394771357","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394771430":["hashtag1","hashtag2"]},{"1394771285":["hashtag1","hashtag2"]},{"1394771357":["hashtag1","hashtag2"]},{"1394771138":["hashtag1","hashtag2"]},{"1394771210":["hashtag1","hashtag2"]},{"1394771398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394771430, 1394771285, 1394771357, 1394771138, 1394771210, 1394771398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.533713817596436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:02:02.544362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_10_3647.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_13_2616.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_17_3679.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_22_2584.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_25_2642.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_28_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_10_3647.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_13_2616.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_17_3679.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_22_2584.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_25_2642.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_28_3639.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":["1394771500","1394771499","1394771513","1394771599","1394771501","1394771551"],"photo_ids_order":["1394771499","1394771500","1394771501","1394771513","1394771551","1394771599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da08cb0203b087ae7395a69ccae75bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8611675399699897385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326983282,"filename":"image_16112025_19_33_13_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/237e23223d8b3249d5273b048ed302ff.jpg","text":"TemporaryFile(/tmp/multipartBody308390120509438631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326983282,"filename":"image_16112025_19_33_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/11/16/b189513ab7108e5e3138ff957643e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody2368529114686967267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326983282,"filename":"image_16112025_19_33_22_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2319891406ea1ebd6c17498b91376a17.jpg","text":"TemporaryFile(/tmp/multipartBody3024580070195278456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326983282,"filename":"image_16112025_19_33_28_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f805da54c30bcbfb7e1f61bfc70d1d6c.jpg","text":"TemporaryFile(/tmp/multipartBody5800404406284213969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326983282,"filename":"image_16112025_19_33_17_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6579a1c39f208a6f1ff704c9683e8c80.jpg","text":"TemporaryFile(/tmp/multipartBody9066570066537925319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763326983282,"filename":"image_16112025_19_33_25_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394771501","file1":"1394771500","file0":"1394771499","file4":"1394771551","file5":"1394771599","file3":"1394771513"},"map_files_photo_id_array":[{"photo_id":"1394771599","filename":"file5"},{"photo_id":"1394771501","filename":"file2"},{"photo_id":"1394771551","filename":"file4"},{"photo_id":"1394771500","filename":"file1"},{"photo_id":"1394771499","filename":"file0"},{"photo_id":"1394771513","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394771500":["hashtag1","hashtag2"]},{"1394771499":["hashtag1","hashtag2"]},{"1394771513":["hashtag1","hashtag2"]},{"1394771599":["hashtag1","hashtag2"]},{"1394771501":["hashtag1","hashtag2"]},{"1394771551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394771500, 1394771499, 1394771513, 1394771599, 1394771501, 1394771551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.694326400756836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:03:02.929143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_31_2525.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_35_3712.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_37_2664.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_40_2763.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_43_2729.jpg', '/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_52_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_31_2525.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_35_3712.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_37_2664.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_40_2763.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_43_2729.jpg
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_52_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394772362","1394772464","1394772335","1394772364","1394772399","1394772363"],"photo_ids_order":["1394772335","1394772362","1394772363","1394772364","1394772399","1394772464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22197fc25519fbc627e963bc49fac9d1.jpg","text":"TemporaryFile(/tmp/multipartBody3494830195010739919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327043638,"filename":"image_16112025_19_33_35_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b52ba44d5f4507a4e832168b0afce0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7187192184047228701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327043638,"filename":"image_16112025_19_33_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/11/16/6a24abee610e7ffc0cec36fa575389c8.jpg","text":"TemporaryFile(/tmp/multipartBody5270743323029704136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327043638,"filename":"image_16112025_19_33_31_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be14d758f80ac765e9cb185620537d15.jpg","text":"TemporaryFile(/tmp/multipartBody1929900467915955298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327043638,"filename":"image_16112025_19_33_40_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61c6879a03db256c23d6cefe371e0d63.jpg","text":"TemporaryFile(/tmp/multipartBody2875453137821252542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327043638,"filename":"image_16112025_19_33_43_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd7c1ba3b0d187ff5115d1a4f08f26f2.jpg","text":"TemporaryFile(/tmp/multipartBody6358450903428721054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327043638,"filename":"image_16112025_19_33_37_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394772363","file1":"1394772362","file0":"1394772335","file4":"1394772399","file5":"1394772464","file3":"1394772364"},"map_files_photo_id_array":[{"photo_id":"1394772464","filename":"file5"},{"photo_id":"1394772363","filename":"file2"},{"photo_id":"1394772399","filename":"file4"},{"photo_id":"1394772362","filename":"file1"},{"photo_id":"1394772335","filename":"file0"},{"photo_id":"1394772364","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394772362":["hashtag1","hashtag2"]},{"1394772464":["hashtag1","hashtag2"]},{"1394772335":["hashtag1","hashtag2"]},{"1394772364":["hashtag1","hashtag2"]},{"1394772399":["hashtag1","hashtag2"]},{"1394772363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394772362, 1394772464, 1394772335, 1394772364, 1394772399, 1394772363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66941428184509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:03:42.246470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_55_3632.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_13_2678.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_17_3736.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_19_2765.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_22_2622.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_28_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/33/image_16112025_19_33_55_3632.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_13_2678.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_17_3736.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_19_2765.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_22_2622.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_28_3785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394772513","1394772516","1394772509","1394772514","1394772511","1394772508"],"photo_ids_order":["1394772508","1394772509","1394772511","1394772513","1394772514","1394772516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1754381eef5388b3dd1e322be000fc94.jpg","text":"TemporaryFile(/tmp/multipartBody6731462640544650727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327082938,"filename":"image_16112025_19_34_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2aa054c5f38a6c197584b6a24da68b34.jpg","text":"TemporaryFile(/tmp/multipartBody3913600249216441931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327082938,"filename":"image_16112025_19_34_28_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e53e9281e5130acdd9aa5d25dd8516f.jpg","text":"TemporaryFile(/tmp/multipartBody7158237250281031312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327082938,"filename":"image_16112025_19_34_13_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12b784853831f95568d2a9aaf53a4539.jpg","text":"TemporaryFile(/tmp/multipartBody8445316623194896237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327082938,"filename":"image_16112025_19_34_22_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6a398f9e45387cb61d9dff9d8e2ca81.jpg","text":"TemporaryFile(/tmp/multipartBody7284179024732534558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327082938,"filename":"image_16112025_19_34_17_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4520889f8ad4ec546674d397406b2d84.jpg","text":"TemporaryFile(/tmp/multipartBody1169462276657613542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327082938,"filename":"image_16112025_19_33_55_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394772511","file1":"1394772509","file0":"1394772508","file4":"1394772514","file5":"1394772516","file3":"1394772513"},"map_files_photo_id_array":[{"photo_id":"1394772516","filename":"file5"},{"photo_id":"1394772511","filename":"file2"},{"photo_id":"1394772514","filename":"file4"},{"photo_id":"1394772509","filename":"file1"},{"photo_id":"1394772508","filename":"file0"},{"photo_id":"1394772513","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394772513":["hashtag1","hashtag2"]},{"1394772516":["hashtag1","hashtag2"]},{"1394772509":["hashtag1","hashtag2"]},{"1394772514":["hashtag1","hashtag2"]},{"1394772511":["hashtag1","hashtag2"]},{"1394772508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394772513, 1394772516, 1394772509, 1394772514, 1394772511, 1394772508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.233022689819336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:04:22.893268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_31_2744.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_43_2947.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_46_2687.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_49_3648.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_52_2751.jpg', '/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_55_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_31_2744.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_43_2947.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_46_2687.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_49_3648.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_52_2751.jpg
/home/pi/Desktop/images/16112025/19/34/image_16112025_19_34_55_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394772534","1394772528","1394772530","1394772532","1394772523","1394772526"],"photo_ids_order":["1394772523","1394772526","1394772528","1394772530","1394772532","1394772534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2626f1c5b5f8c9132706ecad4e395ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2518606111265827767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327123550,"filename":"image_16112025_19_34_55_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0e6db78a8a49e01051d82f2941e0097b.jpg","text":"TemporaryFile(/tmp/multipartBody4305546327598742452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327123550,"filename":"image_16112025_19_34_46_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b826fc0df2090b4bf69cbae0af652a38.jpg","text":"TemporaryFile(/tmp/multipartBody9104810180039299925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327123550,"filename":"image_16112025_19_34_49_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cf2847de7d008d20b69e1cd02eb5255.jpg","text":"TemporaryFile(/tmp/multipartBody756318206874285520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327123550,"filename":"image_16112025_19_34_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/11/16/93e03fe4646ef2773e3268c07ddb1f9c.jpg","text":"TemporaryFile(/tmp/multipartBody203086815702627318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327123550,"filename":"image_16112025_19_34_31_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85d2919fbd09b6fe83f5f5f212b8f7af.jpg","text":"TemporaryFile(/tmp/multipartBody1537573851800141760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327123550,"filename":"image_16112025_19_34_43_2947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394772528","file1":"1394772526","file0":"1394772523","file4":"1394772532","file5":"1394772534","file3":"1394772530"},"map_files_photo_id_array":[{"photo_id":"1394772534","filename":"file5"},{"photo_id":"1394772528","filename":"file2"},{"photo_id":"1394772532","filename":"file4"},{"photo_id":"1394772526","filename":"file1"},{"photo_id":"1394772523","filename":"file0"},{"photo_id":"1394772530","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394772534":["hashtag1","hashtag2"]},{"1394772528":["hashtag1","hashtag2"]},{"1394772530":["hashtag1","hashtag2"]},{"1394772532":["hashtag1","hashtag2"]},{"1394772523":["hashtag1","hashtag2"]},{"1394772526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394772534, 1394772528, 1394772530, 1394772532, 1394772523, 1394772526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69253969192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:05:02.675835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/35/image_16112025_19_35_01_2511.jpg', '/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_47_3675.jpg', '/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_49_2686.jpg', '/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_52_2773.jpg', '/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_56_3623.jpg', '/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_58_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/35/image_16112025_19_35_01_2511.jpg
/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_47_3675.jpg
/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_49_2686.jpg
/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_52_2773.jpg
/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_56_3623.jpg
/home/pi/Desktop/images/16112025/19/36/image_16112025_19_36_58_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":["1394772564","1394772600","1394772638","1394772713","1394772676","1394772535"],"photo_ids_order":["1394772535","1394772564","1394772600","1394772638","1394772676","1394772713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1be987439578255198d53dcf84ebdcb.jpg","text":"TemporaryFile(/tmp/multipartBody7215538434639818786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327163375,"filename":"image_16112025_19_36_47_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30f345ae2a7a8538c699a32e3a175c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2353842623607528435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327163375,"filename":"image_16112025_19_36_49_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e4c01a7493fb6ca56413f445778bb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5157444722751317116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327163375,"filename":"image_16112025_19_36_52_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad6da4004aa7e34cc563399cbd1cd839.jpg","text":"TemporaryFile(/tmp/multipartBody6509252387882694808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327163375,"filename":"image_16112025_19_36_58_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/802726c31e3c2346409d0a6bd069d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody5670233251832318789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327163375,"filename":"image_16112025_19_36_56_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/67bd8a4b7d872f3775d813d6aae679e1.jpg","text":"TemporaryFile(/tmp/multipartBody6518548966350927045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327163375,"filename":"image_16112025_19_35_01_2511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394772600","file1":"1394772564","file0":"1394772535","file4":"1394772676","file5":"1394772713","file3":"1394772638"},"map_files_photo_id_array":[{"photo_id":"1394772713","filename":"file5"},{"photo_id":"1394772600","filename":"file2"},{"photo_id":"1394772676","filename":"file4"},{"photo_id":"1394772564","filename":"file1"},{"photo_id":"1394772535","filename":"file0"},{"photo_id":"1394772638","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394772564":["hashtag1","hashtag2"]},{"1394772600":["hashtag1","hashtag2"]},{"1394772638":["hashtag1","hashtag2"]},{"1394772713":["hashtag1","hashtag2"]},{"1394772676":["hashtag1","hashtag2"]},{"1394772535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394772564, 1394772600, 1394772638, 1394772713, 1394772676, 1394772535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.651190519332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:06:02.777812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_01_2694.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_04_2765.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_10_2810.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_16_3578.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_19_2636.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_22_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_01_2694.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_04_2765.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_10_2810.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_16_3578.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_19_2636.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_22_2846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773211","1394773171","1394773180","1394773249","1394773150","1394773086"],"photo_ids_order":["1394773086","1394773150","1394773171","1394773180","1394773211","1394773249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7914d3cf8655d75de7a44cc8bfb3066.jpg","text":"TemporaryFile(/tmp/multipartBody3175995136411629705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327223469,"filename":"image_16112025_19_37_19_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b4bfb253eb818314dc49e19b3694f51.jpg","text":"TemporaryFile(/tmp/multipartBody4907473266265321664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327223469,"filename":"image_16112025_19_37_10_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/665683720175aef1749cfc457a4141ee.jpg","text":"TemporaryFile(/tmp/multipartBody5407591643896419715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327223469,"filename":"image_16112025_19_37_16_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1aebab0fe74a9734664ac0aff29156ba.jpg","text":"TemporaryFile(/tmp/multipartBody1180347985290645178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327223469,"filename":"image_16112025_19_37_22_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38083474a005e427e0c727ffa62de435.jpg","text":"TemporaryFile(/tmp/multipartBody778194185853399242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327223469,"filename":"image_16112025_19_37_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/11/16/97d3b8c290ec3e9cf553b1d2895fef44.jpg","text":"TemporaryFile(/tmp/multipartBody7613978450383878536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327223469,"filename":"image_16112025_19_37_01_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773171","file1":"1394773150","file0":"1394773086","file4":"1394773211","file5":"1394773249","file3":"1394773180"},"map_files_photo_id_array":[{"photo_id":"1394773249","filename":"file5"},{"photo_id":"1394773171","filename":"file2"},{"photo_id":"1394773211","filename":"file4"},{"photo_id":"1394773150","filename":"file1"},{"photo_id":"1394773086","filename":"file0"},{"photo_id":"1394773180","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773211":["hashtag1","hashtag2"]},{"1394773171":["hashtag1","hashtag2"]},{"1394773180":["hashtag1","hashtag2"]},{"1394773249":["hashtag1","hashtag2"]},{"1394773150":["hashtag1","hashtag2"]},{"1394773086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773211, 1394773171, 1394773180, 1394773249, 1394773150, 1394773086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.768736600875854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:06:42.200319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_31_2661.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_34_2626.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_37_3532.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_49_2686.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_52_3536.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_55_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_31_2661.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_34_2626.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_37_3532.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_49_2686.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_52_3536.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_55_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773376","1394773375","1394773378","1394773351","1394773360","1394773377"],"photo_ids_order":["1394773351","1394773360","1394773375","1394773376","1394773377","1394773378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3c52788cedac8cfbfd4cdcd9b85f319.jpg","text":"TemporaryFile(/tmp/multipartBody4248788649494209225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327262827,"filename":"image_16112025_19_37_49_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57d82cd435c408b20ef319113b3db419.jpg","text":"TemporaryFile(/tmp/multipartBody339011780345526166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327262827,"filename":"image_16112025_19_37_37_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a4cf3195338cbf3b005544f1252fc101.jpg","text":"TemporaryFile(/tmp/multipartBody3306427682548989195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327262827,"filename":"image_16112025_19_37_55_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48613129b7634fd5d28cda1b05d1365b.jpg","text":"TemporaryFile(/tmp/multipartBody3397338788792411498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327262827,"filename":"image_16112025_19_37_31_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f3c92c40c979c2af933aaf5b8011f01.jpg","text":"TemporaryFile(/tmp/multipartBody9103432400454583080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327262827,"filename":"image_16112025_19_37_34_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2452d6e9fe287fd97026c9d6038f16fb.jpg","text":"TemporaryFile(/tmp/multipartBody71345431644668897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327262827,"filename":"image_16112025_19_37_52_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773375","file1":"1394773360","file0":"1394773351","file4":"1394773377","file5":"1394773378","file3":"1394773376"},"map_files_photo_id_array":[{"photo_id":"1394773378","filename":"file5"},{"photo_id":"1394773375","filename":"file2"},{"photo_id":"1394773377","filename":"file4"},{"photo_id":"1394773360","filename":"file1"},{"photo_id":"1394773351","filename":"file0"},{"photo_id":"1394773376","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773376":["hashtag1","hashtag2"]},{"1394773375":["hashtag1","hashtag2"]},{"1394773378":["hashtag1","hashtag2"]},{"1394773351":["hashtag1","hashtag2"]},{"1394773360":["hashtag1","hashtag2"]},{"1394773377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773376, 1394773375, 1394773378, 1394773351, 1394773360, 1394773377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26479911804199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:07:22.456164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_58_2750.jpg', '/home/pi/Desktop/images/16112025/19/37/image_16112025_19_38_01_3652.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_04_2705.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_13_2608.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_16_2660.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_19_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_37_58_2750.jpg
/home/pi/Desktop/images/16112025/19/37/image_16112025_19_38_01_3652.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_04_2705.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_13_2608.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_16_2660.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_19_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773385","1394773390","1394773387","1394773392","1394773389","1394773383"],"photo_ids_order":["1394773383","1394773385","1394773387","1394773389","1394773390","1394773392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/376657cd2eb0d5da298507782a33a13d.jpg","text":"TemporaryFile(/tmp/multipartBody4350910807507358553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327303116,"filename":"image_16112025_19_38_01_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eba70332b961a6d907aef11705d05470.jpg","text":"TemporaryFile(/tmp/multipartBody5838819667099634651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327303116,"filename":"image_16112025_19_38_16_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/750fbbbdf58869099ca75a0f43ab5f46.jpg","text":"TemporaryFile(/tmp/multipartBody2567482440486903635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327303116,"filename":"image_16112025_19_38_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/11/16/f00766a061b4c4fdab05062cd02ac129.jpg","text":"TemporaryFile(/tmp/multipartBody8437770784448432158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327303116,"filename":"image_16112025_19_38_19_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71ed663af90119becf5274309fdff10a.jpg","text":"TemporaryFile(/tmp/multipartBody8945721551405714524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327303116,"filename":"image_16112025_19_38_13_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2030085e6e660f4b9301ba6ca1674d48.jpg","text":"TemporaryFile(/tmp/multipartBody4272289278808300494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327303116,"filename":"image_16112025_19_37_58_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773387","file1":"1394773385","file0":"1394773383","file4":"1394773390","file5":"1394773392","file3":"1394773389"},"map_files_photo_id_array":[{"photo_id":"1394773392","filename":"file5"},{"photo_id":"1394773387","filename":"file2"},{"photo_id":"1394773390","filename":"file4"},{"photo_id":"1394773385","filename":"file1"},{"photo_id":"1394773383","filename":"file0"},{"photo_id":"1394773389","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773385":["hashtag1","hashtag2"]},{"1394773390":["hashtag1","hashtag2"]},{"1394773387":["hashtag1","hashtag2"]},{"1394773392":["hashtag1","hashtag2"]},{"1394773389":["hashtag1","hashtag2"]},{"1394773383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773385, 1394773390, 1394773387, 1394773392, 1394773389, 1394773383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.165576219558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:08:03.157790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_22_2523.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_25_3532.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_34_3611.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_40_2695.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_43_3631.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_46_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_22_2523.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_25_3532.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_34_3611.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_40_2695.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_43_3631.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_46_2667.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":["1394773407","1394773394","1394773396","1394773399","1394773405","1394773404"],"photo_ids_order":["1394773394","1394773396","1394773399","1394773404","1394773405","1394773407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/056dfed425806b6ef0e0191a7b0286ac.jpg","text":"TemporaryFile(/tmp/multipartBody3395033420557881373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327343846,"filename":"image_16112025_19_38_46_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6c041dffef8f394ce0c27b74815dd6a.jpg","text":"TemporaryFile(/tmp/multipartBody5848647185688250468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327343846,"filename":"image_16112025_19_38_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/11/16/361468a3a8415bd8a30cb51d4af09e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2261986690180582300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327343846,"filename":"image_16112025_19_38_25_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d472e22e5131bb923bc552a29c2a0d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1313458408282591353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327343846,"filename":"image_16112025_19_38_34_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dc10e5f663b49a959a282c11ab25528.jpg","text":"TemporaryFile(/tmp/multipartBody3982746260677533745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327343846,"filename":"image_16112025_19_38_43_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72afbf156a575bef9328a2c02cd1cd54.jpg","text":"TemporaryFile(/tmp/multipartBody8673147450029826212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327343846,"filename":"image_16112025_19_38_40_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773399","file1":"1394773396","file0":"1394773394","file4":"1394773405","file5":"1394773407","file3":"1394773404"},"map_files_photo_id_array":[{"photo_id":"1394773407","filename":"file5"},{"photo_id":"1394773399","filename":"file2"},{"photo_id":"1394773405","filename":"file4"},{"photo_id":"1394773396","filename":"file1"},{"photo_id":"1394773394","filename":"file0"},{"photo_id":"1394773404","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773407":["hashtag1","hashtag2"]},{"1394773394":["hashtag1","hashtag2"]},{"1394773396":["hashtag1","hashtag2"]},{"1394773399":["hashtag1","hashtag2"]},{"1394773405":["hashtag1","hashtag2"]},{"1394773404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773407, 1394773394, 1394773396, 1394773399, 1394773405, 1394773404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.8039824962616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:09:02.763571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_49_2572.jpg', '/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_57_2650.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_04_2822.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_07_2644.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_10_3655.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_28_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_49_2572.jpg
/home/pi/Desktop/images/16112025/19/38/image_16112025_19_38_57_2650.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_04_2822.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_07_2644.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_10_3655.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_28_2881.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":["1394773413","1394773416","1394773412","1394773420","1394773414","1394773411"],"photo_ids_order":["1394773411","1394773412","1394773413","1394773414","1394773416","1394773420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f38da30e742a5e745717335121ca4cd0.jpg","text":"TemporaryFile(/tmp/multipartBody5913826281679022892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327403595,"filename":"image_16112025_19_39_04_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7169404181d39d4acef3489fe40ec47f.jpg","text":"TemporaryFile(/tmp/multipartBody4593532652198732345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327403595,"filename":"image_16112025_19_39_10_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1e641fad64c8b05b4a1988993798cae9.jpg","text":"TemporaryFile(/tmp/multipartBody5041916972269245229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327403595,"filename":"image_16112025_19_38_57_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a348584e09374097bdb41d80eafd79f.jpg","text":"TemporaryFile(/tmp/multipartBody5170334647488652836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327403595,"filename":"image_16112025_19_39_28_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e44d8a04ff84803dbd90036144772202.jpg","text":"TemporaryFile(/tmp/multipartBody3182169834427442425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327403595,"filename":"image_16112025_19_39_07_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a6e05864807a2736d975acb3ca895778.jpg","text":"TemporaryFile(/tmp/multipartBody1186830267254147142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327403595,"filename":"image_16112025_19_38_49_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773413","file1":"1394773412","file0":"1394773411","file4":"1394773416","file5":"1394773420","file3":"1394773414"},"map_files_photo_id_array":[{"photo_id":"1394773420","filename":"file5"},{"photo_id":"1394773413","filename":"file2"},{"photo_id":"1394773416","filename":"file4"},{"photo_id":"1394773412","filename":"file1"},{"photo_id":"1394773411","filename":"file0"},{"photo_id":"1394773414","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773413":["hashtag1","hashtag2"]},{"1394773416":["hashtag1","hashtag2"]},{"1394773412":["hashtag1","hashtag2"]},{"1394773420":["hashtag1","hashtag2"]},{"1394773414":["hashtag1","hashtag2"]},{"1394773411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773413, 1394773416, 1394773412, 1394773420, 1394773414, 1394773411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.788267374038696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:10:02.714360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_31_3628.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_34_2680.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_37_2698.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_40_3654.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_43_2613.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_49_3497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_31_3628.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_34_2680.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_37_2698.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_40_3654.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_43_2613.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_49_3497.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773434","1394773428","1394773430","1394773438","1394773429","1394773431"],"photo_ids_order":["1394773428","1394773429","1394773430","1394773431","1394773434","1394773438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc9ed346ce88a6e29032c4115fad97a2.jpg","text":"TemporaryFile(/tmp/multipartBody381789714368760908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327463464,"filename":"image_16112025_19_39_43_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/425c1c3a6962522cf2a1f3dc5df22fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7764883346608065956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327463464,"filename":"image_16112025_19_39_31_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/369f36b55dd994d282b710e4ed2144c9.jpg","text":"TemporaryFile(/tmp/multipartBody7688859463757301620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327463464,"filename":"image_16112025_19_39_37_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c051052754589e1b2e098c4cc0b7de9c.jpg","text":"TemporaryFile(/tmp/multipartBody1129511460461164048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327463464,"filename":"image_16112025_19_39_49_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3e0bbfbd0e79dada44d2f6dc05dd3db.jpg","text":"TemporaryFile(/tmp/multipartBody802362169373694606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327463464,"filename":"image_16112025_19_39_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/11/16/8776f56c5d950efbfb4d5f0e13ba4956.jpg","text":"TemporaryFile(/tmp/multipartBody8405454366679525244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327463464,"filename":"image_16112025_19_39_40_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773430","file1":"1394773429","file0":"1394773428","file4":"1394773434","file5":"1394773438","file3":"1394773431"},"map_files_photo_id_array":[{"photo_id":"1394773438","filename":"file5"},{"photo_id":"1394773430","filename":"file2"},{"photo_id":"1394773434","filename":"file4"},{"photo_id":"1394773429","filename":"file1"},{"photo_id":"1394773428","filename":"file0"},{"photo_id":"1394773431","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773434":["hashtag1","hashtag2"]},{"1394773428":["hashtag1","hashtag2"]},{"1394773430":["hashtag1","hashtag2"]},{"1394773438":["hashtag1","hashtag2"]},{"1394773429":["hashtag1","hashtag2"]},{"1394773431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773434, 1394773428, 1394773430, 1394773438, 1394773429, 1394773431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37180852890015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:10:42.151081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_52_2858.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_55_2724.jpg', '/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_58_3672.jpg', '/home/pi/Desktop/images/16112025/19/40/image_16112025_19_40_01_2668.jpg', '/home/pi/Desktop/images/16112025/19/40/image_16112025_19_40_03_2621.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_10_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_52_2858.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_55_2724.jpg
/home/pi/Desktop/images/16112025/19/39/image_16112025_19_39_58_3672.jpg
/home/pi/Desktop/images/16112025/19/40/image_16112025_19_40_01_2668.jpg
/home/pi/Desktop/images/16112025/19/40/image_16112025_19_40_03_2621.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_10_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773442","1394773445","1394773444","1394773447","1394773440","1394773443"],"photo_ids_order":["1394773440","1394773442","1394773443","1394773444","1394773445","1394773447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e23f2b351fad95a35c263a9aa5b72927.jpg","text":"TemporaryFile(/tmp/multipartBody570923255527545157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327502776,"filename":"image_16112025_19_39_55_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85f81605891b034f9d76c576b2318e6d.jpg","text":"TemporaryFile(/tmp/multipartBody13562292857051513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327502776,"filename":"image_16112025_19_40_03_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a4acc38776c6aa0889d55fa054c3409.jpg","text":"TemporaryFile(/tmp/multipartBody5590441740321021436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327502776,"filename":"image_16112025_19_40_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/11/16/7f049b5bf7352bf11794fe4c5d280cd9.jpg","text":"TemporaryFile(/tmp/multipartBody1670482861511240305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327502776,"filename":"image_16112025_19_41_10_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df0bb8ec08b630ac2eae6c840c5a903f.jpg","text":"TemporaryFile(/tmp/multipartBody8995931662411508343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327502776,"filename":"image_16112025_19_39_52_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/53ce027a2fcc745a827f8f16401e44e1.jpg","text":"TemporaryFile(/tmp/multipartBody7779257588839984944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327502776,"filename":"image_16112025_19_39_58_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773443","file1":"1394773442","file0":"1394773440","file4":"1394773445","file5":"1394773447","file3":"1394773444"},"map_files_photo_id_array":[{"photo_id":"1394773447","filename":"file5"},{"photo_id":"1394773443","filename":"file2"},{"photo_id":"1394773445","filename":"file4"},{"photo_id":"1394773442","filename":"file1"},{"photo_id":"1394773440","filename":"file0"},{"photo_id":"1394773444","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773442":["hashtag1","hashtag2"]},{"1394773445":["hashtag1","hashtag2"]},{"1394773444":["hashtag1","hashtag2"]},{"1394773447":["hashtag1","hashtag2"]},{"1394773440":["hashtag1","hashtag2"]},{"1394773443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773442, 1394773445, 1394773444, 1394773447, 1394773440, 1394773443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79479742050171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:11:25.730204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_19_2598.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_22_2645.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_25_3581.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_28_2614.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_34_2701.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_37_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_19_2598.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_22_2645.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_25_3581.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_28_2614.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_34_2701.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_37_2663.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":["1394773466","1394773463","1394773462","1394773465","1394773461","1394773464"],"photo_ids_order":["1394773461","1394773462","1394773463","1394773464","1394773465","1394773466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6d2c15b57adeabaff4341c972260c18.jpg","text":"TemporaryFile(/tmp/multipartBody7660703534939361080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327546359,"filename":"image_16112025_19_41_37_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a92cc542dbbccc89bcbf8d4356e1af13.jpg","text":"TemporaryFile(/tmp/multipartBody7117135120400131194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327546359,"filename":"image_16112025_19_41_25_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f43cf9d0f19e9cce2d7d9626b2119140.jpg","text":"TemporaryFile(/tmp/multipartBody6541512360844863843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327546359,"filename":"image_16112025_19_41_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/11/16/4ec33f55c0e45861f52616f09f94e215.jpg","text":"TemporaryFile(/tmp/multipartBody5848454862715507424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327546359,"filename":"image_16112025_19_41_34_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4eb0c2bf3b59193d02e8abbea61ac4b9.jpg","text":"TemporaryFile(/tmp/multipartBody5590531448313466272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327546359,"filename":"image_16112025_19_41_19_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af5d2caf2d6d1b81ac1339adab2f45ef.jpg","text":"TemporaryFile(/tmp/multipartBody3088378731365712134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327546359,"filename":"image_16112025_19_41_28_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773463","file1":"1394773462","file0":"1394773461","file4":"1394773465","file5":"1394773466","file3":"1394773464"},"map_files_photo_id_array":[{"photo_id":"1394773466","filename":"file5"},{"photo_id":"1394773463","filename":"file2"},{"photo_id":"1394773465","filename":"file4"},{"photo_id":"1394773462","filename":"file1"},{"photo_id":"1394773461","filename":"file0"},{"photo_id":"1394773464","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773466":["hashtag1","hashtag2"]},{"1394773463":["hashtag1","hashtag2"]},{"1394773462":["hashtag1","hashtag2"]},{"1394773465":["hashtag1","hashtag2"]},{"1394773461":["hashtag1","hashtag2"]},{"1394773464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773466, 1394773463, 1394773462, 1394773465, 1394773461, 1394773464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54091930389404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:12:21.948858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_43_3711.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_46_2715.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_49_2543.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_55_2717.jpg', '/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_59_3662.jpg', '/home/pi/Desktop/images/16112025/19/42/image_16112025_19_42_10_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_43_3711.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_46_2715.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_49_2543.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_55_2717.jpg
/home/pi/Desktop/images/16112025/19/41/image_16112025_19_41_59_3662.jpg
/home/pi/Desktop/images/16112025/19/42/image_16112025_19_42_10_2744.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":["1394773472","1394773481","1394773475","1394773480","1394773477","1394773479"],"photo_ids_order":["1394773472","1394773475","1394773477","1394773479","1394773480","1394773481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0387ec4a5c46d582d0f43ec57d4ca93a.jpg","text":"TemporaryFile(/tmp/multipartBody5289038725205276748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327602575,"filename":"image_16112025_19_41_43_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bba3f837ef794a5e96a8a7bf6f366362.jpg","text":"TemporaryFile(/tmp/multipartBody2549308720239064536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327602575,"filename":"image_16112025_19_42_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/11/16/81fcd76a5c4451eb87719c15edfe55c8.jpg","text":"TemporaryFile(/tmp/multipartBody453270733219643411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327602575,"filename":"image_16112025_19_41_46_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5eebe975f9db998b6f3fe29990fb4e66.jpg","text":"TemporaryFile(/tmp/multipartBody8982587334415953397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327602575,"filename":"image_16112025_19_41_59_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/15fc0802c5da30368f38b363299ba22b.jpg","text":"TemporaryFile(/tmp/multipartBody4428804493852130882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327602575,"filename":"image_16112025_19_41_49_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/afced94b3fe3b997792250e6f54c83e4.jpg","text":"TemporaryFile(/tmp/multipartBody7604417932718567870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327602575,"filename":"image_16112025_19_41_55_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773477","file1":"1394773475","file0":"1394773472","file4":"1394773480","file5":"1394773481","file3":"1394773479"},"map_files_photo_id_array":[{"photo_id":"1394773481","filename":"file5"},{"photo_id":"1394773477","filename":"file2"},{"photo_id":"1394773480","filename":"file4"},{"photo_id":"1394773475","filename":"file1"},{"photo_id":"1394773472","filename":"file0"},{"photo_id":"1394773479","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773472":["hashtag1","hashtag2"]},{"1394773481":["hashtag1","hashtag2"]},{"1394773475":["hashtag1","hashtag2"]},{"1394773480":["hashtag1","hashtag2"]},{"1394773477":["hashtag1","hashtag2"]},{"1394773479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773472, 1394773481, 1394773475, 1394773480, 1394773477, 1394773479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.68895888328552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:13:22.233690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/42/image_16112025_19_42_13_2754.jpg', '/home/pi/Desktop/images/16112025/19/42/image_16112025_19_42_16_2537.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_13_2836.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_18_2908.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_27_2561.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_31_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/42/image_16112025_19_42_13_2754.jpg
/home/pi/Desktop/images/16112025/19/42/image_16112025_19_42_16_2537.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_13_2836.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_18_2908.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_27_2561.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_31_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773496","1394773490","1394773498","1394773486","1394773501","1394773494"],"photo_ids_order":["1394773486","1394773490","1394773494","1394773496","1394773498","1394773501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b93db8fe90171ea370de2a5026c147b0.jpg","text":"TemporaryFile(/tmp/multipartBody8194725551655286723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327662857,"filename":"image_16112025_19_43_18_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0d936fa9068816f440b79ec78f14eac.jpg","text":"TemporaryFile(/tmp/multipartBody7637526751837782143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327662857,"filename":"image_16112025_19_42_16_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33a54dd16a18a37120f93f77c504ba1c.jpg","text":"TemporaryFile(/tmp/multipartBody2591450777855231270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327662857,"filename":"image_16112025_19_43_27_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/501d7fcd2381399bc6a87ba70f0de5b3.jpg","text":"TemporaryFile(/tmp/multipartBody1993052312813994858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327662857,"filename":"image_16112025_19_42_13_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/203a223bb4440773e597e84613ac2ea4.jpg","text":"TemporaryFile(/tmp/multipartBody1552241424234747120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327662857,"filename":"image_16112025_19_43_31_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/586d4457eca90bc48cc67293393d2598.jpg","text":"TemporaryFile(/tmp/multipartBody7561856545007414623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327662857,"filename":"image_16112025_19_43_13_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773494","file1":"1394773490","file0":"1394773486","file4":"1394773498","file5":"1394773501","file3":"1394773496"},"map_files_photo_id_array":[{"photo_id":"1394773501","filename":"file5"},{"photo_id":"1394773494","filename":"file2"},{"photo_id":"1394773498","filename":"file4"},{"photo_id":"1394773490","filename":"file1"},{"photo_id":"1394773486","filename":"file0"},{"photo_id":"1394773496","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773496":["hashtag1","hashtag2"]},{"1394773490":["hashtag1","hashtag2"]},{"1394773498":["hashtag1","hashtag2"]},{"1394773486":["hashtag1","hashtag2"]},{"1394773501":["hashtag1","hashtag2"]},{"1394773494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773496, 1394773490, 1394773498, 1394773486, 1394773501, 1394773494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63047385215759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:14:03.285687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_33_2566.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_37_3611.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_43_1738.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_45_2591.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_49_3596.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_54_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_33_2566.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_37_3611.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_43_1738.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_45_2591.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_49_3596.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_54_2533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773506","1394773508","1394773513","1394773510","1394773504","1394773503"],"photo_ids_order":["1394773503","1394773504","1394773506","1394773508","1394773510","1394773513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6ac08cd9308d3d373b368b903591e1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2310066773213882657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327704021,"filename":"image_16112025_19_43_43_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e73cb11d4b66f2d5085e1ad9db70a93.jpg","text":"TemporaryFile(/tmp/multipartBody2247027774249465292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327704021,"filename":"image_16112025_19_43_45_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69a2d62fa2dd31b797d965c91de15196.jpg","text":"TemporaryFile(/tmp/multipartBody8550892027537822619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327704021,"filename":"image_16112025_19_43_54_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5283d946d849be53ec9890b3526a39f.jpg","text":"TemporaryFile(/tmp/multipartBody1843935470756243826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327704021,"filename":"image_16112025_19_43_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/11/16/bc7122b12d147ba81a64121696ba8aa0.jpg","text":"TemporaryFile(/tmp/multipartBody241627759091795560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327704021,"filename":"image_16112025_19_43_37_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9031af84a0d5eee371ba9ec93f05913.jpg","text":"TemporaryFile(/tmp/multipartBody1313853062340452508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327704021,"filename":"image_16112025_19_43_33_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773506","file1":"1394773504","file0":"1394773503","file4":"1394773510","file5":"1394773513","file3":"1394773508"},"map_files_photo_id_array":[{"photo_id":"1394773513","filename":"file5"},{"photo_id":"1394773506","filename":"file2"},{"photo_id":"1394773510","filename":"file4"},{"photo_id":"1394773504","filename":"file1"},{"photo_id":"1394773503","filename":"file0"},{"photo_id":"1394773508","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773506":["hashtag1","hashtag2"]},{"1394773508":["hashtag1","hashtag2"]},{"1394773513":["hashtag1","hashtag2"]},{"1394773510":["hashtag1","hashtag2"]},{"1394773504":["hashtag1","hashtag2"]},{"1394773503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773506, 1394773508, 1394773513, 1394773510, 1394773504, 1394773503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68398928642273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:14:42.594505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_58_3677.jpg', '/home/pi/Desktop/images/16112025/19/43/image_16112025_19_44_00_2666.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_13_3629.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_15_2529.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_19_3491.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_21_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_43_58_3677.jpg
/home/pi/Desktop/images/16112025/19/43/image_16112025_19_44_00_2666.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_13_3629.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_15_2529.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_19_3491.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_21_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773520","1394773526","1394773519","1394773522","1394773521","1394773524"],"photo_ids_order":["1394773519","1394773520","1394773521","1394773522","1394773524","1394773526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/93ac725420a1e5902be5b340ad0c89db.jpg","text":"TemporaryFile(/tmp/multipartBody6319110840885554744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327743292,"filename":"image_16112025_19_44_00_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80f027090ce5dd12fd7e0b9bdd182a79.jpg","text":"TemporaryFile(/tmp/multipartBody6971852105828279513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327743292,"filename":"image_16112025_19_44_21_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac963c9557a72298e23be376fbfc9ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4491942237144795043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327743292,"filename":"image_16112025_19_43_58_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c81eed0d32352bebe89ebe4b759fd7f.jpg","text":"TemporaryFile(/tmp/multipartBody7961125727522280269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327743292,"filename":"image_16112025_19_44_15_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fae33f53cd514ed2054ce0c3b52c5bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5574080857013035884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327743292,"filename":"image_16112025_19_44_13_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a11b0e44f9952eefe6d2d9970c04a01f.jpg","text":"TemporaryFile(/tmp/multipartBody9106374112832236010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327743292,"filename":"image_16112025_19_44_19_3491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773521","file1":"1394773520","file0":"1394773519","file4":"1394773524","file5":"1394773526","file3":"1394773522"},"map_files_photo_id_array":[{"photo_id":"1394773526","filename":"file5"},{"photo_id":"1394773521","filename":"file2"},{"photo_id":"1394773524","filename":"file4"},{"photo_id":"1394773520","filename":"file1"},{"photo_id":"1394773519","filename":"file0"},{"photo_id":"1394773522","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773520":["hashtag1","hashtag2"]},{"1394773526":["hashtag1","hashtag2"]},{"1394773519":["hashtag1","hashtag2"]},{"1394773522":["hashtag1","hashtag2"]},{"1394773521":["hashtag1","hashtag2"]},{"1394773524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773520, 1394773526, 1394773519, 1394773522, 1394773521, 1394773524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06512427330017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:15:21.805999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_24_2680.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_31_2680.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_33_2671.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_36_2879.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_40_3667.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_45_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_24_2680.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_31_2680.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_33_2671.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_36_2879.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_40_3667.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_45_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773532","1394773529","1394773537","1394773534","1394773528","1394773530"],"photo_ids_order":["1394773528","1394773529","1394773530","1394773532","1394773534","1394773537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3b4eb537c1961d0a037c3a2d86060c6.jpg","text":"TemporaryFile(/tmp/multipartBody3854253818348117419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327782461,"filename":"image_16112025_19_44_36_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e37f4e0a9c1ad276ff06ec5457acea36.jpg","text":"TemporaryFile(/tmp/multipartBody8749889241223671482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327782461,"filename":"image_16112025_19_44_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/11/16/66e62bb8d09b217b36a3f7915d08446d.jpg","text":"TemporaryFile(/tmp/multipartBody5781258602291663735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327782461,"filename":"image_16112025_19_44_45_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95500447e822cbed09e3141d4de81ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4111952576105277303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327782461,"filename":"image_16112025_19_44_40_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36cb40671bca40cb7d1f5dc58608866d.jpg","text":"TemporaryFile(/tmp/multipartBody7997620382784001199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327782461,"filename":"image_16112025_19_44_24_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2851f0bec0db8c89c7718152210fa9a.jpg","text":"TemporaryFile(/tmp/multipartBody4319486584209436880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327782461,"filename":"image_16112025_19_44_33_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773530","file1":"1394773529","file0":"1394773528","file4":"1394773534","file5":"1394773537","file3":"1394773532"},"map_files_photo_id_array":[{"photo_id":"1394773537","filename":"file5"},{"photo_id":"1394773530","filename":"file2"},{"photo_id":"1394773534","filename":"file4"},{"photo_id":"1394773529","filename":"file1"},{"photo_id":"1394773528","filename":"file0"},{"photo_id":"1394773532","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773532":["hashtag1","hashtag2"]},{"1394773529":["hashtag1","hashtag2"]},{"1394773537":["hashtag1","hashtag2"]},{"1394773534":["hashtag1","hashtag2"]},{"1394773528":["hashtag1","hashtag2"]},{"1394773530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773532, 1394773529, 1394773537, 1394773534, 1394773528, 1394773530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.400728702545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:16:02.452686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_49_3694.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_51_2576.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_54_2658.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_58_3688.jpg', '/home/pi/Desktop/images/16112025/19/44/image_16112025_19_45_00_2631.jpg', '/home/pi/Desktop/images/16112025/19/45/image_16112025_19_45_03_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_49_3694.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_51_2576.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_54_2658.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_44_58_3688.jpg
/home/pi/Desktop/images/16112025/19/44/image_16112025_19_45_00_2631.jpg
/home/pi/Desktop/images/16112025/19/45/image_16112025_19_45_03_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773547","1394773541","1394773543","1394773540","1394773542","1394773545"],"photo_ids_order":["1394773540","1394773541","1394773542","1394773543","1394773545","1394773547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79cd997e59e91d619280dc989da04838.jpg","text":"TemporaryFile(/tmp/multipartBody3647598343537928498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327823157,"filename":"image_16112025_19_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/11/16/951c85d79b6ff096b9cb013477ed2017.jpg","text":"TemporaryFile(/tmp/multipartBody7565023040746129811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327823157,"filename":"image_16112025_19_44_51_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/76eec17e151333c9ab6899a8e0bdec14.jpg","text":"TemporaryFile(/tmp/multipartBody5536502203782482568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327823157,"filename":"image_16112025_19_44_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/11/16/3ec5fcd3ff1a1514746a83edeea236c0.jpg","text":"TemporaryFile(/tmp/multipartBody4064008073691914344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327823157,"filename":"image_16112025_19_44_49_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f43f5d6835d0b7f561754dc17130b91.jpg","text":"TemporaryFile(/tmp/multipartBody4537521809287855055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327823157,"filename":"image_16112025_19_44_54_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b85505b0575136cfc9973d1091ff4b2d.jpg","text":"TemporaryFile(/tmp/multipartBody6483812483280508760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327823157,"filename":"image_16112025_19_45_00_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773542","file1":"1394773541","file0":"1394773540","file4":"1394773545","file5":"1394773547","file3":"1394773543"},"map_files_photo_id_array":[{"photo_id":"1394773547","filename":"file5"},{"photo_id":"1394773542","filename":"file2"},{"photo_id":"1394773545","filename":"file4"},{"photo_id":"1394773541","filename":"file1"},{"photo_id":"1394773540","filename":"file0"},{"photo_id":"1394773543","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773547":["hashtag1","hashtag2"]},{"1394773541":["hashtag1","hashtag2"]},{"1394773543":["hashtag1","hashtag2"]},{"1394773540":["hashtag1","hashtag2"]},{"1394773542":["hashtag1","hashtag2"]},{"1394773545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773547, 1394773541, 1394773543, 1394773540, 1394773542, 1394773545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.099504470825195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:16:42.064510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/45/image_16112025_19_45_09_2646.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_07_3017.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_11_3834.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_14_2615.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_17_2620.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_23_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/45/image_16112025_19_45_09_2646.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_07_3017.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_11_3834.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_14_2615.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_17_2620.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_23_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773556","1394773555","1394773558","1394773552","1394773554","1394773557"],"photo_ids_order":["1394773552","1394773554","1394773555","1394773556","1394773557","1394773558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/11e62040d75878ae6b8db1870926c015.jpg","text":"TemporaryFile(/tmp/multipartBody8774878246858747572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327862725,"filename":"image_16112025_19_46_14_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a7c40f362264df73faff83c5580b739.jpg","text":"TemporaryFile(/tmp/multipartBody2207084752518024748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327862725,"filename":"image_16112025_19_46_11_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c791c01640c47532650b7250353ad90d.jpg","text":"TemporaryFile(/tmp/multipartBody6578474665287228661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327862725,"filename":"image_16112025_19_46_23_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ccaf0f6963387535951f46cec3b43da4.jpg","text":"TemporaryFile(/tmp/multipartBody7414478779207815815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327862725,"filename":"image_16112025_19_45_09_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9f89277c6e57b7926ebd6ffbdcc6c69.jpg","text":"TemporaryFile(/tmp/multipartBody6286366581735201448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327862725,"filename":"image_16112025_19_46_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd0ffcdb442fb9f7346e7182b7df4235.jpg","text":"TemporaryFile(/tmp/multipartBody7324035860634040131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327862725,"filename":"image_16112025_19_46_17_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773555","file1":"1394773554","file0":"1394773552","file4":"1394773557","file5":"1394773558","file3":"1394773556"},"map_files_photo_id_array":[{"photo_id":"1394773558","filename":"file5"},{"photo_id":"1394773555","filename":"file2"},{"photo_id":"1394773557","filename":"file4"},{"photo_id":"1394773554","filename":"file1"},{"photo_id":"1394773552","filename":"file0"},{"photo_id":"1394773556","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773556":["hashtag1","hashtag2"]},{"1394773555":["hashtag1","hashtag2"]},{"1394773558":["hashtag1","hashtag2"]},{"1394773552":["hashtag1","hashtag2"]},{"1394773554":["hashtag1","hashtag2"]},{"1394773557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773556, 1394773555, 1394773558, 1394773552, 1394773554, 1394773557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.742032289505005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:17:22.253413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_26_3654.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_34_2786.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_44_2710.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_47_2776.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_49_2662.jpg', '/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_56_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_26_3654.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_34_2786.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_44_2710.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_47_2776.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_49_2662.jpg
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_56_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773571","1394773574","1394773568","1394773564","1394773567","1394773569"],"photo_ids_order":["1394773564","1394773567","1394773568","1394773569","1394773571","1394773574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2398fa99fd94978ea92a9500278146d7.jpg","text":"TemporaryFile(/tmp/multipartBody4028086638960141174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327902901,"filename":"image_16112025_19_46_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/11/16/f9b8665f38202b53df9ba585afa67bf6.jpg","text":"TemporaryFile(/tmp/multipartBody3751616594773456472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327902901,"filename":"image_16112025_19_46_56_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/29865eb255375f01770a5e7c78a066f3.jpg","text":"TemporaryFile(/tmp/multipartBody8695994888722324681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327902901,"filename":"image_16112025_19_46_44_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/485749021f17020d4a0b2ce2ab057d83.jpg","text":"TemporaryFile(/tmp/multipartBody307812172276180526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327902901,"filename":"image_16112025_19_46_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/11/16/2e73e838593d0e21cbe305ee856d2582.jpg","text":"TemporaryFile(/tmp/multipartBody3740151440912768559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327902901,"filename":"image_16112025_19_46_34_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/36b36cce1df9fb4d7d41504d3898b0ac.jpg","text":"TemporaryFile(/tmp/multipartBody6318863951709007649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327902901,"filename":"image_16112025_19_46_47_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773568","file1":"1394773567","file0":"1394773564","file4":"1394773571","file5":"1394773574","file3":"1394773569"},"map_files_photo_id_array":[{"photo_id":"1394773574","filename":"file5"},{"photo_id":"1394773568","filename":"file2"},{"photo_id":"1394773571","filename":"file4"},{"photo_id":"1394773567","filename":"file1"},{"photo_id":"1394773564","filename":"file0"},{"photo_id":"1394773569","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773571":["hashtag1","hashtag2"]},{"1394773574":["hashtag1","hashtag2"]},{"1394773568":["hashtag1","hashtag2"]},{"1394773564":["hashtag1","hashtag2"]},{"1394773567":["hashtag1","hashtag2"]},{"1394773569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773571, 1394773574, 1394773568, 1394773564, 1394773567, 1394773569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.330594062805176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:18:02.876395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_59_3570.jpg', '/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_08_3705.jpg', '/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_11_2542.jpg', '/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_17_3564.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_07_3017.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_18_4469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_59_3570.jpg
/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_08_3705.jpg
/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_11_2542.jpg
/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_17_3564.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_07_3017.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_18_4469.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.6459658145904541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:18:22.571165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_59_3570.jpg', '/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_08_3705.jpg', '/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_11_2542.jpg', '/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_17_3564.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_07_3017.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_18_4469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/46/image_16112025_19_46_59_3570.jpg
/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_08_3705.jpg
/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_11_2542.jpg
/home/pi/Desktop/images/16112025/19/47/image_16112025_19_47_17_3564.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_07_3017.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_18_4469.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773589","1394773592","1394773591","1394773594","1394773585","1394773587"],"photo_ids_order":["1394773585","1394773587","1394773589","1394773591","1394773592","1394773594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9bafeaf2a15fd688137e8e8e3cff1838.jpg","text":"TemporaryFile(/tmp/multipartBody8236943834370173464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327963256,"filename":"image_16112025_19_47_11_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/871c55d3cae031715d600419e7dda383.jpg","text":"TemporaryFile(/tmp/multipartBody692093431699420118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327963256,"filename":"image_16112025_19_48_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50d073e8bf5b2d8d91a3a678f2a56c98.jpg","text":"TemporaryFile(/tmp/multipartBody5038428304034441617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327963256,"filename":"image_16112025_19_47_17_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7d4a2afd3fceef59021a73f31a42106.jpg","text":"TemporaryFile(/tmp/multipartBody3260586974622014648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327963256,"filename":"image_16112025_19_48_18_4469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d6071c7652c147477a30de5b0f7e4021.jpg","text":"TemporaryFile(/tmp/multipartBody7221400998524391259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327963256,"filename":"image_16112025_19_46_59_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e6288f508a03f5c5ee55ad2b6c2d6e4.jpg","text":"TemporaryFile(/tmp/multipartBody32155880579500116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763327963256,"filename":"image_16112025_19_47_08_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773589","file1":"1394773587","file0":"1394773585","file4":"1394773592","file5":"1394773594","file3":"1394773591"},"map_files_photo_id_array":[{"photo_id":"1394773594","filename":"file5"},{"photo_id":"1394773589","filename":"file2"},{"photo_id":"1394773592","filename":"file4"},{"photo_id":"1394773587","filename":"file1"},{"photo_id":"1394773585","filename":"file0"},{"photo_id":"1394773591","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773589":["hashtag1","hashtag2"]},{"1394773592":["hashtag1","hashtag2"]},{"1394773591":["hashtag1","hashtag2"]},{"1394773594":["hashtag1","hashtag2"]},{"1394773585":["hashtag1","hashtag2"]},{"1394773587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773589, 1394773592, 1394773591, 1394773594, 1394773585, 1394773587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51224493980408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:19:03.705713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_22_2570.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_25_3520.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_28_2473.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_31_3641.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_38_3538.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_40_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_22_2570.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_25_3520.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_28_2473.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_31_3641.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_38_3538.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_40_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773595","1394773598","1394773601","1394773597","1394773603","1394773596"],"photo_ids_order":["1394773595","1394773596","1394773597","1394773598","1394773601","1394773603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/66535b3b141bd20f282319640d8a0ea4.jpg","text":"TemporaryFile(/tmp/multipartBody887405935367408846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328004594,"filename":"image_16112025_19_48_22_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/958b8516817f3c119696b1408091eba6.jpg","text":"TemporaryFile(/tmp/multipartBody652314668517732467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328004594,"filename":"image_16112025_19_48_31_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09c3b761e73df3681f7a9cda8ef9e7f5.jpg","text":"TemporaryFile(/tmp/multipartBody4159853971834879093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328004594,"filename":"image_16112025_19_48_38_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5dd486ce185cca2f7dce131a2977ab63.jpg","text":"TemporaryFile(/tmp/multipartBody6177179960487314200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328004594,"filename":"image_16112025_19_48_28_2473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d888363aeb6fea693874226afe32bd46.jpg","text":"TemporaryFile(/tmp/multipartBody4935363436254536770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328004594,"filename":"image_16112025_19_48_40_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f568414735076c6cac935fbb0d7cce6a.jpg","text":"TemporaryFile(/tmp/multipartBody7119907373388671457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328004594,"filename":"image_16112025_19_48_25_3520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773597","file1":"1394773596","file0":"1394773595","file4":"1394773601","file5":"1394773603","file3":"1394773598"},"map_files_photo_id_array":[{"photo_id":"1394773603","filename":"file5"},{"photo_id":"1394773597","filename":"file2"},{"photo_id":"1394773601","filename":"file4"},{"photo_id":"1394773596","filename":"file1"},{"photo_id":"1394773595","filename":"file0"},{"photo_id":"1394773598","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773595":["hashtag1","hashtag2"]},{"1394773598":["hashtag1","hashtag2"]},{"1394773601":["hashtag1","hashtag2"]},{"1394773597":["hashtag1","hashtag2"]},{"1394773603":["hashtag1","hashtag2"]},{"1394773596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773595, 1394773598, 1394773601, 1394773597, 1394773603, 1394773596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99725961685181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:19:42.837915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_43_2623.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_46_3631.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_49_2643.jpg', '/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_52_2618.jpg', '/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_01_2580.jpg', '/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_05_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_43_2623.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_46_3631.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_49_2643.jpg
/home/pi/Desktop/images/16112025/19/48/image_16112025_19_48_52_2618.jpg
/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_01_2580.jpg
/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_05_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773611","1394773605","1394773608","1394773607","1394773610","1394773609"],"photo_ids_order":["1394773605","1394773607","1394773608","1394773609","1394773610","1394773611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8009611717813485e6b579cb1c5da642.jpg","text":"TemporaryFile(/tmp/multipartBody3984892468865741380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328043462,"filename":"image_16112025_19_49_05_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/26acb00cbd666e2e78da92fb82121e57.jpg","text":"TemporaryFile(/tmp/multipartBody5381236420109419576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328043462,"filename":"image_16112025_19_48_43_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a17b22a49c2c6c824078ae5debd479a.jpg","text":"TemporaryFile(/tmp/multipartBody2688353946101983470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328043462,"filename":"image_16112025_19_48_49_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5931f0a9361473280d040a059dbb6fac.jpg","text":"TemporaryFile(/tmp/multipartBody3428882539975065672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328043462,"filename":"image_16112025_19_48_46_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4bdb70827763eb842b6c7bae355f040.jpg","text":"TemporaryFile(/tmp/multipartBody3134923544553752216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328043462,"filename":"image_16112025_19_49_01_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d1a2a6e7e6513c2ce2c0d03ef8ac489a.jpg","text":"TemporaryFile(/tmp/multipartBody5158170495293507669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328043462,"filename":"image_16112025_19_48_52_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773608","file1":"1394773607","file0":"1394773605","file4":"1394773610","file5":"1394773611","file3":"1394773609"},"map_files_photo_id_array":[{"photo_id":"1394773611","filename":"file5"},{"photo_id":"1394773608","filename":"file2"},{"photo_id":"1394773610","filename":"file4"},{"photo_id":"1394773607","filename":"file1"},{"photo_id":"1394773605","filename":"file0"},{"photo_id":"1394773609","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773611":["hashtag1","hashtag2"]},{"1394773605":["hashtag1","hashtag2"]},{"1394773608":["hashtag1","hashtag2"]},{"1394773607":["hashtag1","hashtag2"]},{"1394773610":["hashtag1","hashtag2"]},{"1394773609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773611, 1394773605, 1394773608, 1394773607, 1394773610, 1394773609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81777095794678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:20:22.477387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_28_3716.jpg', '/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_31_2633.jpg', '/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_37_3644.jpg', '/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_40_2619.jpg', '/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_55_2612.jpg', '/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_58_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_28_3716.jpg
/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_31_2633.jpg
/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_37_3644.jpg
/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_40_2619.jpg
/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_55_2612.jpg
/home/pi/Desktop/images/16112025/19/49/image_16112025_19_49_58_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773614","1394773613","1394773619","1394773618","1394773621","1394773615"],"photo_ids_order":["1394773613","1394773614","1394773615","1394773618","1394773619","1394773621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a05e75a3532d501115f892f6e3ebf1ca.jpg","text":"TemporaryFile(/tmp/multipartBody4276601580079897528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328083169,"filename":"image_16112025_19_49_31_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f81da38211f83afce23c0bb9fa29800.jpg","text":"TemporaryFile(/tmp/multipartBody5424190322664708695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328083169,"filename":"image_16112025_19_49_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/11/16/0c12c7bc1732bbc0e9601da92ddaa7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4009619080946103954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328083169,"filename":"image_16112025_19_49_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/11/16/e2f54ec30a1418a2170eee13ed5330fb.jpg","text":"TemporaryFile(/tmp/multipartBody4604977651655856238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328083169,"filename":"image_16112025_19_49_40_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3343e0ac97aae8cec510991aecc51f92.jpg","text":"TemporaryFile(/tmp/multipartBody7376226540722164414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328083169,"filename":"image_16112025_19_49_58_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/957b9cbc0f8db1c91d4fa21a7e7a96d4.jpg","text":"TemporaryFile(/tmp/multipartBody2328172311015795077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328083169,"filename":"image_16112025_19_49_37_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773615","file1":"1394773614","file0":"1394773613","file4":"1394773619","file5":"1394773621","file3":"1394773618"},"map_files_photo_id_array":[{"photo_id":"1394773621","filename":"file5"},{"photo_id":"1394773615","filename":"file2"},{"photo_id":"1394773619","filename":"file4"},{"photo_id":"1394773614","filename":"file1"},{"photo_id":"1394773613","filename":"file0"},{"photo_id":"1394773618","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773614":["hashtag1","hashtag2"]},{"1394773613":["hashtag1","hashtag2"]},{"1394773619":["hashtag1","hashtag2"]},{"1394773618":["hashtag1","hashtag2"]},{"1394773621":["hashtag1","hashtag2"]},{"1394773615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773614, 1394773613, 1394773619, 1394773618, 1394773621, 1394773615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.670695543289185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:21:03.202886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_01_2483.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_07_3740.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_13_2671.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_16_3542.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_28_2723.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_30_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_01_2483.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_07_3740.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_13_2671.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_16_3542.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_28_2723.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_30_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773625","1394773622","1394773630","1394773624","1394773627","1394773623"],"photo_ids_order":["1394773622","1394773623","1394773624","1394773625","1394773627","1394773630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c9258e964a584d14a040671ca239a49e.jpg","text":"TemporaryFile(/tmp/multipartBody3720861517728618023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328124010,"filename":"image_16112025_19_50_16_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b38cff906e5370fd45206b3fe7762e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1874168946634433438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328124010,"filename":"image_16112025_19_50_01_2483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f67dec8b0e876d92baa5f07da2349c52.jpg","text":"TemporaryFile(/tmp/multipartBody9202396640926613985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328124010,"filename":"image_16112025_19_50_30_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cef20886762f10edffd2f6e5c6765e23.jpg","text":"TemporaryFile(/tmp/multipartBody4205143466031295559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328124010,"filename":"image_16112025_19_50_13_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff52471f7f39b27634c2667940224803.jpg","text":"TemporaryFile(/tmp/multipartBody1181721312752170273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328124010,"filename":"image_16112025_19_50_28_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85f259bda3fe81b62cac06e80954c2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3948867081147265990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328124010,"filename":"image_16112025_19_50_07_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773624","file1":"1394773623","file0":"1394773622","file4":"1394773627","file5":"1394773630","file3":"1394773625"},"map_files_photo_id_array":[{"photo_id":"1394773630","filename":"file5"},{"photo_id":"1394773624","filename":"file2"},{"photo_id":"1394773627","filename":"file4"},{"photo_id":"1394773623","filename":"file1"},{"photo_id":"1394773622","filename":"file0"},{"photo_id":"1394773625","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773625":["hashtag1","hashtag2"]},{"1394773622":["hashtag1","hashtag2"]},{"1394773630":["hashtag1","hashtag2"]},{"1394773624":["hashtag1","hashtag2"]},{"1394773627":["hashtag1","hashtag2"]},{"1394773623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773625, 1394773622, 1394773630, 1394773624, 1394773627, 1394773623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.755661725997925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:21:42.661603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_34_3671.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_49_14881.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_58_1702.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_59_1817.jpg', '/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_01_1638.jpg', '/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_04_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_34_3671.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_49_14881.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_58_1702.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_59_1817.jpg
/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_01_1638.jpg
/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_04_1621.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.5519287586212158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:22:02.331436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_34_3671.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_49_14881.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_58_1702.jpg', '/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_59_1817.jpg', '/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_01_1638.jpg', '/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_04_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_34_3671.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_49_14881.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_58_1702.jpg
/home/pi/Desktop/images/16112025/19/50/image_16112025_19_50_59_1817.jpg
/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_01_1638.jpg
/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_04_1621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773643","1394773645","1394773639","1394773647","1394773641","1394773638"],"photo_ids_order":["1394773638","1394773639","1394773641","1394773643","1394773645","1394773647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac2cd9ea4074e4367a35ac1dca3f17d8.jpg","text":"TemporaryFile(/tmp/multipartBody3308482863214945610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328183125,"filename":"image_16112025_19_50_59_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c5fdc982e96f67638d95bd256095971.jpg","text":"TemporaryFile(/tmp/multipartBody2167929275586200656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328183125,"filename":"image_16112025_19_51_01_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/104e413b94de7bef0f45def69217c183.jpg","text":"TemporaryFile(/tmp/multipartBody8889990104638970478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328183125,"filename":"image_16112025_19_50_49_14881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee390851ac16595e7a7738e1a3dc3a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5471352556359801114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328183125,"filename":"image_16112025_19_51_04_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d54fb4b4a4f0d30d637fcd6c650be2a.jpg","text":"TemporaryFile(/tmp/multipartBody4400720908085735773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328183125,"filename":"image_16112025_19_50_58_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dab4f1f436b8ea236e1cb53e20b88409.jpg","text":"TemporaryFile(/tmp/multipartBody6415357201811392110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328183125,"filename":"image_16112025_19_50_34_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773641","file1":"1394773639","file0":"1394773638","file4":"1394773645","file5":"1394773647","file3":"1394773643"},"map_files_photo_id_array":[{"photo_id":"1394773647","filename":"file5"},{"photo_id":"1394773641","filename":"file2"},{"photo_id":"1394773645","filename":"file4"},{"photo_id":"1394773639","filename":"file1"},{"photo_id":"1394773638","filename":"file0"},{"photo_id":"1394773643","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773643":["hashtag1","hashtag2"]},{"1394773645":["hashtag1","hashtag2"]},{"1394773639":["hashtag1","hashtag2"]},{"1394773647":["hashtag1","hashtag2"]},{"1394773641":["hashtag1","hashtag2"]},{"1394773638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773643, 1394773645, 1394773639, 1394773647, 1394773641, 1394773638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.887122631073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:22:41.881636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_10_2656.jpg', '/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_16_3559.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_07_3015.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_11_3731.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_17_2702.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_25_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_10_2656.jpg
/home/pi/Desktop/images/16112025/19/51/image_16112025_19_51_16_3559.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_07_3015.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_11_3731.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_17_2702.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_25_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773655","1394773654","1394773657","1394773651","1394773653","1394773656"],"photo_ids_order":["1394773651","1394773653","1394773654","1394773655","1394773656","1394773657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/12e4f2b917b674a6bdd5840407e81166.jpg","text":"TemporaryFile(/tmp/multipartBody1646563216770917422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328222509,"filename":"image_16112025_19_52_11_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dca262289b2e8df306e97d6ab2535580.jpg","text":"TemporaryFile(/tmp/multipartBody6030798633201295324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328222509,"filename":"image_16112025_19_52_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/11/16/2e7afab946d3d88e36a1ce41da4031c6.jpg","text":"TemporaryFile(/tmp/multipartBody4646803702782362286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328222509,"filename":"image_16112025_19_52_25_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d3e1fe95acb7299b416405ef0ec1008.jpg","text":"TemporaryFile(/tmp/multipartBody2556546922634054081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328222509,"filename":"image_16112025_19_51_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/11/16/f717901bb0df6954585a493f2e60eb6c.jpg","text":"TemporaryFile(/tmp/multipartBody8737374885797581050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328222509,"filename":"image_16112025_19_51_16_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad963cd39622f489fabc659fbe0574b1.jpg","text":"TemporaryFile(/tmp/multipartBody9111119519316418806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328222509,"filename":"image_16112025_19_52_17_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773654","file1":"1394773653","file0":"1394773651","file4":"1394773656","file5":"1394773657","file3":"1394773655"},"map_files_photo_id_array":[{"photo_id":"1394773657","filename":"file5"},{"photo_id":"1394773654","filename":"file2"},{"photo_id":"1394773656","filename":"file4"},{"photo_id":"1394773653","filename":"file1"},{"photo_id":"1394773651","filename":"file0"},{"photo_id":"1394773655","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773655":["hashtag1","hashtag2"]},{"1394773654":["hashtag1","hashtag2"]},{"1394773657":["hashtag1","hashtag2"]},{"1394773651":["hashtag1","hashtag2"]},{"1394773653":["hashtag1","hashtag2"]},{"1394773656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773655, 1394773654, 1394773657, 1394773651, 1394773653, 1394773656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.004072189331055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:23:21.894829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_35_3536.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_38_2665.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_41_2599.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_44_3587.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_47_2652.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_50_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_35_3536.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_38_2665.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_41_2599.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_44_3587.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_47_2652.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_50_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773661","1394773664","1394773660","1394773663","1394773666","1394773662"],"photo_ids_order":["1394773660","1394773661","1394773662","1394773663","1394773664","1394773666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/504171ebc058e16869d34cde1fe586bd.jpg","text":"TemporaryFile(/tmp/multipartBody6001029511510330957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328262598,"filename":"image_16112025_19_52_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/11/16/e349f4fc03c2293bfb7aa913732a0ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4332290741983452788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328262598,"filename":"image_16112025_19_52_47_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/857772388107b28cccb031fefb2d7daf.jpg","text":"TemporaryFile(/tmp/multipartBody7273106402754158696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328262598,"filename":"image_16112025_19_52_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/11/16/da76b729472eac094b15c15e34c46bd2.jpg","text":"TemporaryFile(/tmp/multipartBody674040328784807561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328262598,"filename":"image_16112025_19_52_44_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d7f455105181c4706fc14b114c145931.jpg","text":"TemporaryFile(/tmp/multipartBody7240197016309867541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328262598,"filename":"image_16112025_19_52_50_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec638659f75d60b9de2901856b231b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6258989792045171231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328262598,"filename":"image_16112025_19_52_41_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773662","file1":"1394773661","file0":"1394773660","file4":"1394773664","file5":"1394773666","file3":"1394773663"},"map_files_photo_id_array":[{"photo_id":"1394773666","filename":"file5"},{"photo_id":"1394773662","filename":"file2"},{"photo_id":"1394773664","filename":"file4"},{"photo_id":"1394773661","filename":"file1"},{"photo_id":"1394773660","filename":"file0"},{"photo_id":"1394773663","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773661":["hashtag1","hashtag2"]},{"1394773664":["hashtag1","hashtag2"]},{"1394773660":["hashtag1","hashtag2"]},{"1394773663":["hashtag1","hashtag2"]},{"1394773666":["hashtag1","hashtag2"]},{"1394773662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773661, 1394773664, 1394773660, 1394773663, 1394773666, 1394773662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80876898765564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:24:02.744411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_52_2690.jpg', '/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_56_3740.jpg', '/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_05_3617.jpg', '/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_08_2566.jpg', '/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_10_2548.jpg', '/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_14_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_52_2690.jpg
/home/pi/Desktop/images/16112025/19/52/image_16112025_19_52_56_3740.jpg
/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_05_3617.jpg
/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_08_2566.jpg
/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_10_2548.jpg
/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_14_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773670","1394773673","1394773675","1394773669","1394773671","1394773668"],"photo_ids_order":["1394773668","1394773669","1394773670","1394773671","1394773673","1394773675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b032432f10525cae921bf5ab4791b25b.jpg","text":"TemporaryFile(/tmp/multipartBody3670652592339407837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328303428,"filename":"image_16112025_19_53_05_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6042534594c4dc0eebcb1b0681b5a709.jpg","text":"TemporaryFile(/tmp/multipartBody6833849510762840960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328303428,"filename":"image_16112025_19_53_10_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/281a5674881aaa436ff62fca427b3133.jpg","text":"TemporaryFile(/tmp/multipartBody3352105088402428552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328303428,"filename":"image_16112025_19_53_14_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e9f5ce399b6ea53b8bcd6cb702c1a29b.jpg","text":"TemporaryFile(/tmp/multipartBody7349193870086597153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328303428,"filename":"image_16112025_19_52_56_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c939709c76f517417bdb5e0fa82a2ab5.jpg","text":"TemporaryFile(/tmp/multipartBody6789692200874383103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328303428,"filename":"image_16112025_19_53_08_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19187a8bd6ced9cba163aca9ef3b3465.jpg","text":"TemporaryFile(/tmp/multipartBody2366624609351591158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328303428,"filename":"image_16112025_19_52_52_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773670","file1":"1394773669","file0":"1394773668","file4":"1394773673","file5":"1394773675","file3":"1394773671"},"map_files_photo_id_array":[{"photo_id":"1394773675","filename":"file5"},{"photo_id":"1394773670","filename":"file2"},{"photo_id":"1394773673","filename":"file4"},{"photo_id":"1394773669","filename":"file1"},{"photo_id":"1394773668","filename":"file0"},{"photo_id":"1394773671","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773670":["hashtag1","hashtag2"]},{"1394773673":["hashtag1","hashtag2"]},{"1394773675":["hashtag1","hashtag2"]},{"1394773669":["hashtag1","hashtag2"]},{"1394773671":["hashtag1","hashtag2"]},{"1394773668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773670, 1394773673, 1394773675, 1394773669, 1394773671, 1394773668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53665089607239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:24:42.100311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_16_2592.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_11_3816.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_13_2509.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_16_2794.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_22_2584.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_34_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/53/image_16112025_19_53_16_2592.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_11_3816.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_13_2509.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_16_2794.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_22_2584.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_34_2820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773682","1394773676","1394773679","1394773681","1394773678","1394773680"],"photo_ids_order":["1394773676","1394773678","1394773679","1394773680","1394773681","1394773682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c41aa9fcd6546b996313e738d0007972.jpg","text":"TemporaryFile(/tmp/multipartBody8816459328493922361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328342727,"filename":"image_16112025_19_54_34_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/38ea37bec510b5c19f68eae83d756e4c.jpg","text":"TemporaryFile(/tmp/multipartBody8610503443454508843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328342727,"filename":"image_16112025_19_53_16_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a6e00ace5ef34ba8a02a60bcd444ad3.jpg","text":"TemporaryFile(/tmp/multipartBody5579700481761177940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328342727,"filename":"image_16112025_19_54_13_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ad9bd61ff63926628e80e9e6ea08323.jpg","text":"TemporaryFile(/tmp/multipartBody7887950985510801482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328342727,"filename":"image_16112025_19_54_22_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/327f5fc9253914e0313de60a4284c8d2.jpg","text":"TemporaryFile(/tmp/multipartBody5994625832435765735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328342727,"filename":"image_16112025_19_54_11_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9e8cb6b9ca8b3941befddda26512e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5141221655828689203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328342727,"filename":"image_16112025_19_54_16_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773679","file1":"1394773678","file0":"1394773676","file4":"1394773681","file5":"1394773682","file3":"1394773680"},"map_files_photo_id_array":[{"photo_id":"1394773682","filename":"file5"},{"photo_id":"1394773679","filename":"file2"},{"photo_id":"1394773681","filename":"file4"},{"photo_id":"1394773678","filename":"file1"},{"photo_id":"1394773676","filename":"file0"},{"photo_id":"1394773680","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773682":["hashtag1","hashtag2"]},{"1394773676":["hashtag1","hashtag2"]},{"1394773679":["hashtag1","hashtag2"]},{"1394773681":["hashtag1","hashtag2"]},{"1394773678":["hashtag1","hashtag2"]},{"1394773680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773682, 1394773676, 1394773679, 1394773681, 1394773678, 1394773680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69879126548767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:25:22.258397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_37_2579.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_41_3634.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_43_2640.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_47_3602.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_49_2597.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_52_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_37_2579.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_41_3634.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_43_2640.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_47_3602.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_49_2597.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_52_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773694","1394773691","1394773693","1394773687","1394773692","1394773689"],"photo_ids_order":["1394773687","1394773689","1394773691","1394773692","1394773693","1394773694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4b66b1922052a132757fd7ef8c60c93d.jpg","text":"TemporaryFile(/tmp/multipartBody6634227278715935549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328382912,"filename":"image_16112025_19_54_52_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cd4eb09f6cfb48983c1954889c8be22.jpg","text":"TemporaryFile(/tmp/multipartBody1114662193951488668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328382912,"filename":"image_16112025_19_54_43_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6a989c18bf0d62a141c5dd0290fdae7.jpg","text":"TemporaryFile(/tmp/multipartBody2245931546652152996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328382912,"filename":"image_16112025_19_54_49_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0fd7024d866ffb75206f94d08b1e9c8.jpg","text":"TemporaryFile(/tmp/multipartBody1814303496584350788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328382912,"filename":"image_16112025_19_54_37_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed1c2303f4675d42679629a6897fb74b.jpg","text":"TemporaryFile(/tmp/multipartBody7518838979533067114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328382912,"filename":"image_16112025_19_54_47_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13691724c6bf729785444ffcd23d7a96.jpg","text":"TemporaryFile(/tmp/multipartBody8240736697784287763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328382912,"filename":"image_16112025_19_54_41_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773691","file1":"1394773689","file0":"1394773687","file4":"1394773693","file5":"1394773694","file3":"1394773692"},"map_files_photo_id_array":[{"photo_id":"1394773694","filename":"file5"},{"photo_id":"1394773691","filename":"file2"},{"photo_id":"1394773693","filename":"file4"},{"photo_id":"1394773689","filename":"file1"},{"photo_id":"1394773687","filename":"file0"},{"photo_id":"1394773692","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773694":["hashtag1","hashtag2"]},{"1394773691":["hashtag1","hashtag2"]},{"1394773693":["hashtag1","hashtag2"]},{"1394773687":["hashtag1","hashtag2"]},{"1394773692":["hashtag1","hashtag2"]},{"1394773689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773694, 1394773691, 1394773693, 1394773687, 1394773692, 1394773689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86829996109009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:26:02.874295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_56_3563.jpg', '/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_58_2734.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_01_2540.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_04_3592.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_16_2528.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_19_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_56_3563.jpg
/home/pi/Desktop/images/16112025/19/54/image_16112025_19_54_58_2734.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_01_2540.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_04_3592.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_16_2528.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_19_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773697","1394773700","1394773696","1394773698","1394773702","1394773695"],"photo_ids_order":["1394773695","1394773696","1394773697","1394773698","1394773700","1394773702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba52892029a945a36811065fcf7c0aed.jpg","text":"TemporaryFile(/tmp/multipartBody3027377338301194994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328423550,"filename":"image_16112025_19_55_01_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39b01361f8a1247ffefcc87bcfe3245b.jpg","text":"TemporaryFile(/tmp/multipartBody1232509407615586162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328423550,"filename":"image_16112025_19_55_16_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a8cab6ef5e70f7313bc12ee49e6d04b6.jpg","text":"TemporaryFile(/tmp/multipartBody862098468518931693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328423550,"filename":"image_16112025_19_54_58_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9bbce1881a715d4c448b7a02cd74082.jpg","text":"TemporaryFile(/tmp/multipartBody3693014514917817151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328423550,"filename":"image_16112025_19_55_04_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a074f2ec81ae1c23b7f3b659912d6914.jpg","text":"TemporaryFile(/tmp/multipartBody6171019442057558300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328423550,"filename":"image_16112025_19_55_19_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69fb7d27cde81b14010b70fd7c407e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3383787891926891024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328423550,"filename":"image_16112025_19_54_56_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773697","file1":"1394773696","file0":"1394773695","file4":"1394773700","file5":"1394773702","file3":"1394773698"},"map_files_photo_id_array":[{"photo_id":"1394773702","filename":"file5"},{"photo_id":"1394773697","filename":"file2"},{"photo_id":"1394773700","filename":"file4"},{"photo_id":"1394773696","filename":"file1"},{"photo_id":"1394773695","filename":"file0"},{"photo_id":"1394773698","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773697":["hashtag1","hashtag2"]},{"1394773700":["hashtag1","hashtag2"]},{"1394773696":["hashtag1","hashtag2"]},{"1394773698":["hashtag1","hashtag2"]},{"1394773702":["hashtag1","hashtag2"]},{"1394773695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773697, 1394773700, 1394773696, 1394773698, 1394773702, 1394773695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01855540275574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:26:42.286953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_28_3626.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_31_2661.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_35_3592.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_37_2628.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_40_2589.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_49_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_28_3626.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_31_2661.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_35_3592.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_37_2628.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_40_2589.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_49_2663.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.5706195831298828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:27:03.304984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_28_3626.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_31_2661.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_35_3592.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_37_2628.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_40_2589.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_49_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_28_3626.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_31_2661.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_35_3592.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_37_2628.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_40_2589.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_49_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773710","1394773713","1394773712","1394773718","1394773711","1394773716"],"photo_ids_order":["1394773710","1394773711","1394773712","1394773713","1394773716","1394773718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d3dc1520315ddc7db181d5eafdeda36d.jpg","text":"TemporaryFile(/tmp/multipartBody1872725746269936475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328484028,"filename":"image_16112025_19_55_28_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1379764ae89de5a6a636fed5d9a3b74f.jpg","text":"TemporaryFile(/tmp/multipartBody3041936575574993220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328484028,"filename":"image_16112025_19_55_37_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ec8808f9c99481bbe87e07fa0a2bdd2.jpg","text":"TemporaryFile(/tmp/multipartBody9058485971617061686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328484028,"filename":"image_16112025_19_55_35_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8855a6bdd1b902910d71309de1cf2017.jpg","text":"TemporaryFile(/tmp/multipartBody5341359971069114899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328484028,"filename":"image_16112025_19_55_49_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/10a9f1abee9ae73ea4687e7e37e1aa87.jpg","text":"TemporaryFile(/tmp/multipartBody4793913855143484939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328484028,"filename":"image_16112025_19_55_31_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ccf4724fe69b1649766bc34646dfd643.jpg","text":"TemporaryFile(/tmp/multipartBody3875291895829629690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328484028,"filename":"image_16112025_19_55_40_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773712","file1":"1394773711","file0":"1394773710","file4":"1394773716","file5":"1394773718","file3":"1394773713"},"map_files_photo_id_array":[{"photo_id":"1394773718","filename":"file5"},{"photo_id":"1394773712","filename":"file2"},{"photo_id":"1394773716","filename":"file4"},{"photo_id":"1394773711","filename":"file1"},{"photo_id":"1394773710","filename":"file0"},{"photo_id":"1394773713","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773710":["hashtag1","hashtag2"]},{"1394773713":["hashtag1","hashtag2"]},{"1394773712":["hashtag1","hashtag2"]},{"1394773718":["hashtag1","hashtag2"]},{"1394773711":["hashtag1","hashtag2"]},{"1394773716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773710, 1394773713, 1394773712, 1394773718, 1394773711, 1394773716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.240296363830566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:27:42.450858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_52_3691.jpg', '/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_55_2851.jpg', '/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_14_2635.jpg', '/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_16_2739.jpg', '/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_20_3567.jpg', '/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_25_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_52_3691.jpg
/home/pi/Desktop/images/16112025/19/55/image_16112025_19_55_55_2851.jpg
/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_14_2635.jpg
/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_16_2739.jpg
/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_20_3567.jpg
/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_25_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773725","1394773724","1394773727","1394773721","1394773723","1394773720"],"photo_ids_order":["1394773720","1394773721","1394773723","1394773724","1394773725","1394773727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ca85c65d22484a375deee2e1768ddac.jpg","text":"TemporaryFile(/tmp/multipartBody6177985286157390523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328523076,"filename":"image_16112025_19_57_20_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24cc5919810e7a0055d76fafc4595927.jpg","text":"TemporaryFile(/tmp/multipartBody2587846078527344855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328523076,"filename":"image_16112025_19_57_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/11/16/04066a49d58d760240db5151f6a7a5c5.jpg","text":"TemporaryFile(/tmp/multipartBody3071541635844521595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328523076,"filename":"image_16112025_19_57_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/11/16/53f5a5b6ec0ac4baa7baee5740f1b33b.jpg","text":"TemporaryFile(/tmp/multipartBody7962291709899459743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328523076,"filename":"image_16112025_19_55_55_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c4441dde30054fc47c29702f3e6d55f3.jpg","text":"TemporaryFile(/tmp/multipartBody6265311056079257111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328523076,"filename":"image_16112025_19_57_14_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05bb5220cfcf8d27e281021efe620b77.jpg","text":"TemporaryFile(/tmp/multipartBody1802740861972456149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328523076,"filename":"image_16112025_19_55_52_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773723","file1":"1394773721","file0":"1394773720","file4":"1394773725","file5":"1394773727","file3":"1394773724"},"map_files_photo_id_array":[{"photo_id":"1394773727","filename":"file5"},{"photo_id":"1394773723","filename":"file2"},{"photo_id":"1394773725","filename":"file4"},{"photo_id":"1394773721","filename":"file1"},{"photo_id":"1394773720","filename":"file0"},{"photo_id":"1394773724","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773725":["hashtag1","hashtag2"]},{"1394773724":["hashtag1","hashtag2"]},{"1394773727":["hashtag1","hashtag2"]},{"1394773721":["hashtag1","hashtag2"]},{"1394773723":["hashtag1","hashtag2"]},{"1394773720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773725, 1394773724, 1394773727, 1394773721, 1394773723, 1394773720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24085187911987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:28:22.912714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_34_2627.jpg', '/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_59_3581.jpg', '/home/pi/Desktop/images/16112025/19/58/image_16112025_19_58_04_2749.jpg', '/home/pi/Desktop/images/16112025/19/58/image_16112025_19_58_10_2633.jpg', '/home/pi/Desktop/images/16112025/19/58/image_16112025_19_58_17_2577.jpg', '/home/pi/Desktop/images/16112025/19/58/image_16112025_19_58_19_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_34_2627.jpg
/home/pi/Desktop/images/16112025/19/57/image_16112025_19_57_59_3581.jpg
/home/pi/Desktop/images/16112025/19/58/image_16112025_19_58_04_2749.jpg
/home/pi/Desktop/images/16112025/19/58/image_16112025_19_58_10_2633.jpg
/home/pi/Desktop/images/16112025/19/58/image_16112025_19_58_17_2577.jpg
/home/pi/Desktop/images/16112025/19/58/image_16112025_19_58_19_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773731","1394773739","1394773733","1394773736","1394773735","1394773737"],"photo_ids_order":["1394773731","1394773733","1394773735","1394773736","1394773737","1394773739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/09675c562021ffa3e43b5c07ec77b19c.jpg","text":"TemporaryFile(/tmp/multipartBody8940412494769623597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328563554,"filename":"image_16112025_19_57_34_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab2322248f3c181ea21797ce269f2218.jpg","text":"TemporaryFile(/tmp/multipartBody9031395566625868686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328563554,"filename":"image_16112025_19_58_19_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6be9c43cebf0d9354ba6cd7a1aa1db5c.jpg","text":"TemporaryFile(/tmp/multipartBody3536714745256059228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328563554,"filename":"image_16112025_19_57_59_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2d9745df8bf26ecb2cd33ee354f6179e.jpg","text":"TemporaryFile(/tmp/multipartBody8339375347138582490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328563554,"filename":"image_16112025_19_58_10_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f55a26e6470c17ce8ea8d9afe1a68e9d.jpg","text":"TemporaryFile(/tmp/multipartBody1950335424265783014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328563554,"filename":"image_16112025_19_58_04_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ffda00bc8cb72ab0c1defe0f6a270b3.jpg","text":"TemporaryFile(/tmp/multipartBody4172942543710218253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328563554,"filename":"image_16112025_19_58_17_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773735","file1":"1394773733","file0":"1394773731","file4":"1394773737","file5":"1394773739","file3":"1394773736"},"map_files_photo_id_array":[{"photo_id":"1394773739","filename":"file5"},{"photo_id":"1394773735","filename":"file2"},{"photo_id":"1394773737","filename":"file4"},{"photo_id":"1394773733","filename":"file1"},{"photo_id":"1394773731","filename":"file0"},{"photo_id":"1394773736","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773731":["hashtag1","hashtag2"]},{"1394773739":["hashtag1","hashtag2"]},{"1394773733":["hashtag1","hashtag2"]},{"1394773736":["hashtag1","hashtag2"]},{"1394773735":["hashtag1","hashtag2"]},{"1394773737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773731, 1394773739, 1394773733, 1394773736, 1394773735, 1394773737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35873079299927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:29:02.948427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_22_2675.jpg', '/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_28_2681.jpg', '/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_34_3588.jpg', '/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_37_2610.jpg', '/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_43_3738.jpg', '/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_48_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_22_2675.jpg
/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_28_2681.jpg
/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_34_3588.jpg
/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_37_2610.jpg
/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_43_3738.jpg
/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_48_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773742","1394773745","1394773747","1394773749","1394773740","1394773743"],"photo_ids_order":["1394773740","1394773742","1394773743","1394773745","1394773747","1394773749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c07bd3c7697963be27196e3b5d124ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8307839346182129237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328603767,"filename":"image_16112025_19_59_28_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/348d727d538d9e6554b78600711e836b.jpg","text":"TemporaryFile(/tmp/multipartBody6127152306258096387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328603767,"filename":"image_16112025_19_59_37_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1c6c2ef32eca10cd6622dea6786f823.jpg","text":"TemporaryFile(/tmp/multipartBody7628996414259331728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328603767,"filename":"image_16112025_19_59_43_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/790cb3a570012ab2deb32c88e762737b.jpg","text":"TemporaryFile(/tmp/multipartBody4593206751163820999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328603767,"filename":"image_16112025_19_59_48_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c46627f34718346e09308a8fd7c8a5d.jpg","text":"TemporaryFile(/tmp/multipartBody3521950379891517341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328603767,"filename":"image_16112025_19_59_22_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0608a381c371511db62d9e5dd527efd3.jpg","text":"TemporaryFile(/tmp/multipartBody8195644203209889046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328603767,"filename":"image_16112025_19_59_34_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773743","file1":"1394773742","file0":"1394773740","file4":"1394773747","file5":"1394773749","file3":"1394773745"},"map_files_photo_id_array":[{"photo_id":"1394773749","filename":"file5"},{"photo_id":"1394773743","filename":"file2"},{"photo_id":"1394773747","filename":"file4"},{"photo_id":"1394773742","filename":"file1"},{"photo_id":"1394773740","filename":"file0"},{"photo_id":"1394773745","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773742":["hashtag1","hashtag2"]},{"1394773745":["hashtag1","hashtag2"]},{"1394773747":["hashtag1","hashtag2"]},{"1394773749":["hashtag1","hashtag2"]},{"1394773740":["hashtag1","hashtag2"]},{"1394773743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773742, 1394773745, 1394773747, 1394773749, 1394773740, 1394773743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25878429412842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:29:42.026504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_55_2825.jpg', '/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_58_2685.jpg', '/home/pi/Desktop/images/16112025/19/59/image_16112025_20_00_00_2595.jpg', '/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_16_2720.jpg', '/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_19_2622.jpg', '/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_21_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_55_2825.jpg
/home/pi/Desktop/images/16112025/19/59/image_16112025_19_59_58_2685.jpg
/home/pi/Desktop/images/16112025/19/59/image_16112025_20_00_00_2595.jpg
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_16_2720.jpg
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_19_2622.jpg
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_21_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773757","1394773751","1394773754","1394773756","1394773758","1394773755"],"photo_ids_order":["1394773751","1394773754","1394773755","1394773756","1394773757","1394773758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec67b159169889a6e917da9e7c97fb24.jpg","text":"TemporaryFile(/tmp/multipartBody5962473000486072765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328642682,"filename":"image_16112025_20_00_19_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bfd721335f6ca80edde743e08ce482a.jpg","text":"TemporaryFile(/tmp/multipartBody1420190757631545228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328642682,"filename":"image_16112025_19_59_55_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9a22bda0d7fdb3d8597a8e1bee1445b.jpg","text":"TemporaryFile(/tmp/multipartBody7162749250247884157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328642682,"filename":"image_16112025_19_59_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/11/16/8eac8e407101265cd9ec0fe9eff54764.jpg","text":"TemporaryFile(/tmp/multipartBody4890410367525173841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328642682,"filename":"image_16112025_20_00_16_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24aa98ac047204870ccfb53489ee4ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1308128644722413530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328642682,"filename":"image_16112025_20_00_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/11/16/1d632f5c9cddac4da79c6cfcffa2e14d.jpg","text":"TemporaryFile(/tmp/multipartBody8086306267649920244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328642682,"filename":"image_16112025_20_00_00_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773755","file1":"1394773754","file0":"1394773751","file4":"1394773757","file5":"1394773758","file3":"1394773756"},"map_files_photo_id_array":[{"photo_id":"1394773758","filename":"file5"},{"photo_id":"1394773755","filename":"file2"},{"photo_id":"1394773757","filename":"file4"},{"photo_id":"1394773754","filename":"file1"},{"photo_id":"1394773751","filename":"file0"},{"photo_id":"1394773756","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773757":["hashtag1","hashtag2"]},{"1394773751":["hashtag1","hashtag2"]},{"1394773754":["hashtag1","hashtag2"]},{"1394773756":["hashtag1","hashtag2"]},{"1394773758":["hashtag1","hashtag2"]},{"1394773755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773757, 1394773751, 1394773754, 1394773756, 1394773758, 1394773755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93083429336548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:30:22.253069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_25_3587.jpg', '/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_31_3597.jpg', '/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_34_2578.jpg', '/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_45_2812.jpg', '/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_48_2892.jpg', '/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_57_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_25_3587.jpg
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_31_3597.jpg
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_34_2578.jpg
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_45_2812.jpg
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_48_2892.jpg
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_00_57_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773763","1394773762","1394773765","1394773770","1394773767","1394773761"],"photo_ids_order":["1394773761","1394773762","1394773763","1394773765","1394773767","1394773770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/df81399268fe7216d17acc2a095bed91.jpg","text":"TemporaryFile(/tmp/multipartBody7840624483116437801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328682906,"filename":"image_16112025_20_00_34_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/737c6b8ffd013b03bfd8f31a2a751e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7583256085614527153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328682906,"filename":"image_16112025_20_00_31_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cd2568b0215374c8338b19212e940efc.jpg","text":"TemporaryFile(/tmp/multipartBody6069879456876096229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328682906,"filename":"image_16112025_20_00_45_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03b0dcbf781f62bfb91a07b460e6982a.jpg","text":"TemporaryFile(/tmp/multipartBody4791160803662148575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328682906,"filename":"image_16112025_20_00_57_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d47d9a6d6fbafc3947801b403ee2aec0.jpg","text":"TemporaryFile(/tmp/multipartBody2713450971680122728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328682906,"filename":"image_16112025_20_00_48_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/63089e32288081e13c2abe00c7794a34.jpg","text":"TemporaryFile(/tmp/multipartBody8685693250333150087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328682906,"filename":"image_16112025_20_00_25_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773763","file1":"1394773762","file0":"1394773761","file4":"1394773767","file5":"1394773770","file3":"1394773765"},"map_files_photo_id_array":[{"photo_id":"1394773770","filename":"file5"},{"photo_id":"1394773763","filename":"file2"},{"photo_id":"1394773767","filename":"file4"},{"photo_id":"1394773762","filename":"file1"},{"photo_id":"1394773761","filename":"file0"},{"photo_id":"1394773765","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773763":["hashtag1","hashtag2"]},{"1394773762":["hashtag1","hashtag2"]},{"1394773765":["hashtag1","hashtag2"]},{"1394773770":["hashtag1","hashtag2"]},{"1394773767":["hashtag1","hashtag2"]},{"1394773761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773763, 1394773762, 1394773765, 1394773770, 1394773767, 1394773761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95575428009033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:31:03.115760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/00/image_16112025_20_01_01_3613.jpg', '/home/pi/Desktop/images/16112025/20/01/image_16112025_20_01_07_3545.jpg', '/home/pi/Desktop/images/16112025/20/01/image_16112025_20_01_10_2871.jpg', '/home/pi/Desktop/images/16112025/20/01/image_16112025_20_01_13_2858.jpg', '/home/pi/Desktop/images/16112025/20/01/image_16112025_20_01_15_2555.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/00/image_16112025_20_01_01_3613.jpg
/home/pi/Desktop/images/16112025/20/01/image_16112025_20_01_07_3545.jpg
/home/pi/Desktop/images/16112025/20/01/image_16112025_20_01_10_2871.jpg
/home/pi/Desktop/images/16112025/20/01/image_16112025_20_01_13_2858.jpg
/home/pi/Desktop/images/16112025/20/01/image_16112025_20_01_15_2555.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773778","1394773772","1394773771","1394773774","1394773777","1394773773"],"photo_ids_order":["1394773771","1394773772","1394773773","1394773774","1394773777","1394773778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65ce7a9dbbd007fb871b540cc9304f14.jpg","text":"TemporaryFile(/tmp/multipartBody4323278612174428160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328723864,"filename":"image_16112025_20_02_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39e63fae4104c8a189fb9699fc2598ff.jpg","text":"TemporaryFile(/tmp/multipartBody1227969865766917425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328723864,"filename":"image_16112025_20_01_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/11/16/bd855015d44c212cd31d82200f4fa1a3.jpg","text":"TemporaryFile(/tmp/multipartBody1373529152386541482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328723864,"filename":"image_16112025_20_01_01_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46a08da3cf995b7c9fb22654d42cb86e.jpg","text":"TemporaryFile(/tmp/multipartBody4766772464447860659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328723864,"filename":"image_16112025_20_01_13_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/371562655ac1552487f2f1eac7741537.jpg","text":"TemporaryFile(/tmp/multipartBody1013700286300741349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328723864,"filename":"image_16112025_20_01_15_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a5d2d90db1f65f1f727c78273b18ca7.jpg","text":"TemporaryFile(/tmp/multipartBody6721192841592056716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328723864,"filename":"image_16112025_20_01_10_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773773","file1":"1394773772","file0":"1394773771","file4":"1394773777","file5":"1394773778","file3":"1394773774"},"map_files_photo_id_array":[{"photo_id":"1394773778","filename":"file5"},{"photo_id":"1394773773","filename":"file2"},{"photo_id":"1394773777","filename":"file4"},{"photo_id":"1394773772","filename":"file1"},{"photo_id":"1394773771","filename":"file0"},{"photo_id":"1394773774","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773778":["hashtag1","hashtag2"]},{"1394773772":["hashtag1","hashtag2"]},{"1394773771":["hashtag1","hashtag2"]},{"1394773774":["hashtag1","hashtag2"]},{"1394773777":["hashtag1","hashtag2"]},{"1394773773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773778, 1394773772, 1394773771, 1394773774, 1394773777, 1394773773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0162787437439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:31:42.421722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_11_3670.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_14_2615.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_16_2756.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_20_3555.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_23_2687.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_25_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_11_3670.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_14_2615.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_16_2756.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_20_3555.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_23_2687.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_25_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773787","1394773784","1394773780","1394773783","1394773782","1394773779"],"photo_ids_order":["1394773779","1394773780","1394773782","1394773783","1394773784","1394773787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fecda82113734a6e19a3db8d86e374f.jpg","text":"TemporaryFile(/tmp/multipartBody6148866287867862677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328763046,"filename":"image_16112025_20_02_25_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b443479888ad5e36797bf09693a4bd3a.jpg","text":"TemporaryFile(/tmp/multipartBody1800560199030334046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328763046,"filename":"image_16112025_20_02_23_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28398ae29e4883f276c95c99926713b3.jpg","text":"TemporaryFile(/tmp/multipartBody6617624480191765357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328763046,"filename":"image_16112025_20_02_14_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/74e9085caa8e09080e99df6ce19ec6ba.jpg","text":"TemporaryFile(/tmp/multipartBody4358687518326863502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328763046,"filename":"image_16112025_20_02_20_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/db9faa6ad133b20294adb09613518a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8036719993135476447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328763046,"filename":"image_16112025_20_02_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/11/16/cae157cbc4baf6e391d352aa572ffa4e.jpg","text":"TemporaryFile(/tmp/multipartBody5507111119753814769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328763046,"filename":"image_16112025_20_02_11_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773782","file1":"1394773780","file0":"1394773779","file4":"1394773784","file5":"1394773787","file3":"1394773783"},"map_files_photo_id_array":[{"photo_id":"1394773787","filename":"file5"},{"photo_id":"1394773782","filename":"file2"},{"photo_id":"1394773784","filename":"file4"},{"photo_id":"1394773780","filename":"file1"},{"photo_id":"1394773779","filename":"file0"},{"photo_id":"1394773783","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773787":["hashtag1","hashtag2"]},{"1394773784":["hashtag1","hashtag2"]},{"1394773780":["hashtag1","hashtag2"]},{"1394773783":["hashtag1","hashtag2"]},{"1394773782":["hashtag1","hashtag2"]},{"1394773779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773787, 1394773784, 1394773780, 1394773783, 1394773782, 1394773779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.652907609939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:32:22.652006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_29_3718.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_34_2646.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_38_3882.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_41_2609.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_43_2612.jpg', '/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_52_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_29_3718.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_34_2646.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_38_3882.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_41_2609.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_43_2612.jpg
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_52_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773793","1394773796","1394773799","1394773795","1394773797","1394773791"],"photo_ids_order":["1394773791","1394773793","1394773795","1394773796","1394773797","1394773799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80507d786662eff50810d6d55da80c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4150132824037543804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328803334,"filename":"image_16112025_20_02_34_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a91f1fe5dc80603f2e5da57486d0876d.jpg","text":"TemporaryFile(/tmp/multipartBody4092434826527935607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328803334,"filename":"image_16112025_20_02_41_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95de6c84188a40df0f0f2b8abef3e11f.jpg","text":"TemporaryFile(/tmp/multipartBody9218433078872206973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328803334,"filename":"image_16112025_20_02_52_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a48edab4540566b1e78d690f103e1cc5.jpg","text":"TemporaryFile(/tmp/multipartBody133914216640413475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328803334,"filename":"image_16112025_20_02_38_3882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/659f6d9106357d278890c974b7aaa9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8048049838691264175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328803334,"filename":"image_16112025_20_02_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/11/16/eb660bf26a22b16bbe807efbab3ecd27.jpg","text":"TemporaryFile(/tmp/multipartBody8571534968186552542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328803334,"filename":"image_16112025_20_02_29_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773795","file1":"1394773793","file0":"1394773791","file4":"1394773797","file5":"1394773799","file3":"1394773796"},"map_files_photo_id_array":[{"photo_id":"1394773799","filename":"file5"},{"photo_id":"1394773795","filename":"file2"},{"photo_id":"1394773797","filename":"file4"},{"photo_id":"1394773793","filename":"file1"},{"photo_id":"1394773791","filename":"file0"},{"photo_id":"1394773796","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773793":["hashtag1","hashtag2"]},{"1394773796":["hashtag1","hashtag2"]},{"1394773799":["hashtag1","hashtag2"]},{"1394773795":["hashtag1","hashtag2"]},{"1394773797":["hashtag1","hashtag2"]},{"1394773791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773793, 1394773796, 1394773799, 1394773795, 1394773797, 1394773791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37525510787964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:33:02.640524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_59_2801.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_02_2766.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_05_2721.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_08_3568.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_13_2640.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_17_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/02/image_16112025_20_02_59_2801.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_02_2766.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_05_2721.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_08_3568.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_13_2640.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_17_3701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773803","1394773805","1394773802","1394773807","1394773801","1394773800"],"photo_ids_order":["1394773800","1394773801","1394773802","1394773803","1394773805","1394773807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04a37f3723fbef83751a21df6a23f344.jpg","text":"TemporaryFile(/tmp/multipartBody4023569923904348893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328843352,"filename":"image_16112025_20_03_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/11/16/f231a46ded0733a21d26584188dced00.jpg","text":"TemporaryFile(/tmp/multipartBody6872398987280602785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328843352,"filename":"image_16112025_20_03_13_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd95706b13b0a848a59cbd6040a3ab16.jpg","text":"TemporaryFile(/tmp/multipartBody2062630924842506753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328843352,"filename":"image_16112025_20_03_05_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1772810ecd716ba452f442c0769a5c45.jpg","text":"TemporaryFile(/tmp/multipartBody4298878752898232864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328843352,"filename":"image_16112025_20_03_17_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7d1bf29c39d64e14a8b9affc19bd359.jpg","text":"TemporaryFile(/tmp/multipartBody677064002106308230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328843352,"filename":"image_16112025_20_03_02_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b2abaeeade94fd2179628cf627f87fc.jpg","text":"TemporaryFile(/tmp/multipartBody6138515914690514576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328843352,"filename":"image_16112025_20_02_59_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773802","file1":"1394773801","file0":"1394773800","file4":"1394773805","file5":"1394773807","file3":"1394773803"},"map_files_photo_id_array":[{"photo_id":"1394773807","filename":"file5"},{"photo_id":"1394773802","filename":"file2"},{"photo_id":"1394773805","filename":"file4"},{"photo_id":"1394773801","filename":"file1"},{"photo_id":"1394773800","filename":"file0"},{"photo_id":"1394773803","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773803":["hashtag1","hashtag2"]},{"1394773805":["hashtag1","hashtag2"]},{"1394773802":["hashtag1","hashtag2"]},{"1394773807":["hashtag1","hashtag2"]},{"1394773801":["hashtag1","hashtag2"]},{"1394773800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773803, 1394773805, 1394773802, 1394773807, 1394773801, 1394773800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70118260383606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:33:41.914478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_20_2685.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_25_2700.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_32_2792.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_34_2554.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_41_2683.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_44_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_20_2685.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_25_2700.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_32_2792.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_34_2554.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_41_2683.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_44_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773812","1394773814","1394773816","1394773813","1394773815","1394773809"],"photo_ids_order":["1394773809","1394773812","1394773813","1394773814","1394773815","1394773816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46aed56c5a74f87b646b084ed85e4aec.jpg","text":"TemporaryFile(/tmp/multipartBody8619680325762442776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328882546,"filename":"image_16112025_20_03_25_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06389af8827ce1ba5ee1ad809ef5fc5b.jpg","text":"TemporaryFile(/tmp/multipartBody7078328969478194644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328882546,"filename":"image_16112025_20_03_34_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e1155641b592aff38d94ce6cc3cd3348.jpg","text":"TemporaryFile(/tmp/multipartBody7365373472817753090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328882546,"filename":"image_16112025_20_03_44_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/149d5859873809da8da00dda1a54ce7a.jpg","text":"TemporaryFile(/tmp/multipartBody711328640620752403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328882546,"filename":"image_16112025_20_03_32_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c42a870f5a3ba0b92e422f36b1356dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7833377084466092245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328882546,"filename":"image_16112025_20_03_41_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/265ffe9e57042f5a736769be5aa40de9.jpg","text":"TemporaryFile(/tmp/multipartBody4754605203134205928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328882546,"filename":"image_16112025_20_03_20_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773813","file1":"1394773812","file0":"1394773809","file4":"1394773815","file5":"1394773816","file3":"1394773814"},"map_files_photo_id_array":[{"photo_id":"1394773816","filename":"file5"},{"photo_id":"1394773813","filename":"file2"},{"photo_id":"1394773815","filename":"file4"},{"photo_id":"1394773812","filename":"file1"},{"photo_id":"1394773809","filename":"file0"},{"photo_id":"1394773814","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773812":["hashtag1","hashtag2"]},{"1394773814":["hashtag1","hashtag2"]},{"1394773816":["hashtag1","hashtag2"]},{"1394773813":["hashtag1","hashtag2"]},{"1394773815":["hashtag1","hashtag2"]},{"1394773809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773812, 1394773814, 1394773816, 1394773813, 1394773815, 1394773809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73379158973694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:34:23.932123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_52_2882.jpg', '/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_56_3829.jpg', '/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_16_2738.jpg', '/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_20_3654.jpg', '/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_22_2559.jpg', '/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_28_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_52_2882.jpg
/home/pi/Desktop/images/16112025/20/03/image_16112025_20_03_56_3829.jpg
/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_16_2738.jpg
/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_20_3654.jpg
/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_22_2559.jpg
/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_28_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773818","1394773823","1394773826","1394773825","1394773819","1394773821"],"photo_ids_order":["1394773818","1394773819","1394773821","1394773823","1394773825","1394773826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5276041f1aad8ecb67e4e9e8d59554c9.jpg","text":"TemporaryFile(/tmp/multipartBody965605441929345452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328927019,"filename":"image_16112025_20_03_52_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c29abe33c8c3d8f2a8c09ff75c2fd8ea.jpg","text":"TemporaryFile(/tmp/multipartBody8021602342886860825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328927019,"filename":"image_16112025_20_05_20_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/011c39fe3c73d4a7b6db5d0251896801.jpg","text":"TemporaryFile(/tmp/multipartBody7602064816927785457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328927019,"filename":"image_16112025_20_05_28_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f813a11dd0079ecbf463669e4ed79096.jpg","text":"TemporaryFile(/tmp/multipartBody4201101230910667996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328927019,"filename":"image_16112025_20_05_22_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc71402749b1f04d86e985d8ff5b4b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4080120253166083341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328927019,"filename":"image_16112025_20_03_56_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/486759730a54355c1455eeea88a7b78d.jpg","text":"TemporaryFile(/tmp/multipartBody8230908779750254027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328927019,"filename":"image_16112025_20_05_16_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773821","file1":"1394773819","file0":"1394773818","file4":"1394773825","file5":"1394773826","file3":"1394773823"},"map_files_photo_id_array":[{"photo_id":"1394773826","filename":"file5"},{"photo_id":"1394773821","filename":"file2"},{"photo_id":"1394773825","filename":"file4"},{"photo_id":"1394773819","filename":"file1"},{"photo_id":"1394773818","filename":"file0"},{"photo_id":"1394773823","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773818":["hashtag1","hashtag2"]},{"1394773823":["hashtag1","hashtag2"]},{"1394773826":["hashtag1","hashtag2"]},{"1394773825":["hashtag1","hashtag2"]},{"1394773819":["hashtag1","hashtag2"]},{"1394773821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773818, 1394773823, 1394773826, 1394773825, 1394773819, 1394773821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22136735916138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:35:02.961366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_31_2568.jpg', '/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_35_3632.jpg', '/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_37_2559.jpg', '/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_59_3732.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_04_2649.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_08_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_31_2568.jpg
/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_35_3632.jpg
/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_37_2559.jpg
/home/pi/Desktop/images/16112025/20/05/image_16112025_20_05_59_3732.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_04_2649.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_08_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773830","1394773832","1394773829","1394773834","1394773828","1394773827"],"photo_ids_order":["1394773827","1394773828","1394773829","1394773830","1394773832","1394773834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f870051b888ceb5f6d0676fe7a9ae877.jpg","text":"TemporaryFile(/tmp/multipartBody9024499986898220852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328963727,"filename":"image_16112025_20_05_59_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5c8558770ed2d3eef44e3c3b4bfa753.jpg","text":"TemporaryFile(/tmp/multipartBody4984438703682575573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328963727,"filename":"image_16112025_20_06_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/11/16/0f37d4a5f7f2257ac5bfb70ea6dc8828.jpg","text":"TemporaryFile(/tmp/multipartBody3923327458405240113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328963727,"filename":"image_16112025_20_05_37_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ac90fdde391fa85c9c2aa74142b4fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6321400810664779934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328963727,"filename":"image_16112025_20_06_08_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6461e227021b7688513bdbe7d862d07d.jpg","text":"TemporaryFile(/tmp/multipartBody1284325180065552911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328963727,"filename":"image_16112025_20_05_35_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f2fa618af6bd993033578a557e6665b.jpg","text":"TemporaryFile(/tmp/multipartBody3669338346939689967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763328963727,"filename":"image_16112025_20_05_31_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773829","file1":"1394773828","file0":"1394773827","file4":"1394773832","file5":"1394773834","file3":"1394773830"},"map_files_photo_id_array":[{"photo_id":"1394773834","filename":"file5"},{"photo_id":"1394773829","filename":"file2"},{"photo_id":"1394773832","filename":"file4"},{"photo_id":"1394773828","filename":"file1"},{"photo_id":"1394773827","filename":"file0"},{"photo_id":"1394773830","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773830":["hashtag1","hashtag2"]},{"1394773832":["hashtag1","hashtag2"]},{"1394773829":["hashtag1","hashtag2"]},{"1394773834":["hashtag1","hashtag2"]},{"1394773828":["hashtag1","hashtag2"]},{"1394773827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773830, 1394773832, 1394773829, 1394773834, 1394773828, 1394773827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53414249420166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:35:42.364111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_10_2662.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_16_3552.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_19_2635.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_23_3520.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_43_2562.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_46_2995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_10_2662.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_16_3552.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_19_2635.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_23_3520.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_43_2562.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_46_2995.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.5370635986328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:36:03.004560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_10_2662.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_16_3552.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_19_2635.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_23_3520.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_43_2562.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_46_2995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_10_2662.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_16_3552.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_19_2635.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_23_3520.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_43_2562.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_46_2995.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773850","1394773844","1394773843","1394773846","1394773845","1394773848"],"photo_ids_order":["1394773843","1394773844","1394773845","1394773846","1394773848","1394773850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a32654d845d5357ad8843ecdff9f32b.jpg","text":"TemporaryFile(/tmp/multipartBody2777537257841637765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329023763,"filename":"image_16112025_20_06_46_2995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7246aea9f893eb2d6ba891d95f3e5de4.jpg","text":"TemporaryFile(/tmp/multipartBody7176934556020802145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329023763,"filename":"image_16112025_20_06_16_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21eb652774014bf9933e8ce8e00fa929.jpg","text":"TemporaryFile(/tmp/multipartBody1611343802260977073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329023763,"filename":"image_16112025_20_06_10_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b50807dfd5db1bdc3885e2c7db88118.jpg","text":"TemporaryFile(/tmp/multipartBody2349331594391450685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329023763,"filename":"image_16112025_20_06_23_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eecddd6de54fa3917c78ee2997f50190.jpg","text":"TemporaryFile(/tmp/multipartBody1628497677380305954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329023763,"filename":"image_16112025_20_06_19_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fc19ad991756510403c74ec63298bec.jpg","text":"TemporaryFile(/tmp/multipartBody4223576166963435328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329023763,"filename":"image_16112025_20_06_43_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773845","file1":"1394773844","file0":"1394773843","file4":"1394773848","file5":"1394773850","file3":"1394773846"},"map_files_photo_id_array":[{"photo_id":"1394773850","filename":"file5"},{"photo_id":"1394773845","filename":"file2"},{"photo_id":"1394773848","filename":"file4"},{"photo_id":"1394773844","filename":"file1"},{"photo_id":"1394773843","filename":"file0"},{"photo_id":"1394773846","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773850":["hashtag1","hashtag2"]},{"1394773844":["hashtag1","hashtag2"]},{"1394773843":["hashtag1","hashtag2"]},{"1394773846":["hashtag1","hashtag2"]},{"1394773845":["hashtag1","hashtag2"]},{"1394773848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773850, 1394773844, 1394773843, 1394773846, 1394773845, 1394773848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.916606187820435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:36:42.577903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_52_2641.jpg', '/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_56_3627.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_01_2652.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_04_3647.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_07_2729.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_10_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_52_2641.jpg
/home/pi/Desktop/images/16112025/20/06/image_16112025_20_06_56_3627.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_01_2652.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_04_3647.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_07_2729.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_10_2534.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773856","1394773859","1394773855","1394773858","1394773857","1394773860"],"photo_ids_order":["1394773855","1394773856","1394773857","1394773858","1394773859","1394773860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e771f17f7f8dd62fc318be66e1da4fb.jpg","text":"TemporaryFile(/tmp/multipartBody1145637976441013811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329063201,"filename":"image_16112025_20_06_56_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7370614a55f5e3a96f8db415268adb48.jpg","text":"TemporaryFile(/tmp/multipartBody8918384925353230448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329063201,"filename":"image_16112025_20_07_07_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f4a43477dbf3ce6676305cf962c6886.jpg","text":"TemporaryFile(/tmp/multipartBody7341892789418923780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329063201,"filename":"image_16112025_20_06_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/11/16/a7d5632875ea374d9b4819aa73d6dae6.jpg","text":"TemporaryFile(/tmp/multipartBody4645706897255517609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329063201,"filename":"image_16112025_20_07_04_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/46f0f488cd6777fe52b87eecf982846f.jpg","text":"TemporaryFile(/tmp/multipartBody8502756377600526162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329063201,"filename":"image_16112025_20_07_01_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/847073fd74e95d893baad5a0f8ba8f72.jpg","text":"TemporaryFile(/tmp/multipartBody4484980733996377444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329063201,"filename":"image_16112025_20_07_10_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773857","file1":"1394773856","file0":"1394773855","file4":"1394773859","file5":"1394773860","file3":"1394773858"},"map_files_photo_id_array":[{"photo_id":"1394773860","filename":"file5"},{"photo_id":"1394773857","filename":"file2"},{"photo_id":"1394773859","filename":"file4"},{"photo_id":"1394773856","filename":"file1"},{"photo_id":"1394773855","filename":"file0"},{"photo_id":"1394773858","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773856":["hashtag1","hashtag2"]},{"1394773859":["hashtag1","hashtag2"]},{"1394773855":["hashtag1","hashtag2"]},{"1394773858":["hashtag1","hashtag2"]},{"1394773857":["hashtag1","hashtag2"]},{"1394773860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773856, 1394773859, 1394773855, 1394773858, 1394773857, 1394773860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.635032415390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:37:21.760644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_13_3593.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_16_2812.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_19_2596.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_28_2682.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_37_2762.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_43_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_13_3593.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_16_2812.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_19_2596.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_28_2682.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_37_2762.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_43_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773865","1394773867","1394773864","1394773863","1394773866","1394773869"],"photo_ids_order":["1394773863","1394773864","1394773865","1394773866","1394773867","1394773869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4cfcba706ff8c24632a3358fe54ffa7b.jpg","text":"TemporaryFile(/tmp/multipartBody7322877700018402567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329102414,"filename":"image_16112025_20_07_19_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a51d51c729542d642cacd25572c7561e.jpg","text":"TemporaryFile(/tmp/multipartBody7668922636064691600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329102414,"filename":"image_16112025_20_07_37_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57679fe12c69b10eae6f50e645a96f45.jpg","text":"TemporaryFile(/tmp/multipartBody1174492605309414393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329102414,"filename":"image_16112025_20_07_16_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3978f971eeae55ccb03b86f9bb586c9e.jpg","text":"TemporaryFile(/tmp/multipartBody5358798599988450268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329102414,"filename":"image_16112025_20_07_13_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e137a4b7132364aa2798ba314b95033f.jpg","text":"TemporaryFile(/tmp/multipartBody2536916379733062927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329102414,"filename":"image_16112025_20_07_28_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56f98df18b528c6c30f51d64968f9890.jpg","text":"TemporaryFile(/tmp/multipartBody6389804208006040629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329102414,"filename":"image_16112025_20_07_43_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773865","file1":"1394773864","file0":"1394773863","file4":"1394773867","file5":"1394773869","file3":"1394773866"},"map_files_photo_id_array":[{"photo_id":"1394773869","filename":"file5"},{"photo_id":"1394773865","filename":"file2"},{"photo_id":"1394773867","filename":"file4"},{"photo_id":"1394773864","filename":"file1"},{"photo_id":"1394773863","filename":"file0"},{"photo_id":"1394773866","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773865":["hashtag1","hashtag2"]},{"1394773867":["hashtag1","hashtag2"]},{"1394773864":["hashtag1","hashtag2"]},{"1394773863":["hashtag1","hashtag2"]},{"1394773866":["hashtag1","hashtag2"]},{"1394773869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773865, 1394773867, 1394773864, 1394773863, 1394773866, 1394773869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3733549118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:38:02.384458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_46_2887.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_52_3593.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_55_2618.jpg', '/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_58_3559.jpg', '/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_01_2763.jpg', '/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_13_3023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_46_2887.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_52_3593.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_55_2618.jpg
/home/pi/Desktop/images/16112025/20/07/image_16112025_20_07_58_3559.jpg
/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_01_2763.jpg
/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_13_3023.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773874","1394773871","1394773873","1394773876","1394773878","1394773872"],"photo_ids_order":["1394773871","1394773872","1394773873","1394773874","1394773876","1394773878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d71c635e44b2f19dc214ff6d631b7e20.jpg","text":"TemporaryFile(/tmp/multipartBody5237576718627284191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329143108,"filename":"image_16112025_20_07_58_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/773f0ecbbc56e1221ab97af895f6e4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8602773223460667960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329143108,"filename":"image_16112025_20_07_46_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/06454eb3c0dd48f8f832a0e57c33f3b5.jpg","text":"TemporaryFile(/tmp/multipartBody5570636292571620266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329143108,"filename":"image_16112025_20_07_55_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/08b504212bdc6cdaa9292ba92b5529be.jpg","text":"TemporaryFile(/tmp/multipartBody1789717317696125622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329143108,"filename":"image_16112025_20_08_01_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7d6ce78e05a974faa744f9859f9b1b4e.jpg","text":"TemporaryFile(/tmp/multipartBody728804275454483453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329143108,"filename":"image_16112025_20_08_13_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d10b003dec35312253dd5b3fbb9e6fd9.jpg","text":"TemporaryFile(/tmp/multipartBody6645886191791951715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329143108,"filename":"image_16112025_20_07_52_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773873","file1":"1394773872","file0":"1394773871","file4":"1394773876","file5":"1394773878","file3":"1394773874"},"map_files_photo_id_array":[{"photo_id":"1394773878","filename":"file5"},{"photo_id":"1394773873","filename":"file2"},{"photo_id":"1394773876","filename":"file4"},{"photo_id":"1394773872","filename":"file1"},{"photo_id":"1394773871","filename":"file0"},{"photo_id":"1394773874","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773874":["hashtag1","hashtag2"]},{"1394773871":["hashtag1","hashtag2"]},{"1394773873":["hashtag1","hashtag2"]},{"1394773876":["hashtag1","hashtag2"]},{"1394773878":["hashtag1","hashtag2"]},{"1394773872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773874, 1394773871, 1394773873, 1394773876, 1394773878, 1394773872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79861354827881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:38:41.971603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_16_2871.jpg', '/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_19_3518.jpg', '/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_22_2624.jpg', '/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_28_3800.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_14_4307.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_15_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_16_2871.jpg
/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_19_3518.jpg
/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_22_2624.jpg
/home/pi/Desktop/images/16112025/20/08/image_16112025_20_08_28_3800.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_14_4307.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_15_1549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773886","1394773883","1394773885","1394773882","1394773881","1394773884"],"photo_ids_order":["1394773881","1394773882","1394773883","1394773884","1394773885","1394773886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7693a9d52311b30a33ae68a0da49623.jpg","text":"TemporaryFile(/tmp/multipartBody7669757135692074945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329182633,"filename":"image_16112025_20_09_15_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/af3dcc32e2c9da31e2fcf7bdf23dca67.jpg","text":"TemporaryFile(/tmp/multipartBody8573226147260597485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329182633,"filename":"image_16112025_20_08_22_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80f0c8a5258be56f87d3178b107391cd.jpg","text":"TemporaryFile(/tmp/multipartBody2706415562729647793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329182633,"filename":"image_16112025_20_09_14_4307.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6cb3534ef9a1d1a72834f723f1816f2.jpg","text":"TemporaryFile(/tmp/multipartBody4654789337542220290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329182633,"filename":"image_16112025_20_08_19_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4fdc6dd0d5bf253869b10b19fcfad61a.jpg","text":"TemporaryFile(/tmp/multipartBody1155863755161167941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329182633,"filename":"image_16112025_20_08_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/11/16/67cc1c24994200d12b6d9c3d4dcff3f4.jpg","text":"TemporaryFile(/tmp/multipartBody4995071684801794809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329182633,"filename":"image_16112025_20_08_28_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773883","file1":"1394773882","file0":"1394773881","file4":"1394773885","file5":"1394773886","file3":"1394773884"},"map_files_photo_id_array":[{"photo_id":"1394773886","filename":"file5"},{"photo_id":"1394773883","filename":"file2"},{"photo_id":"1394773885","filename":"file4"},{"photo_id":"1394773882","filename":"file1"},{"photo_id":"1394773881","filename":"file0"},{"photo_id":"1394773884","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773886":["hashtag1","hashtag2"]},{"1394773883":["hashtag1","hashtag2"]},{"1394773885":["hashtag1","hashtag2"]},{"1394773882":["hashtag1","hashtag2"]},{"1394773881":["hashtag1","hashtag2"]},{"1394773884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773886, 1394773883, 1394773885, 1394773882, 1394773881, 1394773884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11254405975342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:39:24.333657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_22_2664.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_24_2581.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_34_2685.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_37_2716.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_42_5037.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_43_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_22_2664.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_24_2581.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_34_2685.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_37_2716.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_42_5037.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_43_1565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773895","1394773889","1394773897","1394773891","1394773894","1394773893"],"photo_ids_order":["1394773889","1394773891","1394773893","1394773894","1394773895","1394773897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb0fa331dd7eff7afb6e91a3a975c551.jpg","text":"TemporaryFile(/tmp/multipartBody5720834341189925216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329224986,"filename":"image_16112025_20_09_42_5037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad1849a7cf8ef8f0e8f1722bc86ea8a1.jpg","text":"TemporaryFile(/tmp/multipartBody8224766712871896355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329224986,"filename":"image_16112025_20_09_22_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fd61cf2f2543b5c56ba14f91aaff04e.jpg","text":"TemporaryFile(/tmp/multipartBody6137752123127657524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329224986,"filename":"image_16112025_20_09_43_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2898dd70692086e8caff32f2905a42b.jpg","text":"TemporaryFile(/tmp/multipartBody5578480365546544988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329224986,"filename":"image_16112025_20_09_24_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/81fefe13840e9c37fff87c3510a7473b.jpg","text":"TemporaryFile(/tmp/multipartBody6581595690541979061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329224986,"filename":"image_16112025_20_09_37_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dca96b8b5f967ae03698f712054b2817.jpg","text":"TemporaryFile(/tmp/multipartBody4614797477935240930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329224986,"filename":"image_16112025_20_09_34_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773893","file1":"1394773891","file0":"1394773889","file4":"1394773895","file5":"1394773897","file3":"1394773894"},"map_files_photo_id_array":[{"photo_id":"1394773897","filename":"file5"},{"photo_id":"1394773893","filename":"file2"},{"photo_id":"1394773895","filename":"file4"},{"photo_id":"1394773891","filename":"file1"},{"photo_id":"1394773889","filename":"file0"},{"photo_id":"1394773894","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773895":["hashtag1","hashtag2"]},{"1394773889":["hashtag1","hashtag2"]},{"1394773897":["hashtag1","hashtag2"]},{"1394773891":["hashtag1","hashtag2"]},{"1394773894":["hashtag1","hashtag2"]},{"1394773893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773895, 1394773889, 1394773897, 1394773891, 1394773894, 1394773893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75684833526611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:40:02.893201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_46_2573.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_52_4021.jpg', '/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_54_1694.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_07_3012.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_14_1578.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_21_6586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_46_2573.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_52_4021.jpg
/home/pi/Desktop/images/16112025/20/09/image_16112025_20_09_54_1694.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_07_3012.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_14_1578.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_21_6586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773902","1394773905","1394773907","1394773901","1394773900","1394773899"],"photo_ids_order":["1394773899","1394773900","1394773901","1394773902","1394773905","1394773907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50c05590bc64d63378a162be80eed50e.jpg","text":"TemporaryFile(/tmp/multipartBody7067106439360566059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329263579,"filename":"image_16112025_20_12_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b67a41f85ef7024f0109ce73e809863.jpg","text":"TemporaryFile(/tmp/multipartBody6494899559946882763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329263579,"filename":"image_16112025_20_12_14_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3182fe9d04fd1a0d16cc53ec1ed76e55.jpg","text":"TemporaryFile(/tmp/multipartBody2049519216385523568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329263579,"filename":"image_16112025_20_12_21_6586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbecceb804d12411b3d4b09af1a11ac2.jpg","text":"TemporaryFile(/tmp/multipartBody5328823517739473057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329263579,"filename":"image_16112025_20_09_54_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b987b4f0c5c32a2beae492f1fe80cb56.jpg","text":"TemporaryFile(/tmp/multipartBody5955464724242150260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329263579,"filename":"image_16112025_20_09_52_4021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/50ebd97fc186e2aa75671b359a0285ff.jpg","text":"TemporaryFile(/tmp/multipartBody2679768864772596892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329263579,"filename":"image_16112025_20_09_46_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773901","file1":"1394773900","file0":"1394773899","file4":"1394773905","file5":"1394773907","file3":"1394773902"},"map_files_photo_id_array":[{"photo_id":"1394773907","filename":"file5"},{"photo_id":"1394773901","filename":"file2"},{"photo_id":"1394773905","filename":"file4"},{"photo_id":"1394773900","filename":"file1"},{"photo_id":"1394773899","filename":"file0"},{"photo_id":"1394773902","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773902":["hashtag1","hashtag2"]},{"1394773905":["hashtag1","hashtag2"]},{"1394773907":["hashtag1","hashtag2"]},{"1394773901":["hashtag1","hashtag2"]},{"1394773900":["hashtag1","hashtag2"]},{"1394773899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773902, 1394773905, 1394773907, 1394773901, 1394773900, 1394773899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93371510505676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:40:42.433895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_23_1725.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_24_1652.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_28_3325.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_46_2756.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_58_2691.jpg', '/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_02_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_23_1725.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_24_1652.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_28_3325.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_46_2756.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_58_2691.jpg
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_02_3607.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.5768721103668213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:41:03.182588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_23_1725.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_24_1652.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_28_3325.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_46_2756.jpg', '/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_58_2691.jpg', '/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_02_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_23_1725.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_24_1652.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_28_3325.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_46_2756.jpg
/home/pi/Desktop/images/16112025/20/12/image_16112025_20_12_58_2691.jpg
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_02_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773923","1394773917","1394773919","1394773916","1394773921","1394773918"],"photo_ids_order":["1394773916","1394773917","1394773918","1394773919","1394773921","1394773923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bc653a958a9421d0021dcbb2c79af4bb.jpg","text":"TemporaryFile(/tmp/multipartBody4861632429881926384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329323919,"filename":"image_16112025_20_13_02_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5d3a0bfd6b5d335af12f60e70ff0849.jpg","text":"TemporaryFile(/tmp/multipartBody5341852306926619157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329323919,"filename":"image_16112025_20_12_24_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d2278572eee8e80839b3b306b17c70db.jpg","text":"TemporaryFile(/tmp/multipartBody6909628667494773747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329323919,"filename":"image_16112025_20_12_46_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a58e929c02cbf457e7a4c9cda60293d5.jpg","text":"TemporaryFile(/tmp/multipartBody1088209638044257547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329323919,"filename":"image_16112025_20_12_23_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7b964528ad7d0d15d17f15b20fcbe7d.jpg","text":"TemporaryFile(/tmp/multipartBody3026192408250672262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329323919,"filename":"image_16112025_20_12_58_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6025287d894e93f5456d3e62f7301d00.jpg","text":"TemporaryFile(/tmp/multipartBody2089745796604541385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329323919,"filename":"image_16112025_20_12_28_3325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773918","file1":"1394773917","file0":"1394773916","file4":"1394773921","file5":"1394773923","file3":"1394773919"},"map_files_photo_id_array":[{"photo_id":"1394773923","filename":"file5"},{"photo_id":"1394773918","filename":"file2"},{"photo_id":"1394773921","filename":"file4"},{"photo_id":"1394773917","filename":"file1"},{"photo_id":"1394773916","filename":"file0"},{"photo_id":"1394773919","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773923":["hashtag1","hashtag2"]},{"1394773917":["hashtag1","hashtag2"]},{"1394773919":["hashtag1","hashtag2"]},{"1394773916":["hashtag1","hashtag2"]},{"1394773921":["hashtag1","hashtag2"]},{"1394773918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773923, 1394773917, 1394773919, 1394773916, 1394773921, 1394773918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3023681640625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:41:42.502526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_12_9705.jpg', '/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_15_3074.jpg', '/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_16_1622.jpg', '/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_18_1756.jpg', '/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_26_8204.jpg', '/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_28_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_12_9705.jpg
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_15_3074.jpg
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_16_1622.jpg
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_18_1756.jpg
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_26_8204.jpg
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_28_1550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773931","1394773934","1394773928","1394773930","1394773927","1394773932"],"photo_ids_order":["1394773927","1394773928","1394773930","1394773931","1394773932","1394773934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ffa6b73a0cdc38ec0f688e82c6b8791.jpg","text":"TemporaryFile(/tmp/multipartBody7957421913355241537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329363131,"filename":"image_16112025_20_13_18_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/62037bdd584b841115a5815d6f60fa13.jpg","text":"TemporaryFile(/tmp/multipartBody3083661179583737274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329363131,"filename":"image_16112025_20_13_28_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/20dbb4718efed5eb69a7aee20cf39bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7488299225382552654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329363131,"filename":"image_16112025_20_13_15_3074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f4610d80b87ea91b42398ccca5e12c8.jpg","text":"TemporaryFile(/tmp/multipartBody6779579800553308565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329363131,"filename":"image_16112025_20_13_16_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf8cf7e6c78fa47988f8e60eec505a40.jpg","text":"TemporaryFile(/tmp/multipartBody7760303812281200915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329363131,"filename":"image_16112025_20_13_12_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22119b946ae50c4ed7daf4d0c8673468.jpg","text":"TemporaryFile(/tmp/multipartBody4834562750174500973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329363131,"filename":"image_16112025_20_13_26_8204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773930","file1":"1394773928","file0":"1394773927","file4":"1394773932","file5":"1394773934","file3":"1394773931"},"map_files_photo_id_array":[{"photo_id":"1394773934","filename":"file5"},{"photo_id":"1394773930","filename":"file2"},{"photo_id":"1394773932","filename":"file4"},{"photo_id":"1394773928","filename":"file1"},{"photo_id":"1394773927","filename":"file0"},{"photo_id":"1394773931","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773931":["hashtag1","hashtag2"]},{"1394773934":["hashtag1","hashtag2"]},{"1394773928":["hashtag1","hashtag2"]},{"1394773930":["hashtag1","hashtag2"]},{"1394773927":["hashtag1","hashtag2"]},{"1394773932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773931, 1394773934, 1394773928, 1394773930, 1394773927, 1394773932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42459273338318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:42:22.782961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_33_1556.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_15_8777.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_17_1621.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_19_1637.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_25_2797.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_28_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/13/image_16112025_20_13_33_1556.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_15_8777.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_17_1621.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_19_1637.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_25_2797.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_28_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773940","1394773942","1394773939","1394773944","1394773938","1394773941"],"photo_ids_order":["1394773938","1394773939","1394773940","1394773941","1394773942","1394773944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/319c8748d5cf59871d4c67f5aff1e33d.jpg","text":"TemporaryFile(/tmp/multipartBody8995417187211738852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329403436,"filename":"image_16112025_20_16_17_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18065e3a470feaadb211f79f5cf2356a.jpg","text":"TemporaryFile(/tmp/multipartBody9198084853062691523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329403436,"filename":"image_16112025_20_16_25_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00ad0beba017b038798ead29e219c9fc.jpg","text":"TemporaryFile(/tmp/multipartBody6933762920748602662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329403436,"filename":"image_16112025_20_16_15_8777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8479b04b07cd1c24f60d35c471c535ff.jpg","text":"TemporaryFile(/tmp/multipartBody2007938795158959154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329403436,"filename":"image_16112025_20_16_28_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae46c8c62852a940e4d5d0c3f1927b57.jpg","text":"TemporaryFile(/tmp/multipartBody2480511385481787885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329403436,"filename":"image_16112025_20_13_33_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35401550ff62ee1e836234e2d5ee1bd1.jpg","text":"TemporaryFile(/tmp/multipartBody7762069224324844702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329403436,"filename":"image_16112025_20_16_19_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773940","file1":"1394773939","file0":"1394773938","file4":"1394773942","file5":"1394773944","file3":"1394773941"},"map_files_photo_id_array":[{"photo_id":"1394773944","filename":"file5"},{"photo_id":"1394773940","filename":"file2"},{"photo_id":"1394773942","filename":"file4"},{"photo_id":"1394773939","filename":"file1"},{"photo_id":"1394773938","filename":"file0"},{"photo_id":"1394773941","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773940":["hashtag1","hashtag2"]},{"1394773942":["hashtag1","hashtag2"]},{"1394773939":["hashtag1","hashtag2"]},{"1394773944":["hashtag1","hashtag2"]},{"1394773938":["hashtag1","hashtag2"]},{"1394773941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773940, 1394773942, 1394773939, 1394773944, 1394773938, 1394773941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.609182596206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:43:02.875222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_31_2873.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_34_2714.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_43_2726.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_46_2532.jpg', '/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_55_2602.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_04_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_31_2873.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_34_2714.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_43_2726.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_46_2532.jpg
/home/pi/Desktop/images/16112025/20/16/image_16112025_20_16_55_2602.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_04_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773952","1394773946","1394773948","1394773945","1394773950","1394773947"],"photo_ids_order":["1394773945","1394773946","1394773947","1394773948","1394773950","1394773952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f717f8e5ed9ee5c17594934737b98101.jpg","text":"TemporaryFile(/tmp/multipartBody4841918859284878684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329443586,"filename":"image_16112025_20_17_04_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72f2b6079042a38d215a53fdeef6de33.jpg","text":"TemporaryFile(/tmp/multipartBody2229675713122252416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329443586,"filename":"image_16112025_20_16_34_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2545750de12af0a1bb769c5832e46a0.jpg","text":"TemporaryFile(/tmp/multipartBody8384208839844709956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329443586,"filename":"image_16112025_20_16_46_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34ce7c501a1e66d4d55a4d666b931368.jpg","text":"TemporaryFile(/tmp/multipartBody8425920893633677563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329443586,"filename":"image_16112025_20_16_31_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78ef6a078299412256bea90093a684b5.jpg","text":"TemporaryFile(/tmp/multipartBody1659355164740296560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329443586,"filename":"image_16112025_20_16_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/11/16/b7955561c6fcd084371902f288549b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8154886737036020920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329443586,"filename":"image_16112025_20_16_43_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773947","file1":"1394773946","file0":"1394773945","file4":"1394773950","file5":"1394773952","file3":"1394773948"},"map_files_photo_id_array":[{"photo_id":"1394773952","filename":"file5"},{"photo_id":"1394773947","filename":"file2"},{"photo_id":"1394773950","filename":"file4"},{"photo_id":"1394773946","filename":"file1"},{"photo_id":"1394773945","filename":"file0"},{"photo_id":"1394773948","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773952":["hashtag1","hashtag2"]},{"1394773946":["hashtag1","hashtag2"]},{"1394773948":["hashtag1","hashtag2"]},{"1394773945":["hashtag1","hashtag2"]},{"1394773950":["hashtag1","hashtag2"]},{"1394773947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773952, 1394773946, 1394773948, 1394773945, 1394773950, 1394773947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79469418525696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:43:42.049020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_07_2556.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_10_2990.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_22_2496.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_24_2804.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_28_3719.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_37_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_07_2556.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_10_2990.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_22_2496.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_24_2804.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_28_3719.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_37_3765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773958","1394773960","1394773954","1394773957","1394773956","1394773959"],"photo_ids_order":["1394773954","1394773956","1394773957","1394773958","1394773959","1394773960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/481578cb3b556977617415e04cac1716.jpg","text":"TemporaryFile(/tmp/multipartBody1032776468496633502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329482679,"filename":"image_16112025_20_17_24_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5738f5d82a89028bdf13130822809d2f.jpg","text":"TemporaryFile(/tmp/multipartBody9018075355328436140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329482679,"filename":"image_16112025_20_17_37_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/daef834eb9d61b685137ab4b9a7a362b.jpg","text":"TemporaryFile(/tmp/multipartBody1941034847604970713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329482679,"filename":"image_16112025_20_17_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/11/16/c37c2d23462b03e76ff06799cf094888.jpg","text":"TemporaryFile(/tmp/multipartBody8978887477863882928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329482679,"filename":"image_16112025_20_17_22_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/700415cd4385742407398b816096e435.jpg","text":"TemporaryFile(/tmp/multipartBody2818871907571221043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329482679,"filename":"image_16112025_20_17_10_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2437d8d6d39770e95a7a9c2ea490fe5e.jpg","text":"TemporaryFile(/tmp/multipartBody3920273716967249711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329482679,"filename":"image_16112025_20_17_28_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773957","file1":"1394773956","file0":"1394773954","file4":"1394773959","file5":"1394773960","file3":"1394773958"},"map_files_photo_id_array":[{"photo_id":"1394773960","filename":"file5"},{"photo_id":"1394773957","filename":"file2"},{"photo_id":"1394773959","filename":"file4"},{"photo_id":"1394773956","filename":"file1"},{"photo_id":"1394773954","filename":"file0"},{"photo_id":"1394773958","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773958":["hashtag1","hashtag2"]},{"1394773960":["hashtag1","hashtag2"]},{"1394773954":["hashtag1","hashtag2"]},{"1394773957":["hashtag1","hashtag2"]},{"1394773956":["hashtag1","hashtag2"]},{"1394773959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773958, 1394773960, 1394773954, 1394773957, 1394773956, 1394773959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.660335540771484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:44:22.301985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_40_2615.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_43_2615.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_49_2529.jpg', '/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_52_2788.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_04_3789.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_12_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_40_2615.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_43_2615.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_49_2529.jpg
/home/pi/Desktop/images/16112025/20/17/image_16112025_20_17_52_2788.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_04_3789.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_12_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773967","1394773966","1394773969","1394773963","1394773962","1394773965"],"photo_ids_order":["1394773962","1394773963","1394773965","1394773966","1394773967","1394773969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1457adc933d75ab04baaeca900b80328.jpg","text":"TemporaryFile(/tmp/multipartBody996136705911973066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329523033,"filename":"image_16112025_20_18_04_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3f93df2bd72b4afc590ef38344483926.jpg","text":"TemporaryFile(/tmp/multipartBody7490641623735527317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329523033,"filename":"image_16112025_20_17_52_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21bac17225ef1562afc69437cc0f63f7.jpg","text":"TemporaryFile(/tmp/multipartBody2785211002911142556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329523033,"filename":"image_16112025_20_18_12_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e80c9debab7b4a5f5e1f9800bc0e3526.jpg","text":"TemporaryFile(/tmp/multipartBody11751699181145728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329523033,"filename":"image_16112025_20_17_43_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c07a53daea541c5de7c47fbb050b8f8c.jpg","text":"TemporaryFile(/tmp/multipartBody2670130190349659965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329523033,"filename":"image_16112025_20_17_40_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cfb7c1408457b396126d7bf295b94a9.jpg","text":"TemporaryFile(/tmp/multipartBody2274986425841048921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329523033,"filename":"image_16112025_20_17_49_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773965","file1":"1394773963","file0":"1394773962","file4":"1394773967","file5":"1394773969","file3":"1394773966"},"map_files_photo_id_array":[{"photo_id":"1394773969","filename":"file5"},{"photo_id":"1394773965","filename":"file2"},{"photo_id":"1394773967","filename":"file4"},{"photo_id":"1394773963","filename":"file1"},{"photo_id":"1394773962","filename":"file0"},{"photo_id":"1394773966","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773967":["hashtag1","hashtag2"]},{"1394773966":["hashtag1","hashtag2"]},{"1394773969":["hashtag1","hashtag2"]},{"1394773963":["hashtag1","hashtag2"]},{"1394773962":["hashtag1","hashtag2"]},{"1394773965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773967, 1394773966, 1394773969, 1394773963, 1394773962, 1394773965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18421697616577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:45:03.330084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_19_2747.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_22_2661.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_25_3506.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_30_2789.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_34_3605.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_37_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_19_2747.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_22_2661.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_25_3506.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_30_2789.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_34_3605.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_37_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773973","1394773970","1394773972","1394773975","1394773977","1394773971"],"photo_ids_order":["1394773970","1394773971","1394773972","1394773973","1394773975","1394773977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5280c0b65ba314c53ce6f0e7d797c500.jpg","text":"TemporaryFile(/tmp/multipartBody2521151359410390104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329564019,"filename":"image_16112025_20_18_30_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/983f980f7d61eb8974f820eca54c07b7.jpg","text":"TemporaryFile(/tmp/multipartBody716929578888987899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329564019,"filename":"image_16112025_20_18_19_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2437e04046d496cab81d5ddfbb4678e5.jpg","text":"TemporaryFile(/tmp/multipartBody6469179784195862072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329564019,"filename":"image_16112025_20_18_25_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/86df2ade4ef28cd0d3cd2467526ded1e.jpg","text":"TemporaryFile(/tmp/multipartBody7673508004300827443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329564019,"filename":"image_16112025_20_18_34_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/277449336b678a23912d81d2741a5fdc.jpg","text":"TemporaryFile(/tmp/multipartBody558726459713149642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329564019,"filename":"image_16112025_20_18_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/11/16/68dcbd8a2bf1d045000e8980e9bfad28.jpg","text":"TemporaryFile(/tmp/multipartBody4118261034351178867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329564019,"filename":"image_16112025_20_18_22_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773972","file1":"1394773971","file0":"1394773970","file4":"1394773975","file5":"1394773977","file3":"1394773973"},"map_files_photo_id_array":[{"photo_id":"1394773977","filename":"file5"},{"photo_id":"1394773972","filename":"file2"},{"photo_id":"1394773975","filename":"file4"},{"photo_id":"1394773971","filename":"file1"},{"photo_id":"1394773970","filename":"file0"},{"photo_id":"1394773973","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773973":["hashtag1","hashtag2"]},{"1394773970":["hashtag1","hashtag2"]},{"1394773972":["hashtag1","hashtag2"]},{"1394773975":["hashtag1","hashtag2"]},{"1394773977":["hashtag1","hashtag2"]},{"1394773971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773973, 1394773970, 1394773972, 1394773975, 1394773977, 1394773971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86559176445007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:45:42.700155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_48_2675.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_52_3812.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_55_2658.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_04_3570.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_06_2567.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_13_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_48_2675.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_52_3812.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_55_2658.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_04_3570.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_06_2567.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_13_2680.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.5477690696716309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:46:02.447432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_48_2675.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_52_3812.jpg', '/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_55_2658.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_04_3570.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_06_2567.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_13_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_48_2675.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_52_3812.jpg
/home/pi/Desktop/images/16112025/20/18/image_16112025_20_18_55_2658.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_04_3570.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_06_2567.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_13_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773991","1394773988","1394773993","1394773987","1394773989","1394773986"],"photo_ids_order":["1394773986","1394773987","1394773988","1394773989","1394773991","1394773993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b6389936b1291b2bc344b4338cf12c82.jpg","text":"TemporaryFile(/tmp/multipartBody2546337558057149200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329623160,"filename":"image_16112025_20_19_06_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6266f79dea7dc0865dd08c7fc5546dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2241163653541003662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329623160,"filename":"image_16112025_20_18_55_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f4d970e8dd1b7a58751d3dc6d0d0f89.jpg","text":"TemporaryFile(/tmp/multipartBody5153951970415835603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329623160,"filename":"image_16112025_20_19_13_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a36f8bafe4954cf8222073f2c7327316.jpg","text":"TemporaryFile(/tmp/multipartBody5846625176813687633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329623160,"filename":"image_16112025_20_18_52_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/947636aae5049adfa1e3e96fe172bb34.jpg","text":"TemporaryFile(/tmp/multipartBody6382420828916418072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329623160,"filename":"image_16112025_20_19_04_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e05e91201cdbadf264d165462964168.jpg","text":"TemporaryFile(/tmp/multipartBody6605671346687283228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329623160,"filename":"image_16112025_20_18_48_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773988","file1":"1394773987","file0":"1394773986","file4":"1394773991","file5":"1394773993","file3":"1394773989"},"map_files_photo_id_array":[{"photo_id":"1394773993","filename":"file5"},{"photo_id":"1394773988","filename":"file2"},{"photo_id":"1394773991","filename":"file4"},{"photo_id":"1394773987","filename":"file1"},{"photo_id":"1394773986","filename":"file0"},{"photo_id":"1394773989","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773991":["hashtag1","hashtag2"]},{"1394773988":["hashtag1","hashtag2"]},{"1394773993":["hashtag1","hashtag2"]},{"1394773987":["hashtag1","hashtag2"]},{"1394773989":["hashtag1","hashtag2"]},{"1394773986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773991, 1394773988, 1394773993, 1394773987, 1394773989, 1394773986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46511173248291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:46:41.951809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_18_2669.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_22_3665.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_36_2624.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_40_3512.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_42_2802.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_46_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_18_2669.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_22_3665.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_36_2624.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_40_3512.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_42_2802.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_46_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394773997","1394774000","1394773999","1394773995","1394773998","1394774001"],"photo_ids_order":["1394773995","1394773997","1394773998","1394773999","1394774000","1394774001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5af29c9eca6c94d4c07f08c7a04e426d.jpg","text":"TemporaryFile(/tmp/multipartBody7248551401864780639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329662582,"filename":"image_16112025_20_19_22_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73c2d379905e94d27d0d174b9c4dec80.jpg","text":"TemporaryFile(/tmp/multipartBody8751476091177058441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329662582,"filename":"image_16112025_20_19_42_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fa5cf5986e7ee671f1839948d1e59d10.jpg","text":"TemporaryFile(/tmp/multipartBody1600743360333784022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329662582,"filename":"image_16112025_20_19_40_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/49861161eefc702160a8fbda0956d745.jpg","text":"TemporaryFile(/tmp/multipartBody5174466657531786124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329662582,"filename":"image_16112025_20_19_18_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5e269e2d83ec37ca3483b28cca01855.jpg","text":"TemporaryFile(/tmp/multipartBody8870014957006890257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329662582,"filename":"image_16112025_20_19_36_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a13dafeb6df7ba5d59413be4c979a3b7.jpg","text":"TemporaryFile(/tmp/multipartBody3074333396084268363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329662582,"filename":"image_16112025_20_19_46_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394773998","file1":"1394773997","file0":"1394773995","file4":"1394774000","file5":"1394774001","file3":"1394773999"},"map_files_photo_id_array":[{"photo_id":"1394774001","filename":"file5"},{"photo_id":"1394773998","filename":"file2"},{"photo_id":"1394774000","filename":"file4"},{"photo_id":"1394773997","filename":"file1"},{"photo_id":"1394773995","filename":"file0"},{"photo_id":"1394773999","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394773997":["hashtag1","hashtag2"]},{"1394774000":["hashtag1","hashtag2"]},{"1394773999":["hashtag1","hashtag2"]},{"1394773995":["hashtag1","hashtag2"]},{"1394773998":["hashtag1","hashtag2"]},{"1394774001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394773997, 1394774000, 1394773999, 1394773995, 1394773998, 1394774001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04903793334961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:47:22.182838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_49_2707.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_51_2515.jpg', '/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_58_3684.jpg', '/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_21_2615.jpg', '/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_25_3742.jpg', '/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_28_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_49_2707.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_51_2515.jpg
/home/pi/Desktop/images/16112025/20/19/image_16112025_20_19_58_3684.jpg
/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_21_2615.jpg
/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_25_3742.jpg
/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_28_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774006","1394774011","1394774008","1394774013","1394774010","1394774004"],"photo_ids_order":["1394774004","1394774006","1394774008","1394774010","1394774011","1394774013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/479d1ab2ad6b4ff9ff3f467fadd6164e.jpg","text":"TemporaryFile(/tmp/multipartBody780328007219074341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329702868,"filename":"image_16112025_20_19_51_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/302dd3c454729fa0aba8889ef8b2659c.jpg","text":"TemporaryFile(/tmp/multipartBody5128130022771093534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329702868,"filename":"image_16112025_20_20_25_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/552545cd2f649c47ad7475fcfdb938f7.jpg","text":"TemporaryFile(/tmp/multipartBody4982050693055707797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329702868,"filename":"image_16112025_20_19_58_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/222bf2ff4b83c151e8760563908a0330.jpg","text":"TemporaryFile(/tmp/multipartBody1811630468109100782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329702868,"filename":"image_16112025_20_20_28_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/321b7dd3e9d598bbc87179c9eb7ea363.jpg","text":"TemporaryFile(/tmp/multipartBody4364672373726381501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329702868,"filename":"image_16112025_20_20_21_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e8e8a1adb978a3efaa4b6c82bfa1043.jpg","text":"TemporaryFile(/tmp/multipartBody3878156057061510024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329702868,"filename":"image_16112025_20_19_49_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774008","file1":"1394774006","file0":"1394774004","file4":"1394774011","file5":"1394774013","file3":"1394774010"},"map_files_photo_id_array":[{"photo_id":"1394774013","filename":"file5"},{"photo_id":"1394774008","filename":"file2"},{"photo_id":"1394774011","filename":"file4"},{"photo_id":"1394774006","filename":"file1"},{"photo_id":"1394774004","filename":"file0"},{"photo_id":"1394774010","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774006":["hashtag1","hashtag2"]},{"1394774011":["hashtag1","hashtag2"]},{"1394774008":["hashtag1","hashtag2"]},{"1394774013":["hashtag1","hashtag2"]},{"1394774010":["hashtag1","hashtag2"]},{"1394774004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774006, 1394774011, 1394774008, 1394774013, 1394774010, 1394774004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.901944398880005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:48:02.947097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_34_3524.jpg', '/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_40_3663.jpg', '/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_45_2837.jpg', '/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_49_3633.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_01_2684.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_03_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_34_3524.jpg
/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_40_3663.jpg
/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_45_2837.jpg
/home/pi/Desktop/images/16112025/20/20/image_16112025_20_20_49_3633.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_01_2684.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_03_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774015","1394774014","1394774017","1394774019","1394774022","1394774016"],"photo_ids_order":["1394774014","1394774015","1394774016","1394774017","1394774019","1394774022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/44e820027e2fdb70259934520db05432.jpg","text":"TemporaryFile(/tmp/multipartBody430474104717283861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329743620,"filename":"image_16112025_20_20_40_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47543e9180245241000dbf394637bc2a.jpg","text":"TemporaryFile(/tmp/multipartBody6011060211491225692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329743620,"filename":"image_16112025_20_20_34_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f201d28f5142608ddc552f3e3f028f08.jpg","text":"TemporaryFile(/tmp/multipartBody7518719471061105946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329743620,"filename":"image_16112025_20_20_49_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3f1373e526c48714c9f9b4a5a11506e.jpg","text":"TemporaryFile(/tmp/multipartBody2320865351875561972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329743620,"filename":"image_16112025_20_21_01_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fd03623a0164c56ace8c05e0070ec1f.jpg","text":"TemporaryFile(/tmp/multipartBody6244704481232920954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329743620,"filename":"image_16112025_20_21_03_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/23e527d2dc07b8b537c91f04dff2a5e1.jpg","text":"TemporaryFile(/tmp/multipartBody1405631877503590863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329743620,"filename":"image_16112025_20_20_45_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774016","file1":"1394774015","file0":"1394774014","file4":"1394774019","file5":"1394774022","file3":"1394774017"},"map_files_photo_id_array":[{"photo_id":"1394774022","filename":"file5"},{"photo_id":"1394774016","filename":"file2"},{"photo_id":"1394774019","filename":"file4"},{"photo_id":"1394774015","filename":"file1"},{"photo_id":"1394774014","filename":"file0"},{"photo_id":"1394774017","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774015":["hashtag1","hashtag2"]},{"1394774014":["hashtag1","hashtag2"]},{"1394774017":["hashtag1","hashtag2"]},{"1394774019":["hashtag1","hashtag2"]},{"1394774022":["hashtag1","hashtag2"]},{"1394774016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774015, 1394774014, 1394774017, 1394774019, 1394774022, 1394774016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.658798694610596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:48:42.381228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_07_3572.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_09_2728.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_12_2703.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_25_3663.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_27_2638.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_34_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_07_3572.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_09_2728.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_12_2703.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_25_3663.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_27_2638.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_34_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774030","1394774027","1394774032","1394774029","1394774031","1394774028"],"photo_ids_order":["1394774027","1394774028","1394774029","1394774030","1394774031","1394774032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fb9dc90b522cfa29570afcfc4db2d5c5.jpg","text":"TemporaryFile(/tmp/multipartBody70036370126738003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329783004,"filename":"image_16112025_20_21_25_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bce5bd9a24062de4da700dacf322bfd2.jpg","text":"TemporaryFile(/tmp/multipartBody2359719008223747501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329783004,"filename":"image_16112025_20_21_07_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6d11e8193ef617f48b81451380c282d.jpg","text":"TemporaryFile(/tmp/multipartBody2002590952916090441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329783004,"filename":"image_16112025_20_21_34_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0dd46080e2079e46641f52fa255be7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1970013765023997815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329783004,"filename":"image_16112025_20_21_12_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f33066aa97cf05692cce9f699e301e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2553361868036978798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329783004,"filename":"image_16112025_20_21_27_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4baa8452dfb6705e778fb5f14a0da4f1.jpg","text":"TemporaryFile(/tmp/multipartBody4079146310490305578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329783004,"filename":"image_16112025_20_21_09_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774029","file1":"1394774028","file0":"1394774027","file4":"1394774031","file5":"1394774032","file3":"1394774030"},"map_files_photo_id_array":[{"photo_id":"1394774032","filename":"file5"},{"photo_id":"1394774029","filename":"file2"},{"photo_id":"1394774031","filename":"file4"},{"photo_id":"1394774028","filename":"file1"},{"photo_id":"1394774027","filename":"file0"},{"photo_id":"1394774030","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774030":["hashtag1","hashtag2"]},{"1394774027":["hashtag1","hashtag2"]},{"1394774032":["hashtag1","hashtag2"]},{"1394774029":["hashtag1","hashtag2"]},{"1394774031":["hashtag1","hashtag2"]},{"1394774028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774030, 1394774027, 1394774032, 1394774029, 1394774031, 1394774028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29372262954712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:49:22.705399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_36_2760.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_49_3714.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_51_2611.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_55_3871.jpg', '/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_58_2615.jpg', '/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_01_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_36_2760.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_49_3714.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_51_2611.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_55_3871.jpg
/home/pi/Desktop/images/16112025/20/21/image_16112025_20_21_58_2615.jpg
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_01_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774042","1394774039","1394774035","1394774038","1394774037","1394774040"],"photo_ids_order":["1394774035","1394774037","1394774038","1394774039","1394774040","1394774042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/79e2ae7ad017a423c21376bd09e1920e.jpg","text":"TemporaryFile(/tmp/multipartBody4812009422765122357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329823379,"filename":"image_16112025_20_22_01_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbe14cc1f2e12739506bbc0110e1a2ab.jpg","text":"TemporaryFile(/tmp/multipartBody1986827195912201222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329823379,"filename":"image_16112025_20_21_55_3871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a92a0b893020a38dc30e1f69120821d.jpg","text":"TemporaryFile(/tmp/multipartBody5003579444168024638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329823379,"filename":"image_16112025_20_21_36_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf0c35db46d1f684ada34a231b0e77af.jpg","text":"TemporaryFile(/tmp/multipartBody7629890517242760920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329823379,"filename":"image_16112025_20_21_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/11/16/71fc474403d98360273f29cb6638e889.jpg","text":"TemporaryFile(/tmp/multipartBody7955864419477496617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329823379,"filename":"image_16112025_20_21_49_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef3baf123c7a09b4fa71a5e7a91b1af6.jpg","text":"TemporaryFile(/tmp/multipartBody7992555548600200178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329823379,"filename":"image_16112025_20_21_58_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774038","file1":"1394774037","file0":"1394774035","file4":"1394774040","file5":"1394774042","file3":"1394774039"},"map_files_photo_id_array":[{"photo_id":"1394774042","filename":"file5"},{"photo_id":"1394774038","filename":"file2"},{"photo_id":"1394774040","filename":"file4"},{"photo_id":"1394774037","filename":"file1"},{"photo_id":"1394774035","filename":"file0"},{"photo_id":"1394774039","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774042":["hashtag1","hashtag2"]},{"1394774039":["hashtag1","hashtag2"]},{"1394774035":["hashtag1","hashtag2"]},{"1394774038":["hashtag1","hashtag2"]},{"1394774037":["hashtag1","hashtag2"]},{"1394774040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774042, 1394774039, 1394774035, 1394774038, 1394774037, 1394774040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97620415687561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:50:02.249263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_03_2864.jpg', '/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_06_2533.jpg', '/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_30_2519.jpg', '/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_33_2686.jpg', '/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_39_2631.jpg', '/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_42_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_03_2864.jpg
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_06_2533.jpg
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_30_2519.jpg
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_33_2686.jpg
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_39_2631.jpg
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_42_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774051","1394774045","1394774047","1394774044","1394774046","1394774049"],"photo_ids_order":["1394774044","1394774045","1394774046","1394774047","1394774049","1394774051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1690dabc3b86661505fe0692924deec4.jpg","text":"TemporaryFile(/tmp/multipartBody8555715822509163244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329862934,"filename":"image_16112025_20_22_42_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ca70a8b0f68bc243293f8c75a1ae253.jpg","text":"TemporaryFile(/tmp/multipartBody3969617745083278336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329862934,"filename":"image_16112025_20_22_06_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f8e3b5c450dad3415fd285a0f087e477.jpg","text":"TemporaryFile(/tmp/multipartBody8924194485778746606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329862934,"filename":"image_16112025_20_22_33_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/25f23c7b1bde7e94a0d8754091ca4eb7.jpg","text":"TemporaryFile(/tmp/multipartBody6255377297180793406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329862934,"filename":"image_16112025_20_22_03_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6286b9c1995c9b1c77c5a028d94b78fb.jpg","text":"TemporaryFile(/tmp/multipartBody5400206767352170191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329862934,"filename":"image_16112025_20_22_30_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6153ba9769654d5342e3880d55e31123.jpg","text":"TemporaryFile(/tmp/multipartBody3761232717173128087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329862934,"filename":"image_16112025_20_22_39_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774046","file1":"1394774045","file0":"1394774044","file4":"1394774049","file5":"1394774051","file3":"1394774047"},"map_files_photo_id_array":[{"photo_id":"1394774051","filename":"file5"},{"photo_id":"1394774046","filename":"file2"},{"photo_id":"1394774049","filename":"file4"},{"photo_id":"1394774045","filename":"file1"},{"photo_id":"1394774044","filename":"file0"},{"photo_id":"1394774047","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774051":["hashtag1","hashtag2"]},{"1394774045":["hashtag1","hashtag2"]},{"1394774047":["hashtag1","hashtag2"]},{"1394774044":["hashtag1","hashtag2"]},{"1394774046":["hashtag1","hashtag2"]},{"1394774049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774051, 1394774045, 1394774047, 1394774044, 1394774046, 1394774049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.326908111572266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:50:41.922344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_46_3597.jpg', '/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_51_2581.jpg', '/home/pi/Desktop/images/16112025/20/22/image_16112025_20_23_00_2727.jpg', '/home/pi/Desktop/images/16112025/20/23/image_16112025_20_23_06_2603.jpg', '/home/pi/Desktop/images/16112025/20/23/image_16112025_20_23_09_2677.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_46_3597.jpg
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_22_51_2581.jpg
/home/pi/Desktop/images/16112025/20/22/image_16112025_20_23_00_2727.jpg
/home/pi/Desktop/images/16112025/20/23/image_16112025_20_23_06_2603.jpg
/home/pi/Desktop/images/16112025/20/23/image_16112025_20_23_09_2677.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774060","1394774054","1394774057","1394774059","1394774056","1394774058"],"photo_ids_order":["1394774054","1394774056","1394774057","1394774058","1394774059","1394774060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2993c4fdec4905b590addb40a993a843.jpg","text":"TemporaryFile(/tmp/multipartBody2703618367872761442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329902612,"filename":"image_16112025_20_24_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2775da8452bdbcda0d30dc9898df191.jpg","text":"TemporaryFile(/tmp/multipartBody5964763815252011291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329902612,"filename":"image_16112025_20_22_46_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cea252a12c4cbefa31c6a5d70f4ab9f8.jpg","text":"TemporaryFile(/tmp/multipartBody4153666332927009261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329902612,"filename":"image_16112025_20_23_00_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ad4d284dcbc90e96deb33faf6687f37.jpg","text":"TemporaryFile(/tmp/multipartBody8882027951890921571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329902612,"filename":"image_16112025_20_23_09_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05ddb9deada6dfbc557413d5532e5f40.jpg","text":"TemporaryFile(/tmp/multipartBody3929959144490453253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329902612,"filename":"image_16112025_20_22_51_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0a3ed5b12b6f27cbb8df2df35d5200a2.jpg","text":"TemporaryFile(/tmp/multipartBody2765378926122823708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329902612,"filename":"image_16112025_20_23_06_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774057","file1":"1394774056","file0":"1394774054","file4":"1394774059","file5":"1394774060","file3":"1394774058"},"map_files_photo_id_array":[{"photo_id":"1394774060","filename":"file5"},{"photo_id":"1394774057","filename":"file2"},{"photo_id":"1394774059","filename":"file4"},{"photo_id":"1394774056","filename":"file1"},{"photo_id":"1394774054","filename":"file0"},{"photo_id":"1394774058","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774060":["hashtag1","hashtag2"]},{"1394774054":["hashtag1","hashtag2"]},{"1394774057":["hashtag1","hashtag2"]},{"1394774059":["hashtag1","hashtag2"]},{"1394774056":["hashtag1","hashtag2"]},{"1394774058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774060, 1394774054, 1394774057, 1394774059, 1394774056, 1394774058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97427201271057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:51:22.091361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_10_3725.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_13_2508.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_16_3622.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_19_2549.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_22_2710.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_25_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_10_3725.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_13_2508.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_16_3622.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_19_2549.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_22_2710.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_25_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774068","1394774062","1394774073","1394774076","1394774070","1394774066"],"photo_ids_order":["1394774062","1394774066","1394774068","1394774070","1394774073","1394774076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca93505fecb0a46e5fd809c760d14a51.jpg","text":"TemporaryFile(/tmp/multipartBody8180950553630669578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329942749,"filename":"image_16112025_20_24_16_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f2a1f16610f586f994796b2e02e4e06a.jpg","text":"TemporaryFile(/tmp/multipartBody2624088496830914189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329942749,"filename":"image_16112025_20_24_10_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0fe83a0cb1ea01b8ffe0b3fb0ec87ba.jpg","text":"TemporaryFile(/tmp/multipartBody7375506707522226216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329942749,"filename":"image_16112025_20_24_22_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8bb5283a78603b616e15472926dc907c.jpg","text":"TemporaryFile(/tmp/multipartBody3026427834418111360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329942749,"filename":"image_16112025_20_24_25_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7dfd36bf3cd54162c99d2b42a162b664.jpg","text":"TemporaryFile(/tmp/multipartBody9023521908839767927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329942749,"filename":"image_16112025_20_24_19_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/812e008999bd2df7f831f8da37832964.jpg","text":"TemporaryFile(/tmp/multipartBody5549765852512924838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329942749,"filename":"image_16112025_20_24_13_2508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774068","file1":"1394774066","file0":"1394774062","file4":"1394774073","file5":"1394774076","file3":"1394774070"},"map_files_photo_id_array":[{"photo_id":"1394774076","filename":"file5"},{"photo_id":"1394774068","filename":"file2"},{"photo_id":"1394774073","filename":"file4"},{"photo_id":"1394774066","filename":"file1"},{"photo_id":"1394774062","filename":"file0"},{"photo_id":"1394774070","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774068":["hashtag1","hashtag2"]},{"1394774062":["hashtag1","hashtag2"]},{"1394774073":["hashtag1","hashtag2"]},{"1394774076":["hashtag1","hashtag2"]},{"1394774070":["hashtag1","hashtag2"]},{"1394774066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774068, 1394774062, 1394774073, 1394774076, 1394774070, 1394774066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.381701946258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:52:02.837969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_28_2555.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_31_2805.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_37_2599.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_40_3619.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_43_2596.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_49_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_28_2555.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_31_2805.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_37_2599.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_40_3619.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_43_2596.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_49_3786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774081","1394774078","1394774083","1394774080","1394774085","1394774079"],"photo_ids_order":["1394774078","1394774079","1394774080","1394774081","1394774083","1394774085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0516ba5f56c596ebf92e426ccccc8c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2710069309396782097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329983575,"filename":"image_16112025_20_24_40_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ad1acee69fdebf81bc3c38687422119.jpg","text":"TemporaryFile(/tmp/multipartBody7968914832311609983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329983575,"filename":"image_16112025_20_24_28_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/630c5feac208cc90115d1b5693a2a7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1308662719500450452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329983575,"filename":"image_16112025_20_24_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/11/16/65d14982d7bb8098278ac974bcad9d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5343544442480819766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329983575,"filename":"image_16112025_20_24_37_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c2c1f70f9ecf2bea59a96c5e02876452.jpg","text":"TemporaryFile(/tmp/multipartBody574635058152908984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329983575,"filename":"image_16112025_20_24_49_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/05a3e00f6bf269d3371c1391b94f6f90.jpg","text":"TemporaryFile(/tmp/multipartBody3010680067662647610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763329983575,"filename":"image_16112025_20_24_31_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774080","file1":"1394774079","file0":"1394774078","file4":"1394774083","file5":"1394774085","file3":"1394774081"},"map_files_photo_id_array":[{"photo_id":"1394774085","filename":"file5"},{"photo_id":"1394774080","filename":"file2"},{"photo_id":"1394774083","filename":"file4"},{"photo_id":"1394774079","filename":"file1"},{"photo_id":"1394774078","filename":"file0"},{"photo_id":"1394774081","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774081":["hashtag1","hashtag2"]},{"1394774078":["hashtag1","hashtag2"]},{"1394774083":["hashtag1","hashtag2"]},{"1394774080":["hashtag1","hashtag2"]},{"1394774085":["hashtag1","hashtag2"]},{"1394774079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774081, 1394774078, 1394774083, 1394774080, 1394774085, 1394774079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.897433042526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:52:42.392350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_52_2675.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_58_3635.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_01_2854.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_19_3626.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_28_2756.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_31_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_52_2675.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_58_3635.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_01_2854.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_19_3626.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_28_2756.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_31_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: 0.5473871231079102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:53:03.457731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_52_2675.jpg', '/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_58_3635.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_01_2854.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_19_3626.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_28_2756.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_31_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_52_2675.jpg
/home/pi/Desktop/images/16112025/20/24/image_16112025_20_24_58_3635.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_01_2854.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_19_3626.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_28_2756.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_31_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774096","1394774098","1394774101","1394774097","1394774099","1394774103"],"photo_ids_order":["1394774096","1394774097","1394774098","1394774099","1394774101","1394774103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c966e79e26b29d3b37b88f532f9f688.jpg","text":"TemporaryFile(/tmp/multipartBody7079055644303790864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330044177,"filename":"image_16112025_20_24_52_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/83f0ab579c36539bb44ab1d39103e416.jpg","text":"TemporaryFile(/tmp/multipartBody7564666034740259583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330044177,"filename":"image_16112025_20_25_01_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d57c2915e7a1a118acc65d04d09add64.jpg","text":"TemporaryFile(/tmp/multipartBody5077168527063681647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330044177,"filename":"image_16112025_20_25_28_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fa363b770e9697febf801e9c457094e.jpg","text":"TemporaryFile(/tmp/multipartBody1252132530948887693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330044177,"filename":"image_16112025_20_24_58_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/57eda8cd6cbba72c852e2d9efeb56fb5.jpg","text":"TemporaryFile(/tmp/multipartBody2071853236097441044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330044177,"filename":"image_16112025_20_25_19_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61a06f90f81d797100ebc931eee5c763.jpg","text":"TemporaryFile(/tmp/multipartBody6593565381630406621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330044177,"filename":"image_16112025_20_25_31_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774098","file1":"1394774097","file0":"1394774096","file4":"1394774101","file5":"1394774103","file3":"1394774099"},"map_files_photo_id_array":[{"photo_id":"1394774103","filename":"file5"},{"photo_id":"1394774098","filename":"file2"},{"photo_id":"1394774101","filename":"file4"},{"photo_id":"1394774097","filename":"file1"},{"photo_id":"1394774096","filename":"file0"},{"photo_id":"1394774099","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774096":["hashtag1","hashtag2"]},{"1394774098":["hashtag1","hashtag2"]},{"1394774101":["hashtag1","hashtag2"]},{"1394774097":["hashtag1","hashtag2"]},{"1394774099":["hashtag1","hashtag2"]},{"1394774103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774096, 1394774098, 1394774101, 1394774097, 1394774099, 1394774103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62131595611572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:53:42.680078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_34_3739.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_37_2529.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_48_2537.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_52_3705.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_55_2550.jpg', '/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_58_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_34_3739.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_37_2529.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_48_2537.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_52_3705.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_55_2550.jpg
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_25_58_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774111","1394774108","1394774107","1394774110","1394774112","1394774109"],"photo_ids_order":["1394774107","1394774108","1394774109","1394774110","1394774111","1394774112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac5eef9ea868af6692460e55ad9c7ee9.jpg","text":"TemporaryFile(/tmp/multipartBody956108644741715746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330083329,"filename":"image_16112025_20_25_55_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d589e7306ef00396d89745f260509b0.jpg","text":"TemporaryFile(/tmp/multipartBody3207958850509966446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330083329,"filename":"image_16112025_20_25_37_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bed6527e33321204b55b7e7350615610.jpg","text":"TemporaryFile(/tmp/multipartBody1096544141236652029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330083329,"filename":"image_16112025_20_25_34_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45beb83f4743b0c694de3e870dc91849.jpg","text":"TemporaryFile(/tmp/multipartBody216376328009170079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330083329,"filename":"image_16112025_20_25_52_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/148d47397e522dcbf354d3742ee577c5.jpg","text":"TemporaryFile(/tmp/multipartBody8034610057246036130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330083329,"filename":"image_16112025_20_25_58_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/73219078fce36348c5c5a2ad3dbd78d2.jpg","text":"TemporaryFile(/tmp/multipartBody6313143346959278441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330083329,"filename":"image_16112025_20_25_48_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774109","file1":"1394774108","file0":"1394774107","file4":"1394774111","file5":"1394774112","file3":"1394774110"},"map_files_photo_id_array":[{"photo_id":"1394774112","filename":"file5"},{"photo_id":"1394774109","filename":"file2"},{"photo_id":"1394774111","filename":"file4"},{"photo_id":"1394774108","filename":"file1"},{"photo_id":"1394774107","filename":"file0"},{"photo_id":"1394774110","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774111":["hashtag1","hashtag2"]},{"1394774108":["hashtag1","hashtag2"]},{"1394774107":["hashtag1","hashtag2"]},{"1394774110":["hashtag1","hashtag2"]},{"1394774112":["hashtag1","hashtag2"]},{"1394774109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774111, 1394774108, 1394774107, 1394774110, 1394774112, 1394774109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16019582748413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:54:21.979992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/25/image_16112025_20_26_00_2824.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_04_3546.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_07_2636.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_10_3757.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_16_2769.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_18_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/25/image_16112025_20_26_00_2824.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_04_3546.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_07_2636.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_10_3757.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_16_2769.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_18_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774117","1394774116","1394774119","1394774118","1394774121","1394774115"],"photo_ids_order":["1394774115","1394774116","1394774117","1394774118","1394774119","1394774121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/72a32d49b78589fb079c2eaad5b23717.jpg","text":"TemporaryFile(/tmp/multipartBody5018361386782819035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330122653,"filename":"image_16112025_20_26_07_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/948577058421b7d18c6a38b04d87c895.jpg","text":"TemporaryFile(/tmp/multipartBody7191463061018590362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330122653,"filename":"image_16112025_20_26_04_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9405e83e0dc7917821044b87d4b5dad2.jpg","text":"TemporaryFile(/tmp/multipartBody140019170769633373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330122653,"filename":"image_16112025_20_26_16_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/649fecc8b906ec66386d205151735dc4.jpg","text":"TemporaryFile(/tmp/multipartBody6058438439686429408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330122653,"filename":"image_16112025_20_26_10_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84da99956dd122cd239cab2fd4314a54.jpg","text":"TemporaryFile(/tmp/multipartBody1230741817623572914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330122653,"filename":"image_16112025_20_26_18_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a9fd6bff724653ae07ba122c432c5aba.jpg","text":"TemporaryFile(/tmp/multipartBody3946716554539405039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330122653,"filename":"image_16112025_20_26_00_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774117","file1":"1394774116","file0":"1394774115","file4":"1394774119","file5":"1394774121","file3":"1394774118"},"map_files_photo_id_array":[{"photo_id":"1394774121","filename":"file5"},{"photo_id":"1394774117","filename":"file2"},{"photo_id":"1394774119","filename":"file4"},{"photo_id":"1394774116","filename":"file1"},{"photo_id":"1394774115","filename":"file0"},{"photo_id":"1394774118","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774117":["hashtag1","hashtag2"]},{"1394774116":["hashtag1","hashtag2"]},{"1394774119":["hashtag1","hashtag2"]},{"1394774118":["hashtag1","hashtag2"]},{"1394774121":["hashtag1","hashtag2"]},{"1394774115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774117, 1394774116, 1394774119, 1394774118, 1394774121, 1394774115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41127347946167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:55:02.741187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_22_3654.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_27_2595.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_31_3838.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_36_2528.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_40_3697.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_45_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_22_3654.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_27_2595.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_31_3838.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_36_2528.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_40_3697.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_45_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774129","1394774123","1394774125","1394774122","1394774124","1394774127"],"photo_ids_order":["1394774122","1394774123","1394774124","1394774125","1394774127","1394774129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59e9f5c65541aca1cebb203bf0931ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2761550446055038088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330163470,"filename":"image_16112025_20_26_45_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35d30b5d9c00e130151c9220df354c57.jpg","text":"TemporaryFile(/tmp/multipartBody1813873255966275813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330163470,"filename":"image_16112025_20_26_27_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18a56f8ebe26cd25d1d18ff22bc903a8.jpg","text":"TemporaryFile(/tmp/multipartBody7434051769645511529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330163470,"filename":"image_16112025_20_26_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/11/16/8b15e7de9fa389820f0ffd4d483a6035.jpg","text":"TemporaryFile(/tmp/multipartBody8840825035989128431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330163470,"filename":"image_16112025_20_26_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/11/16/bd1b4d852cf2d597bae8e217733e0ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7037053646337139592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330163470,"filename":"image_16112025_20_26_31_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9117b3f1a25d819255a19e5fd88eadee.jpg","text":"TemporaryFile(/tmp/multipartBody95933755595891503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330163470,"filename":"image_16112025_20_26_40_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774124","file1":"1394774123","file0":"1394774122","file4":"1394774127","file5":"1394774129","file3":"1394774125"},"map_files_photo_id_array":[{"photo_id":"1394774129","filename":"file5"},{"photo_id":"1394774124","filename":"file2"},{"photo_id":"1394774127","filename":"file4"},{"photo_id":"1394774123","filename":"file1"},{"photo_id":"1394774122","filename":"file0"},{"photo_id":"1394774125","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774129":["hashtag1","hashtag2"]},{"1394774123":["hashtag1","hashtag2"]},{"1394774125":["hashtag1","hashtag2"]},{"1394774122":["hashtag1","hashtag2"]},{"1394774124":["hashtag1","hashtag2"]},{"1394774127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774129, 1394774123, 1394774125, 1394774122, 1394774124, 1394774127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88464307785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:55:42.153449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_49_3675.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_52_2675.jpg', '/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_54_2668.jpg', '/home/pi/Desktop/images/16112025/20/27/image_16112025_20_27_01_2671.jpg', '/home/pi/Desktop/images/16112025/20/27/image_16112025_20_27_07_3704.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_49_3675.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_52_2675.jpg
/home/pi/Desktop/images/16112025/20/26/image_16112025_20_26_54_2668.jpg
/home/pi/Desktop/images/16112025/20/27/image_16112025_20_27_01_2671.jpg
/home/pi/Desktop/images/16112025/20/27/image_16112025_20_27_07_3704.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_07_3019.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774135","1394774138","1394774132","1394774134","1394774136","1394774130"],"photo_ids_order":["1394774130","1394774132","1394774134","1394774135","1394774136","1394774138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0f165e8396fecc43abbac61c7150e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5488174916316174510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330202779,"filename":"image_16112025_20_27_01_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef1605a72a1aaf61fddbaa5e81bdf870.jpg","text":"TemporaryFile(/tmp/multipartBody3852528236099298207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330202779,"filename":"image_16112025_20_28_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6dc68bc30807d645eb88407e56e68d8.jpg","text":"TemporaryFile(/tmp/multipartBody4730090431877479136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330202779,"filename":"image_16112025_20_26_52_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98287bed617b395bd5330fcb8f646a15.jpg","text":"TemporaryFile(/tmp/multipartBody2920464111074268961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330202779,"filename":"image_16112025_20_26_54_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/61c72a790fb0a4cc7e0de3bad3c933ca.jpg","text":"TemporaryFile(/tmp/multipartBody925302057316694975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330202779,"filename":"image_16112025_20_27_07_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5597cb39b7fd9bc728b06dc648c6d82.jpg","text":"TemporaryFile(/tmp/multipartBody961243193037372376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330202779,"filename":"image_16112025_20_26_49_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774134","file1":"1394774132","file0":"1394774130","file4":"1394774136","file5":"1394774138","file3":"1394774135"},"map_files_photo_id_array":[{"photo_id":"1394774138","filename":"file5"},{"photo_id":"1394774134","filename":"file2"},{"photo_id":"1394774136","filename":"file4"},{"photo_id":"1394774132","filename":"file1"},{"photo_id":"1394774130","filename":"file0"},{"photo_id":"1394774135","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774135":["hashtag1","hashtag2"]},{"1394774138":["hashtag1","hashtag2"]},{"1394774132":["hashtag1","hashtag2"]},{"1394774134":["hashtag1","hashtag2"]},{"1394774136":["hashtag1","hashtag2"]},{"1394774130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774135, 1394774138, 1394774132, 1394774134, 1394774136, 1394774130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19368815422058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:56:22.343573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_13_2766.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_20_3672.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_25_2692.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_29_3667.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_31_2577.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_35_3197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_13_2766.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_20_3672.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_25_2692.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_29_3667.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_31_2577.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_35_3197.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774153","1394774150","1394774143","1394774146","1394774145","1394774148"],"photo_ids_order":["1394774143","1394774145","1394774146","1394774148","1394774150","1394774153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/269cd09a36ce3c24b10851c34cecb11c.jpg","text":"TemporaryFile(/tmp/multipartBody3945440094106467667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330243011,"filename":"image_16112025_20_28_35_3197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5cfcb4f7f606206d8c55738256925795.jpg","text":"TemporaryFile(/tmp/multipartBody3253164757256044869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330243011,"filename":"image_16112025_20_28_31_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a27ae01815af140c86768e0d3a22e5f.jpg","text":"TemporaryFile(/tmp/multipartBody688188106778896162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330243011,"filename":"image_16112025_20_28_13_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4109daa49b260c41f8e1f2b105ce32f6.jpg","text":"TemporaryFile(/tmp/multipartBody2585160047421264168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330243011,"filename":"image_16112025_20_28_25_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7061de8d9fd70695d71d1f9cf3772b72.jpg","text":"TemporaryFile(/tmp/multipartBody9003844513890381970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330243011,"filename":"image_16112025_20_28_20_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dda5e43d38b9cf362ff27ee481550efe.jpg","text":"TemporaryFile(/tmp/multipartBody8755673936145893493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330243011,"filename":"image_16112025_20_28_29_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774146","file1":"1394774145","file0":"1394774143","file4":"1394774150","file5":"1394774153","file3":"1394774148"},"map_files_photo_id_array":[{"photo_id":"1394774153","filename":"file5"},{"photo_id":"1394774146","filename":"file2"},{"photo_id":"1394774150","filename":"file4"},{"photo_id":"1394774145","filename":"file1"},{"photo_id":"1394774143","filename":"file0"},{"photo_id":"1394774148","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774153":["hashtag1","hashtag2"]},{"1394774150":["hashtag1","hashtag2"]},{"1394774143":["hashtag1","hashtag2"]},{"1394774146":["hashtag1","hashtag2"]},{"1394774145":["hashtag1","hashtag2"]},{"1394774148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774153, 1394774150, 1394774143, 1394774146, 1394774145, 1394774148)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.67747211456299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 22:57:25.804763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_37_2766.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_41_3590.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_43_2563.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_46_2711.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_50_3611.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_52_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_37_2766.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_41_3590.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_43_2563.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_46_2711.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_50_3611.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_52_2665.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.5364553928375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 22:57:45.803916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_37_2766.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_41_3590.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_43_2563.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_46_2711.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_50_3611.jpg', '/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_52_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_37_2766.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_41_3590.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_43_2563.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_46_2711.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_50_3611.jpg
/home/pi/Desktop/images/16112025/20/28/image_16112025_20_28_52_2665.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394774167","1394774200","1394774256","1394774163","1394774166","1394774165"],"photo_ids_order":["1394774163","1394774165","1394774166","1394774167","1394774200","1394774256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2621627a5d920a400d7156c5b6860a08.jpg","text":"TemporaryFile(/tmp/multipartBody6885523824648904865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330326489,"filename":"image_16112025_20_28_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/11/16/97b5fce771b6bde56d96d6eab2bc71cd.jpg","text":"TemporaryFile(/tmp/multipartBody9085398366336195911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330326489,"filename":"image_16112025_20_28_50_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f9f0c979e0e39242273fa5f843cb62d1.jpg","text":"TemporaryFile(/tmp/multipartBody6738987413169271870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330326489,"filename":"image_16112025_20_28_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/11/16/9c8fa64b8144895266287ea1f49069cf.jpg","text":"TemporaryFile(/tmp/multipartBody3763484394975334538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330326489,"filename":"image_16112025_20_28_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/11/16/a791d7eca8326043159654fe3e9944f4.jpg","text":"TemporaryFile(/tmp/multipartBody4999823705474000446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330326489,"filename":"image_16112025_20_28_43_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24ef85f0a3f84784abd0f0454cc9c74b.jpg","text":"TemporaryFile(/tmp/multipartBody8290053873732152351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330326489,"filename":"image_16112025_20_28_41_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394774166","file1":"1394774165","file0":"1394774163","file4":"1394774200","file5":"1394774256","file3":"1394774167"},"map_files_photo_id_array":[{"photo_id":"1394774256","filename":"file5"},{"photo_id":"1394774166","filename":"file2"},{"photo_id":"1394774200","filename":"file4"},{"photo_id":"1394774165","filename":"file1"},{"photo_id":"1394774163","filename":"file0"},{"photo_id":"1394774167","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394774167":["hashtag1","hashtag2"]},{"1394774200":["hashtag1","hashtag2"]},{"1394774256":["hashtag1","hashtag2"]},{"1394774163":["hashtag1","hashtag2"]},{"1394774166":["hashtag1","hashtag2"]},{"1394774165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394774167, 1394774200, 1394774256, 1394774163, 1394774166, 1394774165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23404812812805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 22:59:03.821099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/29/image_16112025_20_29_01_2599.jpg', '/home/pi/Desktop/images/16112025/20/29/image_16112025_20_29_04_2644.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_07_3014.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_11_3676.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_14_2783.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_23_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/29/image_16112025_20_29_01_2599.jpg
/home/pi/Desktop/images/16112025/20/29/image_16112025_20_29_04_2644.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_07_3014.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_11_3676.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_14_2783.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_23_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394775187","1394775223","1394775118","1394774998","1394775152","1394775068"],"photo_ids_order":["1394774998","1394775068","1394775118","1394775152","1394775187","1394775223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a7b8d0802f5e451cb67dae4c1270075.jpg","text":"TemporaryFile(/tmp/multipartBody586644939590988911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330404628,"filename":"image_16112025_20_30_14_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9bf07c85eaa552a776506d3561a21882.jpg","text":"TemporaryFile(/tmp/multipartBody6105117244466020286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330404628,"filename":"image_16112025_20_30_23_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/34d08a645fb4a6061d74d458855a08cb.jpg","text":"TemporaryFile(/tmp/multipartBody5647587458816454768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330404628,"filename":"image_16112025_20_30_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/11/16/94939b4b3fd12909acd96edc26f3ea2f.jpg","text":"TemporaryFile(/tmp/multipartBody4142298592055781357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330404628,"filename":"image_16112025_20_29_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/11/16/b3f95933052eb1fb060a1c19637a6142.jpg","text":"TemporaryFile(/tmp/multipartBody7203225394053864742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330404628,"filename":"image_16112025_20_30_11_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cfca725a1f0431d6c6291e9c8107fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1746417624859664192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330404628,"filename":"image_16112025_20_29_04_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394775118","file1":"1394775068","file0":"1394774998","file4":"1394775187","file5":"1394775223","file3":"1394775152"},"map_files_photo_id_array":[{"photo_id":"1394775223","filename":"file5"},{"photo_id":"1394775118","filename":"file2"},{"photo_id":"1394775187","filename":"file4"},{"photo_id":"1394775068","filename":"file1"},{"photo_id":"1394774998","filename":"file0"},{"photo_id":"1394775152","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394775187":["hashtag1","hashtag2"]},{"1394775223":["hashtag1","hashtag2"]},{"1394775118":["hashtag1","hashtag2"]},{"1394774998":["hashtag1","hashtag2"]},{"1394775152":["hashtag1","hashtag2"]},{"1394775068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394775187, 1394775223, 1394775118, 1394774998, 1394775152, 1394775068)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.969090938568115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:00:03.716956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_25_2782.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_29_3592.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_34_2537.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_38_3606.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_40_2689.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_43_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_25_2782.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_29_3592.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_34_2537.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_38_3606.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_40_2689.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_43_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394775769","1394775706","1394775786","1394775759","1394775807","1394775812"],"photo_ids_order":["1394775706","1394775759","1394775769","1394775786","1394775807","1394775812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a0fee1134c3fc1422dd013f05b34576.jpg","text":"TemporaryFile(/tmp/multipartBody6260807534268879951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330464414,"filename":"image_16112025_20_30_34_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7e71a83a1d682ccc04f1535f7f22858c.jpg","text":"TemporaryFile(/tmp/multipartBody8159766082578009027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330464414,"filename":"image_16112025_20_30_25_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/feb6bfe507b93a8e61e5a93690248c67.jpg","text":"TemporaryFile(/tmp/multipartBody1973790172354747894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330464414,"filename":"image_16112025_20_30_38_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6344f4e92bba77a135bd536e84833ebd.jpg","text":"TemporaryFile(/tmp/multipartBody4389944872007602951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330464414,"filename":"image_16112025_20_30_29_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b6930152a1c62f941e81e9562737e21.jpg","text":"TemporaryFile(/tmp/multipartBody7667851746711905124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330464414,"filename":"image_16112025_20_30_40_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0add1c878b1d7c7c8fc4f5c9b22a1dfd.jpg","text":"TemporaryFile(/tmp/multipartBody1975721790178301057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330464414,"filename":"image_16112025_20_30_43_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394775769","file1":"1394775759","file0":"1394775706","file4":"1394775807","file5":"1394775812","file3":"1394775786"},"map_files_photo_id_array":[{"photo_id":"1394775812","filename":"file5"},{"photo_id":"1394775769","filename":"file2"},{"photo_id":"1394775807","filename":"file4"},{"photo_id":"1394775759","filename":"file1"},{"photo_id":"1394775706","filename":"file0"},{"photo_id":"1394775786","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394775769":["hashtag1","hashtag2"]},{"1394775706":["hashtag1","hashtag2"]},{"1394775786":["hashtag1","hashtag2"]},{"1394775759":["hashtag1","hashtag2"]},{"1394775807":["hashtag1","hashtag2"]},{"1394775812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394775769, 1394775706, 1394775786, 1394775759, 1394775807, 1394775812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.865129709243774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:00:43.234930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_47_3583.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_49_2581.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_52_2738.jpg', '/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_56_3611.jpg', '/home/pi/Desktop/images/16112025/20/31/image_16112025_20_31_17_2701.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_47_3583.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_49_2581.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_52_2738.jpg
/home/pi/Desktop/images/16112025/20/30/image_16112025_20_30_56_3611.jpg
/home/pi/Desktop/images/16112025/20/31/image_16112025_20_31_17_2701.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394775949","1394775958","1394775931","1394775957","1394775918","1394775956"],"photo_ids_order":["1394775918","1394775931","1394775949","1394775956","1394775957","1394775958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b41e9c565099f4a7109dd90c08c3bec5.jpg","text":"TemporaryFile(/tmp/multipartBody7048055323227153295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330503868,"filename":"image_16112025_20_30_52_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/169ed35135fa3af9c5f566c39994f01c.jpg","text":"TemporaryFile(/tmp/multipartBody4550492284055887708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330503868,"filename":"image_16112025_20_32_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3819f73200ccff6e8a975eb91848f58.jpg","text":"TemporaryFile(/tmp/multipartBody4220167759773861941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330503868,"filename":"image_16112025_20_30_49_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/192bd0b5e85a434c3455b1b7e7060ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2237952402391635461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330503868,"filename":"image_16112025_20_31_17_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39c306bc8f8f4291a51a748bcb5ff5fa.jpg","text":"TemporaryFile(/tmp/multipartBody4049804311273160564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330503868,"filename":"image_16112025_20_30_47_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c62545567a5e34529b7c1a79934f08f.jpg","text":"TemporaryFile(/tmp/multipartBody1116760384750585659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330503868,"filename":"image_16112025_20_30_56_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394775949","file1":"1394775931","file0":"1394775918","file4":"1394775957","file5":"1394775958","file3":"1394775956"},"map_files_photo_id_array":[{"photo_id":"1394775958","filename":"file5"},{"photo_id":"1394775949","filename":"file2"},{"photo_id":"1394775957","filename":"file4"},{"photo_id":"1394775931","filename":"file1"},{"photo_id":"1394775918","filename":"file0"},{"photo_id":"1394775956","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394775949":["hashtag1","hashtag2"]},{"1394775958":["hashtag1","hashtag2"]},{"1394775931":["hashtag1","hashtag2"]},{"1394775957":["hashtag1","hashtag2"]},{"1394775918":["hashtag1","hashtag2"]},{"1394775956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394775949, 1394775958, 1394775931, 1394775957, 1394775918, 1394775956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03938841819763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:01:22.578772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_11_3616.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_14_2855.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_16_2511.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_23_2635.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_29_3590.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_32_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_11_3616.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_14_2855.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_16_2511.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_23_2635.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_29_3590.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_32_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394775967","1394775961","1394775963","1394775966","1394775969","1394775965"],"photo_ids_order":["1394775961","1394775963","1394775965","1394775966","1394775967","1394775969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/70c1baddf0c06eef26101b47c50753bf.jpg","text":"TemporaryFile(/tmp/multipartBody751954193189841754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330543227,"filename":"image_16112025_20_32_29_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8334e8a7777129eeaa33980c05a81d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1162822687703734274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330543227,"filename":"image_16112025_20_32_11_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8df310753f16d8dfc0b7390087ee8052.jpg","text":"TemporaryFile(/tmp/multipartBody1136471014307647064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330543227,"filename":"image_16112025_20_32_14_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e51dd9d843457040e0b49d36fb4be9da.jpg","text":"TemporaryFile(/tmp/multipartBody6184185102919937760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330543227,"filename":"image_16112025_20_32_23_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4614fb05ad2ac9cdf9df6154c578409.jpg","text":"TemporaryFile(/tmp/multipartBody7169975641454037317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330543227,"filename":"image_16112025_20_32_32_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/666e30b3b6e0967106d2ab7eed598124.jpg","text":"TemporaryFile(/tmp/multipartBody6724484843756956981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330543227,"filename":"image_16112025_20_32_16_2511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394775965","file1":"1394775963","file0":"1394775961","file4":"1394775967","file5":"1394775969","file3":"1394775966"},"map_files_photo_id_array":[{"photo_id":"1394775969","filename":"file5"},{"photo_id":"1394775965","filename":"file2"},{"photo_id":"1394775967","filename":"file4"},{"photo_id":"1394775963","filename":"file1"},{"photo_id":"1394775961","filename":"file0"},{"photo_id":"1394775966","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394775967":["hashtag1","hashtag2"]},{"1394775961":["hashtag1","hashtag2"]},{"1394775963":["hashtag1","hashtag2"]},{"1394775966":["hashtag1","hashtag2"]},{"1394775969":["hashtag1","hashtag2"]},{"1394775965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394775967, 1394775961, 1394775963, 1394775966, 1394775969, 1394775965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.029860973358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:02:03.255545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_35_3578.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_41_6231.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_43_1547.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_45_1638.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_46_1613.jpg', '/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_50_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_35_3578.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_41_6231.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_43_1547.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_45_1638.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_46_1613.jpg
/home/pi/Desktop/images/16112025/20/32/image_16112025_20_32_50_3535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394775970","1394775973","1394775976","1394775972","1394775975","1394775971"],"photo_ids_order":["1394775970","1394775971","1394775972","1394775973","1394775975","1394775976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a743c3ca2069b2a3cb9bb26a9c05839.jpg","text":"TemporaryFile(/tmp/multipartBody1839868849384992469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330584008,"filename":"image_16112025_20_32_35_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/92bd2ab27e264ec833c644a632a30915.jpg","text":"TemporaryFile(/tmp/multipartBody4791747412580347948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330584008,"filename":"image_16112025_20_32_45_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7cb394aa7dc70ec7d56605151e737e86.jpg","text":"TemporaryFile(/tmp/multipartBody2848430096339978017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330584008,"filename":"image_16112025_20_32_50_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c78ca5412758548165b4075db9dab75c.jpg","text":"TemporaryFile(/tmp/multipartBody714855622502728376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330584008,"filename":"image_16112025_20_32_43_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d504173c71382d8bb2feb0cb2dd71309.jpg","text":"TemporaryFile(/tmp/multipartBody3222999440824043778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330584008,"filename":"image_16112025_20_32_46_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/97acb1fa0cfb56b5820669f1a96b462b.jpg","text":"TemporaryFile(/tmp/multipartBody3020912840314080624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330584008,"filename":"image_16112025_20_32_41_6231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394775972","file1":"1394775971","file0":"1394775970","file4":"1394775975","file5":"1394775976","file3":"1394775973"},"map_files_photo_id_array":[{"photo_id":"1394775976","filename":"file5"},{"photo_id":"1394775972","filename":"file2"},{"photo_id":"1394775975","filename":"file4"},{"photo_id":"1394775971","filename":"file1"},{"photo_id":"1394775970","filename":"file0"},{"photo_id":"1394775973","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394775970":["hashtag1","hashtag2"]},{"1394775973":["hashtag1","hashtag2"]},{"1394775976":["hashtag1","hashtag2"]},{"1394775972":["hashtag1","hashtag2"]},{"1394775975":["hashtag1","hashtag2"]},{"1394775971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394775970, 1394775973, 1394775976, 1394775972, 1394775975, 1394775971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37216854095459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:02:42.887257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_07_3011.jpg', '/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_10_3529.jpg', '/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_13_2636.jpg', '/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_22_2522.jpg', '/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_26_3742.jpg', '/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_43_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_07_3011.jpg
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_10_3529.jpg
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_13_2636.jpg
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_22_2522.jpg
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_26_3742.jpg
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_43_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394775985","1394775982","1394775981","1394775984","1394775980","1394775983"],"photo_ids_order":["1394775980","1394775981","1394775982","1394775983","1394775984","1394775985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b31375ebadc72cca2ed31bb1e817c834.jpg","text":"TemporaryFile(/tmp/multipartBody3033667335383216870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330623519,"filename":"image_16112025_20_34_43_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eded63ed060ee414fdb30aff8c2142ae.jpg","text":"TemporaryFile(/tmp/multipartBody8553143844531223158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330623519,"filename":"image_16112025_20_34_13_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/572bf83b0c59300aa6c9249b59e53904.jpg","text":"TemporaryFile(/tmp/multipartBody1063316628856401452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330623519,"filename":"image_16112025_20_34_10_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9580c00361604c73de04d7003e4e01c2.jpg","text":"TemporaryFile(/tmp/multipartBody8765216510924306916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330623519,"filename":"image_16112025_20_34_26_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/40490318a7eb1f94041aa85c28e0c3bd.jpg","text":"TemporaryFile(/tmp/multipartBody2285796196773017099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330623519,"filename":"image_16112025_20_34_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/11/16/f181b8bff7b5d51f712b822412afda24.jpg","text":"TemporaryFile(/tmp/multipartBody3793084450355907909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330623519,"filename":"image_16112025_20_34_22_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394775982","file1":"1394775981","file0":"1394775980","file4":"1394775984","file5":"1394775985","file3":"1394775983"},"map_files_photo_id_array":[{"photo_id":"1394775985","filename":"file5"},{"photo_id":"1394775982","filename":"file2"},{"photo_id":"1394775984","filename":"file4"},{"photo_id":"1394775981","filename":"file1"},{"photo_id":"1394775980","filename":"file0"},{"photo_id":"1394775983","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394775985":["hashtag1","hashtag2"]},{"1394775982":["hashtag1","hashtag2"]},{"1394775981":["hashtag1","hashtag2"]},{"1394775984":["hashtag1","hashtag2"]},{"1394775980":["hashtag1","hashtag2"]},{"1394775983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394775985, 1394775982, 1394775981, 1394775984, 1394775980, 1394775983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10475277900696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:03:22.997704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_46_2671.jpg', '/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_55_2576.jpg', '/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_59_3620.jpg', '/home/pi/Desktop/images/16112025/20/35/image_16112025_20_35_01_2629.jpg', '/home/pi/Desktop/images/16112025/20/35/image_16112025_20_35_04_2706.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_46_2671.jpg
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_55_2576.jpg
/home/pi/Desktop/images/16112025/20/34/image_16112025_20_34_59_3620.jpg
/home/pi/Desktop/images/16112025/20/35/image_16112025_20_35_01_2629.jpg
/home/pi/Desktop/images/16112025/20/35/image_16112025_20_35_04_2706.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_07_3019.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394775996","1394775999","1394775992","1394775995","1394775998","1394775997"],"photo_ids_order":["1394775992","1394775995","1394775996","1394775997","1394775998","1394775999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4358efe8091efcd3048d9d85f836cacf.jpg","text":"TemporaryFile(/tmp/multipartBody690401983265565595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330663641,"filename":"image_16112025_20_34_59_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e5bb62a0405f03d2f2e1ae5df167ee68.jpg","text":"TemporaryFile(/tmp/multipartBody2096062089217363312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330663641,"filename":"image_16112025_20_36_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ca1ba9c3b2bc83c5c30d20f13b76fd1c.jpg","text":"TemporaryFile(/tmp/multipartBody4462230432722270202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330663641,"filename":"image_16112025_20_34_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/11/16/cc640ebc20a21e943595a16be306fd30.jpg","text":"TemporaryFile(/tmp/multipartBody6937413467208742667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330663641,"filename":"image_16112025_20_34_55_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/33ecf50cd3165d1b690c4cf23a0bf907.jpg","text":"TemporaryFile(/tmp/multipartBody3816390578513081435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330663641,"filename":"image_16112025_20_35_04_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b4137c5850601356d20b0460b9e88c07.jpg","text":"TemporaryFile(/tmp/multipartBody1061411682371671558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330663641,"filename":"image_16112025_20_35_01_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394775996","file1":"1394775995","file0":"1394775992","file4":"1394775998","file5":"1394775999","file3":"1394775997"},"map_files_photo_id_array":[{"photo_id":"1394775999","filename":"file5"},{"photo_id":"1394775996","filename":"file2"},{"photo_id":"1394775998","filename":"file4"},{"photo_id":"1394775995","filename":"file1"},{"photo_id":"1394775992","filename":"file0"},{"photo_id":"1394775997","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394775996":["hashtag1","hashtag2"]},{"1394775999":["hashtag1","hashtag2"]},{"1394775992":["hashtag1","hashtag2"]},{"1394775995":["hashtag1","hashtag2"]},{"1394775998":["hashtag1","hashtag2"]},{"1394775997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394775996, 1394775999, 1394775992, 1394775995, 1394775998, 1394775997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03795337677002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:04:02.726634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_11_3674.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_13_2685.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_16_2638.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_20_3627.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_26_3703.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_29_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_11_3674.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_13_2685.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_16_2638.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_20_3627.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_26_3703.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_29_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776012","1394776006","1394776009","1394776005","1394776001","1394776004"],"photo_ids_order":["1394776001","1394776004","1394776005","1394776006","1394776009","1394776012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bd8aeeafd664cb039da60f529207bdc9.jpg","text":"TemporaryFile(/tmp/multipartBody3273906233853783175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330703435,"filename":"image_16112025_20_36_29_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a7092f3c6290511ec209dbf33660892d.jpg","text":"TemporaryFile(/tmp/multipartBody4258485142644844358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330703435,"filename":"image_16112025_20_36_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/11/16/e26e70adcc3f7d3cdeb8d4d5d7c7efa5.jpg","text":"TemporaryFile(/tmp/multipartBody3282505799266135650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330703435,"filename":"image_16112025_20_36_26_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/47a664f62049b31aa8a4c9803be8b9c0.jpg","text":"TemporaryFile(/tmp/multipartBody592242926858983704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330703435,"filename":"image_16112025_20_36_16_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f6c74b1489d46dddeb247a38e1a996d.jpg","text":"TemporaryFile(/tmp/multipartBody4152076531267339989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330703435,"filename":"image_16112025_20_36_11_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8d2d7ec2c97934888ac92318da9ba21f.jpg","text":"TemporaryFile(/tmp/multipartBody371008881718816077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330703435,"filename":"image_16112025_20_36_13_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776005","file1":"1394776004","file0":"1394776001","file4":"1394776009","file5":"1394776012","file3":"1394776006"},"map_files_photo_id_array":[{"photo_id":"1394776012","filename":"file5"},{"photo_id":"1394776005","filename":"file2"},{"photo_id":"1394776009","filename":"file4"},{"photo_id":"1394776004","filename":"file1"},{"photo_id":"1394776001","filename":"file0"},{"photo_id":"1394776006","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776012":["hashtag1","hashtag2"]},{"1394776006":["hashtag1","hashtag2"]},{"1394776009":["hashtag1","hashtag2"]},{"1394776005":["hashtag1","hashtag2"]},{"1394776001":["hashtag1","hashtag2"]},{"1394776004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776012, 1394776006, 1394776009, 1394776005, 1394776001, 1394776004)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.11660194396973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:05:02.650840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_35_3483.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_37_2507.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_40_2823.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_44_3669.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_49_2562.jpg', '/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_53_3846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_35_3483.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_37_2507.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_40_2823.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_44_3669.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_49_2562.jpg
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_53_3846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776024","1394776018","1394776020","1394776019","1394776022","1394776016"],"photo_ids_order":["1394776016","1394776018","1394776019","1394776020","1394776022","1394776024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/95dfde38fa3004c0b6d4f86f5e61de41.jpg","text":"TemporaryFile(/tmp/multipartBody3063999086688289934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330763393,"filename":"image_16112025_20_36_53_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75d755826f623ea2d64effd266e0a531.jpg","text":"TemporaryFile(/tmp/multipartBody6868315090220099097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330763393,"filename":"image_16112025_20_36_37_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c83775ad16df6af37101105004953220.jpg","text":"TemporaryFile(/tmp/multipartBody4748721971721803896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330763393,"filename":"image_16112025_20_36_44_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd14fde907b10867c6de2e54186d638a.jpg","text":"TemporaryFile(/tmp/multipartBody4906884461450472924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330763393,"filename":"image_16112025_20_36_40_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9db99591a992f7f04502a954b048dce6.jpg","text":"TemporaryFile(/tmp/multipartBody8043919984939451693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330763393,"filename":"image_16112025_20_36_49_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/167b900a337e47938de90fd1ccc9dd6a.jpg","text":"TemporaryFile(/tmp/multipartBody7090662914213292398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330763393,"filename":"image_16112025_20_36_35_3483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776019","file1":"1394776018","file0":"1394776016","file4":"1394776022","file5":"1394776024","file3":"1394776020"},"map_files_photo_id_array":[{"photo_id":"1394776024","filename":"file5"},{"photo_id":"1394776019","filename":"file2"},{"photo_id":"1394776022","filename":"file4"},{"photo_id":"1394776018","filename":"file1"},{"photo_id":"1394776016","filename":"file0"},{"photo_id":"1394776020","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776024":["hashtag1","hashtag2"]},{"1394776018":["hashtag1","hashtag2"]},{"1394776020":["hashtag1","hashtag2"]},{"1394776019":["hashtag1","hashtag2"]},{"1394776022":["hashtag1","hashtag2"]},{"1394776016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776024, 1394776018, 1394776020, 1394776019, 1394776022, 1394776016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29003381729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:05:42.031332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_56_2783.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_01_2721.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_05_3519.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_07_2693.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_10_2746.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_14_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/36/image_16112025_20_36_56_2783.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_01_2721.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_05_3519.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_07_2693.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_10_2746.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_14_3554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776030","1394776027","1394776032","1394776029","1394776031","1394776025"],"photo_ids_order":["1394776025","1394776027","1394776029","1394776030","1394776031","1394776032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/188d4256a3d4faa419dbf6e1e409ef73.jpg","text":"TemporaryFile(/tmp/multipartBody105528841944966758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330802649,"filename":"image_16112025_20_37_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/11/16/b29484a83b0b7cdc5b52b051acc55468.jpg","text":"TemporaryFile(/tmp/multipartBody2595720329086587610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330802649,"filename":"image_16112025_20_37_01_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfc28fe093c9c8350774679c5e3296f5.jpg","text":"TemporaryFile(/tmp/multipartBody2950687363814327593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330802649,"filename":"image_16112025_20_37_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/11/16/c42c1415a655f294ecfae3cf26b7c314.jpg","text":"TemporaryFile(/tmp/multipartBody1427511996346596039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330802649,"filename":"image_16112025_20_37_05_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7985d99e692df01807cb9e4926b1bede.jpg","text":"TemporaryFile(/tmp/multipartBody8007432164367096561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330802649,"filename":"image_16112025_20_37_10_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a057bca0f6c4bb8aafa526acf773a93f.jpg","text":"TemporaryFile(/tmp/multipartBody1586791307327716112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330802649,"filename":"image_16112025_20_36_56_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776029","file1":"1394776027","file0":"1394776025","file4":"1394776031","file5":"1394776032","file3":"1394776030"},"map_files_photo_id_array":[{"photo_id":"1394776032","filename":"file5"},{"photo_id":"1394776029","filename":"file2"},{"photo_id":"1394776031","filename":"file4"},{"photo_id":"1394776027","filename":"file1"},{"photo_id":"1394776025","filename":"file0"},{"photo_id":"1394776030","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776030":["hashtag1","hashtag2"]},{"1394776027":["hashtag1","hashtag2"]},{"1394776032":["hashtag1","hashtag2"]},{"1394776029":["hashtag1","hashtag2"]},{"1394776031":["hashtag1","hashtag2"]},{"1394776025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776030, 1394776027, 1394776032, 1394776029, 1394776031, 1394776025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.807161808013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:06:22.350383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_16_2682.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_23_2674.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_39_1524.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_41_1670.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_43_1627.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_44_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_16_2682.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_23_2674.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_39_1524.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_41_1670.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_43_1627.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_44_1681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776036","1394776038","1394776043","1394776046","1394776040","1394776034"],"photo_ids_order":["1394776034","1394776036","1394776038","1394776040","1394776043","1394776046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4dad160ea2944c411cbdc4f75652f30f.jpg","text":"TemporaryFile(/tmp/multipartBody2554268906042081504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330843031,"filename":"image_16112025_20_37_23_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1aada19f18cbab3bd1d39da0168cc61c.jpg","text":"TemporaryFile(/tmp/multipartBody2685091741431195498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330843031,"filename":"image_16112025_20_37_39_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9d6438fd906e9bcb60f5a3953f3c5b68.jpg","text":"TemporaryFile(/tmp/multipartBody2539775953577333698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330843031,"filename":"image_16112025_20_37_43_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30c4387a8c08ea46b7aad14271c98e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5134011291688637995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330843031,"filename":"image_16112025_20_37_44_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8040dfa9e1b016d082d0626f8ed32189.jpg","text":"TemporaryFile(/tmp/multipartBody4233559367460862200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330843031,"filename":"image_16112025_20_37_41_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b56df42774a645c65eadb8a72e3cb091.jpg","text":"TemporaryFile(/tmp/multipartBody2268725190862904554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330843031,"filename":"image_16112025_20_37_16_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776038","file1":"1394776036","file0":"1394776034","file4":"1394776043","file5":"1394776046","file3":"1394776040"},"map_files_photo_id_array":[{"photo_id":"1394776046","filename":"file5"},{"photo_id":"1394776038","filename":"file2"},{"photo_id":"1394776043","filename":"file4"},{"photo_id":"1394776036","filename":"file1"},{"photo_id":"1394776034","filename":"file0"},{"photo_id":"1394776040","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776036":["hashtag1","hashtag2"]},{"1394776038":["hashtag1","hashtag2"]},{"1394776043":["hashtag1","hashtag2"]},{"1394776046":["hashtag1","hashtag2"]},{"1394776040":["hashtag1","hashtag2"]},{"1394776034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776036, 1394776038, 1394776043, 1394776046, 1394776040, 1394776034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24988770484924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:07:02.918095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_46_1631.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_50_3680.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_52_2668.jpg', '/home/pi/Desktop/images/16112025/20/37/image_16112025_20_38_00_1509.jpg', '/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_01_1765.jpg', '/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_04_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_46_1631.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_50_3680.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_37_52_2668.jpg
/home/pi/Desktop/images/16112025/20/37/image_16112025_20_38_00_1509.jpg
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_01_1765.jpg
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_04_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776054","1394776050","1394776053","1394776056","1394776058","1394776052"],"photo_ids_order":["1394776050","1394776052","1394776053","1394776054","1394776056","1394776058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/85e016dd5a84c884f3f3ad641502ce6e.jpg","text":"TemporaryFile(/tmp/multipartBody8901238669420886252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330883731,"filename":"image_16112025_20_38_00_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9887485c38647c0dc5ac55aa3d3f3a40.jpg","text":"TemporaryFile(/tmp/multipartBody4964502683631044992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330883731,"filename":"image_16112025_20_37_46_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6681b771c136118279b0197faf94274a.jpg","text":"TemporaryFile(/tmp/multipartBody8605345835380977366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330883731,"filename":"image_16112025_20_37_52_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/291a9b4a04404a2d996212feefb4fbf1.jpg","text":"TemporaryFile(/tmp/multipartBody483797869302474154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330883731,"filename":"image_16112025_20_38_01_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc53f304a2cc484fed52a3054200da3e.jpg","text":"TemporaryFile(/tmp/multipartBody5941200654843946813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330883731,"filename":"image_16112025_20_38_04_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4ecd7e920c92a636256c2d2b90bf11ea.jpg","text":"TemporaryFile(/tmp/multipartBody5635799070112791134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330883731,"filename":"image_16112025_20_37_50_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776053","file1":"1394776052","file0":"1394776050","file4":"1394776056","file5":"1394776058","file3":"1394776054"},"map_files_photo_id_array":[{"photo_id":"1394776058","filename":"file5"},{"photo_id":"1394776053","filename":"file2"},{"photo_id":"1394776056","filename":"file4"},{"photo_id":"1394776052","filename":"file1"},{"photo_id":"1394776050","filename":"file0"},{"photo_id":"1394776054","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776054":["hashtag1","hashtag2"]},{"1394776050":["hashtag1","hashtag2"]},{"1394776053":["hashtag1","hashtag2"]},{"1394776056":["hashtag1","hashtag2"]},{"1394776058":["hashtag1","hashtag2"]},{"1394776052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776054, 1394776050, 1394776053, 1394776056, 1394776058, 1394776052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.069472551345825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:07:42.108639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_08_3673.jpg', '/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_14_3628.jpg', '/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_22_2677.jpg', '/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_26_3656.jpg', '/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_28_2639.jpg', '/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_31_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_08_3673.jpg
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_14_3628.jpg
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_22_2677.jpg
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_26_3656.jpg
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_28_2639.jpg
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_31_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776069","1394776063","1394776068","1394776064","1394776067","1394776066"],"photo_ids_order":["1394776063","1394776064","1394776066","1394776067","1394776068","1394776069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/edcbd879a5d1a45be7487df2587c06b1.jpg","text":"TemporaryFile(/tmp/multipartBody5827856638972654010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330922736,"filename":"image_16112025_20_38_31_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eee4371a91851b61b0b00900fa956931.jpg","text":"TemporaryFile(/tmp/multipartBody2077690981317333222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330922736,"filename":"image_16112025_20_38_08_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c95016bca60619424d7c9b4dda5da8be.jpg","text":"TemporaryFile(/tmp/multipartBody1520744895065740117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330922736,"filename":"image_16112025_20_38_28_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28511b3f4c5b2c460ac3085149b23a27.jpg","text":"TemporaryFile(/tmp/multipartBody3499156547428728120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330922736,"filename":"image_16112025_20_38_14_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d04d1abdca3e8dc2516554358edcfd9d.jpg","text":"TemporaryFile(/tmp/multipartBody5511798281571645257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330922736,"filename":"image_16112025_20_38_26_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/18a4aac016ad72f1341f366adf9507cb.jpg","text":"TemporaryFile(/tmp/multipartBody2689665102628060853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330922736,"filename":"image_16112025_20_38_22_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776066","file1":"1394776064","file0":"1394776063","file4":"1394776068","file5":"1394776069","file3":"1394776067"},"map_files_photo_id_array":[{"photo_id":"1394776069","filename":"file5"},{"photo_id":"1394776066","filename":"file2"},{"photo_id":"1394776068","filename":"file4"},{"photo_id":"1394776064","filename":"file1"},{"photo_id":"1394776063","filename":"file0"},{"photo_id":"1394776067","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776069":["hashtag1","hashtag2"]},{"1394776063":["hashtag1","hashtag2"]},{"1394776068":["hashtag1","hashtag2"]},{"1394776064":["hashtag1","hashtag2"]},{"1394776067":["hashtag1","hashtag2"]},{"1394776066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776069, 1394776063, 1394776068, 1394776064, 1394776067, 1394776066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54980945587158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:08:22.359709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_37_2560.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_08_3011.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_11_3636.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_17_3582.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_20_2618.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_23_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/38/image_16112025_20_38_37_2560.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_08_3011.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_11_3636.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_17_3582.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_20_2618.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_23_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776075","1394776080","1394776077","1394776076","1394776079","1394776078"],"photo_ids_order":["1394776075","1394776076","1394776077","1394776078","1394776079","1394776080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f05d9c11403d51db5674f4e9f4226b00.jpg","text":"TemporaryFile(/tmp/multipartBody5533022249603144549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330963073,"filename":"image_16112025_20_38_37_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f669742fd18791b038e84d2bc43bc629.jpg","text":"TemporaryFile(/tmp/multipartBody6249348207029599307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330963073,"filename":"image_16112025_20_40_23_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6a42c2c74492b3fafbf41b652aa198ac.jpg","text":"TemporaryFile(/tmp/multipartBody3375539023517890833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330963073,"filename":"image_16112025_20_40_11_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eb2d8ff8a80d43768778979e204e80fe.jpg","text":"TemporaryFile(/tmp/multipartBody6814963429130287797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330963073,"filename":"image_16112025_20_40_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/317ff75e840ee3d666cd110b710ab0d9.jpg","text":"TemporaryFile(/tmp/multipartBody2788183902652039583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330963073,"filename":"image_16112025_20_40_20_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c96e39c9a01785f6dd79104e8c8ea21c.jpg","text":"TemporaryFile(/tmp/multipartBody2788732962164288484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763330963073,"filename":"image_16112025_20_40_17_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776077","file1":"1394776076","file0":"1394776075","file4":"1394776079","file5":"1394776080","file3":"1394776078"},"map_files_photo_id_array":[{"photo_id":"1394776080","filename":"file5"},{"photo_id":"1394776077","filename":"file2"},{"photo_id":"1394776079","filename":"file4"},{"photo_id":"1394776076","filename":"file1"},{"photo_id":"1394776075","filename":"file0"},{"photo_id":"1394776078","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776075":["hashtag1","hashtag2"]},{"1394776080":["hashtag1","hashtag2"]},{"1394776077":["hashtag1","hashtag2"]},{"1394776076":["hashtag1","hashtag2"]},{"1394776079":["hashtag1","hashtag2"]},{"1394776078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776075, 1394776080, 1394776077, 1394776076, 1394776079, 1394776078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69667148590088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:09:03.398293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_26_3517.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_29_2661.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_38_2970.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_45_3548.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_47_2692.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_50_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_26_3517.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_29_2661.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_38_2970.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_45_3548.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_47_2692.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_50_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776081","1394776083","1394776086","1394776088","1394776085","1394776090"],"photo_ids_order":["1394776081","1394776083","1394776085","1394776086","1394776088","1394776090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac464507031132a31689e12bfec98567.jpg","text":"TemporaryFile(/tmp/multipartBody3528664249874946900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331004278,"filename":"image_16112025_20_40_26_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba99900a7b3f27a383e6d199e89f7c2a.jpg","text":"TemporaryFile(/tmp/multipartBody609806662718315716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331004278,"filename":"image_16112025_20_40_29_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5baf2a6aa44e9141e5d39ecf0e32f470.jpg","text":"TemporaryFile(/tmp/multipartBody2198936131672513878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331004278,"filename":"image_16112025_20_40_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/11/16/9a0a219d49bc394c4a8c9537696b3b16.jpg","text":"TemporaryFile(/tmp/multipartBody3395305105864767800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331004278,"filename":"image_16112025_20_40_47_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/efc69bc8880fd3357787f9a8fe6733cf.jpg","text":"TemporaryFile(/tmp/multipartBody4431611847643296792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331004278,"filename":"image_16112025_20_40_38_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e90722a8a7c5a027f4b93fe1e21dc882.jpg","text":"TemporaryFile(/tmp/multipartBody5268636426658977739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331004278,"filename":"image_16112025_20_40_50_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776085","file1":"1394776083","file0":"1394776081","file4":"1394776088","file5":"1394776090","file3":"1394776086"},"map_files_photo_id_array":[{"photo_id":"1394776090","filename":"file5"},{"photo_id":"1394776085","filename":"file2"},{"photo_id":"1394776088","filename":"file4"},{"photo_id":"1394776083","filename":"file1"},{"photo_id":"1394776081","filename":"file0"},{"photo_id":"1394776086","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776081":["hashtag1","hashtag2"]},{"1394776083":["hashtag1","hashtag2"]},{"1394776086":["hashtag1","hashtag2"]},{"1394776088":["hashtag1","hashtag2"]},{"1394776085":["hashtag1","hashtag2"]},{"1394776090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776081, 1394776083, 1394776086, 1394776088, 1394776085, 1394776090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96184682846069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:09:42.481543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_53_2670.jpg', '/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_59_2488.jpg', '/home/pi/Desktop/images/16112025/20/41/image_16112025_20_41_02_3598.jpg', '/home/pi/Desktop/images/16112025/20/41/image_16112025_20_41_05_2622.jpg', '/home/pi/Desktop/images/16112025/20/41/image_16112025_20_41_08_2579.jpg', '/home/pi/Desktop/images/16112025/20/41/image_16112025_20_41_11_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_53_2670.jpg
/home/pi/Desktop/images/16112025/20/40/image_16112025_20_40_59_2488.jpg
/home/pi/Desktop/images/16112025/20/41/image_16112025_20_41_02_3598.jpg
/home/pi/Desktop/images/16112025/20/41/image_16112025_20_41_05_2622.jpg
/home/pi/Desktop/images/16112025/20/41/image_16112025_20_41_08_2579.jpg
/home/pi/Desktop/images/16112025/20/41/image_16112025_20_41_11_3700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776095","1394776098","1394776094","1394776097","1394776096","1394776093"],"photo_ids_order":["1394776093","1394776094","1394776095","1394776096","1394776097","1394776098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/69e0c7ac9fef8c273334f46d7a8efab2.jpg","text":"TemporaryFile(/tmp/multipartBody7710117798617533905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331043099,"filename":"image_16112025_20_41_02_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f71fd26876b5704a49c027a736283ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7104364036937417944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331043099,"filename":"image_16112025_20_41_11_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/400956c614916e90dd7a351a0c3cca9c.jpg","text":"TemporaryFile(/tmp/multipartBody650859486282036310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331043099,"filename":"image_16112025_20_40_59_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebdba854640e3713475d60faf50a3836.jpg","text":"TemporaryFile(/tmp/multipartBody1605668655909571975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331043099,"filename":"image_16112025_20_41_08_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/30747aa06cfd0b5de9736c64b720d47b.jpg","text":"TemporaryFile(/tmp/multipartBody2871593398113176460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331043099,"filename":"image_16112025_20_41_05_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0daa8dd1fa1195ad9926c694045d3ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2805487430404913405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331043099,"filename":"image_16112025_20_40_53_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776095","file1":"1394776094","file0":"1394776093","file4":"1394776097","file5":"1394776098","file3":"1394776096"},"map_files_photo_id_array":[{"photo_id":"1394776098","filename":"file5"},{"photo_id":"1394776095","filename":"file2"},{"photo_id":"1394776097","filename":"file4"},{"photo_id":"1394776094","filename":"file1"},{"photo_id":"1394776093","filename":"file0"},{"photo_id":"1394776096","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776095":["hashtag1","hashtag2"]},{"1394776098":["hashtag1","hashtag2"]},{"1394776094":["hashtag1","hashtag2"]},{"1394776097":["hashtag1","hashtag2"]},{"1394776096":["hashtag1","hashtag2"]},{"1394776093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776095, 1394776098, 1394776094, 1394776097, 1394776096, 1394776093)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.44878315925598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:10:42.756280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_07_3017.jpg', '/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_10_3682.jpg', '/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_13_2637.jpg', '/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_16_2671.jpg', '/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_19_3635.jpg', '/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_37_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_07_3017.jpg
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_10_3682.jpg
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_13_2637.jpg
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_16_2671.jpg
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_19_3635.jpg
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_37_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776105","1394776108","1394776107","1394776104","1394776106","1394776103"],"photo_ids_order":["1394776103","1394776104","1394776105","1394776106","1394776107","1394776108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0905201ebf0a711740efee306d5722f6.jpg","text":"TemporaryFile(/tmp/multipartBody6165175298865676817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331103383,"filename":"image_16112025_20_42_13_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b6f59367c513b266de78794f224ec34.jpg","text":"TemporaryFile(/tmp/multipartBody8420497478761000109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331103383,"filename":"image_16112025_20_42_37_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e4141dfe8cff3063784ba99ba464e6b.jpg","text":"TemporaryFile(/tmp/multipartBody5785871051768129350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331103383,"filename":"image_16112025_20_42_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/11/16/f8c7917a5eabfbfdbe0a690cc3537208.jpg","text":"TemporaryFile(/tmp/multipartBody1468586922197064961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331103383,"filename":"image_16112025_20_42_10_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/952293fa5adb092b422449e8dc362330.jpg","text":"TemporaryFile(/tmp/multipartBody6408686395970764066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331103383,"filename":"image_16112025_20_42_16_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5e032db15b015ffbd038d5690d770848.jpg","text":"TemporaryFile(/tmp/multipartBody4460389525634723985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331103383,"filename":"image_16112025_20_42_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776105","file1":"1394776104","file0":"1394776103","file4":"1394776107","file5":"1394776108","file3":"1394776106"},"map_files_photo_id_array":[{"photo_id":"1394776108","filename":"file5"},{"photo_id":"1394776105","filename":"file2"},{"photo_id":"1394776107","filename":"file4"},{"photo_id":"1394776104","filename":"file1"},{"photo_id":"1394776103","filename":"file0"},{"photo_id":"1394776106","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776105":["hashtag1","hashtag2"]},{"1394776108":["hashtag1","hashtag2"]},{"1394776107":["hashtag1","hashtag2"]},{"1394776104":["hashtag1","hashtag2"]},{"1394776106":["hashtag1","hashtag2"]},{"1394776103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776105, 1394776108, 1394776107, 1394776104, 1394776106, 1394776103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76833438873291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:11:21.936157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_43_3602.jpg', '/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_46_2552.jpg', '/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_49_2564.jpg', '/home/pi/Desktop/images/16112025/20/42/image_16112025_20_43_01_3655.jpg', '/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_04_2567.jpg', '/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_08_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_43_3602.jpg
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_46_2552.jpg
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_42_49_2564.jpg
/home/pi/Desktop/images/16112025/20/42/image_16112025_20_43_01_3655.jpg
/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_04_2567.jpg
/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_08_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776114","1394776111","1394776113","1394776116","1394776118","1394776115"],"photo_ids_order":["1394776111","1394776113","1394776114","1394776115","1394776116","1394776118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/54e3bd0ff9dc0b424a82f7a13895eddf.jpg","text":"TemporaryFile(/tmp/multipartBody3611299353600483676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331142575,"filename":"image_16112025_20_42_49_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/90ff54980b9d9eab1427ef003f30b73e.jpg","text":"TemporaryFile(/tmp/multipartBody5257416498855224465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331142575,"filename":"image_16112025_20_42_43_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6634049e351052168aa4e0b7cacca1d4.jpg","text":"TemporaryFile(/tmp/multipartBody985419723443552785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331142575,"filename":"image_16112025_20_42_46_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a611a523f93a412f340128246e65e62e.jpg","text":"TemporaryFile(/tmp/multipartBody8836465888813432248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331142575,"filename":"image_16112025_20_43_04_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/475ce7ccc5a13ce8adab5257e73a7d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1755159095812191991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331142575,"filename":"image_16112025_20_43_08_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1d551fe2d098bead3fcc503219b0378a.jpg","text":"TemporaryFile(/tmp/multipartBody4239594673619735527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331142575,"filename":"image_16112025_20_43_01_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776114","file1":"1394776113","file0":"1394776111","file4":"1394776116","file5":"1394776118","file3":"1394776115"},"map_files_photo_id_array":[{"photo_id":"1394776118","filename":"file5"},{"photo_id":"1394776114","filename":"file2"},{"photo_id":"1394776116","filename":"file4"},{"photo_id":"1394776113","filename":"file1"},{"photo_id":"1394776111","filename":"file0"},{"photo_id":"1394776115","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776114":["hashtag1","hashtag2"]},{"1394776111":["hashtag1","hashtag2"]},{"1394776113":["hashtag1","hashtag2"]},{"1394776116":["hashtag1","hashtag2"]},{"1394776118":["hashtag1","hashtag2"]},{"1394776115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776114, 1394776111, 1394776113, 1394776116, 1394776118, 1394776115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36904740333557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:12:02.761055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_10_2589.jpg', '/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_13_2752.jpg', '/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_16_3589.jpg', '/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_19_2660.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_07_3015.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_11_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_10_2589.jpg
/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_13_2752.jpg
/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_16_3589.jpg
/home/pi/Desktop/images/16112025/20/43/image_16112025_20_43_19_2660.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_07_3015.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_11_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776120","1394776123","1394776126","1394776122","1394776124","1394776121"],"photo_ids_order":["1394776120","1394776121","1394776122","1394776123","1394776124","1394776126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9aef23abc3d6e7bf56cd48bc4559a64b.jpg","text":"TemporaryFile(/tmp/multipartBody295668532228405180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331183451,"filename":"image_16112025_20_43_10_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e95c4c9ff1e614851a861268f54944f3.jpg","text":"TemporaryFile(/tmp/multipartBody6145854795649337740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331183451,"filename":"image_16112025_20_43_19_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/809e9b0eef531c4df45d73088cb05575.jpg","text":"TemporaryFile(/tmp/multipartBody1278454265272053129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331183451,"filename":"image_16112025_20_44_11_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a6e2cbcec2102fed95e5efb1ad43c20.jpg","text":"TemporaryFile(/tmp/multipartBody7909052845917927350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331183451,"filename":"image_16112025_20_43_16_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8bbb019e0036d0bd775666af6a09319.jpg","text":"TemporaryFile(/tmp/multipartBody4596350129695584043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331183451,"filename":"image_16112025_20_44_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/11/16/2dce5543ab4ce92d9443d6f92427885e.jpg","text":"TemporaryFile(/tmp/multipartBody7947727594289822673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331183451,"filename":"image_16112025_20_43_13_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776122","file1":"1394776121","file0":"1394776120","file4":"1394776124","file5":"1394776126","file3":"1394776123"},"map_files_photo_id_array":[{"photo_id":"1394776126","filename":"file5"},{"photo_id":"1394776122","filename":"file2"},{"photo_id":"1394776124","filename":"file4"},{"photo_id":"1394776121","filename":"file1"},{"photo_id":"1394776120","filename":"file0"},{"photo_id":"1394776123","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776120":["hashtag1","hashtag2"]},{"1394776123":["hashtag1","hashtag2"]},{"1394776126":["hashtag1","hashtag2"]},{"1394776122":["hashtag1","hashtag2"]},{"1394776124":["hashtag1","hashtag2"]},{"1394776121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776120, 1394776123, 1394776126, 1394776122, 1394776124, 1394776121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.900078535079956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:12:42.310647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_13_2501.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_17_3677.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_19_2511.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_22_2633.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_26_3683.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_28_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_13_2501.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_17_3677.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_19_2511.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_22_2633.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_26_3683.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_28_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776132","1394776135","1394776134","1394776137","1394776136","1394776133"],"photo_ids_order":["1394776132","1394776133","1394776134","1394776135","1394776136","1394776137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a34144c70a867d9e52c674e730e746e.jpg","text":"TemporaryFile(/tmp/multipartBody4234186106160771310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331222994,"filename":"image_16112025_20_44_13_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ef20c532c2341a8bfe452afc1a554a35.jpg","text":"TemporaryFile(/tmp/multipartBody280361307225684618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331222994,"filename":"image_16112025_20_44_22_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d87035e1b590cfdf03acdc137fb51f6f.jpg","text":"TemporaryFile(/tmp/multipartBody935275453043718003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331222994,"filename":"image_16112025_20_44_19_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b41590ae3e72bfd450cbcf2f4761ec6b.jpg","text":"TemporaryFile(/tmp/multipartBody2195519159225156387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331222994,"filename":"image_16112025_20_44_28_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3662ee0b0f2027c2443415037c773af6.jpg","text":"TemporaryFile(/tmp/multipartBody1050015358501664063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331222994,"filename":"image_16112025_20_44_26_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/28e511b663b67bcf63e14bcd0788d282.jpg","text":"TemporaryFile(/tmp/multipartBody2691685379668875150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331222994,"filename":"image_16112025_20_44_17_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776134","file1":"1394776133","file0":"1394776132","file4":"1394776136","file5":"1394776137","file3":"1394776135"},"map_files_photo_id_array":[{"photo_id":"1394776137","filename":"file5"},{"photo_id":"1394776134","filename":"file2"},{"photo_id":"1394776136","filename":"file4"},{"photo_id":"1394776133","filename":"file1"},{"photo_id":"1394776132","filename":"file0"},{"photo_id":"1394776135","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776132":["hashtag1","hashtag2"]},{"1394776135":["hashtag1","hashtag2"]},{"1394776134":["hashtag1","hashtag2"]},{"1394776137":["hashtag1","hashtag2"]},{"1394776136":["hashtag1","hashtag2"]},{"1394776133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776132, 1394776135, 1394776134, 1394776137, 1394776136, 1394776133)","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 = 1394776134 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_19_2511.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.91336131095886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:13:42.502977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_32_3640.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_37_2660.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_41_3716.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_44_2675.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_46_2671.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_53_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_32_3640.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_37_2660.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_41_3716.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_44_2675.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_46_2671.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_53_3765.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.5679466724395752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:14:09.550405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_32_3640.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_37_2660.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_41_3716.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_44_2675.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_46_2671.jpg', '/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_53_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_32_3640.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_37_2660.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_41_3716.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_44_2675.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_46_2671.jpg
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_53_3765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776153","1394776161","1394776155","1394776157","1394776151","1394776159"],"photo_ids_order":["1394776151","1394776153","1394776155","1394776157","1394776159","1394776161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f6f48e69cd4835899fc9522fd831d982.jpg","text":"TemporaryFile(/tmp/multipartBody2033446398377029675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331310254,"filename":"image_16112025_20_44_37_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e50097469242da5577a1b3aa47769c4.jpg","text":"TemporaryFile(/tmp/multipartBody1904790695235365607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331310254,"filename":"image_16112025_20_44_53_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e219ad18fc0b8bdc70dabd6b35daefee.jpg","text":"TemporaryFile(/tmp/multipartBody7678409409387477179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331310254,"filename":"image_16112025_20_44_41_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a66c4a543dfc860ad661a8c1105fc033.jpg","text":"TemporaryFile(/tmp/multipartBody7944240877524177222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331310254,"filename":"image_16112025_20_44_44_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42e56f175083d02e26a13bfeb54617f1.jpg","text":"TemporaryFile(/tmp/multipartBody6644390318993818497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331310254,"filename":"image_16112025_20_44_32_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/51050bfbeb3b6d5b730dcfaa51eab667.jpg","text":"TemporaryFile(/tmp/multipartBody4287272061070761701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331310254,"filename":"image_16112025_20_44_46_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776155","file1":"1394776153","file0":"1394776151","file4":"1394776159","file5":"1394776161","file3":"1394776157"},"map_files_photo_id_array":[{"photo_id":"1394776161","filename":"file5"},{"photo_id":"1394776155","filename":"file2"},{"photo_id":"1394776159","filename":"file4"},{"photo_id":"1394776153","filename":"file1"},{"photo_id":"1394776151","filename":"file0"},{"photo_id":"1394776157","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776153":["hashtag1","hashtag2"]},{"1394776161":["hashtag1","hashtag2"]},{"1394776155":["hashtag1","hashtag2"]},{"1394776157":["hashtag1","hashtag2"]},{"1394776151":["hashtag1","hashtag2"]},{"1394776159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776153, 1394776161, 1394776155, 1394776157, 1394776151, 1394776159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.504106283187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:14:48.823080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_55_2643.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_02_3625.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_05_2950.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_07_2544.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_13_2596.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_20_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/44/image_16112025_20_44_55_2643.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_02_3625.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_05_2950.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_07_2544.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_13_2596.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_20_3709.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":["1394776168","1394776170","1394776167","1394776166","1394776169","1394776165"],"photo_ids_order":["1394776165","1394776166","1394776167","1394776168","1394776169","1394776170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5590d242589c0f202846ced29c7aec7c.jpg","text":"TemporaryFile(/tmp/multipartBody6894640685815336794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331349454,"filename":"image_16112025_20_45_07_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a6940f0bf10a13ae47c0db21770375a.jpg","text":"TemporaryFile(/tmp/multipartBody9028489935514524887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331349454,"filename":"image_16112025_20_45_20_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b4b0a6e2efbf7b879511b426499fa1f.jpg","text":"TemporaryFile(/tmp/multipartBody7315794217916791627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331349454,"filename":"image_16112025_20_45_05_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03fa48a133865bbb5cc2b0c0a540838f.jpg","text":"TemporaryFile(/tmp/multipartBody7885043172973520785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331349454,"filename":"image_16112025_20_45_02_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a253088953418621baf920429b1cd08.jpg","text":"TemporaryFile(/tmp/multipartBody5850873012908885991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331349454,"filename":"image_16112025_20_45_13_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1ea5789bd0c75f6d72249ec44e1e7fa.jpg","text":"TemporaryFile(/tmp/multipartBody1492010462315575231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331349454,"filename":"image_16112025_20_44_55_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776167","file1":"1394776166","file0":"1394776165","file4":"1394776169","file5":"1394776170","file3":"1394776168"},"map_files_photo_id_array":[{"photo_id":"1394776170","filename":"file5"},{"photo_id":"1394776167","filename":"file2"},{"photo_id":"1394776169","filename":"file4"},{"photo_id":"1394776166","filename":"file1"},{"photo_id":"1394776165","filename":"file0"},{"photo_id":"1394776168","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776168":["hashtag1","hashtag2"]},{"1394776170":["hashtag1","hashtag2"]},{"1394776167":["hashtag1","hashtag2"]},{"1394776166":["hashtag1","hashtag2"]},{"1394776169":["hashtag1","hashtag2"]},{"1394776165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776168, 1394776170, 1394776167, 1394776166, 1394776169, 1394776165)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.92785954475403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:16:02.818001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_29_2871.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_31_2597.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_35_3488.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_40_2700.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_44_3622.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_46_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_29_2871.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_31_2597.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_35_3488.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_40_2700.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_44_3622.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_46_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776180","1394776179","1394776181","1394776178","1394776183","1394776186"],"photo_ids_order":["1394776178","1394776179","1394776180","1394776181","1394776183","1394776186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/921d6de0b3a94cac531c7e460b896852.jpg","text":"TemporaryFile(/tmp/multipartBody270481861126523850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331423543,"filename":"image_16112025_20_45_35_3488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9eece827ca0ca034a7d051983d1e330d.jpg","text":"TemporaryFile(/tmp/multipartBody8059132253978350517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331423543,"filename":"image_16112025_20_45_31_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c611ba08f7ac5975907b25f7e7a4fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5205800616535501260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331423543,"filename":"image_16112025_20_45_40_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/705d99d59c116f1d1c98dfe4daf3e152.jpg","text":"TemporaryFile(/tmp/multipartBody5140315760279594173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331423543,"filename":"image_16112025_20_45_29_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07e46055f21840e8bbd14bd74433e479.jpg","text":"TemporaryFile(/tmp/multipartBody2705191025128602637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331423543,"filename":"image_16112025_20_45_44_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4fdcc8efbd225beeee6b917fc519b6d.jpg","text":"TemporaryFile(/tmp/multipartBody7261351857949719673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331423543,"filename":"image_16112025_20_45_46_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776180","file1":"1394776179","file0":"1394776178","file4":"1394776183","file5":"1394776186","file3":"1394776181"},"map_files_photo_id_array":[{"photo_id":"1394776186","filename":"file5"},{"photo_id":"1394776180","filename":"file2"},{"photo_id":"1394776183","filename":"file4"},{"photo_id":"1394776179","filename":"file1"},{"photo_id":"1394776178","filename":"file0"},{"photo_id":"1394776181","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776180":["hashtag1","hashtag2"]},{"1394776179":["hashtag1","hashtag2"]},{"1394776181":["hashtag1","hashtag2"]},{"1394776178":["hashtag1","hashtag2"]},{"1394776183":["hashtag1","hashtag2"]},{"1394776186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776180, 1394776179, 1394776181, 1394776178, 1394776183, 1394776186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.534952878952026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:16:42.234112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_53_3638.jpg', '/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_55_2608.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_06_3011.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_12_2639.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_16_3744.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_19_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_53_3638.jpg
/home/pi/Desktop/images/16112025/20/45/image_16112025_20_45_55_2608.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_06_3011.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_12_2639.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_16_3744.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_19_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776189","1394776191","1394776190","1394776193","1394776187","1394776192"],"photo_ids_order":["1394776187","1394776189","1394776190","1394776191","1394776192","1394776193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f7a67d6cc2f7172ca6a0126bb8cab996.jpg","text":"TemporaryFile(/tmp/multipartBody359991843873738568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331462854,"filename":"image_16112025_20_45_55_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbf802e6ce359914ee25bc1b83970245.jpg","text":"TemporaryFile(/tmp/multipartBody3994472879871862789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331462854,"filename":"image_16112025_20_47_12_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dfdc2357c7f7b3e5f0b16a8afa88ac3c.jpg","text":"TemporaryFile(/tmp/multipartBody288609263219586765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331462854,"filename":"image_16112025_20_47_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/11/16/8b6e6ba7600109b51236736defa3e143.jpg","text":"TemporaryFile(/tmp/multipartBody459408451588877498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331462854,"filename":"image_16112025_20_47_19_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/abfb64bee7417211c6e7fbd08d9eeeea.jpg","text":"TemporaryFile(/tmp/multipartBody2994500826522446231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331462854,"filename":"image_16112025_20_45_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/11/16/f3eef69227a700a2e802fc384febdeb9.jpg","text":"TemporaryFile(/tmp/multipartBody1832057933749051904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331462854,"filename":"image_16112025_20_47_16_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776190","file1":"1394776189","file0":"1394776187","file4":"1394776192","file5":"1394776193","file3":"1394776191"},"map_files_photo_id_array":[{"photo_id":"1394776193","filename":"file5"},{"photo_id":"1394776190","filename":"file2"},{"photo_id":"1394776192","filename":"file4"},{"photo_id":"1394776189","filename":"file1"},{"photo_id":"1394776187","filename":"file0"},{"photo_id":"1394776191","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776189":["hashtag1","hashtag2"]},{"1394776191":["hashtag1","hashtag2"]},{"1394776190":["hashtag1","hashtag2"]},{"1394776193":["hashtag1","hashtag2"]},{"1394776187":["hashtag1","hashtag2"]},{"1394776192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776189, 1394776191, 1394776190, 1394776193, 1394776187, 1394776192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.171181201934814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:17:22.399771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_21_2615.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_25_3609.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_37_2656.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_39_2643.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_43_3671.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_45_2494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_21_2615.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_25_3609.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_37_2656.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_39_2643.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_43_3671.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_45_2494.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776197","1394776200","1394776199","1394776196","1394776198","1394776202"],"photo_ids_order":["1394776196","1394776197","1394776198","1394776199","1394776200","1394776202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f91c301af695abdd37f2e113ce5c4c18.jpg","text":"TemporaryFile(/tmp/multipartBody1681343456143730764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331503055,"filename":"image_16112025_20_47_25_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/be7011898f8b39bc73d68aedf1a48b69.jpg","text":"TemporaryFile(/tmp/multipartBody5306935564679192217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331503055,"filename":"image_16112025_20_47_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/11/16/16faab04dd6db9b7a111c6a65778520b.jpg","text":"TemporaryFile(/tmp/multipartBody2307562253183745733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331503055,"filename":"image_16112025_20_47_39_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3faab156e5edff5e869f73287cfdea89.jpg","text":"TemporaryFile(/tmp/multipartBody493402406645800922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331503055,"filename":"image_16112025_20_47_21_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dd94925f626c018d7a544dd22f5d8777.jpg","text":"TemporaryFile(/tmp/multipartBody2157733033657470789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331503055,"filename":"image_16112025_20_47_37_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/768bbac65e0799de34e5381ae4bfb3d5.jpg","text":"TemporaryFile(/tmp/multipartBody1117931860346978161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331503055,"filename":"image_16112025_20_47_45_2494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776198","file1":"1394776197","file0":"1394776196","file4":"1394776200","file5":"1394776202","file3":"1394776199"},"map_files_photo_id_array":[{"photo_id":"1394776202","filename":"file5"},{"photo_id":"1394776198","filename":"file2"},{"photo_id":"1394776200","filename":"file4"},{"photo_id":"1394776197","filename":"file1"},{"photo_id":"1394776196","filename":"file0"},{"photo_id":"1394776199","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776197":["hashtag1","hashtag2"]},{"1394776200":["hashtag1","hashtag2"]},{"1394776199":["hashtag1","hashtag2"]},{"1394776196":["hashtag1","hashtag2"]},{"1394776198":["hashtag1","hashtag2"]},{"1394776202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776197, 1394776200, 1394776199, 1394776196, 1394776198, 1394776202)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.08128833770752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:18:23.637007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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 3
2025-11-16 23:18:50.007255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 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-11-16 23:19:02.864427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_52_3721.jpg', '/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_54_2603.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_06_3018.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_13_2562.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_16_3646.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_19_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_52_3721.jpg
/home/pi/Desktop/images/16112025/20/47/image_16112025_20_47_54_2603.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_06_3018.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_13_2562.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_16_3646.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_19_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1394776213","1394776210","1394776215","1394776209","1394776217","1394776211"],"photo_ids_order":["1394776209","1394776210","1394776211","1394776213","1394776215","1394776217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5f02bee79af11bc2575f444d15d667d.jpg","text":"TemporaryFile(/tmp/multipartBody2705981684459176573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331607780,"filename":"image_16112025_20_49_13_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/aa61e4109d7d78c7ab953889e8a01edc.jpg","text":"TemporaryFile(/tmp/multipartBody5125525495232719564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331607780,"filename":"image_16112025_20_47_54_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e85e982c9ed1cc9828fedb6638466be.jpg","text":"TemporaryFile(/tmp/multipartBody8397413388349243217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331607780,"filename":"image_16112025_20_49_16_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1305e0b449a78e0055bc0139a00ba01a.jpg","text":"TemporaryFile(/tmp/multipartBody6176327364001907434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331607780,"filename":"image_16112025_20_47_52_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e548a69e804c7871bb6a102ca26472a.jpg","text":"TemporaryFile(/tmp/multipartBody663352308921962709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331607780,"filename":"image_16112025_20_49_19_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e975ebd64b96e51c018ddd03562b423.jpg","text":"TemporaryFile(/tmp/multipartBody2786223301697108057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331607780,"filename":"image_16112025_20_49_06_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776211","file1":"1394776210","file0":"1394776209","file4":"1394776215","file5":"1394776217","file3":"1394776213"},"map_files_photo_id_array":[{"photo_id":"1394776217","filename":"file5"},{"photo_id":"1394776211","filename":"file2"},{"photo_id":"1394776215","filename":"file4"},{"photo_id":"1394776210","filename":"file1"},{"photo_id":"1394776209","filename":"file0"},{"photo_id":"1394776213","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776213":["hashtag1","hashtag2"]},{"1394776210":["hashtag1","hashtag2"]},{"1394776215":["hashtag1","hashtag2"]},{"1394776209":["hashtag1","hashtag2"]},{"1394776217":["hashtag1","hashtag2"]},{"1394776211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776213, 1394776210, 1394776215, 1394776209, 1394776217, 1394776211)","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 = 1394776211 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_06_3018.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 74.98489880561829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:20:21.853330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_22_2648.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_24_2723.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_28_3624.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_35_4272.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_40_3655.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_43_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_22_2648.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_24_2723.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_28_3624.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_35_4272.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_40_3655.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_43_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776222","1394776225","1394776227","1394776229","1394776226","1394776220"],"photo_ids_order":["1394776220","1394776222","1394776225","1394776226","1394776227","1394776229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/047bd1dad522f33f9583535edcab5197.jpg","text":"TemporaryFile(/tmp/multipartBody3587929437187737309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331682479,"filename":"image_16112025_20_49_24_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/572bfbe9b21a43f42fb87987b7a60910.jpg","text":"TemporaryFile(/tmp/multipartBody2866328626721442704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331682479,"filename":"image_16112025_20_49_28_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3104ee5f76ce1a6b2e5fc2870242112.jpg","text":"TemporaryFile(/tmp/multipartBody8795700136058004842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331682479,"filename":"image_16112025_20_49_40_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65ec1b585b8e0c4ccea3744e5532f1d1.jpg","text":"TemporaryFile(/tmp/multipartBody3474719991402823184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331682479,"filename":"image_16112025_20_49_43_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78fbae1542c0be75b60c7b30274cb556.jpg","text":"TemporaryFile(/tmp/multipartBody3776830654250602738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331682479,"filename":"image_16112025_20_49_35_4272.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed7b074e5fcd2e47d71a4da28d21827b.jpg","text":"TemporaryFile(/tmp/multipartBody3208357739215195733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331682479,"filename":"image_16112025_20_49_22_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776225","file1":"1394776222","file0":"1394776220","file4":"1394776227","file5":"1394776229","file3":"1394776226"},"map_files_photo_id_array":[{"photo_id":"1394776229","filename":"file5"},{"photo_id":"1394776225","filename":"file2"},{"photo_id":"1394776227","filename":"file4"},{"photo_id":"1394776222","filename":"file1"},{"photo_id":"1394776220","filename":"file0"},{"photo_id":"1394776226","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776222":["hashtag1","hashtag2"]},{"1394776225":["hashtag1","hashtag2"]},{"1394776227":["hashtag1","hashtag2"]},{"1394776229":["hashtag1","hashtag2"]},{"1394776226":["hashtag1","hashtag2"]},{"1394776220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776222, 1394776225, 1394776227, 1394776229, 1394776226, 1394776220)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 71.25462412834167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:21:44.429666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_46_2685.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_49_3755.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_52_2569.jpg', '/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_58_3492.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_01_2620.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_13_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_46_2685.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_49_3755.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_52_2569.jpg
/home/pi/Desktop/images/16112025/20/49/image_16112025_20_49_58_3492.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_01_2620.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_13_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776237","1394776239","1394776233","1394776236","1394776235","1394776238"],"photo_ids_order":["1394776233","1394776235","1394776236","1394776237","1394776238","1394776239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ba6a16c60120e022940ccb432bd66a6.jpg","text":"TemporaryFile(/tmp/multipartBody4513463182354018675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331765050,"filename":"image_16112025_20_49_58_3492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e197b91ed0a7ce65570225eea667c146.jpg","text":"TemporaryFile(/tmp/multipartBody6401590775402691422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331765050,"filename":"image_16112025_20_50_13_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/167bd9a7f4fb91156a2eea3198ea1cde.jpg","text":"TemporaryFile(/tmp/multipartBody1881462877320528413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331765050,"filename":"image_16112025_20_49_46_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c81f37b41c11e793efa19f746da0728.jpg","text":"TemporaryFile(/tmp/multipartBody910281931128179824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331765050,"filename":"image_16112025_20_49_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/11/16/b9aed4f143b90df303a72b0d0ca6d29d.jpg","text":"TemporaryFile(/tmp/multipartBody2799326641900823439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331765050,"filename":"image_16112025_20_49_49_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9ef752e8678e59d8a30a20900475bea1.jpg","text":"TemporaryFile(/tmp/multipartBody5580186833029037437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331765050,"filename":"image_16112025_20_50_01_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776236","file1":"1394776235","file0":"1394776233","file4":"1394776238","file5":"1394776239","file3":"1394776237"},"map_files_photo_id_array":[{"photo_id":"1394776239","filename":"file5"},{"photo_id":"1394776236","filename":"file2"},{"photo_id":"1394776238","filename":"file4"},{"photo_id":"1394776235","filename":"file1"},{"photo_id":"1394776233","filename":"file0"},{"photo_id":"1394776237","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776237":["hashtag1","hashtag2"]},{"1394776239":["hashtag1","hashtag2"]},{"1394776233":["hashtag1","hashtag2"]},{"1394776236":["hashtag1","hashtag2"]},{"1394776235":["hashtag1","hashtag2"]},{"1394776238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776237, 1394776239, 1394776233, 1394776236, 1394776235, 1394776238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.355791330337524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:22:23.842188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_16_2624.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_40_3582.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_43_2635.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_52_2695.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_54_2595.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_58_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_16_2624.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_40_3582.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_43_2635.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_52_2695.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_54_2595.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_58_3585.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.5470657348632812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:22:43.844512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_16_2624.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_40_3582.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_43_2635.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_52_2695.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_54_2595.jpg', '/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_58_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_16_2624.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_40_3582.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_43_2635.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_52_2695.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_54_2595.jpg
/home/pi/Desktop/images/16112025/20/50/image_16112025_20_50_58_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776246","1394776249","1394776251","1394776248","1394776247","1394776250"],"photo_ids_order":["1394776246","1394776247","1394776248","1394776249","1394776250","1394776251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4a5d0638c3e2b60a2825f81968fe98d0.jpg","text":"TemporaryFile(/tmp/multipartBody5337093083109171830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331824529,"filename":"image_16112025_20_50_16_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e487db12497ef2df34d38c8440ecdfd8.jpg","text":"TemporaryFile(/tmp/multipartBody2787279452324990105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331824529,"filename":"image_16112025_20_50_52_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5340153433a4c6d4d7b80003b17dda0.jpg","text":"TemporaryFile(/tmp/multipartBody388997770432493233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331824529,"filename":"image_16112025_20_50_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/11/16/d4d1d78777807d6789b88f378e93aa91.jpg","text":"TemporaryFile(/tmp/multipartBody790164780975099461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331824529,"filename":"image_16112025_20_50_43_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2b82f006a6526c3d5d512d43f313ee6b.jpg","text":"TemporaryFile(/tmp/multipartBody6014647386486120423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331824529,"filename":"image_16112025_20_50_40_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cfa1fc5b8108a39add8be9c17e3f6804.jpg","text":"TemporaryFile(/tmp/multipartBody4533193504530745317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331824529,"filename":"image_16112025_20_50_54_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776248","file1":"1394776247","file0":"1394776246","file4":"1394776250","file5":"1394776251","file3":"1394776249"},"map_files_photo_id_array":[{"photo_id":"1394776251","filename":"file5"},{"photo_id":"1394776248","filename":"file2"},{"photo_id":"1394776250","filename":"file4"},{"photo_id":"1394776247","filename":"file1"},{"photo_id":"1394776246","filename":"file0"},{"photo_id":"1394776249","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776246":["hashtag1","hashtag2"]},{"1394776249":["hashtag1","hashtag2"]},{"1394776251":["hashtag1","hashtag2"]},{"1394776248":["hashtag1","hashtag2"]},{"1394776247":["hashtag1","hashtag2"]},{"1394776250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776246, 1394776249, 1394776251, 1394776248, 1394776247, 1394776250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96613311767578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:23:21.991860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/51/image_16112025_20_51_01_2576.jpg', '/home/pi/Desktop/images/16112025/20/51/image_16112025_20_51_04_3596.jpg', '/home/pi/Desktop/images/16112025/20/51/image_16112025_20_51_07_2667.jpg', '/home/pi/Desktop/images/16112025/20/51/image_16112025_20_51_10_2603.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_07_3017.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_10_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/51/image_16112025_20_51_01_2576.jpg
/home/pi/Desktop/images/16112025/20/51/image_16112025_20_51_04_3596.jpg
/home/pi/Desktop/images/16112025/20/51/image_16112025_20_51_07_2667.jpg
/home/pi/Desktop/images/16112025/20/51/image_16112025_20_51_10_2603.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_07_3017.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_10_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776260","1394776257","1394776254","1394776256","1394776259","1394776258"],"photo_ids_order":["1394776254","1394776256","1394776257","1394776258","1394776259","1394776260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/023bce529442cbe5cab8238ef64d3936.jpg","text":"TemporaryFile(/tmp/multipartBody161537251768984985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331862605,"filename":"image_16112025_20_52_10_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fbab240376ae84cb9a9e8f8cdbf1e3d7.jpg","text":"TemporaryFile(/tmp/multipartBody7994705738877050727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331862605,"filename":"image_16112025_20_51_07_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/124da9fa905e66a916ace683fdc8deaa.jpg","text":"TemporaryFile(/tmp/multipartBody8105901053427414773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331862605,"filename":"image_16112025_20_51_01_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b22e1b6198a9067abe47264bc29b293a.jpg","text":"TemporaryFile(/tmp/multipartBody4836914689389470757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331862605,"filename":"image_16112025_20_51_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/11/16/dad29ad77e7ecf8878436d80cbe12f33.jpg","text":"TemporaryFile(/tmp/multipartBody1761603460428885170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331862605,"filename":"image_16112025_20_52_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f60786a4c603a69ae144d4e25fb7e577.jpg","text":"TemporaryFile(/tmp/multipartBody1762387607467961539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331862605,"filename":"image_16112025_20_51_10_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776257","file1":"1394776256","file0":"1394776254","file4":"1394776259","file5":"1394776260","file3":"1394776258"},"map_files_photo_id_array":[{"photo_id":"1394776260","filename":"file5"},{"photo_id":"1394776257","filename":"file2"},{"photo_id":"1394776259","filename":"file4"},{"photo_id":"1394776256","filename":"file1"},{"photo_id":"1394776254","filename":"file0"},{"photo_id":"1394776258","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776260":["hashtag1","hashtag2"]},{"1394776257":["hashtag1","hashtag2"]},{"1394776254":["hashtag1","hashtag2"]},{"1394776256":["hashtag1","hashtag2"]},{"1394776259":["hashtag1","hashtag2"]},{"1394776258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776260, 1394776257, 1394776254, 1394776256, 1394776259, 1394776258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45184779167175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:24:02.759435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_19_2740.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_22_2581.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_25_3667.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_31_2641.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_34_3580.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_41_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_19_2740.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_22_2581.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_25_3667.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_31_2641.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_34_3580.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_41_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776267","1394776261","1394776263","1394776265","1394776262","1394776264"],"photo_ids_order":["1394776261","1394776262","1394776263","1394776264","1394776265","1394776267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1e9ff6d704f40c9a1c85ae33ff1bd69.jpg","text":"TemporaryFile(/tmp/multipartBody3213693889699649531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331903467,"filename":"image_16112025_20_52_41_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2c3a8e4488bf98edb18ba7b94b98c487.jpg","text":"TemporaryFile(/tmp/multipartBody7253397690611101808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331903467,"filename":"image_16112025_20_52_19_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/84b128493982129e73568f7b4da7a130.jpg","text":"TemporaryFile(/tmp/multipartBody8050389906917006554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331903467,"filename":"image_16112025_20_52_25_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/faef05f6330e95b4e1eefd35d57f1521.jpg","text":"TemporaryFile(/tmp/multipartBody8693147498365870552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331903467,"filename":"image_16112025_20_52_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/11/16/602434806b4eb1d3757dff3f1d167807.jpg","text":"TemporaryFile(/tmp/multipartBody1391134557132359760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331903467,"filename":"image_16112025_20_52_22_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/597a42aef854367458be2d961d5d0791.jpg","text":"TemporaryFile(/tmp/multipartBody60686972365371458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331903467,"filename":"image_16112025_20_52_31_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776263","file1":"1394776262","file0":"1394776261","file4":"1394776265","file5":"1394776267","file3":"1394776264"},"map_files_photo_id_array":[{"photo_id":"1394776267","filename":"file5"},{"photo_id":"1394776263","filename":"file2"},{"photo_id":"1394776265","filename":"file4"},{"photo_id":"1394776262","filename":"file1"},{"photo_id":"1394776261","filename":"file0"},{"photo_id":"1394776264","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776267":["hashtag1","hashtag2"]},{"1394776261":["hashtag1","hashtag2"]},{"1394776263":["hashtag1","hashtag2"]},{"1394776265":["hashtag1","hashtag2"]},{"1394776262":["hashtag1","hashtag2"]},{"1394776264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776267, 1394776261, 1394776263, 1394776265, 1394776262, 1394776264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.046674966812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:24:42.245329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_43_2763.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_49_2670.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_52_3683.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_55_2684.jpg', '/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_58_2660.jpg', '/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_04_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_43_2763.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_49_2670.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_52_3683.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_55_2684.jpg
/home/pi/Desktop/images/16112025/20/52/image_16112025_20_52_58_2660.jpg
/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_04_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776273","1394776275","1394776269","1394776272","1394776271","1394776274"],"photo_ids_order":["1394776269","1394776271","1394776272","1394776273","1394776274","1394776275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/39f27c598582efa49696fb845820831c.jpg","text":"TemporaryFile(/tmp/multipartBody3162936498590080677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331942902,"filename":"image_16112025_20_52_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/11/16/7576be9bd19871bf70f78c52c59b2e88.jpg","text":"TemporaryFile(/tmp/multipartBody5191824010070111483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331942902,"filename":"image_16112025_20_53_04_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/408c17af64cbaa55529fe0f450955f03.jpg","text":"TemporaryFile(/tmp/multipartBody5840243174656877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331942902,"filename":"image_16112025_20_52_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/11/16/2acf858209e00f5331ee51b1dd4e4591.jpg","text":"TemporaryFile(/tmp/multipartBody4642065081993636154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331942902,"filename":"image_16112025_20_52_52_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ef0cd2ee090360578f02b94a82cad8c.jpg","text":"TemporaryFile(/tmp/multipartBody1394736911533947719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331942902,"filename":"image_16112025_20_52_49_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/22776d268989dbae2fb9178d44116ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4339393710577629395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331942902,"filename":"image_16112025_20_52_58_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776272","file1":"1394776271","file0":"1394776269","file4":"1394776274","file5":"1394776275","file3":"1394776273"},"map_files_photo_id_array":[{"photo_id":"1394776275","filename":"file5"},{"photo_id":"1394776272","filename":"file2"},{"photo_id":"1394776274","filename":"file4"},{"photo_id":"1394776271","filename":"file1"},{"photo_id":"1394776269","filename":"file0"},{"photo_id":"1394776273","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776273":["hashtag1","hashtag2"]},{"1394776275":["hashtag1","hashtag2"]},{"1394776269":["hashtag1","hashtag2"]},{"1394776272":["hashtag1","hashtag2"]},{"1394776271":["hashtag1","hashtag2"]},{"1394776274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776273, 1394776275, 1394776269, 1394776272, 1394776271, 1394776274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.675827741622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:25:22.373180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_07_2563.jpg', '/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_10_3627.jpg', '/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_13_2792.jpg', '/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_19_2617.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_07_3017.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_11_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_07_2563.jpg
/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_10_3627.jpg
/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_13_2792.jpg
/home/pi/Desktop/images/16112025/20/53/image_16112025_20_53_19_2617.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_07_3017.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_11_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776284","1394776278","1394776283","1394776286","1394776280","1394776282"],"photo_ids_order":["1394776278","1394776280","1394776282","1394776283","1394776284","1394776286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c467995e85372ebe6832e9121052e0c8.jpg","text":"TemporaryFile(/tmp/multipartBody4856414602014262779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331983012,"filename":"image_16112025_20_54_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4eaf6237dfa0bd540f0f88466f6c5a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4343136477733547117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331983012,"filename":"image_16112025_20_53_07_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/024e6233037c2b27c02315485ff17ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4959832828298810303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331983012,"filename":"image_16112025_20_53_19_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4d5655d9acb3f14b5a93df69e513e25f.jpg","text":"TemporaryFile(/tmp/multipartBody512233557275776936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331983012,"filename":"image_16112025_20_54_11_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f50e0f6feb7aa066fb63f544985cd089.jpg","text":"TemporaryFile(/tmp/multipartBody7863042838561436276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331983012,"filename":"image_16112025_20_53_10_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71c9da70a4c373cd94a0132a60f97e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1330099969190624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763331983012,"filename":"image_16112025_20_53_13_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776282","file1":"1394776280","file0":"1394776278","file4":"1394776284","file5":"1394776286","file3":"1394776283"},"map_files_photo_id_array":[{"photo_id":"1394776286","filename":"file5"},{"photo_id":"1394776282","filename":"file2"},{"photo_id":"1394776284","filename":"file4"},{"photo_id":"1394776280","filename":"file1"},{"photo_id":"1394776278","filename":"file0"},{"photo_id":"1394776283","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776284":["hashtag1","hashtag2"]},{"1394776278":["hashtag1","hashtag2"]},{"1394776283":["hashtag1","hashtag2"]},{"1394776286":["hashtag1","hashtag2"]},{"1394776280":["hashtag1","hashtag2"]},{"1394776282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776284, 1394776278, 1394776283, 1394776286, 1394776280, 1394776282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.437671184539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:26:02.641118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_13_2640.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_17_3591.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_26_3534.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_28_2535.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_32_3664.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_35_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_13_2640.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_17_3591.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_26_3534.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_28_2535.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_32_3664.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_35_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776288","1394776293","1394776290","1394776292","1394776289","1394776291"],"photo_ids_order":["1394776288","1394776289","1394776290","1394776291","1394776292","1394776293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/07e11dc5683112891f058b7620a2767f.jpg","text":"TemporaryFile(/tmp/multipartBody6116517741384270826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332023335,"filename":"image_16112025_20_54_13_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc0a208c21d672a550050404819a4689.jpg","text":"TemporaryFile(/tmp/multipartBody4799384460969340272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332023335,"filename":"image_16112025_20_54_35_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6cddd48bf88d271c8983d04a58b3e997.jpg","text":"TemporaryFile(/tmp/multipartBody1897680307933835372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332023335,"filename":"image_16112025_20_54_26_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/98847fe2beac18b31e4314d5e7a322bc.jpg","text":"TemporaryFile(/tmp/multipartBody5522912787472808877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332023335,"filename":"image_16112025_20_54_32_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a502c7e5d8ceca95edce4bdc89cb5347.jpg","text":"TemporaryFile(/tmp/multipartBody1823044365342205041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332023335,"filename":"image_16112025_20_54_17_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1575eed981feedd06848cf18a12bc92b.jpg","text":"TemporaryFile(/tmp/multipartBody553280728708205445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332023335,"filename":"image_16112025_20_54_28_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776290","file1":"1394776289","file0":"1394776288","file4":"1394776292","file5":"1394776293","file3":"1394776291"},"map_files_photo_id_array":[{"photo_id":"1394776293","filename":"file5"},{"photo_id":"1394776290","filename":"file2"},{"photo_id":"1394776292","filename":"file4"},{"photo_id":"1394776289","filename":"file1"},{"photo_id":"1394776288","filename":"file0"},{"photo_id":"1394776291","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776288":["hashtag1","hashtag2"]},{"1394776293":["hashtag1","hashtag2"]},{"1394776290":["hashtag1","hashtag2"]},{"1394776292":["hashtag1","hashtag2"]},{"1394776289":["hashtag1","hashtag2"]},{"1394776291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776288, 1394776293, 1394776290, 1394776292, 1394776289, 1394776291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36343216896057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:26:42.268061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_38_2720.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_40_2706.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_44_3580.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_53_3661.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_56_2764.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_58_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_38_2720.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_40_2706.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_44_3580.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_53_3661.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_56_2764.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_58_2668.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.5393309593200684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:27:02.951754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_38_2720.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_40_2706.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_44_3580.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_53_3661.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_56_2764.jpg', '/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_58_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_38_2720.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_40_2706.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_44_3580.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_53_3661.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_56_2764.jpg
/home/pi/Desktop/images/16112025/20/54/image_16112025_20_54_58_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776300","1394776303","1394776305","1394776302","1394776301","1394776307"],"photo_ids_order":["1394776300","1394776301","1394776302","1394776303","1394776305","1394776307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fd8783fa472f627f501a4a411b4481e4.jpg","text":"TemporaryFile(/tmp/multipartBody213275564739485082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332083693,"filename":"image_16112025_20_54_38_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f4d588bc1dc431d2801420f9f0908b0.jpg","text":"TemporaryFile(/tmp/multipartBody8368397161308090580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332083693,"filename":"image_16112025_20_54_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/11/16/0cb9c3aa00fc4fb96c7cf3227d108943.jpg","text":"TemporaryFile(/tmp/multipartBody474844039063331795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332083693,"filename":"image_16112025_20_54_56_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a02aa5e6dafffbbf95762ccd9d8837da.jpg","text":"TemporaryFile(/tmp/multipartBody6711920535884001851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332083693,"filename":"image_16112025_20_54_44_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2dd75f818f637bad6f858b92ababa283.jpg","text":"TemporaryFile(/tmp/multipartBody4884674876957951921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332083693,"filename":"image_16112025_20_54_40_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ebac1867681a110bc69b4ea365e11c1c.jpg","text":"TemporaryFile(/tmp/multipartBody3739645277572423179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332083693,"filename":"image_16112025_20_54_58_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776302","file1":"1394776301","file0":"1394776300","file4":"1394776305","file5":"1394776307","file3":"1394776303"},"map_files_photo_id_array":[{"photo_id":"1394776307","filename":"file5"},{"photo_id":"1394776302","filename":"file2"},{"photo_id":"1394776305","filename":"file4"},{"photo_id":"1394776301","filename":"file1"},{"photo_id":"1394776300","filename":"file0"},{"photo_id":"1394776303","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776300":["hashtag1","hashtag2"]},{"1394776303":["hashtag1","hashtag2"]},{"1394776305":["hashtag1","hashtag2"]},{"1394776302":["hashtag1","hashtag2"]},{"1394776301":["hashtag1","hashtag2"]},{"1394776307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776300, 1394776303, 1394776305, 1394776302, 1394776301, 1394776307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4951548576355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:27:42.501434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_01_2675.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_05_3685.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_07_2556.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_14_3518.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_16_2507.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_35_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_01_2675.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_05_3685.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_07_2556.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_14_3518.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_16_2507.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_35_3565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776312","1394776315","1394776309","1394776311","1394776308","1394776313"],"photo_ids_order":["1394776308","1394776309","1394776311","1394776312","1394776313","1394776315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b3110310be07ba89256c7f02f431384.jpg","text":"TemporaryFile(/tmp/multipartBody1892194300173659306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332123128,"filename":"image_16112025_20_55_14_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2746a752caf4e5dde427506fdf985adf.jpg","text":"TemporaryFile(/tmp/multipartBody4230228096609893705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332123128,"filename":"image_16112025_20_55_35_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/760db48fc79f9cc7609f01c5173b309e.jpg","text":"TemporaryFile(/tmp/multipartBody8814122667836484714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332123128,"filename":"image_16112025_20_55_05_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f48884a1a34a246a011177eca6389723.jpg","text":"TemporaryFile(/tmp/multipartBody2497027338411109584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332123128,"filename":"image_16112025_20_55_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/11/16/42a9b352bec6e4c50b86d57ee33fe575.jpg","text":"TemporaryFile(/tmp/multipartBody7933487811071707438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332123128,"filename":"image_16112025_20_55_01_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e5da1a0e9d4255466365618c8ca0340.jpg","text":"TemporaryFile(/tmp/multipartBody7747476920893045705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332123128,"filename":"image_16112025_20_55_16_2507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776311","file1":"1394776309","file0":"1394776308","file4":"1394776313","file5":"1394776315","file3":"1394776312"},"map_files_photo_id_array":[{"photo_id":"1394776315","filename":"file5"},{"photo_id":"1394776311","filename":"file2"},{"photo_id":"1394776313","filename":"file4"},{"photo_id":"1394776309","filename":"file1"},{"photo_id":"1394776308","filename":"file0"},{"photo_id":"1394776312","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776312":["hashtag1","hashtag2"]},{"1394776315":["hashtag1","hashtag2"]},{"1394776309":["hashtag1","hashtag2"]},{"1394776311":["hashtag1","hashtag2"]},{"1394776308":["hashtag1","hashtag2"]},{"1394776313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776312, 1394776315, 1394776309, 1394776311, 1394776308, 1394776313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77076864242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:28:22.815021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_38_2859.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_40_2820.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_47_3649.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_49_2791.jpg', '/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_55_2649.jpg', '/home/pi/Desktop/images/16112025/20/56/image_16112025_20_56_01_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_38_2859.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_40_2820.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_47_3649.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_49_2791.jpg
/home/pi/Desktop/images/16112025/20/55/image_16112025_20_55_55_2649.jpg
/home/pi/Desktop/images/16112025/20/56/image_16112025_20_56_01_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776321","1394776323","1394776326","1394776328","1394776325","1394776319"],"photo_ids_order":["1394776319","1394776321","1394776323","1394776325","1394776326","1394776328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d023ddef1ebf8391a59c0acab95cf568.jpg","text":"TemporaryFile(/tmp/multipartBody1073445748856695716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332163639,"filename":"image_16112025_20_55_40_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9adc4b32e792af121815585ac6d219f8.jpg","text":"TemporaryFile(/tmp/multipartBody778636982773261558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332163639,"filename":"image_16112025_20_55_47_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/799dc6cc282176bc617bf33f6126880d.jpg","text":"TemporaryFile(/tmp/multipartBody3990822520163873731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332163639,"filename":"image_16112025_20_55_55_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe4b2e6e180541032e59d2ea620273cf.jpg","text":"TemporaryFile(/tmp/multipartBody8765029802831488672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332163639,"filename":"image_16112025_20_56_01_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2792b40738c169539cb54002bc247f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6964646966030347719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332163639,"filename":"image_16112025_20_55_49_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e6155c770f58999eb9774f013d6ef203.jpg","text":"TemporaryFile(/tmp/multipartBody356344687118238705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332163639,"filename":"image_16112025_20_55_38_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776323","file1":"1394776321","file0":"1394776319","file4":"1394776326","file5":"1394776328","file3":"1394776325"},"map_files_photo_id_array":[{"photo_id":"1394776328","filename":"file5"},{"photo_id":"1394776323","filename":"file2"},{"photo_id":"1394776326","filename":"file4"},{"photo_id":"1394776321","filename":"file1"},{"photo_id":"1394776319","filename":"file0"},{"photo_id":"1394776325","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776321":["hashtag1","hashtag2"]},{"1394776323":["hashtag1","hashtag2"]},{"1394776326":["hashtag1","hashtag2"]},{"1394776328":["hashtag1","hashtag2"]},{"1394776325":["hashtag1","hashtag2"]},{"1394776319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776321, 1394776323, 1394776326, 1394776328, 1394776325, 1394776319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81484651565552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:29:03.142234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/56/image_16112025_20_56_05_3605.jpg', '/home/pi/Desktop/images/16112025/20/56/image_16112025_20_56_23_1819.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_06_3016.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_10_3602.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_13_2659.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_19_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/56/image_16112025_20_56_05_3605.jpg
/home/pi/Desktop/images/16112025/20/56/image_16112025_20_56_23_1819.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_06_3016.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_10_3602.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_13_2659.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_19_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776330","1394776333","1394776336","1394776332","1394776335","1394776329"],"photo_ids_order":["1394776329","1394776330","1394776332","1394776333","1394776335","1394776336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e50d71c952fa6fb23ba9db73a528e63a.jpg","text":"TemporaryFile(/tmp/multipartBody7249804360990507644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332204025,"filename":"image_16112025_20_56_23_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a1ac3ae5b9a68e79de3ba8cd08ac3a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2954291768682500395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332204025,"filename":"image_16112025_20_57_10_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7a1d6954f807fa405d86cbc89ca198e7.jpg","text":"TemporaryFile(/tmp/multipartBody3068774190529411221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332204025,"filename":"image_16112025_20_57_19_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8bd543087c080a0ed723e285a94cfbca.jpg","text":"TemporaryFile(/tmp/multipartBody7784790854684984299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332204025,"filename":"image_16112025_20_57_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2330a7631c6f4afe1b5653aca4939f2.jpg","text":"TemporaryFile(/tmp/multipartBody6308313206179918655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332204025,"filename":"image_16112025_20_57_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/11/16/74e6a9298e6a27d5d0a0ffdb86f52052.jpg","text":"TemporaryFile(/tmp/multipartBody4032766887342288223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332204025,"filename":"image_16112025_20_56_05_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776332","file1":"1394776330","file0":"1394776329","file4":"1394776335","file5":"1394776336","file3":"1394776333"},"map_files_photo_id_array":[{"photo_id":"1394776336","filename":"file5"},{"photo_id":"1394776332","filename":"file2"},{"photo_id":"1394776335","filename":"file4"},{"photo_id":"1394776330","filename":"file1"},{"photo_id":"1394776329","filename":"file0"},{"photo_id":"1394776333","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776330":["hashtag1","hashtag2"]},{"1394776333":["hashtag1","hashtag2"]},{"1394776336":["hashtag1","hashtag2"]},{"1394776332":["hashtag1","hashtag2"]},{"1394776335":["hashtag1","hashtag2"]},{"1394776329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776330, 1394776333, 1394776336, 1394776332, 1394776335, 1394776329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75698661804199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:29:42.059449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_22_2572.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_25_3733.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_37_2545.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_43_3586.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_46_2567.jpg', '/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_49_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_22_2572.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_25_3733.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_37_2545.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_43_3586.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_46_2567.jpg
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_49_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776342","1394776341","1394776344","1394776340","1394776343","1394776337"],"photo_ids_order":["1394776337","1394776340","1394776341","1394776342","1394776343","1394776344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/990a55ba072299f202132e0aaa5cec1e.jpg","text":"TemporaryFile(/tmp/multipartBody295924878291911797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332242682,"filename":"image_16112025_20_57_43_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e29d57a4f51524ff75ba9a422addf047.jpg","text":"TemporaryFile(/tmp/multipartBody2526103383891723941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332242682,"filename":"image_16112025_20_57_37_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/029a561b598b09b4d563ea94eb8db1c3.jpg","text":"TemporaryFile(/tmp/multipartBody3776482286120279635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332242682,"filename":"image_16112025_20_57_49_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/650f72fe24dd9040265413f802072c5d.jpg","text":"TemporaryFile(/tmp/multipartBody2088478271390064125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332242682,"filename":"image_16112025_20_57_25_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8b66a7daebc9b43ffa0c1bd54e750966.jpg","text":"TemporaryFile(/tmp/multipartBody3564879258257023337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332242682,"filename":"image_16112025_20_57_46_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/834e416b10d4223fc7d3e7e5e1e8af60.jpg","text":"TemporaryFile(/tmp/multipartBody2834648968702785454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332242682,"filename":"image_16112025_20_57_22_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776341","file1":"1394776340","file0":"1394776337","file4":"1394776343","file5":"1394776344","file3":"1394776342"},"map_files_photo_id_array":[{"photo_id":"1394776344","filename":"file5"},{"photo_id":"1394776341","filename":"file2"},{"photo_id":"1394776343","filename":"file4"},{"photo_id":"1394776340","filename":"file1"},{"photo_id":"1394776337","filename":"file0"},{"photo_id":"1394776342","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776342":["hashtag1","hashtag2"]},{"1394776341":["hashtag1","hashtag2"]},{"1394776344":["hashtag1","hashtag2"]},{"1394776340":["hashtag1","hashtag2"]},{"1394776343":["hashtag1","hashtag2"]},{"1394776337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776342, 1394776341, 1394776344, 1394776340, 1394776343, 1394776337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79317569732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:30:22.357079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_54_2566.jpg', '/home/pi/Desktop/images/16112025/20/58/image_16112025_20_58_01_2559.jpg', '/home/pi/Desktop/images/16112025/20/58/image_16112025_20_58_03_2740.jpg', '/home/pi/Desktop/images/16112025/20/58/image_16112025_20_58_07_3607.jpg', '/home/pi/Desktop/images/16112025/20/58/image_16112025_20_58_13_3675.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/57/image_16112025_20_57_54_2566.jpg
/home/pi/Desktop/images/16112025/20/58/image_16112025_20_58_01_2559.jpg
/home/pi/Desktop/images/16112025/20/58/image_16112025_20_58_03_2740.jpg
/home/pi/Desktop/images/16112025/20/58/image_16112025_20_58_07_3607.jpg
/home/pi/Desktop/images/16112025/20/58/image_16112025_20_58_13_3675.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776354","1394776347","1394776352","1394776355","1394776349","1394776357"],"photo_ids_order":["1394776347","1394776349","1394776352","1394776354","1394776355","1394776357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9f85c431a4bd8d78661612a4e03c39b9.jpg","text":"TemporaryFile(/tmp/multipartBody425633566033277704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332282977,"filename":"image_16112025_20_58_07_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68e7522ebef4c7a27cd6a38cd9cea446.jpg","text":"TemporaryFile(/tmp/multipartBody3690843120142811219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332282977,"filename":"image_16112025_20_57_54_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b9a1ae7c2b95ea93dcaf4db6c76bac23.jpg","text":"TemporaryFile(/tmp/multipartBody3876713053983109244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332282977,"filename":"image_16112025_20_58_03_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ec3f0be50b76356dcd7d104de33c2c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7922537261466186964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332282977,"filename":"image_16112025_20_58_13_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee4a8bc20d0bb9a11a9c8389490c9e90.jpg","text":"TemporaryFile(/tmp/multipartBody8542221760038868834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332282977,"filename":"image_16112025_20_58_01_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0492b5e4b98199a3e4fe69f367dd37e5.jpg","text":"TemporaryFile(/tmp/multipartBody6718111647036784932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332282977,"filename":"image_16112025_20_59_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776352","file1":"1394776349","file0":"1394776347","file4":"1394776355","file5":"1394776357","file3":"1394776354"},"map_files_photo_id_array":[{"photo_id":"1394776357","filename":"file5"},{"photo_id":"1394776352","filename":"file2"},{"photo_id":"1394776355","filename":"file4"},{"photo_id":"1394776349","filename":"file1"},{"photo_id":"1394776347","filename":"file0"},{"photo_id":"1394776354","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776354":["hashtag1","hashtag2"]},{"1394776347":["hashtag1","hashtag2"]},{"1394776352":["hashtag1","hashtag2"]},{"1394776355":["hashtag1","hashtag2"]},{"1394776349":["hashtag1","hashtag2"]},{"1394776357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776354, 1394776347, 1394776352, 1394776355, 1394776349, 1394776357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.777214765548706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:31:03.165472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_10_3527.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_16_2731.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_20_3697.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_22_2576.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_25_2742.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_31_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_10_3527.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_16_2731.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_20_3697.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_22_2576.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_25_2742.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_31_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776360","1394776365","1394776359","1394776361","1394776358","1394776363"],"photo_ids_order":["1394776358","1394776359","1394776360","1394776361","1394776363","1394776365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d69ee68da806cb0d5f4c201279961c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2114806064690645653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332323873,"filename":"image_16112025_20_59_20_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2a3b8bd12efdb28ea9d666a03e519711.jpg","text":"TemporaryFile(/tmp/multipartBody6722146545269371155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332323873,"filename":"image_16112025_20_59_31_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/576ad54a6612afc5d17b512dc05add57.jpg","text":"TemporaryFile(/tmp/multipartBody1901603968677323215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332323873,"filename":"image_16112025_20_59_16_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7b009b4b2debd3eababa193615e47ea9.jpg","text":"TemporaryFile(/tmp/multipartBody5893839567931232549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332323873,"filename":"image_16112025_20_59_22_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7ae96a92d3729f2fe982f63f1bc4cca1.jpg","text":"TemporaryFile(/tmp/multipartBody1035903235962775085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332323873,"filename":"image_16112025_20_59_10_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/65c39a15269fedab1fb8e547d910af72.jpg","text":"TemporaryFile(/tmp/multipartBody8065276894896045865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332323873,"filename":"image_16112025_20_59_25_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776360","file1":"1394776359","file0":"1394776358","file4":"1394776363","file5":"1394776365","file3":"1394776361"},"map_files_photo_id_array":[{"photo_id":"1394776365","filename":"file5"},{"photo_id":"1394776360","filename":"file2"},{"photo_id":"1394776363","filename":"file4"},{"photo_id":"1394776359","filename":"file1"},{"photo_id":"1394776358","filename":"file0"},{"photo_id":"1394776361","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776360":["hashtag1","hashtag2"]},{"1394776365":["hashtag1","hashtag2"]},{"1394776359":["hashtag1","hashtag2"]},{"1394776361":["hashtag1","hashtag2"]},{"1394776358":["hashtag1","hashtag2"]},{"1394776363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776360, 1394776365, 1394776359, 1394776361, 1394776358, 1394776363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27283310890198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:31:42.406425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_38_3655.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_40_2525.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_43_2825.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_47_3709.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_49_2777.jpg', '/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_52_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_38_3655.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_40_2525.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_43_2825.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_47_3709.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_49_2777.jpg
/home/pi/Desktop/images/16112025/20/59/image_16112025_20_59_52_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776366","1394776369","1394776368","1394776371","1394776370","1394776373"],"photo_ids_order":["1394776366","1394776368","1394776369","1394776370","1394776371","1394776373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/604328a04629fa9a185e814f116fed35.jpg","text":"TemporaryFile(/tmp/multipartBody3339509014937259399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332363033,"filename":"image_16112025_20_59_38_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8cebb7b82a1bb277b00075d8ecaba347.jpg","text":"TemporaryFile(/tmp/multipartBody2554406639202425845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332363033,"filename":"image_16112025_20_59_43_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c8c9cefb9d8d8b076cc56edcb004f4e1.jpg","text":"TemporaryFile(/tmp/multipartBody1998497251963699848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332363033,"filename":"image_16112025_20_59_40_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b25dbf965281c4256be5a840e904b58.jpg","text":"TemporaryFile(/tmp/multipartBody1202714154051735441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332363033,"filename":"image_16112025_20_59_49_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b267ef041ce0b483c8c0784b7ceae2f0.jpg","text":"TemporaryFile(/tmp/multipartBody6404909428888718304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332363033,"filename":"image_16112025_20_59_47_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b314fa0ff6733e01fcd4f728b8c0d668.jpg","text":"TemporaryFile(/tmp/multipartBody4322789086358435082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332363033,"filename":"image_16112025_20_59_52_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776369","file1":"1394776368","file0":"1394776366","file4":"1394776371","file5":"1394776373","file3":"1394776370"},"map_files_photo_id_array":[{"photo_id":"1394776373","filename":"file5"},{"photo_id":"1394776369","filename":"file2"},{"photo_id":"1394776371","filename":"file4"},{"photo_id":"1394776368","filename":"file1"},{"photo_id":"1394776366","filename":"file0"},{"photo_id":"1394776370","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776366":["hashtag1","hashtag2"]},{"1394776369":["hashtag1","hashtag2"]},{"1394776368":["hashtag1","hashtag2"]},{"1394776371":["hashtag1","hashtag2"]},{"1394776370":["hashtag1","hashtag2"]},{"1394776373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776366, 1394776369, 1394776368, 1394776371, 1394776370, 1394776373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20237374305725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:32:22.664430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_08_3011.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_12_3632.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_14_2552.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_17_2828.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_21_3656.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_23_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_08_3011.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_12_3632.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_14_2552.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_17_2828.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_21_3656.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_23_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776380","1394776383","1394776377","1394776379","1394776381","1394776378"],"photo_ids_order":["1394776377","1394776378","1394776379","1394776380","1394776381","1394776383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d19a321e55ddb056353da080908875e1.jpg","text":"TemporaryFile(/tmp/multipartBody3287485826747794081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332403359,"filename":"image_16112025_21_00_17_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a5cf925c03d8f8b9a9700a5f05cf8864.jpg","text":"TemporaryFile(/tmp/multipartBody8051870232424362632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332403359,"filename":"image_16112025_21_00_23_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8e63226a311eed1213a3ff173d61d132.jpg","text":"TemporaryFile(/tmp/multipartBody1460629953824227382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332403359,"filename":"image_16112025_21_00_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/048f3869270489bbc9a8781efedd8338.jpg","text":"TemporaryFile(/tmp/multipartBody7219994114983093769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332403359,"filename":"image_16112025_21_00_14_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/045ceeb571c280fdf99fddad5c10a028.jpg","text":"TemporaryFile(/tmp/multipartBody4026567034730814164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332403359,"filename":"image_16112025_21_00_21_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/947169f679c49122659a3f56bd24a338.jpg","text":"TemporaryFile(/tmp/multipartBody8738449710218434271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332403359,"filename":"image_16112025_21_00_12_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776379","file1":"1394776378","file0":"1394776377","file4":"1394776381","file5":"1394776383","file3":"1394776380"},"map_files_photo_id_array":[{"photo_id":"1394776383","filename":"file5"},{"photo_id":"1394776379","filename":"file2"},{"photo_id":"1394776381","filename":"file4"},{"photo_id":"1394776378","filename":"file1"},{"photo_id":"1394776377","filename":"file0"},{"photo_id":"1394776380","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776380":["hashtag1","hashtag2"]},{"1394776383":["hashtag1","hashtag2"]},{"1394776377":["hashtag1","hashtag2"]},{"1394776379":["hashtag1","hashtag2"]},{"1394776381":["hashtag1","hashtag2"]},{"1394776378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776380, 1394776383, 1394776377, 1394776379, 1394776381, 1394776378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.546650648117065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:33:02.634537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_29_2613.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_32_2624.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_36_3632.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_38_2621.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_42_3503.jpg', '/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_45_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_29_2613.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_32_2624.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_36_3632.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_38_2621.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_42_3503.jpg
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_45_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776387","1394776392","1394776386","1394776389","1394776385","1394776384"],"photo_ids_order":["1394776384","1394776385","1394776386","1394776387","1394776389","1394776392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9966c1883803f97dfd682ea8bbd800b1.jpg","text":"TemporaryFile(/tmp/multipartBody8587579994054636147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332443384,"filename":"image_16112025_21_00_38_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f32c5352bbdb5768d7e4394dd481fb90.jpg","text":"TemporaryFile(/tmp/multipartBody4402247030184996022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332443384,"filename":"image_16112025_21_00_45_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0bbd19e874e4b9543b9727ed3285c25e.jpg","text":"TemporaryFile(/tmp/multipartBody5723758194542885007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332443384,"filename":"image_16112025_21_00_36_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0fb8b3bc078e348b0759df183b2594a4.jpg","text":"TemporaryFile(/tmp/multipartBody1795674697634045088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332443384,"filename":"image_16112025_21_00_42_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/03509f2f6a118a897516499869ae6d98.jpg","text":"TemporaryFile(/tmp/multipartBody7013243693410107724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332443384,"filename":"image_16112025_21_00_32_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f24dbf76ea21254652da791bd80c1d75.jpg","text":"TemporaryFile(/tmp/multipartBody8633318123905435976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332443384,"filename":"image_16112025_21_00_29_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776386","file1":"1394776385","file0":"1394776384","file4":"1394776389","file5":"1394776392","file3":"1394776387"},"map_files_photo_id_array":[{"photo_id":"1394776392","filename":"file5"},{"photo_id":"1394776386","filename":"file2"},{"photo_id":"1394776389","filename":"file4"},{"photo_id":"1394776385","filename":"file1"},{"photo_id":"1394776384","filename":"file0"},{"photo_id":"1394776387","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776387":["hashtag1","hashtag2"]},{"1394776392":["hashtag1","hashtag2"]},{"1394776386":["hashtag1","hashtag2"]},{"1394776389":["hashtag1","hashtag2"]},{"1394776385":["hashtag1","hashtag2"]},{"1394776384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776387, 1394776392, 1394776386, 1394776389, 1394776385, 1394776384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87260818481445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:33:41.935486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_47_2669.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_07_3011.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_11_3670.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_13_2486.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_20_3610.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_23_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/00/image_16112025_21_00_47_2669.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_07_3011.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_11_3670.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_13_2486.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_20_3610.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_23_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776398","1394776402","1394776401","1394776400","1394776403","1394776396"],"photo_ids_order":["1394776396","1394776398","1394776400","1394776401","1394776402","1394776403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c0147f3ceb0f4dcbcb41b77133018185.jpg","text":"TemporaryFile(/tmp/multipartBody3018401501662760664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332482553,"filename":"image_16112025_21_02_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/11/16/fe38d2e8fe791082ba158969488b85f3.jpg","text":"TemporaryFile(/tmp/multipartBody1742401804671265942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332482553,"filename":"image_16112025_21_02_20_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/78c2bc4c4bcbbc4dca9b6fce3f470d67.jpg","text":"TemporaryFile(/tmp/multipartBody57166016533754385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332482553,"filename":"image_16112025_21_02_13_2486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/503a65f378df04db5c1a15ca7d7757e6.jpg","text":"TemporaryFile(/tmp/multipartBody1685252439678518314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332482553,"filename":"image_16112025_21_02_11_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/56c23014bf69ce276357f51499f204dc.jpg","text":"TemporaryFile(/tmp/multipartBody4638735078774063496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332482553,"filename":"image_16112025_21_02_23_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cf80406e498435324a23c81cf65a2fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3981591695398083263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332482553,"filename":"image_16112025_21_00_47_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776400","file1":"1394776398","file0":"1394776396","file4":"1394776402","file5":"1394776403","file3":"1394776401"},"map_files_photo_id_array":[{"photo_id":"1394776403","filename":"file5"},{"photo_id":"1394776400","filename":"file2"},{"photo_id":"1394776402","filename":"file4"},{"photo_id":"1394776398","filename":"file1"},{"photo_id":"1394776396","filename":"file0"},{"photo_id":"1394776401","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776398":["hashtag1","hashtag2"]},{"1394776402":["hashtag1","hashtag2"]},{"1394776401":["hashtag1","hashtag2"]},{"1394776400":["hashtag1","hashtag2"]},{"1394776403":["hashtag1","hashtag2"]},{"1394776396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776398, 1394776402, 1394776401, 1394776400, 1394776403, 1394776396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09721565246582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:34:22.176968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_25_2697.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_29_3653.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_32_2690.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_44_3560.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_47_2496.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_49_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_25_2697.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_29_3653.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_32_2690.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_44_3560.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_47_2496.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_49_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776411","1394776408","1394776416","1394776413","1394776409","1394776406"],"photo_ids_order":["1394776406","1394776408","1394776409","1394776411","1394776413","1394776416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ae6735c544e76b4a56a6941edad5471a.jpg","text":"TemporaryFile(/tmp/multipartBody5704030232213871463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332522823,"filename":"image_16112025_21_02_44_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/791f1492c889ac2ea0dbabae7abfdf16.jpg","text":"TemporaryFile(/tmp/multipartBody6349054594573107553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332522823,"filename":"image_16112025_21_02_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/11/16/f1b7ae3039769f285cf42376d6bf3596.jpg","text":"TemporaryFile(/tmp/multipartBody2016202772172353908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332522823,"filename":"image_16112025_21_02_49_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d8077ec45494b2a0ba0f360158759bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8736034172247269489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332522823,"filename":"image_16112025_21_02_47_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13533ca228b734c420afffc741202513.jpg","text":"TemporaryFile(/tmp/multipartBody8472132241129462085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332522823,"filename":"image_16112025_21_02_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/11/16/fec0d9963823ef5979cbb40529c05caa.jpg","text":"TemporaryFile(/tmp/multipartBody5477841209491003386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332522823,"filename":"image_16112025_21_02_25_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776409","file1":"1394776408","file0":"1394776406","file4":"1394776413","file5":"1394776416","file3":"1394776411"},"map_files_photo_id_array":[{"photo_id":"1394776416","filename":"file5"},{"photo_id":"1394776409","filename":"file2"},{"photo_id":"1394776413","filename":"file4"},{"photo_id":"1394776408","filename":"file1"},{"photo_id":"1394776406","filename":"file0"},{"photo_id":"1394776411","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776411":["hashtag1","hashtag2"]},{"1394776408":["hashtag1","hashtag2"]},{"1394776416":["hashtag1","hashtag2"]},{"1394776413":["hashtag1","hashtag2"]},{"1394776409":["hashtag1","hashtag2"]},{"1394776406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776411, 1394776408, 1394776416, 1394776413, 1394776409, 1394776406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79419565200806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:35:02.997637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_53_3484.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_55_2547.jpg', '/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_58_2730.jpg', '/home/pi/Desktop/images/16112025/21/03/image_16112025_21_03_02_3746.jpg', '/home/pi/Desktop/images/16112025/21/03/image_16112025_21_03_07_2681.jpg', '/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_06_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_53_3484.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_55_2547.jpg
/home/pi/Desktop/images/16112025/21/02/image_16112025_21_02_58_2730.jpg
/home/pi/Desktop/images/16112025/21/03/image_16112025_21_03_02_3746.jpg
/home/pi/Desktop/images/16112025/21/03/image_16112025_21_03_07_2681.jpg
/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_06_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776417","1394776419","1394776428","1394776421","1394776424","1394776418"],"photo_ids_order":["1394776417","1394776418","1394776419","1394776421","1394776424","1394776428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d44f617ad1431d8cf0e505ea5366decb.jpg","text":"TemporaryFile(/tmp/multipartBody2163878819516124096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332563748,"filename":"image_16112025_21_02_53_3484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f1af74568714b9ecdad6c94bb1a3f68f.jpg","text":"TemporaryFile(/tmp/multipartBody3041858273961091868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332563748,"filename":"image_16112025_21_02_58_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/da5ea47b9b507e5fa4b80349973eb825.jpg","text":"TemporaryFile(/tmp/multipartBody1395763974330959370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332563748,"filename":"image_16112025_21_04_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d17d09ba61b7b54d6eb8e78294abed7d.jpg","text":"TemporaryFile(/tmp/multipartBody842100013786718906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332563748,"filename":"image_16112025_21_03_02_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9179946b01436e1809bfa2038db236af.jpg","text":"TemporaryFile(/tmp/multipartBody33008422118556284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332563748,"filename":"image_16112025_21_03_07_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/21b351bc4718e092819347c51a4b2c0e.jpg","text":"TemporaryFile(/tmp/multipartBody7680059441944942446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332563748,"filename":"image_16112025_21_02_55_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776419","file1":"1394776418","file0":"1394776417","file4":"1394776424","file5":"1394776428","file3":"1394776421"},"map_files_photo_id_array":[{"photo_id":"1394776428","filename":"file5"},{"photo_id":"1394776419","filename":"file2"},{"photo_id":"1394776424","filename":"file4"},{"photo_id":"1394776418","filename":"file1"},{"photo_id":"1394776417","filename":"file0"},{"photo_id":"1394776421","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776417":["hashtag1","hashtag2"]},{"1394776419":["hashtag1","hashtag2"]},{"1394776428":["hashtag1","hashtag2"]},{"1394776421":["hashtag1","hashtag2"]},{"1394776424":["hashtag1","hashtag2"]},{"1394776418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776417, 1394776419, 1394776428, 1394776421, 1394776424, 1394776418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.664594888687134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:35:42.502826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_10_3604.jpg', '/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_13_2707.jpg', '/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_15_2670.jpg', '/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_19_3655.jpg', '/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_46_2771.jpg', '/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_52_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_10_3604.jpg
/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_13_2707.jpg
/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_15_2670.jpg
/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_19_3655.jpg
/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_46_2771.jpg
/home/pi/Desktop/images/16112025/21/04/image_16112025_21_04_52_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776435","1394776434","1394776437","1394776431","1394776433","1394776430"],"photo_ids_order":["1394776430","1394776431","1394776433","1394776434","1394776435","1394776437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9e9fd50c5375e8503eaf2f82ecf97ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1365651282502005903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332603127,"filename":"image_16112025_21_04_46_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff7fa354ebc0e20c29297a504679ab30.jpg","text":"TemporaryFile(/tmp/multipartBody5872007872902450243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332603127,"filename":"image_16112025_21_04_19_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3a58dd933d63ea4dd839f9e7f9840a41.jpg","text":"TemporaryFile(/tmp/multipartBody6206192142801575720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332603127,"filename":"image_16112025_21_04_52_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1cb6ccbe781a67b553465402bdd8b393.jpg","text":"TemporaryFile(/tmp/multipartBody2771524159067842887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332603127,"filename":"image_16112025_21_04_13_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1169b87aa2d9ae8f0ad08a36ce2898fc.jpg","text":"TemporaryFile(/tmp/multipartBody315640746660353792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332603127,"filename":"image_16112025_21_04_15_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/184e7170f2bb07da00bb08f0a482002a.jpg","text":"TemporaryFile(/tmp/multipartBody4890914270668685165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332603127,"filename":"image_16112025_21_04_10_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776433","file1":"1394776431","file0":"1394776430","file4":"1394776435","file5":"1394776437","file3":"1394776434"},"map_files_photo_id_array":[{"photo_id":"1394776437","filename":"file5"},{"photo_id":"1394776433","filename":"file2"},{"photo_id":"1394776435","filename":"file4"},{"photo_id":"1394776431","filename":"file1"},{"photo_id":"1394776430","filename":"file0"},{"photo_id":"1394776434","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776435":["hashtag1","hashtag2"]},{"1394776434":["hashtag1","hashtag2"]},{"1394776437":["hashtag1","hashtag2"]},{"1394776431":["hashtag1","hashtag2"]},{"1394776433":["hashtag1","hashtag2"]},{"1394776430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776435, 1394776434, 1394776437, 1394776431, 1394776433, 1394776430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.914894342422485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:36:22.833991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/04/image_16112025_21_05_00_2808.jpg', '/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_02_1900.jpg', '/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_04_2696.jpg', '/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_07_2580.jpg', '/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_09_2451.jpg', '/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_13_3838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/04/image_16112025_21_05_00_2808.jpg
/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_02_1900.jpg
/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_04_2696.jpg
/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_07_2580.jpg
/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_09_2451.jpg
/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_13_3838.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776444","1394776447","1394776441","1394776440","1394776443","1394776442"],"photo_ids_order":["1394776440","1394776441","1394776442","1394776443","1394776444","1394776447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/027e6a66ecfe0cf4aaf7d170e8e77068.jpg","text":"TemporaryFile(/tmp/multipartBody5464694640652385764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332643474,"filename":"image_16112025_21_05_09_2451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2face1613071d8ccba685834fdedf9c3.jpg","text":"TemporaryFile(/tmp/multipartBody5457185566579183915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332643474,"filename":"image_16112025_21_05_13_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5366bd8f67ec1e65f3fafcc500fd73b7.jpg","text":"TemporaryFile(/tmp/multipartBody7275644265738024305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332643474,"filename":"image_16112025_21_05_02_1900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e8a25ff022152b9850db970c5f1a9469.jpg","text":"TemporaryFile(/tmp/multipartBody8137543418385980634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332643474,"filename":"image_16112025_21_05_00_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/669fadaab4c0690983aa3a01084dee03.jpg","text":"TemporaryFile(/tmp/multipartBody1652740374367152524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332643474,"filename":"image_16112025_21_05_07_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d05ca1c596271d09d3f0ccdbe8e51213.jpg","text":"TemporaryFile(/tmp/multipartBody3524883809291630247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332643474,"filename":"image_16112025_21_05_04_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776442","file1":"1394776441","file0":"1394776440","file4":"1394776444","file5":"1394776447","file3":"1394776443"},"map_files_photo_id_array":[{"photo_id":"1394776447","filename":"file5"},{"photo_id":"1394776442","filename":"file2"},{"photo_id":"1394776444","filename":"file4"},{"photo_id":"1394776441","filename":"file1"},{"photo_id":"1394776440","filename":"file0"},{"photo_id":"1394776443","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776444":["hashtag1","hashtag2"]},{"1394776447":["hashtag1","hashtag2"]},{"1394776441":["hashtag1","hashtag2"]},{"1394776440":["hashtag1","hashtag2"]},{"1394776443":["hashtag1","hashtag2"]},{"1394776442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776444, 1394776447, 1394776441, 1394776440, 1394776443, 1394776442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1566162109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:37:02.690724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_16_2536.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_07_3017.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_11_3667.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_17_2666.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_20_3622.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_32_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/05/image_16112025_21_05_16_2536.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_07_3017.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_11_3667.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_17_2666.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_20_3622.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_32_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776450","1394776449","1394776451","1394776454","1394776448","1394776456"],"photo_ids_order":["1394776448","1394776449","1394776450","1394776451","1394776454","1394776456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb906891acd3b46d9a56559cad8fe16d.jpg","text":"TemporaryFile(/tmp/multipartBody8242926829421430752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332683442,"filename":"image_16112025_21_06_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/11/16/4f31f361f80dc752600d0093b63d5e69.jpg","text":"TemporaryFile(/tmp/multipartBody8801375689026631273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332683442,"filename":"image_16112025_21_06_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d0a89348849423c4fe16d13f62a96574.jpg","text":"TemporaryFile(/tmp/multipartBody1219308178051818638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332683442,"filename":"image_16112025_21_06_17_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/80f929dba1417c56983ea3ab08c87c35.jpg","text":"TemporaryFile(/tmp/multipartBody8305198417784027455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332683442,"filename":"image_16112025_21_06_20_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9a8cbfc7014e3d2db1ae9bb61cdb26c3.jpg","text":"TemporaryFile(/tmp/multipartBody1955434774237659658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332683442,"filename":"image_16112025_21_05_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/11/16/5b5f0d63e6bcd3e340f56e1365233ad9.jpg","text":"TemporaryFile(/tmp/multipartBody1758908553681539855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332683442,"filename":"image_16112025_21_06_32_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776450","file1":"1394776449","file0":"1394776448","file4":"1394776454","file5":"1394776456","file3":"1394776451"},"map_files_photo_id_array":[{"photo_id":"1394776456","filename":"file5"},{"photo_id":"1394776450","filename":"file2"},{"photo_id":"1394776454","filename":"file4"},{"photo_id":"1394776449","filename":"file1"},{"photo_id":"1394776448","filename":"file0"},{"photo_id":"1394776451","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776450":["hashtag1","hashtag2"]},{"1394776449":["hashtag1","hashtag2"]},{"1394776451":["hashtag1","hashtag2"]},{"1394776454":["hashtag1","hashtag2"]},{"1394776448":["hashtag1","hashtag2"]},{"1394776456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776450, 1394776449, 1394776451, 1394776454, 1394776448, 1394776456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53195643424988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:37:41.900074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_35_3725.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_38_2978.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_48_4043.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_50_2683.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_56_3506.jpg', '/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_59_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_35_3725.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_38_2978.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_48_4043.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_50_2683.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_56_3506.jpg
/home/pi/Desktop/images/16112025/21/06/image_16112025_21_06_59_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776461","1394776464","1394776463","1394776460","1394776457","1394776462"],"photo_ids_order":["1394776457","1394776460","1394776461","1394776462","1394776463","1394776464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea9f00f99d025be9bf72f78bb70c136b.jpg","text":"TemporaryFile(/tmp/multipartBody2070230054360515606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332722519,"filename":"image_16112025_21_06_48_4043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d73cbbb90d7bb985b3032bbcdf2a859.jpg","text":"TemporaryFile(/tmp/multipartBody2972363328823990420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332722519,"filename":"image_16112025_21_06_59_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/270d6c8889131c1d79350ac4524a065b.jpg","text":"TemporaryFile(/tmp/multipartBody2553993275456117603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332722519,"filename":"image_16112025_21_06_56_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ad0ceafba491a24ad68d9857fa762ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8357278285330599850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332722519,"filename":"image_16112025_21_06_38_2978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fe4a17579782507a91c16e9738e883cd.jpg","text":"TemporaryFile(/tmp/multipartBody552690906512357183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332722519,"filename":"image_16112025_21_06_35_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0cd0a70f8dab639f6fbeae462c65d0ae.jpg","text":"TemporaryFile(/tmp/multipartBody5876312198316729788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332722519,"filename":"image_16112025_21_06_50_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776461","file1":"1394776460","file0":"1394776457","file4":"1394776463","file5":"1394776464","file3":"1394776462"},"map_files_photo_id_array":[{"photo_id":"1394776464","filename":"file5"},{"photo_id":"1394776461","filename":"file2"},{"photo_id":"1394776463","filename":"file4"},{"photo_id":"1394776460","filename":"file1"},{"photo_id":"1394776457","filename":"file0"},{"photo_id":"1394776462","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776461":["hashtag1","hashtag2"]},{"1394776464":["hashtag1","hashtag2"]},{"1394776463":["hashtag1","hashtag2"]},{"1394776460":["hashtag1","hashtag2"]},{"1394776457":["hashtag1","hashtag2"]},{"1394776462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776461, 1394776464, 1394776463, 1394776460, 1394776457, 1394776462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74548578262329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:38:22.143358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/07/image_16112025_21_07_05_3172.jpg', '/home/pi/Desktop/images/16112025/21/07/image_16112025_21_07_08_2972.jpg', '/home/pi/Desktop/images/16112025/21/07/image_16112025_21_07_10_2580.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_11_3741.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_17_3631.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_19_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/07/image_16112025_21_07_05_3172.jpg
/home/pi/Desktop/images/16112025/21/07/image_16112025_21_07_08_2972.jpg
/home/pi/Desktop/images/16112025/21/07/image_16112025_21_07_10_2580.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_11_3741.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_17_3631.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_19_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776470","1394776467","1394776472","1394776475","1394776474","1394776477"],"photo_ids_order":["1394776467","1394776470","1394776472","1394776474","1394776475","1394776477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/88715e8a11c321be51cc0fa55b2acd6c.jpg","text":"TemporaryFile(/tmp/multipartBody391509145024099320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332762788,"filename":"image_16112025_21_07_08_2972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2bcb9b35794dd49ef124b224a6179da.jpg","text":"TemporaryFile(/tmp/multipartBody1998577971343233211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332762788,"filename":"image_16112025_21_07_05_3172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75eb3ed8e584cddb90ecb896aa2c1fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2880654597888997822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332762788,"filename":"image_16112025_21_07_10_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/19c2acd6d75ddfe1f255d78b24847c64.jpg","text":"TemporaryFile(/tmp/multipartBody3701405768278549020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332762788,"filename":"image_16112025_21_08_17_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e16a97774e141d601a1e0037c4e69f34.jpg","text":"TemporaryFile(/tmp/multipartBody7666187474865284349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332762788,"filename":"image_16112025_21_08_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/11/16/36bb22198771e745ccc45b0c5f79d3f7.jpg","text":"TemporaryFile(/tmp/multipartBody1660775365067528873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332762788,"filename":"image_16112025_21_08_19_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776472","file1":"1394776470","file0":"1394776467","file4":"1394776475","file5":"1394776477","file3":"1394776474"},"map_files_photo_id_array":[{"photo_id":"1394776477","filename":"file5"},{"photo_id":"1394776472","filename":"file2"},{"photo_id":"1394776475","filename":"file4"},{"photo_id":"1394776470","filename":"file1"},{"photo_id":"1394776467","filename":"file0"},{"photo_id":"1394776474","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776470":["hashtag1","hashtag2"]},{"1394776467":["hashtag1","hashtag2"]},{"1394776472":["hashtag1","hashtag2"]},{"1394776475":["hashtag1","hashtag2"]},{"1394776474":["hashtag1","hashtag2"]},{"1394776477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776470, 1394776467, 1394776472, 1394776475, 1394776474, 1394776477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.933342933654785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:39:03.288393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_26_3801.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_29_2702.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_31_2612.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_35_3522.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_37_2663.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_40_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_26_3801.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_29_2702.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_31_2612.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_35_3522.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_37_2663.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_40_2556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776479","1394776481","1394776484","1394776478","1394776487","1394776480"],"photo_ids_order":["1394776478","1394776479","1394776480","1394776481","1394776484","1394776487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cc8644b981a3e3d3a88e8e252d70a4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7979652563777131942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332804100,"filename":"image_16112025_21_08_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/11/16/2aa7f29f07e9cd651e7370ac649815f8.jpg","text":"TemporaryFile(/tmp/multipartBody7139731178470341393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332804100,"filename":"image_16112025_21_08_35_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f04cc03bea33c1399ba5565e6815be5a.jpg","text":"TemporaryFile(/tmp/multipartBody3861578577907951208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332804100,"filename":"image_16112025_21_08_37_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/780e3f5c6dbc38bf5692e8ae7a0f3128.jpg","text":"TemporaryFile(/tmp/multipartBody4249644282061711990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332804100,"filename":"image_16112025_21_08_26_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2ea38733b2a5a9608cabd52b1c207b62.jpg","text":"TemporaryFile(/tmp/multipartBody8102504052744484167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332804100,"filename":"image_16112025_21_08_40_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0ea4bd97f0c9ea3e7199ece54fe4e8bd.jpg","text":"TemporaryFile(/tmp/multipartBody4189626945293214617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332804100,"filename":"image_16112025_21_08_31_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776480","file1":"1394776479","file0":"1394776478","file4":"1394776484","file5":"1394776487","file3":"1394776481"},"map_files_photo_id_array":[{"photo_id":"1394776487","filename":"file5"},{"photo_id":"1394776480","filename":"file2"},{"photo_id":"1394776484","filename":"file4"},{"photo_id":"1394776479","filename":"file1"},{"photo_id":"1394776478","filename":"file0"},{"photo_id":"1394776481","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776479":["hashtag1","hashtag2"]},{"1394776481":["hashtag1","hashtag2"]},{"1394776484":["hashtag1","hashtag2"]},{"1394776478":["hashtag1","hashtag2"]},{"1394776487":["hashtag1","hashtag2"]},{"1394776480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776479, 1394776481, 1394776484, 1394776478, 1394776487, 1394776480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.789119720458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:39:42.409961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_49_2675.jpg', '/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_52_3186.jpg', '/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_01_2621.jpg', '/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_05_3600.jpg', '/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_15_8063.jpg', '/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_20_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_49_2675.jpg
/home/pi/Desktop/images/16112025/21/08/image_16112025_21_08_52_3186.jpg
/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_01_2621.jpg
/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_05_3600.jpg
/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_15_8063.jpg
/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_20_1624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776494","1394776496","1394776493","1394776492","1394776495","1394776489"],"photo_ids_order":["1394776489","1394776492","1394776493","1394776494","1394776495","1394776496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ede78577f067d134fa7307df59f3bf4a.jpg","text":"TemporaryFile(/tmp/multipartBody6026385748470213066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332843029,"filename":"image_16112025_21_09_05_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8184c7a1d10e3ae2b693ffff4acc0dac.jpg","text":"TemporaryFile(/tmp/multipartBody1243411693311945958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332843029,"filename":"image_16112025_21_09_20_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/856de13ffcf549e79ed57b38edd18529.jpg","text":"TemporaryFile(/tmp/multipartBody4616610220684550771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332843029,"filename":"image_16112025_21_09_01_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0b57f61369e616d238db823e5efee602.jpg","text":"TemporaryFile(/tmp/multipartBody4296802141412654442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332843029,"filename":"image_16112025_21_08_52_3186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/48f82c7c69a2cb05ef894a8963c7c7c7.jpg","text":"TemporaryFile(/tmp/multipartBody3162917247585550306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332843029,"filename":"image_16112025_21_09_15_8063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59b6f47afa83583bdbe0f13bc75ff25c.jpg","text":"TemporaryFile(/tmp/multipartBody3407650180393048248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332843029,"filename":"image_16112025_21_08_49_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776493","file1":"1394776492","file0":"1394776489","file4":"1394776495","file5":"1394776496","file3":"1394776494"},"map_files_photo_id_array":[{"photo_id":"1394776496","filename":"file5"},{"photo_id":"1394776493","filename":"file2"},{"photo_id":"1394776495","filename":"file4"},{"photo_id":"1394776492","filename":"file1"},{"photo_id":"1394776489","filename":"file0"},{"photo_id":"1394776494","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776494":["hashtag1","hashtag2"]},{"1394776496":["hashtag1","hashtag2"]},{"1394776493":["hashtag1","hashtag2"]},{"1394776492":["hashtag1","hashtag2"]},{"1394776495":["hashtag1","hashtag2"]},{"1394776489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776494, 1394776496, 1394776493, 1394776492, 1394776495, 1394776489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6840136051178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:40:22.697364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_23_2587.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_07_3016.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_11_3801.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_14_2931.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_17_2634.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_26_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/09/image_16112025_21_09_23_2587.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_07_3016.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_11_3801.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_14_2931.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_17_2634.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_26_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776507","1394776504","1394776503","1394776500","1394776502","1394776505"],"photo_ids_order":["1394776500","1394776502","1394776503","1394776504","1394776505","1394776507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ee88e0609d0168ea054ae3261e3d77fa.jpg","text":"TemporaryFile(/tmp/multipartBody5945165718706235276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332883400,"filename":"image_16112025_21_10_26_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/979ce5d4d160d22a34327e46da1714b7.jpg","text":"TemporaryFile(/tmp/multipartBody1266690092359605156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332883400,"filename":"image_16112025_21_10_14_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/080cbd36108de44721f984ca7a77da73.jpg","text":"TemporaryFile(/tmp/multipartBody518071351238279551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332883400,"filename":"image_16112025_21_10_11_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b2fdb1e9d8538928e6d25645372eecc1.jpg","text":"TemporaryFile(/tmp/multipartBody8227589489028135003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332883400,"filename":"image_16112025_21_09_23_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0881e659bb087dcf92f92decf95a57cf.jpg","text":"TemporaryFile(/tmp/multipartBody6470603358833396995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332883400,"filename":"image_16112025_21_10_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6555acd7bbe7f7a5d5068d5e8244594c.jpg","text":"TemporaryFile(/tmp/multipartBody8990117410114381308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332883400,"filename":"image_16112025_21_10_17_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776503","file1":"1394776502","file0":"1394776500","file4":"1394776505","file5":"1394776507","file3":"1394776504"},"map_files_photo_id_array":[{"photo_id":"1394776507","filename":"file5"},{"photo_id":"1394776503","filename":"file2"},{"photo_id":"1394776505","filename":"file4"},{"photo_id":"1394776502","filename":"file1"},{"photo_id":"1394776500","filename":"file0"},{"photo_id":"1394776504","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776507":["hashtag1","hashtag2"]},{"1394776504":["hashtag1","hashtag2"]},{"1394776503":["hashtag1","hashtag2"]},{"1394776500":["hashtag1","hashtag2"]},{"1394776502":["hashtag1","hashtag2"]},{"1394776505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776507, 1394776504, 1394776503, 1394776500, 1394776502, 1394776505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42368817329407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:41:02.655991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_28_2572.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_32_3597.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_35_2598.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_47_3045.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_50_3382.jpg', '/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_53_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_28_2572.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_32_3597.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_35_2598.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_47_3045.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_50_3382.jpg
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_53_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776510","1394776513","1394776515","1394776509","1394776508","1394776511"],"photo_ids_order":["1394776508","1394776509","1394776510","1394776511","1394776513","1394776515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b7f9b40d3e1d8044275cced725392b29.jpg","text":"TemporaryFile(/tmp/multipartBody395158343574869281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332923366,"filename":"image_16112025_21_10_35_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f854e95f39ebdded0a78e1ff337f7134.jpg","text":"TemporaryFile(/tmp/multipartBody6674309340373156905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332923366,"filename":"image_16112025_21_10_50_3382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/977d834bebec2374bc1ef448987e6d63.jpg","text":"TemporaryFile(/tmp/multipartBody5564815386925185238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332923366,"filename":"image_16112025_21_10_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/11/16/3f00b19f0ecc0c9eb90235fc36a1d7f8.jpg","text":"TemporaryFile(/tmp/multipartBody6651341088904848083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332923366,"filename":"image_16112025_21_10_32_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4f01ce9a761186ee03b810f35ba534ed.jpg","text":"TemporaryFile(/tmp/multipartBody5563940375090924898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332923366,"filename":"image_16112025_21_10_28_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c7c7f09bdf8a94d3a360c0a07243a370.jpg","text":"TemporaryFile(/tmp/multipartBody7471931826145525971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332923366,"filename":"image_16112025_21_10_47_3045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776510","file1":"1394776509","file0":"1394776508","file4":"1394776513","file5":"1394776515","file3":"1394776511"},"map_files_photo_id_array":[{"photo_id":"1394776515","filename":"file5"},{"photo_id":"1394776510","filename":"file2"},{"photo_id":"1394776513","filename":"file4"},{"photo_id":"1394776509","filename":"file1"},{"photo_id":"1394776508","filename":"file0"},{"photo_id":"1394776511","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776510":["hashtag1","hashtag2"]},{"1394776513":["hashtag1","hashtag2"]},{"1394776515":["hashtag1","hashtag2"]},{"1394776509":["hashtag1","hashtag2"]},{"1394776508":["hashtag1","hashtag2"]},{"1394776511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776510, 1394776513, 1394776515, 1394776509, 1394776508, 1394776511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22363018989563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:41:41.819057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_55_2672.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_02_2593.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_04_2720.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_08_3725.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_14_2795.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_17_3098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/10/image_16112025_21_10_55_2672.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_02_2593.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_04_2720.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_08_3725.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_14_2795.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_17_3098.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776525","1394776522","1394776524","1394776527","1394776526","1394776520"],"photo_ids_order":["1394776520","1394776522","1394776524","1394776525","1394776526","1394776527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0beab9838340b43ef5377e2ef46fe76a.jpg","text":"TemporaryFile(/tmp/multipartBody622920677714808725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332962448,"filename":"image_16112025_21_11_08_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c3d569ef4830d35f529f92cf2b66189d.jpg","text":"TemporaryFile(/tmp/multipartBody2276381717404699909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332962448,"filename":"image_16112025_21_11_02_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c302da05e839823e9a557733326fa083.jpg","text":"TemporaryFile(/tmp/multipartBody4482314410995991614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332962448,"filename":"image_16112025_21_11_04_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/75cd6e322d9599ee7a8ba5f671bbbb1c.jpg","text":"TemporaryFile(/tmp/multipartBody8359578752350261972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332962448,"filename":"image_16112025_21_11_17_3098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ac516dd2270a4ed331dac4874f6ce70a.jpg","text":"TemporaryFile(/tmp/multipartBody7823403064972924647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332962448,"filename":"image_16112025_21_11_14_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1bca05f16fab24727d87eb95f83a80f5.jpg","text":"TemporaryFile(/tmp/multipartBody358502218137673238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763332962448,"filename":"image_16112025_21_10_55_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776524","file1":"1394776522","file0":"1394776520","file4":"1394776526","file5":"1394776527","file3":"1394776525"},"map_files_photo_id_array":[{"photo_id":"1394776527","filename":"file5"},{"photo_id":"1394776524","filename":"file2"},{"photo_id":"1394776526","filename":"file4"},{"photo_id":"1394776522","filename":"file1"},{"photo_id":"1394776520","filename":"file0"},{"photo_id":"1394776525","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776525":["hashtag1","hashtag2"]},{"1394776522":["hashtag1","hashtag2"]},{"1394776524":["hashtag1","hashtag2"]},{"1394776527":["hashtag1","hashtag2"]},{"1394776526":["hashtag1","hashtag2"]},{"1394776520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776525, 1394776522, 1394776524, 1394776527, 1394776526, 1394776520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69778060913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:42:22.063309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_22_2838.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_26_3592.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_35_3660.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_37_2685.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_44_3624.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_49_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_22_2838.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_26_3592.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_35_3660.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_37_2685.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_44_3624.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_49_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776537","1394776534","1394776533","1394776530","1394776532","1394776535"],"photo_ids_order":["1394776530","1394776532","1394776533","1394776534","1394776535","1394776537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ed6a91a9b1006cc0d1d87662278c9a8a.jpg","text":"TemporaryFile(/tmp/multipartBody2666504654246922349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333002701,"filename":"image_16112025_21_11_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/11/16/059b30ba33518cb707b1c455922f05e3.jpg","text":"TemporaryFile(/tmp/multipartBody3978241523476317492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333002701,"filename":"image_16112025_21_11_37_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b0464b161299f6f1c2041feb244859a0.jpg","text":"TemporaryFile(/tmp/multipartBody6458981717539092941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333002701,"filename":"image_16112025_21_11_35_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/77073e089a27ed250f9594849ad8055f.jpg","text":"TemporaryFile(/tmp/multipartBody7290810987490876721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333002701,"filename":"image_16112025_21_11_22_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f0a3eaca4438bcfed261beede0020cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3637465003580155094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333002701,"filename":"image_16112025_21_11_26_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/602e94e8af36c3908b560466d4c9dfec.jpg","text":"TemporaryFile(/tmp/multipartBody806182991224159342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333002701,"filename":"image_16112025_21_11_44_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776533","file1":"1394776532","file0":"1394776530","file4":"1394776535","file5":"1394776537","file3":"1394776534"},"map_files_photo_id_array":[{"photo_id":"1394776537","filename":"file5"},{"photo_id":"1394776533","filename":"file2"},{"photo_id":"1394776535","filename":"file4"},{"photo_id":"1394776532","filename":"file1"},{"photo_id":"1394776530","filename":"file0"},{"photo_id":"1394776534","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776537":["hashtag1","hashtag2"]},{"1394776534":["hashtag1","hashtag2"]},{"1394776533":["hashtag1","hashtag2"]},{"1394776530":["hashtag1","hashtag2"]},{"1394776532":["hashtag1","hashtag2"]},{"1394776535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776537, 1394776534, 1394776533, 1394776530, 1394776532, 1394776535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36469578742981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:43:02.956107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_55_2573.jpg', '/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_59_3630.jpg', '/home/pi/Desktop/images/16112025/21/12/image_16112025_21_12_01_2589.jpg', '/home/pi/Desktop/images/16112025/21/12/image_16112025_21_12_05_3631.jpg', '/home/pi/Desktop/images/16112025/21/12/image_16112025_21_12_10_2675.jpg', '/home/pi/Desktop/images/16112025/21/12/image_16112025_21_12_13_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_55_2573.jpg
/home/pi/Desktop/images/16112025/21/11/image_16112025_21_11_59_3630.jpg
/home/pi/Desktop/images/16112025/21/12/image_16112025_21_12_01_2589.jpg
/home/pi/Desktop/images/16112025/21/12/image_16112025_21_12_05_3631.jpg
/home/pi/Desktop/images/16112025/21/12/image_16112025_21_12_10_2675.jpg
/home/pi/Desktop/images/16112025/21/12/image_16112025_21_12_13_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776543","1394776546","1394776540","1394776539","1394776541","1394776538"],"photo_ids_order":["1394776538","1394776539","1394776540","1394776541","1394776543","1394776546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/666ffa3856871046f23a0a8d680df083.jpg","text":"TemporaryFile(/tmp/multipartBody1451539882863297846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333043726,"filename":"image_16112025_21_12_10_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/084873290344339c82c54dd7af426803.jpg","text":"TemporaryFile(/tmp/multipartBody3503938079455184815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333043726,"filename":"image_16112025_21_12_13_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9052b294cb5ad85cbc88dabc21791b23.jpg","text":"TemporaryFile(/tmp/multipartBody8131925520133573455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333043726,"filename":"image_16112025_21_12_01_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cde0a677a32d7a291bab6730a060ef31.jpg","text":"TemporaryFile(/tmp/multipartBody1252287452505296893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333043726,"filename":"image_16112025_21_11_59_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cbe621de1e341b86722becc9382d0aea.jpg","text":"TemporaryFile(/tmp/multipartBody6247696096595965952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333043726,"filename":"image_16112025_21_12_05_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a30f484cb03f83cd95de0a0aeed0c409.jpg","text":"TemporaryFile(/tmp/multipartBody200880238491006278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333043726,"filename":"image_16112025_21_11_55_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776540","file1":"1394776539","file0":"1394776538","file4":"1394776543","file5":"1394776546","file3":"1394776541"},"map_files_photo_id_array":[{"photo_id":"1394776546","filename":"file5"},{"photo_id":"1394776540","filename":"file2"},{"photo_id":"1394776543","filename":"file4"},{"photo_id":"1394776539","filename":"file1"},{"photo_id":"1394776538","filename":"file0"},{"photo_id":"1394776541","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776543":["hashtag1","hashtag2"]},{"1394776546":["hashtag1","hashtag2"]},{"1394776540":["hashtag1","hashtag2"]},{"1394776539":["hashtag1","hashtag2"]},{"1394776541":["hashtag1","hashtag2"]},{"1394776538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776543, 1394776546, 1394776540, 1394776539, 1394776541, 1394776538)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.303935289382935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:44:02.602744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_07_3016.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_13_2887.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_16_2631.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_20_3588.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_22_2675.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_25_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_07_3016.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_13_2887.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_16_2631.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_20_3588.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_22_2675.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_25_2829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776558","1394776551","1394776554","1394776553","1394776561","1394776555"],"photo_ids_order":["1394776551","1394776553","1394776554","1394776555","1394776558","1394776561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1566c4ebad3f8a6117f2b49fee160c48.jpg","text":"TemporaryFile(/tmp/multipartBody7624035243860870699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333103373,"filename":"image_16112025_21_13_22_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/968f6a573de3723afccff41f455bd05d.jpg","text":"TemporaryFile(/tmp/multipartBody3502655510498760124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333103373,"filename":"image_16112025_21_13_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ed94983aec0e6d2f0ac85d0d8169811.jpg","text":"TemporaryFile(/tmp/multipartBody3032731954447249707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333103373,"filename":"image_16112025_21_13_16_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8fce99893a8b71a30a88c024804d5cae.jpg","text":"TemporaryFile(/tmp/multipartBody5413268980495501682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333103373,"filename":"image_16112025_21_13_13_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/35f2583aa37b9398fdaecfc47863db8d.jpg","text":"TemporaryFile(/tmp/multipartBody4367518634715429500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333103373,"filename":"image_16112025_21_13_25_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a53a509cc43913a529f0a81bf86cf2b8.jpg","text":"TemporaryFile(/tmp/multipartBody2990198202599459225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333103373,"filename":"image_16112025_21_13_20_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776554","file1":"1394776553","file0":"1394776551","file4":"1394776558","file5":"1394776561","file3":"1394776555"},"map_files_photo_id_array":[{"photo_id":"1394776561","filename":"file5"},{"photo_id":"1394776554","filename":"file2"},{"photo_id":"1394776558","filename":"file4"},{"photo_id":"1394776553","filename":"file1"},{"photo_id":"1394776551","filename":"file0"},{"photo_id":"1394776555","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776558":["hashtag1","hashtag2"]},{"1394776551":["hashtag1","hashtag2"]},{"1394776554":["hashtag1","hashtag2"]},{"1394776553":["hashtag1","hashtag2"]},{"1394776561":["hashtag1","hashtag2"]},{"1394776555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776558, 1394776551, 1394776554, 1394776553, 1394776561, 1394776555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.681994676589966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:44:41.964500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_32_3772.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_34_2615.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_37_2561.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_46_2738.jpg', '/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_49_2860.jpg', '/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_13_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_32_3772.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_34_2615.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_37_2561.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_46_2738.jpg
/home/pi/Desktop/images/16112025/21/13/image_16112025_21_13_49_2860.jpg
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_13_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776570","1394776566","1394776569","1394776565","1394776568","1394776567"],"photo_ids_order":["1394776565","1394776566","1394776567","1394776568","1394776569","1394776570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d9ac6ee3c31cc1566b66251140794ced.jpg","text":"TemporaryFile(/tmp/multipartBody2914718350778277721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333142706,"filename":"image_16112025_21_14_13_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7fb5a1435e18aef6c5a378917a3f99d0.jpg","text":"TemporaryFile(/tmp/multipartBody7885321331297388148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333142706,"filename":"image_16112025_21_13_34_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6d9aabf289ad2fb53e2ccf8e7d08e325.jpg","text":"TemporaryFile(/tmp/multipartBody3591038483690885780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333142706,"filename":"image_16112025_21_13_49_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e2f20e5595741c8735e067ff8f1619db.jpg","text":"TemporaryFile(/tmp/multipartBody6197934148723396852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333142706,"filename":"image_16112025_21_13_32_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45f030ea0650b6e4493f86dee62dc95d.jpg","text":"TemporaryFile(/tmp/multipartBody8700269935948040125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333142706,"filename":"image_16112025_21_13_46_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab3d1d6e86b65005d168c05cbdae4ade.jpg","text":"TemporaryFile(/tmp/multipartBody6606564211440832451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333142706,"filename":"image_16112025_21_13_37_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776567","file1":"1394776566","file0":"1394776565","file4":"1394776569","file5":"1394776570","file3":"1394776568"},"map_files_photo_id_array":[{"photo_id":"1394776570","filename":"file5"},{"photo_id":"1394776567","filename":"file2"},{"photo_id":"1394776569","filename":"file4"},{"photo_id":"1394776566","filename":"file1"},{"photo_id":"1394776565","filename":"file0"},{"photo_id":"1394776568","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776570":["hashtag1","hashtag2"]},{"1394776566":["hashtag1","hashtag2"]},{"1394776569":["hashtag1","hashtag2"]},{"1394776565":["hashtag1","hashtag2"]},{"1394776568":["hashtag1","hashtag2"]},{"1394776567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776570, 1394776566, 1394776569, 1394776565, 1394776568, 1394776567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86812400817871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:45:22.237914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_16_2715.jpg', '/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_20_3758.jpg', '/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_44_3547.jpg', '/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_46_2857.jpg', '/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_49_2521.jpg', '/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_53_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_16_2715.jpg
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_20_3758.jpg
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_44_3547.jpg
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_46_2857.jpg
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_49_2521.jpg
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_53_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776579","1394776578","1394776575","1394776580","1394776577","1394776576"],"photo_ids_order":["1394776575","1394776576","1394776577","1394776578","1394776579","1394776580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5f5e847d5f3447930010b9ee8d4ac3ce.jpg","text":"TemporaryFile(/tmp/multipartBody1663971320143974197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333182877,"filename":"image_16112025_21_14_49_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/24c64248c22f1899f350df6c13222f15.jpg","text":"TemporaryFile(/tmp/multipartBody5776694741162322033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333182877,"filename":"image_16112025_21_14_46_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9961f80ed51349d5440ba2531004ae17.jpg","text":"TemporaryFile(/tmp/multipartBody8798896828426334643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333182877,"filename":"image_16112025_21_14_16_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/6f6811ae59e8b401153668dcca325c1b.jpg","text":"TemporaryFile(/tmp/multipartBody5179041762629512984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333182877,"filename":"image_16112025_21_14_53_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a3a9a6fc8d8ab1084b6844f7ec6b8499.jpg","text":"TemporaryFile(/tmp/multipartBody8862575007076463735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333182877,"filename":"image_16112025_21_14_44_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7c1d086ae181b85c52422978b2196df9.jpg","text":"TemporaryFile(/tmp/multipartBody2274468472442013406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333182877,"filename":"image_16112025_21_14_20_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776577","file1":"1394776576","file0":"1394776575","file4":"1394776579","file5":"1394776580","file3":"1394776578"},"map_files_photo_id_array":[{"photo_id":"1394776580","filename":"file5"},{"photo_id":"1394776577","filename":"file2"},{"photo_id":"1394776579","filename":"file4"},{"photo_id":"1394776576","filename":"file1"},{"photo_id":"1394776575","filename":"file0"},{"photo_id":"1394776578","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776579":["hashtag1","hashtag2"]},{"1394776578":["hashtag1","hashtag2"]},{"1394776575":["hashtag1","hashtag2"]},{"1394776580":["hashtag1","hashtag2"]},{"1394776577":["hashtag1","hashtag2"]},{"1394776576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776579, 1394776578, 1394776575, 1394776580, 1394776577, 1394776576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.897703886032104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:46:03.047334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_55_2694.jpg', '/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_58_2685.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_04_2796.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_07_2522.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_11_3623.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_22_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_55_2694.jpg
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_58_2685.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_04_2796.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_07_2522.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_11_3623.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_22_2559.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.6104164123535156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:46:22.601837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_55_2694.jpg', '/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_58_2685.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_04_2796.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_07_2522.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_11_3623.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_22_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_55_2694.jpg
/home/pi/Desktop/images/16112025/21/14/image_16112025_21_14_58_2685.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_04_2796.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_07_2522.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_11_3623.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_22_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776596","1394776590","1394776595","1394776598","1394776592","1394776594"],"photo_ids_order":["1394776590","1394776592","1394776594","1394776595","1394776596","1394776598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b5a6fb2fe1620169969b824d2984a1ea.jpg","text":"TemporaryFile(/tmp/multipartBody4129711315886554873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333243303,"filename":"image_16112025_21_15_11_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e859a108d8bac93ea49a0ac9e3c1494c.jpg","text":"TemporaryFile(/tmp/multipartBody5444041058210230895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333243303,"filename":"image_16112025_21_14_55_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d032a49f62ea85c31f5abecc49472d5f.jpg","text":"TemporaryFile(/tmp/multipartBody1535551450026958194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333243303,"filename":"image_16112025_21_15_07_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/41536b2bfd636390eff268d38644cd33.jpg","text":"TemporaryFile(/tmp/multipartBody7151766271262244547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333243303,"filename":"image_16112025_21_15_22_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/04ee1a9299c69ce0b158db9a2ff600c0.jpg","text":"TemporaryFile(/tmp/multipartBody3885523205360044314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333243303,"filename":"image_16112025_21_14_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/11/16/5fdb4cb79489b2e5a7d53d4415e343f6.jpg","text":"TemporaryFile(/tmp/multipartBody5551596907907700321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333243303,"filename":"image_16112025_21_15_04_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776594","file1":"1394776592","file0":"1394776590","file4":"1394776596","file5":"1394776598","file3":"1394776595"},"map_files_photo_id_array":[{"photo_id":"1394776598","filename":"file5"},{"photo_id":"1394776594","filename":"file2"},{"photo_id":"1394776596","filename":"file4"},{"photo_id":"1394776592","filename":"file1"},{"photo_id":"1394776590","filename":"file0"},{"photo_id":"1394776595","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776596":["hashtag1","hashtag2"]},{"1394776590":["hashtag1","hashtag2"]},{"1394776595":["hashtag1","hashtag2"]},{"1394776598":["hashtag1","hashtag2"]},{"1394776592":["hashtag1","hashtag2"]},{"1394776594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776596, 1394776590, 1394776595, 1394776598, 1394776592, 1394776594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.664297580718994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:47:03.341402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_25_2697.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_28_3518.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_34_3166.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_37_2821.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_49_3646.jpg', '/home/pi/Desktop/images/16112025/21/16/image_16112025_21_16_07_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_25_2697.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_28_3518.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_34_3166.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_37_2821.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_49_3646.jpg
/home/pi/Desktop/images/16112025/21/16/image_16112025_21_16_07_3559.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.6271426677703857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:47:22.719331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_25_2697.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_28_3518.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_34_3166.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_37_2821.jpg', '/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_49_3646.jpg', '/home/pi/Desktop/images/16112025/21/16/image_16112025_21_16_07_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_25_2697.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_28_3518.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_34_3166.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_37_2821.jpg
/home/pi/Desktop/images/16112025/21/15/image_16112025_21_15_49_3646.jpg
/home/pi/Desktop/images/16112025/21/16/image_16112025_21_16_07_3559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776606","1394776605","1394776608","1394776607","1394776610","1394776604"],"photo_ids_order":["1394776604","1394776605","1394776606","1394776607","1394776608","1394776610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0938b661d79ee5a567bf572e4ece66a9.jpg","text":"TemporaryFile(/tmp/multipartBody3437795184649730737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333303347,"filename":"image_16112025_21_15_34_3166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d59a4fcd0c4775b14c99c176ca588cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8106157569310533607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333303347,"filename":"image_16112025_21_15_28_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/68c4ec3446bf0db145b6ce493d5db0c6.jpg","text":"TemporaryFile(/tmp/multipartBody3061718455600731957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333303347,"filename":"image_16112025_21_15_49_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ff0b6f1051110ade8a1c7ecd3ff30915.jpg","text":"TemporaryFile(/tmp/multipartBody4387079273640586568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333303347,"filename":"image_16112025_21_15_37_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/00093a3031e96c9b9868eed33d272066.jpg","text":"TemporaryFile(/tmp/multipartBody3326927781747493111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333303347,"filename":"image_16112025_21_16_07_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7bb4bc2d826bf9c4f57927fda6984a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2634466000249201734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333303347,"filename":"image_16112025_21_15_25_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776606","file1":"1394776605","file0":"1394776604","file4":"1394776608","file5":"1394776610","file3":"1394776607"},"map_files_photo_id_array":[{"photo_id":"1394776610","filename":"file5"},{"photo_id":"1394776606","filename":"file2"},{"photo_id":"1394776608","filename":"file4"},{"photo_id":"1394776605","filename":"file1"},{"photo_id":"1394776604","filename":"file0"},{"photo_id":"1394776607","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776606":["hashtag1","hashtag2"]},{"1394776605":["hashtag1","hashtag2"]},{"1394776608":["hashtag1","hashtag2"]},{"1394776607":["hashtag1","hashtag2"]},{"1394776610":["hashtag1","hashtag2"]},{"1394776604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776606, 1394776605, 1394776608, 1394776607, 1394776610, 1394776604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95436096191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:48:02.555675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/16/image_16112025_21_16_10_2681.jpg', '/home/pi/Desktop/images/16112025/21/16/image_16112025_21_16_16_3585.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_07_3015.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_19_3707.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_25_2617.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_31_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/16/image_16112025_21_16_10_2681.jpg
/home/pi/Desktop/images/16112025/21/16/image_16112025_21_16_16_3585.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_07_3015.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_19_3707.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_25_2617.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_31_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776618","1394776615","1394776617","1394776613","1394776616","1394776619"],"photo_ids_order":["1394776613","1394776615","1394776616","1394776617","1394776618","1394776619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1468dce1cdcc786ecbf3dce36bf1cd1f.jpg","text":"TemporaryFile(/tmp/multipartBody1864783742779175740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333343278,"filename":"image_16112025_21_17_25_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8a56caf91bb640384f4b1411a25737bc.jpg","text":"TemporaryFile(/tmp/multipartBody3483419659571838106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333343278,"filename":"image_16112025_21_16_16_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d44be7a154a1f700f5f136fbe75f9e3f.jpg","text":"TemporaryFile(/tmp/multipartBody3259835773004501626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333343278,"filename":"image_16112025_21_17_19_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/42b2576b3618e438fc6379baee1ee3d8.jpg","text":"TemporaryFile(/tmp/multipartBody5760224507542958831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333343278,"filename":"image_16112025_21_16_10_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1b599e13e6fd15ccbf9bdecb84bb0c93.jpg","text":"TemporaryFile(/tmp/multipartBody4093862702088538827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333343278,"filename":"image_16112025_21_17_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/11/16/50165c53ce70bdc301fd14bd76c06937.jpg","text":"TemporaryFile(/tmp/multipartBody6708605776186711200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333343278,"filename":"image_16112025_21_17_31_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776616","file1":"1394776615","file0":"1394776613","file4":"1394776618","file5":"1394776619","file3":"1394776617"},"map_files_photo_id_array":[{"photo_id":"1394776619","filename":"file5"},{"photo_id":"1394776616","filename":"file2"},{"photo_id":"1394776618","filename":"file4"},{"photo_id":"1394776615","filename":"file1"},{"photo_id":"1394776613","filename":"file0"},{"photo_id":"1394776617","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776618":["hashtag1","hashtag2"]},{"1394776615":["hashtag1","hashtag2"]},{"1394776617":["hashtag1","hashtag2"]},{"1394776613":["hashtag1","hashtag2"]},{"1394776616":["hashtag1","hashtag2"]},{"1394776619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776618, 1394776615, 1394776617, 1394776613, 1394776616, 1394776619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34043788909912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:48:42.214557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_34_2742.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_37_3506.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_40_2653.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_46_3577.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_49_2562.jpg', '/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_52_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_34_2742.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_37_3506.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_40_2653.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_46_3577.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_49_2562.jpg
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_52_3627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776624","1394776621","1394776623","1394776626","1394776625","1394776622"],"photo_ids_order":["1394776621","1394776622","1394776623","1394776624","1394776625","1394776626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/2e5f7de8daf0a61b65121e05796a56b7.jpg","text":"TemporaryFile(/tmp/multipartBody2055095061559315443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333382837,"filename":"image_16112025_21_17_46_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/13050c4ab37558a79888663e2e39dac4.jpg","text":"TemporaryFile(/tmp/multipartBody5782597983425205436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333382837,"filename":"image_16112025_21_17_34_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8ab782f6a6df0b7d13361aba28029304.jpg","text":"TemporaryFile(/tmp/multipartBody2709652313728949644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333382837,"filename":"image_16112025_21_17_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/11/16/799b2ff1423f97f75e6b7ff52be4515d.jpg","text":"TemporaryFile(/tmp/multipartBody1753840110253542910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333382837,"filename":"image_16112025_21_17_52_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/278fe2c03beefaa721b23e1b0b5db31e.jpg","text":"TemporaryFile(/tmp/multipartBody538245547907710511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333382837,"filename":"image_16112025_21_17_49_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5a7e519d6334a2cd932465ae73f90ecd.jpg","text":"TemporaryFile(/tmp/multipartBody3236551257822730345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333382837,"filename":"image_16112025_21_17_37_3506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776623","file1":"1394776622","file0":"1394776621","file4":"1394776625","file5":"1394776626","file3":"1394776624"},"map_files_photo_id_array":[{"photo_id":"1394776626","filename":"file5"},{"photo_id":"1394776623","filename":"file2"},{"photo_id":"1394776625","filename":"file4"},{"photo_id":"1394776622","filename":"file1"},{"photo_id":"1394776621","filename":"file0"},{"photo_id":"1394776624","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776624":["hashtag1","hashtag2"]},{"1394776621":["hashtag1","hashtag2"]},{"1394776623":["hashtag1","hashtag2"]},{"1394776626":["hashtag1","hashtag2"]},{"1394776625":["hashtag1","hashtag2"]},{"1394776622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776624, 1394776621, 1394776623, 1394776626, 1394776625, 1394776622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93283772468567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:49:22.496272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_55_2561.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_01_5715.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_02_1534.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_09_2700.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_22_2502.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_25_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/17/image_16112025_21_17_55_2561.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_01_5715.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_02_1534.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_09_2700.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_22_2502.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_25_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776636","1394776633","1394776635","1394776629","1394776638","1394776631"],"photo_ids_order":["1394776629","1394776631","1394776633","1394776635","1394776636","1394776638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9875ada8ad76f084486bfea02c298919.jpg","text":"TemporaryFile(/tmp/multipartBody15738928857206378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333423139,"filename":"image_16112025_21_18_22_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/def828336035d744351dd50342323f95.jpg","text":"TemporaryFile(/tmp/multipartBody1943847527521298206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333423139,"filename":"image_16112025_21_18_02_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9827334b7233085df6bc45ba434b7be6.jpg","text":"TemporaryFile(/tmp/multipartBody2148459586589508310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333423139,"filename":"image_16112025_21_18_09_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/45fe806aa217c6bd4c93de2797d4acfd.jpg","text":"TemporaryFile(/tmp/multipartBody8318059750732185295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333423139,"filename":"image_16112025_21_17_55_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e20aa52a182ced83fcd76339a333abc3.jpg","text":"TemporaryFile(/tmp/multipartBody3829886665935801888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333423139,"filename":"image_16112025_21_18_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/11/16/1f79e014f9312cb5219ab7780f5c0be3.jpg","text":"TemporaryFile(/tmp/multipartBody8572133564282501904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333423139,"filename":"image_16112025_21_18_01_5715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776633","file1":"1394776631","file0":"1394776629","file4":"1394776636","file5":"1394776638","file3":"1394776635"},"map_files_photo_id_array":[{"photo_id":"1394776638","filename":"file5"},{"photo_id":"1394776633","filename":"file2"},{"photo_id":"1394776636","filename":"file4"},{"photo_id":"1394776631","filename":"file1"},{"photo_id":"1394776629","filename":"file0"},{"photo_id":"1394776635","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776636":["hashtag1","hashtag2"]},{"1394776633":["hashtag1","hashtag2"]},{"1394776635":["hashtag1","hashtag2"]},{"1394776629":["hashtag1","hashtag2"]},{"1394776638":["hashtag1","hashtag2"]},{"1394776631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776636, 1394776633, 1394776635, 1394776629, 1394776638, 1394776631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45062303543091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:50:03.156044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_28_3539.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_31_2550.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_37_2784.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_40_3174.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_43_2849.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_46_2531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_28_3539.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_31_2550.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_37_2784.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_40_3174.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_43_2849.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_46_2531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776645","1394776650","1394776644","1394776643","1394776646","1394776648"],"photo_ids_order":["1394776643","1394776644","1394776645","1394776646","1394776648","1394776650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/4c69bbf7ae3b6a1b8c245e8469c3b10b.jpg","text":"TemporaryFile(/tmp/multipartBody328292499175246341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333463832,"filename":"image_16112025_21_18_37_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3bd6528a5e35c8c8fecdff49e3ebc984.jpg","text":"TemporaryFile(/tmp/multipartBody3436314853605389055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333463832,"filename":"image_16112025_21_18_46_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/a63f12dca3b604e3e58c6fe18dca292d.jpg","text":"TemporaryFile(/tmp/multipartBody7750701665524293786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333463832,"filename":"image_16112025_21_18_31_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1f7b9c8916252096335453a2dff22eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1852499442221971030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333463832,"filename":"image_16112025_21_18_28_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7edcaa556dc5e2442c31967be2a1db48.jpg","text":"TemporaryFile(/tmp/multipartBody4788542603201486875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333463832,"filename":"image_16112025_21_18_40_3174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/0c64d8ddf4a081d9becb460997b70d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2338965124046852041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333463832,"filename":"image_16112025_21_18_43_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776645","file1":"1394776644","file0":"1394776643","file4":"1394776648","file5":"1394776650","file3":"1394776646"},"map_files_photo_id_array":[{"photo_id":"1394776650","filename":"file5"},{"photo_id":"1394776645","filename":"file2"},{"photo_id":"1394776648","filename":"file4"},{"photo_id":"1394776644","filename":"file1"},{"photo_id":"1394776643","filename":"file0"},{"photo_id":"1394776646","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776645":["hashtag1","hashtag2"]},{"1394776650":["hashtag1","hashtag2"]},{"1394776644":["hashtag1","hashtag2"]},{"1394776643":["hashtag1","hashtag2"]},{"1394776646":["hashtag1","hashtag2"]},{"1394776648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776645, 1394776650, 1394776644, 1394776643, 1394776646, 1394776648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46648359298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:50:42.670911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_49_3562.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_52_2684.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_55_2580.jpg', '/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_04_3571.jpg', '/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_07_2628.jpg', '/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_10_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_49_3562.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_52_2684.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_55_2580.jpg
/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_04_3571.jpg
/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_07_2628.jpg
/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_10_2673.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.558072566986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:51:02.631039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_49_3562.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_52_2684.jpg', '/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_55_2580.jpg', '/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_04_3571.jpg', '/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_07_2628.jpg', '/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_10_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_49_3562.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_52_2684.jpg
/home/pi/Desktop/images/16112025/21/18/image_16112025_21_18_55_2580.jpg
/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_04_3571.jpg
/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_07_2628.jpg
/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_10_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776663","1394776665","1394776662","1394776661","1394776667","1394776660"],"photo_ids_order":["1394776660","1394776661","1394776662","1394776663","1394776665","1394776667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bbc05ab484206de6956513c6bef8650b.jpg","text":"TemporaryFile(/tmp/multipartBody1495448461074292734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333523382,"filename":"image_16112025_21_19_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/11/16/8f498f6910a64f785c34e589d94ff167.jpg","text":"TemporaryFile(/tmp/multipartBody8376730134725927348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333523382,"filename":"image_16112025_21_19_07_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5b08041f5eda077083b2ff0634bfe605.jpg","text":"TemporaryFile(/tmp/multipartBody2805153257439753131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333523382,"filename":"image_16112025_21_18_55_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ab8d8bd2432e93ff0294cee6a8dc1cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5821972931057516762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333523382,"filename":"image_16112025_21_18_52_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b550b4e995603796ccaff8046f76f2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6795969979736049659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333523382,"filename":"image_16112025_21_19_10_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/94c9e6db5dfce5d30bfb7bf03df12b3d.jpg","text":"TemporaryFile(/tmp/multipartBody3397573282956983905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333523382,"filename":"image_16112025_21_18_49_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776662","file1":"1394776661","file0":"1394776660","file4":"1394776665","file5":"1394776667","file3":"1394776663"},"map_files_photo_id_array":[{"photo_id":"1394776667","filename":"file5"},{"photo_id":"1394776662","filename":"file2"},{"photo_id":"1394776665","filename":"file4"},{"photo_id":"1394776661","filename":"file1"},{"photo_id":"1394776660","filename":"file0"},{"photo_id":"1394776663","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776663":["hashtag1","hashtag2"]},{"1394776665":["hashtag1","hashtag2"]},{"1394776662":["hashtag1","hashtag2"]},{"1394776661":["hashtag1","hashtag2"]},{"1394776667":["hashtag1","hashtag2"]},{"1394776660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776663, 1394776665, 1394776662, 1394776661, 1394776667, 1394776660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10904550552368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:51:42.004451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_13_3739.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_07_3012.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_10_3669.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_22_2729.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_31_2700.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_34_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/19/image_16112025_21_19_13_3739.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_07_3012.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_10_3669.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_22_2729.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_31_2700.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_34_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776677","1394776674","1394776676","1394776670","1394776672","1394776675"],"photo_ids_order":["1394776670","1394776672","1394776674","1394776675","1394776676","1394776677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1cbbc9887980ca66c9541bb0405500e.jpg","text":"TemporaryFile(/tmp/multipartBody844646200607801851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333562618,"filename":"image_16112025_21_20_34_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b05ebb21b6ccdc933f56118d204c4cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2941807415918563676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333562618,"filename":"image_16112025_21_20_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/11/16/d8a38b53d937725b5de235fd9b0ade71.jpg","text":"TemporaryFile(/tmp/multipartBody5560632456549640823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333562618,"filename":"image_16112025_21_20_31_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ea9a9ab64b94a0769445e3fed8665f3f.jpg","text":"TemporaryFile(/tmp/multipartBody5907335934283078052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333562618,"filename":"image_16112025_21_19_13_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c5de9bab28bdeebea77a10e58cc30ed3.jpg","text":"TemporaryFile(/tmp/multipartBody3300550041189082332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333562618,"filename":"image_16112025_21_20_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5d92dcb71398916dacfd53313eddd82d.jpg","text":"TemporaryFile(/tmp/multipartBody3118801472928931787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333562618,"filename":"image_16112025_21_20_22_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776674","file1":"1394776672","file0":"1394776670","file4":"1394776676","file5":"1394776677","file3":"1394776675"},"map_files_photo_id_array":[{"photo_id":"1394776677","filename":"file5"},{"photo_id":"1394776674","filename":"file2"},{"photo_id":"1394776676","filename":"file4"},{"photo_id":"1394776672","filename":"file1"},{"photo_id":"1394776670","filename":"file0"},{"photo_id":"1394776675","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776677":["hashtag1","hashtag2"]},{"1394776674":["hashtag1","hashtag2"]},{"1394776676":["hashtag1","hashtag2"]},{"1394776670":["hashtag1","hashtag2"]},{"1394776672":["hashtag1","hashtag2"]},{"1394776675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776677, 1394776674, 1394776676, 1394776670, 1394776672, 1394776675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13832187652588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:52:22.305498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_37_2669.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_43_2559.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_46_2730.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_49_3689.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_52_2598.jpg', '/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_58_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_37_2669.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_43_2559.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_46_2730.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_49_3689.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_52_2598.jpg
/home/pi/Desktop/images/16112025/21/20/image_16112025_21_20_58_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776683","1394776680","1394776682","1394776685","1394776684","1394776687"],"photo_ids_order":["1394776680","1394776682","1394776683","1394776684","1394776685","1394776687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/047fabcc31deed4344933a312c04a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody3177432839183007681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333602940,"filename":"image_16112025_21_20_46_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b3923fbb10f873e4133457d9c8fb9937.jpg","text":"TemporaryFile(/tmp/multipartBody4339034922173071456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333602940,"filename":"image_16112025_21_20_37_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/cb59e4035823f3311d75e195991fec53.jpg","text":"TemporaryFile(/tmp/multipartBody8411289025792335860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333602940,"filename":"image_16112025_21_20_43_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9c2607e17537edf2d955bc50e1d5087c.jpg","text":"TemporaryFile(/tmp/multipartBody3255373146355522836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333602940,"filename":"image_16112025_21_20_52_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3e2ef6bf7e57d9a6117a634c1bf33e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3649505988923328932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333602940,"filename":"image_16112025_21_20_49_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/dc87e785de3d6e12f42e6cac994cbd21.jpg","text":"TemporaryFile(/tmp/multipartBody332892826694074104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333602940,"filename":"image_16112025_21_20_58_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776683","file1":"1394776682","file0":"1394776680","file4":"1394776685","file5":"1394776687","file3":"1394776684"},"map_files_photo_id_array":[{"photo_id":"1394776687","filename":"file5"},{"photo_id":"1394776683","filename":"file2"},{"photo_id":"1394776685","filename":"file4"},{"photo_id":"1394776682","filename":"file1"},{"photo_id":"1394776680","filename":"file0"},{"photo_id":"1394776684","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776683":["hashtag1","hashtag2"]},{"1394776680":["hashtag1","hashtag2"]},{"1394776682":["hashtag1","hashtag2"]},{"1394776685":["hashtag1","hashtag2"]},{"1394776684":["hashtag1","hashtag2"]},{"1394776687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776683, 1394776680, 1394776682, 1394776685, 1394776684, 1394776687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84974765777588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:53:03.213496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_10_2769.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_13_2661.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_19_3092.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_22_3513.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_25_2647.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_28_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_10_2769.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_13_2661.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_19_3092.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_22_3513.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_25_2647.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_28_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776695","1394776692","1394776697","1394776691","1394776690","1394776693"],"photo_ids_order":["1394776690","1394776691","1394776692","1394776693","1394776695","1394776697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/ba7e6d0f5cbaac1a524710f3688ad10f.jpg","text":"TemporaryFile(/tmp/multipartBody3346966061190535660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333643924,"filename":"image_16112025_21_21_25_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b53fba9548dc98a8d907810cba6c3a0d.jpg","text":"TemporaryFile(/tmp/multipartBody38910534933987761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333643924,"filename":"image_16112025_21_21_19_3092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/791f5ba23d0a2be06266eff4bb67f87d.jpg","text":"TemporaryFile(/tmp/multipartBody1232068248903486444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333643924,"filename":"image_16112025_21_21_28_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/938cbfcf508a63b0680ad65099dda5e2.jpg","text":"TemporaryFile(/tmp/multipartBody5016390705462955660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333643924,"filename":"image_16112025_21_21_13_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/eeec08976ceb0a17e1773a418ce93454.jpg","text":"TemporaryFile(/tmp/multipartBody3242240032122912696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333643924,"filename":"image_16112025_21_21_10_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/765b289d6ce55b82c7642323d9a29966.jpg","text":"TemporaryFile(/tmp/multipartBody4847242870383998312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333643924,"filename":"image_16112025_21_21_22_3513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776692","file1":"1394776691","file0":"1394776690","file4":"1394776695","file5":"1394776697","file3":"1394776693"},"map_files_photo_id_array":[{"photo_id":"1394776697","filename":"file5"},{"photo_id":"1394776692","filename":"file2"},{"photo_id":"1394776695","filename":"file4"},{"photo_id":"1394776691","filename":"file1"},{"photo_id":"1394776690","filename":"file0"},{"photo_id":"1394776693","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776695":["hashtag1","hashtag2"]},{"1394776692":["hashtag1","hashtag2"]},{"1394776697":["hashtag1","hashtag2"]},{"1394776691":["hashtag1","hashtag2"]},{"1394776690":["hashtag1","hashtag2"]},{"1394776693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776695, 1394776692, 1394776697, 1394776691, 1394776690, 1394776693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54450249671936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:53:42.501067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_31_3738.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_40_3617.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_49_3460.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_52_2689.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_55_3594.jpg', '/home/pi/Desktop/images/16112025/21/21/image_16112025_21_22_00_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_31_3738.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_40_3617.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_49_3460.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_52_2689.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_21_55_3594.jpg
/home/pi/Desktop/images/16112025/21/21/image_16112025_21_22_00_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776702","1394776705","1394776704","1394776706","1394776699","1394776703"],"photo_ids_order":["1394776699","1394776702","1394776703","1394776704","1394776705","1394776706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/8735feaaee5b4b05254925c7dd4e98f0.jpg","text":"TemporaryFile(/tmp/multipartBody41529388170213930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333683126,"filename":"image_16112025_21_21_40_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59f282eb7ac2abac9b62f1a98d65a352.jpg","text":"TemporaryFile(/tmp/multipartBody1732534261008113227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333683126,"filename":"image_16112025_21_21_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/11/16/220a0edf66c10a9ceec67f6005251cf3.jpg","text":"TemporaryFile(/tmp/multipartBody168954550037768660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333683126,"filename":"image_16112025_21_21_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/11/16/60eef0fdbc06dd8d10fbbd780042291b.jpg","text":"TemporaryFile(/tmp/multipartBody8658714030366073291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333683126,"filename":"image_16112025_21_22_00_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3ac778bf2cbecb266283a47d758a8621.jpg","text":"TemporaryFile(/tmp/multipartBody3837174244210651251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333683126,"filename":"image_16112025_21_21_31_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/9237f08536f007470c27c9f53be89769.jpg","text":"TemporaryFile(/tmp/multipartBody2770580776282944726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333683126,"filename":"image_16112025_21_21_49_3460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776703","file1":"1394776702","file0":"1394776699","file4":"1394776705","file5":"1394776706","file3":"1394776704"},"map_files_photo_id_array":[{"photo_id":"1394776706","filename":"file5"},{"photo_id":"1394776703","filename":"file2"},{"photo_id":"1394776705","filename":"file4"},{"photo_id":"1394776702","filename":"file1"},{"photo_id":"1394776699","filename":"file0"},{"photo_id":"1394776704","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776702":["hashtag1","hashtag2"]},{"1394776705":["hashtag1","hashtag2"]},{"1394776704":["hashtag1","hashtag2"]},{"1394776706":["hashtag1","hashtag2"]},{"1394776699":["hashtag1","hashtag2"]},{"1394776703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776702, 1394776705, 1394776704, 1394776706, 1394776699, 1394776703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84927725791931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:54:22.683787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/22/image_16112025_21_22_10_2648.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_06_3016.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_10_3656.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_13_2673.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_16_3631.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_25_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/22/image_16112025_21_22_10_2648.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_06_3016.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_10_3656.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_13_2673.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_16_3631.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_25_3540.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.5928201675415039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-16 23:54:42.762605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/22/image_16112025_21_22_10_2648.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_06_3016.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_10_3656.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_13_2673.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_16_3631.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_25_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/22/image_16112025_21_22_10_2648.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_06_3016.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_10_3656.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_13_2673.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_16_3631.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_25_3540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776720","1394776717","1394776716","1394776719","1394776718","1394776721"],"photo_ids_order":["1394776716","1394776717","1394776718","1394776719","1394776720","1394776721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/900b85319577e17ff6e215f619cc7727.jpg","text":"TemporaryFile(/tmp/multipartBody180185202331052804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333743448,"filename":"image_16112025_21_23_16_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b2bb9879142ab71ce50dcf362d94ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4311856171102950394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333743448,"filename":"image_16112025_21_23_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7f21530b5cd7cc88d7d19db2b2110e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2042450513261999037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333743448,"filename":"image_16112025_21_22_10_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/3b1fe2d79e3db3f0397a3c83a2d9886f.jpg","text":"TemporaryFile(/tmp/multipartBody1682508875634004331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333743448,"filename":"image_16112025_21_23_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/59e358950f478f2c8849f7077fc07aac.jpg","text":"TemporaryFile(/tmp/multipartBody3848530975268522731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333743448,"filename":"image_16112025_21_23_10_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e91ddad45d53b9ed6bdf94628defa2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1903348589946446289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333743448,"filename":"image_16112025_21_23_25_3540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776718","file1":"1394776717","file0":"1394776716","file4":"1394776720","file5":"1394776721","file3":"1394776719"},"map_files_photo_id_array":[{"photo_id":"1394776721","filename":"file5"},{"photo_id":"1394776718","filename":"file2"},{"photo_id":"1394776720","filename":"file4"},{"photo_id":"1394776717","filename":"file1"},{"photo_id":"1394776716","filename":"file0"},{"photo_id":"1394776719","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776720":["hashtag1","hashtag2"]},{"1394776717":["hashtag1","hashtag2"]},{"1394776716":["hashtag1","hashtag2"]},{"1394776719":["hashtag1","hashtag2"]},{"1394776718":["hashtag1","hashtag2"]},{"1394776721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776720, 1394776717, 1394776716, 1394776719, 1394776718, 1394776721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93644905090332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:55:22.015843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_33_2613.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_40_2595.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_46_3611.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_51_2652.jpg', '/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_58_3459.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_01_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_33_2613.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_40_2595.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_46_3611.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_51_2652.jpg
/home/pi/Desktop/images/16112025/21/23/image_16112025_21_23_58_3459.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_01_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776729","1394776726","1394776731","1394776728","1394776724","1394776727"],"photo_ids_order":["1394776724","1394776726","1394776727","1394776728","1394776729","1394776731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/1a5f1d05f89f34d9136d8a9db5d4852f.jpg","text":"TemporaryFile(/tmp/multipartBody4479753447993255504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333782667,"filename":"image_16112025_21_23_58_3459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/bdb5bce0c7733129ab793d0986b27d86.jpg","text":"TemporaryFile(/tmp/multipartBody3258161642986308707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333782667,"filename":"image_16112025_21_23_40_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/f3c5af1eacdc38c6be36b5a53704a4dc.jpg","text":"TemporaryFile(/tmp/multipartBody2595054648330122843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333782667,"filename":"image_16112025_21_24_01_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/581a8d1eee4ed42d3465defe15ef5d17.jpg","text":"TemporaryFile(/tmp/multipartBody3428172637038558385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333782667,"filename":"image_16112025_21_23_51_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/71b1da74911ae4dd4a5272c1e050b4d4.jpg","text":"TemporaryFile(/tmp/multipartBody3915285924242444173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333782667,"filename":"image_16112025_21_23_33_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e7f8ed1a61efa27cf37885798c9e22f0.jpg","text":"TemporaryFile(/tmp/multipartBody4849548308027799197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333782667,"filename":"image_16112025_21_23_46_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776727","file1":"1394776726","file0":"1394776724","file4":"1394776729","file5":"1394776731","file3":"1394776728"},"map_files_photo_id_array":[{"photo_id":"1394776731","filename":"file5"},{"photo_id":"1394776727","filename":"file2"},{"photo_id":"1394776729","filename":"file4"},{"photo_id":"1394776726","filename":"file1"},{"photo_id":"1394776724","filename":"file0"},{"photo_id":"1394776728","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776729":["hashtag1","hashtag2"]},{"1394776726":["hashtag1","hashtag2"]},{"1394776731":["hashtag1","hashtag2"]},{"1394776728":["hashtag1","hashtag2"]},{"1394776724":["hashtag1","hashtag2"]},{"1394776727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776729, 1394776726, 1394776731, 1394776728, 1394776724, 1394776727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15521764755249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:56:02.747632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_03_2615.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_07_3674.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_10_2633.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_16_3547.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_19_2627.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_13_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_03_2615.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_07_3674.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_10_2633.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_16_3547.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_19_2627.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_13_2800.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.592383861541748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:56:22.310263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_03_2615.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_07_3674.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_10_2633.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_16_3547.jpg', '/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_19_2627.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_13_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_03_2615.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_07_3674.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_10_2633.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_16_3547.jpg
/home/pi/Desktop/images/16112025/21/24/image_16112025_21_24_19_2627.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_13_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394776827","1394776895","1394776862","1394776751","1394776931","1394776789"],"photo_ids_order":["1394776751","1394776789","1394776827","1394776862","1394776895","1394776931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/e4440538869d4e5ec75a98000d3e1dda.jpg","text":"TemporaryFile(/tmp/multipartBody8511042042416998198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333843000,"filename":"image_16112025_21_24_10_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b22bc39581ea2c4b9143c96cbb60138f.jpg","text":"TemporaryFile(/tmp/multipartBody7135897250003769560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333843000,"filename":"image_16112025_21_24_19_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/fc462415aac3b983d22fc9a8893d57e0.jpg","text":"TemporaryFile(/tmp/multipartBody1586785828771370888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333843000,"filename":"image_16112025_21_24_16_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b1d731d4a685f798262be71bcb330720.jpg","text":"TemporaryFile(/tmp/multipartBody2273690035740863361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333843000,"filename":"image_16112025_21_24_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/11/16/51a1a0946946eff85f6cce2e7005b135.jpg","text":"TemporaryFile(/tmp/multipartBody5884060738073277771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333843000,"filename":"image_16112025_21_25_13_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/7eee8b09b0108064f4646a6b8220cb3b.jpg","text":"TemporaryFile(/tmp/multipartBody635899828997450168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333843000,"filename":"image_16112025_21_24_07_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394776827","file1":"1394776789","file0":"1394776751","file4":"1394776895","file5":"1394776931","file3":"1394776862"},"map_files_photo_id_array":[{"photo_id":"1394776931","filename":"file5"},{"photo_id":"1394776827","filename":"file2"},{"photo_id":"1394776895","filename":"file4"},{"photo_id":"1394776789","filename":"file1"},{"photo_id":"1394776751","filename":"file0"},{"photo_id":"1394776862","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394776827":["hashtag1","hashtag2"]},{"1394776895":["hashtag1","hashtag2"]},{"1394776862":["hashtag1","hashtag2"]},{"1394776751":["hashtag1","hashtag2"]},{"1394776931":["hashtag1","hashtag2"]},{"1394776789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394776827, 1394776895, 1394776862, 1394776751, 1394776931, 1394776789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1637601852417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-16 23:57:03.340710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_20_3639.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_22_2613.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_26_3569.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_29_2970.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_34_2562.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_38_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_20_3639.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_22_2613.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_26_3569.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_29_2970.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_34_2562.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_38_3563.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.6300992965698242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-16 23:57:22.596655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
  port_id : 28581098
  datou_current_id : 4055107
in upload_from_sqlite, uploading in 28581098
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_20_3639.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_22_2613.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_26_3569.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_29_2970.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_34_2562.jpg', '/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_38_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4055107&datou=0
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_20_3639.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_22_2613.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_26_3569.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_29_2970.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_34_2562.jpg
/home/pi/Desktop/images/16112025/21/25/image_16112025_21_25_38_3563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1394777017","1394777010","1394777013","1394777015","1394777012","1394777014"],"photo_ids_order":["1394777010","1394777012","1394777013","1394777014","1394777015","1394777017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/d4e0bd60c7c4ea48dc5ee81c8c36dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody1163376488894581896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333903229,"filename":"image_16112025_21_25_38_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/c6cc946b0f00329ba6f91bdec934b395.jpg","text":"TemporaryFile(/tmp/multipartBody7871842569566143037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333903229,"filename":"image_16112025_21_25_20_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/b116251d0f3f09b2eb93c67037841318.jpg","text":"TemporaryFile(/tmp/multipartBody1449709844354559811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333903229,"filename":"image_16112025_21_25_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/11/16/46139ee4d9d194f558eb2f4f43934865.jpg","text":"TemporaryFile(/tmp/multipartBody3538593173446514366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333903229,"filename":"image_16112025_21_25_34_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/16/5bbac406572b8ccf95b1a004335b9d79.jpg","text":"TemporaryFile(/tmp/multipartBody9205138432411753926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333903229,"filename":"image_16112025_21_25_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/11/16/94b30fc5f17848e14db888ea0090352c.jpg","text":"TemporaryFile(/tmp/multipartBody9067937038829344295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763333903229,"filename":"image_16112025_21_25_29_2970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1394777013","file1":"1394777012","file0":"1394777010","file4":"1394777015","file5":"1394777017","file3":"1394777014"},"map_files_photo_id_array":[{"photo_id":"1394777017","filename":"file5"},{"photo_id":"1394777013","filename":"file2"},{"photo_id":"1394777015","filename":"file4"},{"photo_id":"1394777012","filename":"file1"},{"photo_id":"1394777010","filename":"file0"},{"photo_id":"1394777014","filename":"file3"}],"portfolio_id":28581098,"hashtag_by_photo_ids":[{"1394777017":["hashtag1","hashtag2"]},{"1394777010":["hashtag1","hashtag2"]},{"1394777013":["hashtag1","hashtag2"]},{"1394777015":["hashtag1","hashtag2"]},{"1394777012":["hashtag1","hashtag2"]},{"1394777014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28581098 used, photo_id : ArrayBuffer(1394777017, 1394777010, 1394777013, 1394777015, 1394777012, 1394777014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.518128871917725 secondes ---
